/* Landing page (scangoat.com); brand blue and cyan shared with the app stylesheet. */
:root {
  color-scheme: light;
  --ink: #0b1220;
  --text: #1e293b;
  --muted: #526077;
  --line: #e4e9f1;
  --surface: #f6f8fc;
  --blue: #005bff;
  --blue-strong: #0047d6;
  --blue-50: #eef4ff;
  --blue-100: #d9e6ff;
  --cyan: #00d2e9;
  --navy: #0b1a33;
  --radius: 16px;
  --shadow-card: 0 1px 2px rgb(15 23 42 / 4%), 0 10px 28px -14px rgb(15 23 42 / 16%);
  --shadow-lift: 0 2px 4px rgb(15 23 42 / 4%), 0 28px 56px -24px rgb(15 23 42 / 26%);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(56rem 34rem at 88% -6rem, rgb(0 91 255 / 14%), transparent 70%),
    radial-gradient(40rem 28rem at -8% 12rem, rgb(0 210 233 / 13%), transparent 70%),
    #fff;
  background-repeat: no-repeat;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgb(0 91 255 / 45%); outline-offset: 3px; }
button:disabled { cursor: wait; }
.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon.small { width: 18px; height: 18px; }
.icon.tiny { width: 16px; height: 16px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 100; padding: 12px 20px; color: #fff; background: var(--blue); border-radius: 10px; }
.skip-link:focus { inset-block-start: 12px; }

/* Header: sticky, translucent, one row on desktop and a dropdown panel on small screens. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 74%);
  border-bottom: 1px solid rgb(15 23 42 / 7%);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}
.navigation { min-height: var(--header); display: flex; align-items: center; gap: 24px; }
.navigation.container { width: min(100% - 64px, 1344px); }
/* The rock itself matches the capital S, with the goat rising above it. */
.brand, .phone-brand { display: inline-flex; align-items: center; gap: .2em; width: 9.6em; height: 2.8em; flex: 0 0 auto; font-size: 20px; direction: ltr; }
.brand-symbol, .brand-name { position: relative; display: block; overflow: hidden; flex: 0 0 auto; }
.brand-symbol { width: 3em; height: 2.7em; background: url("../branding/favicon-256x256.b8be00703ba6.png") -.4em -.6em / 3.8em 3.8em no-repeat; }
.brand-name { width: 6.4em; height: 1.6em; }
.brand-name img { position: absolute; width: 9.8em; max-width: none; height: auto; top: -.9em; left: -2.8em; }
.site-nav { display: flex; align-items: center; gap: 16px; flex: 1; font-size: 15px; font-weight: 550; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links > a, .feature-menu summary {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav-links > a:hover, .feature-menu summary:hover, .feature-menu[open] summary { color: var(--ink); background: rgb(15 23 42 / 5%); }
.feature-menu { position: relative; }
.feature-menu summary { list-style: none; }
.feature-menu summary::-webkit-details-marker { display: none; }
.feature-menu summary .icon { transition: transform .2s; }
.feature-menu[open] summary .icon { transform: rotate(180deg); }
.feature-popover {
  position: absolute; inset-block-start: calc(100% + 12px); inset-inline-start: 0; width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift);
}
.feature-popover a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.feature-popover a:hover { background: var(--surface); }
.popover-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-picker { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(15 23 42 / 5%); }
.language-picker button {
  padding: 5px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; line-height: 1.2; transition: background .15s, color .15s;
}
.language-picker button:hover { color: var(--ink); }
.language-picker button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(15 23 42 / 14%); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 42px; height: 42px; margin-inline-start: auto;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border: 0; border-radius: 12px; background: linear-gradient(180deg, #1f6dff, var(--blue)); color: #fff;
  font-weight: 650; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 1px 2px rgb(0 40 120 / 20%), 0 10px 22px -10px rgb(0 91 255 / 70%);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover {
  background: linear-gradient(180deg, #0a5cff, var(--blue-strong)); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 1px 2px rgb(0 40 120 / 20%), 0 14px 28px -10px rgb(0 91 255 / 75%);
}
.button:active { transform: none; }
.button .icon { transition: transform .15s; }
.button:hover .icon { transform: translateX(2px); }
.button-nav { min-height: 40px; padding: 8px 16px; border-radius: 10px; font-size: 15px; }
/* Logging in: a clear outlined button beside the trial, never just a word in the menu. */
.button-login {
  min-height: 40px; padding: 8px 16px; border-radius: 10px; background: #fff; color: var(--blue); font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--blue), 0 1px 2px rgb(0 40 120 / 12%);
}
.button-login:hover {
  background: var(--blue-50); color: var(--blue-strong);
  box-shadow: inset 0 0 0 1.5px var(--blue-strong), 0 10px 20px -12px rgb(0 91 255 / 60%);
}
.button-login .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-login { display: none; }
.button-main { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.button-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(15 23 42 / 5%); }
.button-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px #cfd8e6, 0 1px 2px rgb(15 23 42 / 5%); }
.button-light { background: #fff; color: var(--blue); box-shadow: 0 10px 26px -12px rgb(0 0 0 / 55%); }
.button-light:hover { background: var(--blue-50); box-shadow: 0 14px 30px -12px rgb(0 0 0 / 60%); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(15 23 42 / 10%) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 15%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: 48px; padding-block: 56px 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 14px 6px 11px; border-radius: 999px;
  background: #fff; color: var(--blue); font-size: 14px; font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--blue-100), 0 1px 2px rgb(0 91 255 / 8%);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgb(0 210 233 / 20%); }
.introduction h1 { margin: 0; color: var(--ink); font-size: clamp(40px, 4.9vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.introduction h1 > span { display: block; text-wrap: balance; }
.introduction h1 > .gradient-text {
  display: inline-block; padding-block-end: .08em;
  background: linear-gradient(90deg, var(--blue) 0%, #2b7bff 45%, #00b4e0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { max-width: 540px; text-wrap: pretty; margin: 20px 0 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }
/* Contact stands out next to the trial: cyan, so it never reads as a second trial button. */
.button-contact {
  background: linear-gradient(180deg, #13c6ea, #00a3cc); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 1px 2px rgb(0 80 110 / 20%), 0 10px 22px -10px rgb(0 163 204 / 75%);
}
.button-contact:hover {
  background: linear-gradient(180deg, #00b8e0, #008fb5);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 1px 2px rgb(0 80 110 / 20%), 0 14px 28px -10px rgb(0 143 181 / 80%);
}
.button-contact:hover .icon { transform: none; }

/* Phone demo */
.phone-column { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.phone-halo {
  position: absolute; z-index: -1; inset: 4% -8% 12%; border-radius: 50%; filter: blur(34px);
  background: radial-gradient(closest-side at 35% 40%, rgb(0 210 233 / 50%), transparent), radial-gradient(closest-side at 65% 62%, rgb(0 91 255 / 42%), transparent);
}
.phone {
  position: relative; z-index: 1; width: 322px; height: 584px; padding: 9px; border: 1px solid #334155; border-radius: 48px;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%), 0 2px 4px rgb(15 23 42 / 8%), 0 50px 80px -36px rgb(11 26 51 / 55%);
}
.phone-screen { position: relative; height: 100%; border-radius: 38px; background: #fbfcff; overflow: hidden; display: flex; flex-direction: column; }
.phone-status { position: relative; min-height: 34px; padding: 13px 17px 3px; display: flex; justify-content: space-between; align-items: center; color: #070e18; font-size: 11px; font-weight: 800; }
.phone-status > div { display: flex; gap: 4px; }
.dynamic-island { position: absolute; width: 73px; height: 21px; top: 9px; left: calc(50% - 36px); background: #07080c; border-radius: 20px; }
.phone-appbar { position: relative; display: flex; align-items: center; min-height: 52px; padding-inline: 12px; gap: 5px; }
.phone-appbar > .icon { width: 21px; }
.camera-title { flex-shrink: 0; min-height: 42px; display: flex; justify-content: center; align-items: center; padding: 10px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; border-radius: 12px 12px 0 0; }
.camera-view { position: relative; min-height: 205px; flex: 1 1 auto; background: #c3a183; overflow: hidden; }
.receipt-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.sample-label { position: absolute; inset-inline-start: 21px; top: 20px; padding: 4px 7px; background: #edf5ffef; border: 1px solid #cdd8e7; color: #162c4d; border-radius: 5px; font-size: 10px; font-weight: 600; transform: rotate(-7deg); box-shadow: 0 2px 4px #0b1e3510; }
.focus-corner { position: absolute; width: 22px; height: 22px; border: solid #fff; border-width: 0; border-radius: 0; }
.top-left { top: 13px; left: 12px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 9px; }
.top-right { top: 13px; right: 12px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 9px; }
.bottom-left { bottom: 13px; left: 12px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 9px; }
.bottom-right { bottom: 13px; right: 12px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 9px; }
.camera-controls { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; justify-items: center; min-height: 83px; background: linear-gradient(120deg, #13213a, var(--navy)); color: #fff; flex-shrink: 0; }
.photo-count { font-size: 13px; font-weight: 600; }
.shutter { display: grid; place-items: center; width: 57px; height: 57px; padding: 3px; background: transparent; border-radius: 50%; border: 2px solid #f8fcff; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: inset -3px -2px 0 var(--blue); }
.shutter:hover span { background: #dfedff; }
.shutter:focus-visible { outline-color: #44dbff; }
.flash-icon { fill: #fff; stroke-width: 1; width: 20px; }
.capture-message { display: flex; gap: 8px; align-items: center; padding: 12px 10px; margin: 4px 10px 7px; min-height: 40px; color: #065f35; background: #dcfce7; border-radius: 11px; font-size: 12px; font-weight: 600; }
.capture-message > .icon:first-child { width: 19px; height: 19px; color: #16a34a; }
.capture-message .message-arrow { margin-inline-start: auto; transform: rotate(-90deg); }
.phone-home { width: 94px; height: 4px; background: #111b2b; border-radius: 6px; margin: auto auto 8px; flex-shrink: 0; }
.scan-line { display: none; position: absolute; inset-inline: 10px; height: 3px; top: 12%; background: #00f1e2; box-shadow: 0 0 12px #00ecff; }
.phone[data-demo-state="processing"] .scan-line { display: block; animation: scan 1.2s ease-in-out; }
.phone[data-demo-state="processing"] .capture-message { color: #0754af; background: var(--blue-50); }
.phone[data-demo-state="processing"] .capture-message > .icon:first-child { color: var(--blue); }
.demo-note { display: flex; gap: 8px; align-items: center; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgb(0 210 233 / 22%); }

/* How it works: three cards */
.how { padding-block: 80px 88px; background: var(--surface); border-block: 1px solid var(--line); }
.section-title { max-width: 820px; margin: 0 auto 44px; text-wrap: balance; color: var(--ink); text-align: center; font-size: clamp(28px, 3vw, 40px); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step {
  display: flex; flex-direction: column; gap: 18px; padding: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.step > :first-child { height: 200px; overflow: hidden; }
.step-copy { padding: 2px 8px 10px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 26px; margin-block-end: 12px;
  padding-inline: 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 700;
}
.step-copy h3 { margin: 0 0 6px; color: var(--ink); font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.step-copy p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.receipt-preview { position: relative; margin: 0; border-radius: 14px; background: #c4a381; }
.receipt-preview > img { width: 100%; height: 100%; object-fit: cover; }
.receipt-preview .sample-label { top: 12px; inset-inline-start: 14px; }
.receipt-preview .focus-corner { width: 18px; height: 18px; border-width: 0; }
.receipt-preview .top-left { border-top-width: 3px; border-left-width: 3px; top: 9px; left: 9px; }
.receipt-preview .bottom-right { border-bottom-width: 3px; border-right-width: 3px; bottom: 9px; right: 9px; }
.digital-card { padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.digital-card h4 { margin: 0 0 4px; padding: 6px 9px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-size: 13px; line-height: 1.2; }
.receipt-data { margin: 0; font-size: 12.5px; line-height: 1.5; }
.receipt-data > div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 9px; border-bottom: 1px solid var(--line); }
.receipt-data > div:last-child { border: 0; }
.receipt-data dt { display: flex; gap: 7px; align-items: center; min-width: 0; color: var(--muted); }
.receipt-data .icon { width: 14px; height: 14px; }
.receipt-data dd { margin: 0; color: var(--ink); font-weight: 650; text-align: end; white-space: nowrap; }
.search-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.search-input {
  display: flex; gap: 8px; align-items: center; padding: 9px 10px; color: var(--muted); background: #fff;
  border: 1px solid #c9d6ea; border-radius: 10px; font-size: 13px; box-shadow: 0 0 0 3px rgb(0 91 255 / 9%);
}
.search-input .icon { width: 16px; height: 16px; }
.search-caret { width: 1.5px; height: 14px; margin-inline-start: auto; background: var(--blue); animation: blink 1.1s steps(1) infinite; }
.search-result { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.search-result.faded { opacity: .5; }
.result-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.result-icon .icon { width: 18px; height: 18px; }
.search-result strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.3; white-space: nowrap; }
.search-result small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.skeletons { display: grid; flex: 1; gap: 6px; }
.skeleton { display: block; width: 70%; height: 8px; border-radius: 4px; background: #e2e8f0; }
.skeleton.short { width: 40%; }
.status-chip { display: flex; align-items: center; gap: 5px; margin-inline-start: auto; padding: 4px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 650; }
.status-chip > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }

/* Team call to action */
.team-band { padding-block: 80px; }
.team-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 40px 44px;
  border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #0d2552 55%, #0a3a8c 100%); box-shadow: var(--shadow-lift);
}
.team-card::before {
  content: ""; position: absolute; z-index: -1; inset-block-start: -55%; inset-inline-end: -8%; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(closest-side, rgb(0 210 233 / 34%), transparent);
}
.team-icon { display: grid; place-items: center; width: 64px; height: 64px; flex: 0 0 auto; border-radius: 18px; background: rgb(255 255 255 / 10%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%); }
.team-icon .icon { width: 32px; height: 32px; color: #7fe7f5; stroke-width: 2; }
.team-copy { flex: 1; min-width: 0; }
.team-copy h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
.team-copy p { margin: 0; color: #c7d4ea; font-size: 17px; line-height: 1.55; }
.team-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.team-cta > span { color: #9fe9f4; font-size: 14px; font-weight: 650; }

.site-footer { display: flex; gap: 18px; justify-content: space-between; align-items: center; min-height: 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--blue); font-weight: 600; }
.footer-brand { color: var(--ink); font-weight: 650; }

[dir="rtl"] .introduction h1, [dir="rtl"] .section-title, [dir="rtl"] .step-copy h3, [dir="rtl"] .team-copy h2 { letter-spacing: 0; line-height: 1.3; }
[lang="ar"] body { font-family: Tahoma, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif; }
[lang="ar"] .hero-copy, [lang="ar"] .step-copy p, [lang="ar"] .team-copy p { line-height: 1.8; }
[dir="rtl"] .receipt-data dd { text-align: start; unicode-bidi: isolate; }
[dir="rtl"] .button .icon { transform: scaleX(-1); }
[dir="rtl"] .button:hover .icon { transform: scaleX(-1) translateX(2px); }
@keyframes scan { 0% { top: 10%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 90%; opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
  .workflow { gap: 18px; }
}
/* Short destination names and compact spacing keep all five links beside the logo.
   Tighter spacing below 1440px keeps it in one row down to 1241px, a classic 17px
   scrollbar included; narrower screens use the menu. Keep marketing.js and the no-script
   fallback in content.css on the same breakpoint. */
@media (max-width: 1440px) {
  .navigation { gap: 16px; }
  .site-nav { gap: 12px; }
  .nav-links > a, .feature-menu summary, .login-link { padding-inline: 12px; }
}
@media (min-width: 1241px) and (max-width: 1440px) {
  .navigation.container { width: calc(100% - 32px); }
  .navigation { gap: 12px; }
  .site-nav { gap: 8px; font-size: 14px; }
  .nav-links > a, .feature-menu summary, .login-link { padding-inline: 8px; }
  .button-nav { padding-inline: 10px; font-size: 14px; }
  .button-login { font-size: 14px; }
  .button-login .icon { width: 18px; height: 18px; }
  .language-picker button { padding-inline: 6px; font-size: 12px; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 1240px) {
  .menu-toggle { display: inline-flex; margin-inline-start: 0; }
  .header-login { display: inline-flex; margin-inline-start: auto; }
  .site-nav .login-link { display: none; }
  .site-nav {
    display: none; position: absolute; inset-inline: 16px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 14px;
    padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lift); font-size: 16px;
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
  .nav-links > a, .feature-menu summary { padding: 12px 14px; border-radius: 12px; color: var(--ink); }
  .feature-popover { position: static; width: auto; margin-top: 2px; padding: 0 0 0 8px; border: 0; box-shadow: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .language-picker { align-self: center; }
  .language-picker button { min-width: 48px; min-height: 36px; }
  .button-nav { min-height: 48px; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 40px 60px; }
  .introduction { text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .workflow { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .team-card { flex-direction: column; padding: 36px 24px; text-align: center; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .navigation.container { width: calc(100% - 32px); }
  .introduction h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-copy { font-size: 17px; }
  .hero-actions .button { flex: 1 1 100%; }
  .phone { width: 304px; height: 565px; }
  .how { padding-block: 56px 64px; }
  .section-title { margin-bottom: 28px; font-size: 28px; }
  .team-band { padding-block: 48px; }
  .site-footer { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding-block: 22px; text-align: center; }
  .site-footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
}
@media (max-width: 420px) {
  .navigation { gap: 10px; }
  .brand { font-size: 17px; }
  .header-login { padding-inline: 12px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .navigation.container { width: calc(100% - 24px); }
  .brand { font-size: 15px; }
  /* The smallest phones keep the icon; the link keeps its name for screen readers. */
  .header-login .login-text { display: none; }
  .phone { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
