/* amza.si
   Palette: cobalt (EU-blue family) as the one accent, gold reserved for the star mark and the
   waitlist band. Contrast measured, not eyeballed: every text pair below clears WCAG AA.
   Radius rule: interactive = pill (999px), containers and images = 16px. */

@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --surface-2: #EDF1F8;
  --ink: #0A1430;
  --muted: #4B5675;
  --line: #DCE2EE;
  --field: #7C88A6;          /* input borders need 3:1, decorative lines don't */
  --accent: #003399;         /* EU reflex blue */
  --accent-hover: #002A80;
  --accent-ink: #FFFFFF;
  --link: #003399;
  --navy: #0A1430;
  --cobalt: #003399;
  --gold: #FFCC00;
  --shadow: 0 1px 2px rgb(10 20 48 / .06), 0 8px 24px rgb(10 20 48 / .06);
  --r: 16px;
  --pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060C1E;
    --surface: #0D1630;
    --surface-2: #111C3A;
    --ink: #ECF0F8;
    --muted: #9AA5C3;
    --line: #1E2A4A;
    --field: #5E6B8E;
    --accent: #2448CC;
    --accent-hover: #2F55DD;
    --link: #9DB2FF;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--pill); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- wordmark ---------- */
.mark { display: inline-flex; align-items: flex-start; gap: 3px; color: var(--ink); text-decoration: none;
  font-weight: 650; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.mark svg { width: 11px; height: 11px; margin-top: -1px; flex: none; }
.mark svg path { fill: var(--gold); }
@media (prefers-color-scheme: light) { .mark svg path { fill: #E0A800; } } /* decorative mark, darker gold reads on white */

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  font: inherit; font-weight: 550; font-size: 15.5px; line-height: 1; letter-spacing: -0.005em;
  height: 46px; padding: 0 22px; border-radius: var(--pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, transform .12s, color .18s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--ink); border-color: var(--field); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost:hover { border-color: var(--field); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #FFD633; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; height: 64px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav ul a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- hero (split) ---------- */
.hero { padding-block: clamp(32px, 6vh, 64px) clamp(56px, 8vh, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent); }
/* 7-word headline: 2 lines on desktop, measured (line 1 = 606px in a 643px column at 1280) */
.hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.6rem); font-weight: 620; letter-spacing: -0.04em; line-height: 1.04; }
.hero .lede { margin-top: 24px; font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 40ch; line-height: 1.55; }
.hero .ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r);
  box-shadow: var(--shadow); background: var(--surface-2); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
}

/* ---------- statement (full-width type) ---------- */
.statement { padding-block: clamp(72px, 11vw, 140px); border-top: 1px solid var(--line); }
.statement h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 17ch; letter-spacing: -0.035em; }
.statement p { margin-top: 28px; font-size: clamp(1.08rem, 1.55vw, 1.3rem); color: var(--muted); max-width: 58ch; line-height: 1.6; }
.statement p strong { color: var(--ink); font-weight: 560; }

