@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}

:root {
  --marine: #1b2d4f;
  --marine-deep: #101d34;
  --indigo: #4646aa;
  --indigo-dark: #363686;
  --indigo-soft: #ececfa;
  --mist: #f4f6f9;
  --mist-blue: #edf2f8;
  --white: #ffffff;
  --ink: #172033;
  --muted: #5f6b7c;
  --line: #dce2ea;
  --line-dark: rgba(255, 255, 255, 0.17);
  --shadow-sm: 0 10px 30px rgba(17, 31, 56, 0.08);
  --shadow-lg: 0 28px 70px rgba(17, 31, 56, 0.17);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --max-width: 1200px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--marine);
  font-family: var(--font-heading);
  font-weight: 600;
  hyphens: auto;
  letter-spacing: -0.035em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.6vw, 5.25rem);
  hyphens: none;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--marine);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-130%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #7474d8;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(27, 45, 79, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(17, 31, 56, 0.04);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  width: auto;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--marine);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--indigo-soft);
  color: var(--indigo-dark);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--indigo);
}

.nav-toggle {
  display: none;
  min-width: 74px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle-icon {
  display: grid;
  width: 18px;
  gap: 5px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--marine);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-pad {
  padding-block: clamp(72px, 9vw, 126px);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.hero::after {
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(70, 70, 170, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.86fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.hero-copy {
  max-width: 690px;
}

.hero-copy,
.product-stage,
.page-hero-copy,
.page-hero-logo,
.partner-grid > *,
.split-content > *,
.section-intro > * {
  min-width: 0;
}

.hero h1 em,
.page-hero h1 em {
  color: var(--indigo);
  font-style: normal;
}

.hero h1 {
  hyphens: manual;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--indigo-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--indigo);
  content: "";
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow-light::before {
  background: #cfcff8;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--indigo);
  color: var(--white);
}

.button-primary:hover {
  background: var(--indigo-dark);
}

.button-secondary {
  border-color: #aeb7c6;
  background: transparent;
  color: var(--marine);
}

.button-secondary:hover {
  border-color: var(--marine);
  background: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--marine);
}

.button-light:hover {
  background: var(--indigo-soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--marine);
  font-size: 12px;
  font-weight: 700;
}

.product-stage {
  position: relative;
  min-height: 510px;
}

.stage-card {
  position: absolute;
  display: flex;
  width: min(360px, 80%);
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.stage-card-sql {
  top: 0;
  left: 0;
  background: var(--marine);
  color: var(--white);
  transform: rotate(-4deg);
}

.stage-card-online {
  right: 0;
  bottom: 20px;
  background: var(--indigo);
  color: var(--white);
  transform: rotate(4deg);
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding-bottom: 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-card strong {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.stage-lines {
  display: grid;
  gap: 12px;
  margin-block: auto;
  padding-block: 30px;
}

.stage-lines span {
  display: block;
  width: 82%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.stage-lines span:nth-child(2) {
  width: 62%;
}

.stage-lines span:nth-child(3) {
  width: 72%;
}

.stage-orbit {
  position: relative;
  width: 190px;
  height: 150px;
  margin: 24px auto 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.stage-orbit::after {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.stage-orbit span {
  position: absolute;
  display: grid;
  min-width: 58px;
  min-height: 31px;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--indigo-dark);
  font-size: 10px;
  font-weight: 700;
}

.stage-orbit span:first-child {
  top: -9px;
  left: 66px;
}

.stage-orbit span:nth-child(2) {
  right: -18px;
  bottom: 24px;
}

.stage-orbit span:nth-child(3) {
  bottom: 2px;
  left: -18px;
}

.stage-note {
  position: absolute;
  right: 14px;
  bottom: -8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-note span {
  color: var(--indigo);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid p {
  display: grid;
  min-height: 108px;
  align-content: center;
  margin: 0;
  padding: 18px 34px;
  border-left: 1px solid var(--line);
}

.trust-grid p:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--marine);
  font-size: 15px;
}

.trust-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: clamp(76px, 9vw, 124px);
}

.section-products {
  background: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.heading-split > p {
  margin-bottom: 7px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 640px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product-card-sql {
  background: var(--mist);
}

.product-card-online {
  border-color: var(--indigo);
  background: var(--indigo);
  color: var(--white);
}

.product-card-online h3,
.product-card-online .card-link {
  color: var(--white);
}

.product-card-online p,
.product-card-online .check-list {
  color: rgba(255, 255, 255, 0.78);
}

.product-number {
  position: absolute;
  top: 28px;
  right: 32px;
  color: rgba(27, 45, 79, 0.22);
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
}

.product-card-online .product-number {
  color: rgba(255, 255, 255, 0.24);
}

.product-logo-wrap {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: start;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
}

.product-logo-wrap img {
  width: auto;
  max-width: min(340px, 88%);
  max-height: 63px;
}

.product-logo-wrap span {
  margin-top: 14px;
  color: var(--indigo-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  max-width: 480px;
}

.product-card > p {
  max-width: 500px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 34px;
  padding: 0;
  color: var(--marine);
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li::before {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "✓";
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.card-link,
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--indigo-dark);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.card-link {
  align-self: flex-start;
  margin-top: auto;
}

.card-link span,
.text-link span {
  transition: transform 180ms ease;
}

.card-link:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

.section-decision {
  padding-top: 0;
}

.decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.66fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--marine);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.decision-copy {
  padding: clamp(42px, 6vw, 78px);
}

.decision-copy h2 {
  color: var(--white);
}

.decision-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.75);
}

.decision-list {
  display: grid;
  align-content: center;
  background: var(--indigo);
  padding: clamp(30px, 5vw, 60px);
}

.decision-list p {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.decision-list p:last-child {
  border-bottom: 0;
}

.decision-list span {
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
  font-weight: 700;
}

.decision-list strong {
  font-size: 14px;
}

.decision-list small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.section-partner {
  background: var(--mist);
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.partner-logo {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.partner-logo img {
  width: min(100%, 300px);
  max-width: 300px;
}

.partner-grid > div:last-child > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.site-footer {
  padding-top: 70px;
  background: var(--marine-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(150px, 0.66fr));
  gap: 48px;
  padding-bottom: 56px;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid address {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-style: normal;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2em;
}

.footer-grid a {
  min-height: 30px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-brand img {
  width: auto;
  height: 41px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

/* Subpage introductions */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 8vw, 112px);
  background: var(--mist);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.7fr);
  align-items: center;
  gap: clamp(50px, 7vw, 90px);
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero-logo {
  display: grid;
  min-height: 360px;
  align-content: center;
  justify-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.page-hero-logo img {
  width: min(100%, 430px);
  max-height: 110px;
  object-fit: contain;
}

.page-hero-logo .product-tag {
  margin-top: 26px;
}

.product-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(46px, 8vw, 110px);
}

.section-intro > div:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-intro h2 {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card-number {
  display: inline-flex;
  margin-bottom: 45px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-size: 1.55rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.section-soft {
  background: var(--mist);
}

.section-indigo-soft {
  background: var(--indigo-soft);
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.split-content.reverse > :first-child {
  order: 2;
}

.split-content.reverse > :last-child {
  order: 1;
}

.copy-block > p:not(.eyebrow) {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 1px;
  margin: 30px 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list span {
  color: var(--indigo);
  font-size: 11px;
  font-weight: 700;
}

.local-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--marine);
  box-shadow: var(--shadow-lg);
}

.local-visual-window {
  position: absolute;
  top: 55px;
  right: -38px;
  width: 88%;
  min-height: 330px;
  padding: 24px;
  border: 6px solid #d7dde6;
  border-radius: 12px;
  background: var(--white);
}

.local-visual-window::before {
  display: block;
  height: 38px;
  margin: -24px -24px 24px;
  border-bottom: 1px solid #cdd4df;
  background: #eef1f5;
  content: "";
}

.local-menu-lines {
  display: grid;
  gap: 13px;
}

.local-menu-lines span {
  display: block;
  width: 78%;
  height: 13px;
  border-radius: 4px;
  background: #dce2ea;
}

.local-menu-lines span:nth-child(2),
.local-menu-lines span:nth-child(5) {
  width: 54%;
  background: #c9c9f4;
}

.local-menu-lines span:nth-child(3) {
  width: 65%;
}

.local-badge {
  position: absolute;
  left: 28px;
  bottom: 34px;
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-step {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 50px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
}

.process-step h3 {
  font-size: 1.35rem;
}

.process-step p {
  color: var(--muted);
  font-size: 13px;
}

/* Screenshot gallery */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.screenshot-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.screenshot-card-wide {
  grid-column: 1 / -1;
}

.screenshot-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mist);
  cursor: zoom-in;
}

.screenshot-button::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--marine);
  color: var(--white);
  content: "+";
  font-size: 23px;
  line-height: 1;
}

.screenshot-button:hover img {
  transform: scale(1.015);
}

.screenshot-button img {
  width: 100%;
  aspect-ratio: 1.36 / 1;
  object-fit: cover;
  object-position: top left;
  transition: transform 180ms ease;
}

.screenshot-card-wide .screenshot-button img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.screenshot-card-portrait .screenshot-button {
  display: grid;
  padding: 30px;
  place-items: center;
}

.screenshot-card-portrait .screenshot-button img {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.screenshot-card figcaption {
  padding: 22px 24px 26px;
}

.screenshot-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--marine);
}

.screenshot-card span {
  color: var(--muted);
  font-size: 13px;
}

.gallery-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.image-dialog {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.image-dialog::backdrop {
  background: rgba(8, 16, 30, 0.82);
}

.image-dialog-inner {
  position: relative;
  overflow: auto;
  max-height: calc(100vh - 32px);
  padding: 22px;
}

.image-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 135px);
  margin: 0 auto;
  object-fit: contain;
}

.image-dialog p {
  margin: 14px 55px 0 0;
  color: var(--marine);
  font-weight: 700;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--marine);
  color: var(--white);
  cursor: pointer;
  font-size: 22px;
}

/* Service */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--marine);
  color: var(--white);
}

.contact-copy {
  padding: clamp(40px, 6vw, 74px);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 58px);
  background: var(--indigo);
}

.contact-details h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details address {
  margin-bottom: 22px;
  font-style: normal;
}

.contact-details a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.orientation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.orientation-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.orientation-card h3 {
  margin-bottom: 25px;
}

.orientation-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

/* Legal pages */
.legal-main {
  min-height: 70vh;
  padding-block: 64px 90px;
  background: var(--mist);
}

.legal-wrap {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
}

.legal-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--indigo-dark);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.legal-page {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-page h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}

.legal-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.legal-page p,
.legal-page li {
  color: #475467;
}

.legal-page a {
  color: var(--indigo-dark);
  text-underline-offset: 0.2em;
}

.legal-status {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    gap: 50px;
  }

  .product-stage {
    min-height: 450px;
  }

  .stage-card {
    min-height: 310px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .site-brand img {
    height: 36px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: none;
    align-content: start;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    padding: 22px 20px 40px;
    background: var(--white);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 58px;
    justify-content: space-between;
    padding-inline: 18px;
    border-bottom: 1px solid var(--line);
    border-radius: 6px;
    font-size: 17px;
  }

  .site-nav a::after {
    content: "→";
  }

  .hero-grid,
  .page-hero-grid,
  .section-intro,
  .split-content,
  .partner-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .page-hero-copy {
    max-width: 760px;
  }

  .product-stage {
    width: min(100%, 600px);
    min-height: 500px;
    margin-inline: auto;
  }

  .page-hero-logo {
    min-height: 300px;
  }

  .heading-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-grid,
  .decision-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .screenshot-card-portrait .screenshot-button {
    padding: 20px;
  }

  .image-dialog img {
    max-width: none;
    max-height: none;
  }

  .product-card {
    min-height: 570px;
  }

  .decision-list {
    padding-block: 25px;
  }

  .split-content.reverse > :first-child,
  .split-content.reverse > :last-child {
    order: initial;
  }

  .partner-logo {
    min-height: 220px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  h1 {
    font-size: clamp(2.15rem, 11.2vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .site-brand img {
    height: 31px;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-toggle {
    min-width: 48px;
    padding: 0;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 44px;
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .product-stage {
    min-height: 520px;
  }

  .stage-card {
    width: 84%;
    min-height: 310px;
    padding: 22px;
  }

  .stage-card-sql {
    transform: rotate(-2deg);
  }

  .stage-card-online {
    transform: rotate(2deg);
  }

  .stage-note {
    right: auto;
    left: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid p,
  .trust-grid p:last-child {
    min-height: 86px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .trust-grid p:last-child {
    border-bottom: 0;
  }

  .product-grid,
  .feature-grid,
  .screenshot-grid,
  .orientation-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-logo-wrap {
    min-height: 135px;
  }

  .decision-list p {
    grid-template-columns: 30px 1fr;
  }

  .decision-list small {
    grid-column: 2;
  }

  .feature-card {
    min-height: 230px;
  }

  .feature-card-number {
    margin-bottom: 30px;
  }

  .local-visual {
    min-height: 400px;
  }

  .local-visual-window {
    top: 45px;
    width: 92%;
    min-height: 290px;
  }

  .local-badge {
    width: 92px;
    height: 92px;
    font-size: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }

  .legal-wrap {
    width: min(calc(100% - 32px), 900px);
  }

  .legal-page h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