/* ---------- section heading ---------- */
.sec-h { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 20ch; margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- principles (bento) ---------- */
.principles { padding-block: 0 clamp(80px, 11vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cell { position: relative; border-radius: var(--r); padding: clamp(24px, 2.6vw, 34px); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.cell h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -0.025em; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 46ch; }
.cell-a { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 520px; border: 0; color: #fff; background: #0A1430; }
.cell-a picture, .cell-a picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-a::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(6 12 30 / 0) 30%, rgb(6 12 30 / .72) 66%, rgb(6 12 30 / .94) 100%); }
.cell-a > div { position: relative; z-index: 1; }
.cell-a p { color: #C9D2EA; }
.cell-b { grid-column: 3 / span 2; background: var(--cobalt); border: 0; color: #fff; }
.cell-b p { color: #C9D4F2; }
.cell-c { grid-column: 3; }
.cell-d { grid-column: 4; background: #0A1430; border: 0; color: #ECF0F8; }
.cell-d p { color: #A8B3CF; }
.cell-d .star { position: absolute; top: 26px; right: 26px; width: 22px; height: 22px; }
.cell-d .star path { fill: var(--gold); }
@media (prefers-color-scheme: dark) { .cell-d { background: var(--surface-2); border: 1px solid var(--line); } }
.cell-e { grid-column: 1 / -1; min-height: 0; justify-content: flex-start; gap: 26px; padding-bottom: 30px; }
.cell-e .txt { max-width: 640px; }
.langs { position: relative; overflow: hidden; margin-inline: calc(-1 * clamp(24px, 2.6vw, 34px));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.langs ul { display: flex; gap: 12px; width: max-content; list-style: none; margin: 0; padding: 2px 0;
  animation: drift 70s linear infinite; }
.langs:hover ul { animation-play-state: paused; }
.langs li { white-space: nowrap; font-size: 17px; font-weight: 500; color: var(--ink);
  padding: 10px 18px; border-radius: var(--pill); background: var(--surface-2); }
.langs li span { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-left: 8px; letter-spacing: .04em; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-a, .cell-b, .cell-e { grid-column: 1 / -1; }
  .cell-a { grid-row: auto; min-height: 440px; }
  .cell-c { grid-column: 1; } .cell-d { grid-column: 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .cell-c, .cell-d { grid-column: 1; }
  .cell { min-height: 0; }
  .cell-a { min-height: 400px; }
  .cell-b, .cell-c, .cell-d { padding-top: 64px; }
}

/* ---------- sectors (2-col editorial list) ---------- */
.sectors { padding-block: clamp(80px, 11vw, 140px); background: var(--surface); border-block: 1px solid var(--line); }
.sectors dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); row-gap: 40px;
  margin: 0; padding-top: 40px; border-top: 1px solid var(--line); }
.sectors dt { font-size: 1.22rem; font-weight: 580; letter-spacing: -0.015em; }
.sectors dd { margin: 6px 0 0; color: var(--muted); max-width: 44ch; }
@media (max-width: 700px) { .sectors dl { grid-template-columns: 1fr; row-gap: 28px; } }

/* ---------- waitlist band ---------- */
.band { position: relative; color: #fff; background: var(--cobalt); overflow: hidden; isolation: isolate; }
.band picture, .band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgb(0 40 130 / .93) 0%, rgb(0 51 153 / .84) 55%, rgb(0 51 153 / .62) 100%); }
.band .wrap { padding-block: clamp(80px, 11vw, 136px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.band h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -0.04em; max-width: 12ch; }
.band .sub { margin-top: 20px; color: #C9D4F2; font-size: 1.12rem; max-width: 40ch; }
.form { display: grid; gap: 10px; }
.form label { font-weight: 550; font-size: 15px; }
.form .row { display: flex; gap: 10px; }
.form input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: var(--pill);
  font: inherit; font-size: 16.5px; color: var(--navy); background: #fff; border: 2px solid transparent; }
.form input[type="email"]::placeholder { color: #6B7590; }
.form input[type="email"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.form input[aria-invalid="true"] { border-color: #FFB4A8; }
.form .btn { height: 52px; padding: 0 26px; font-size: 16px; }
.form .help { font-size: 14px; color: #C9D4F2; }
.form .help a { color: #fff; }
.form .msg { min-height: 1.5em; font-size: 15px; font-weight: 520; }
.form .msg.err { color: #FFD1C9; }
.form .msg.ok { color: #fff; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.done .row, .form.done label, .form.done .help { display: none; }
.form.done .msg { font-size: 1.15rem; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; align-items: start; } }
/* stacked on phones: flex:1 would make the input's basis 0 along the column axis and collapse it */
@media (max-width: 480px) { .form .row { flex-direction: column; } .form input[type="email"] { flex: none; } .form .btn { width: 100%; } }

/* ---------- faq (accordion) ---------- */
.faq { padding-block: clamp(80px, 11vw, 140px); }
.faq .wrap { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 1.15rem; font-weight: 560; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 66ch; }

/* ---------- footer ---------- */
.foot { padding-block: 56px 40px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .made { color: var(--ink); font-weight: 500; }
.foot .legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; max-width: 90ch; }

/* ---------- prose (privacy, thanks) ---------- */
.prose { padding-block: clamp(48px, 8vw, 96px) clamp(80px, 10vw, 128px); }
.prose .wrap { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -0.035em; }
.prose .upd { margin-top: 14px; color: var(--muted); font-size: 15px; }
.prose h2 { font-size: 1.35rem; margin-top: 44px; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-top: 14px; color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 560; }
.thanks { min-height: calc(100dvh - 64px - 160px); display: grid; align-content: center; }
.thanks p { margin-top: 18px; font-size: 1.15rem; }
.thanks .btn { margin-top: 32px; justify-self: start; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .langs ul { animation: none; flex-wrap: wrap; width: auto; }
  .langs { -webkit-mask-image: none; mask-image: none; margin-inline: 0; }
  .langs ul li[aria-hidden="true"] { display: none; }
  .btn, .nav, .faq summary::after { transition: none; }
}
