/* AutonomZ pre-registration page. Self-hosted IBM Plex (SIL OFL 1.1, see fonts/OFL.txt). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_sans_latin_400.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plex_sans_latinext_400.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_sans_latin_500.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex_sans_latinext_500.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex_sans_latin_600.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/plex_sans_latinext_600.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/plex_sans_latin_700.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/plex_sans_latinext_700.woff2") format("woff2");
  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; }

/* Colours, sizes and the two-column layout follow the owner's approved mockup
   (AutonomZ_On_Kayit_2_Kolon_Onayli_Tasarim_Paketi, 1 Nov 2026; record: docs/landing_page.md). */
:root {
  --az-brand-red: #C41F27;
  --az-cta: #E41A3A;            /* package #E91C3C is 4.47:1 with white; darkened to pass AA (4.66:1) */
  --az-cta-hover: #C91D37;
  --az-navy: #111C42;
  --az-body: #253656;
  --az-muted: #5A6987;
  --az-page: #F5F9FF;
  --az-page-glow: #EAF3FF;
  --az-card: #FFFFFF;
  --az-card-border: #E2EAF5;
  --az-input-border: #C9D7EA;
  --az-focus: #3C6EB5;
  --az-icon-tint: #FDECEF;
  --az-error: #B42332;
  --az-radius-card: 24px;
  --az-radius-control: 11px;
  --az-shadow-card: 0 18px 50px rgba(24, 50, 93, 0.09);
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; color: var(--az-body); font-family: var(--sans);
  background:
    radial-gradient(900px 520px at 12% -6%, var(--az-page-glow), transparent 70%),
    radial-gradient(760px 520px at 96% 104%, #EEF4FF, transparent 70%),
    var(--az-page);
}
a { color: var(--az-navy); }
a:hover { color: var(--az-brand-red); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* Page frame: logo + early-access pill, then the two columns. */
.layout { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 20px; }
.brand { line-height: 0; }
.brand img { display: block; height: 34px; width: auto; max-width: 62vw; }
.cta {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 10px 18px; border-radius: 999px;
  background: var(--az-card); border: 1px solid var(--az-card-border);
  box-shadow: 0 6px 18px rgba(24, 50, 93, 0.07);
  color: var(--az-navy); font-size: 14px; font-weight: 600; text-decoration: none;
}
.cta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--az-cta); }
.cta:hover { color: var(--az-navy); border-color: var(--az-input-border); }

.columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }

/* Left: value proposition. */
.intro { min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--az-navy); }
.intro h1 {
  margin: 0; color: var(--az-navy);
  font-size: clamp(32px, 3.45vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em;
}
.intro .lead { margin: 0; max-width: 33em; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--az-body); }
.benefits { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.benefits li { display: flex; gap: 14px; align-items: center; }
.benefit-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--az-icon-tint); color: var(--az-brand-red);
}
.benefits strong { display: block; font-size: 16px; font-weight: 600; color: var(--az-navy); }
.benefits span.txt { display: block; font-size: 15px; line-height: 1.45; color: var(--az-muted); }
/* The illustration box takes what is left of the form card's height (owner, 1 Nov 2026); with the
   question rows above it the image is cropped from the top, never stretched. The image keeps its
   ratio and sits at the bottom; above it the box continues in the image's own top-edge tone (#EDF3FC)
   and the image's top fades into it, so the extra height reads as more of the same scene. */
.art-box {
  flex: none; display: flex; align-items: flex-end;
  width: 100%; margin-top: 6px; border-radius: var(--az-radius-card); overflow: hidden;
  border: 1px solid var(--az-card-border); box-shadow: var(--az-shadow-card);
  background:
    radial-gradient(70% 60% at 50% 100%, #E3ECFA 0%, transparent 70%),
    linear-gradient(180deg, #FAFCFF 0%, #EDF3FC 100%);
}
.art {
  display: block; width: 100%; height: auto; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}

/* The positioning text and the FAQ, closed by default, between the benefits and the illustration
   (owner chose mockup A, 1 Nov 2026). Native <details>: no script. */
.qa-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.qa { background: var(--az-card); border: 1px solid var(--az-card-border); border-radius: 12px; box-shadow: 0 4px 14px rgba(24, 50, 93, 0.05); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--az-navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 18px; font-weight: 500; line-height: 1; color: var(--az-brand-red); }
.qa[open] summary::after { content: "\2013"; }
.qa summary:focus-visible { outline: 3px solid var(--az-focus); outline-offset: 2px; border-radius: 12px; }
.qa-body { padding: 0 14px 12px; font-size: 14px; line-height: 1.55; color: var(--az-body); }
.qa-body p { margin: 0 0 8px; }
.qa-body p:last-child { margin: 0; }

/* Right: the form card. */
.form-side { min-width: 0; }
.form-wrap {
  width: 100%; max-width: 520px; margin: 0 auto;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--az-card); border: 1px solid var(--az-card-border);
  border-radius: var(--az-radius-card); box-shadow: var(--az-shadow-card);
}
#form-view { display: flex; flex-direction: column; gap: 20px; }
.form-head { display: flex; flex-direction: column; gap: 10px; }
.form-head h2 { margin: 0; color: var(--az-navy); font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.form-head h2 .dot { color: var(--az-brand-red); }
.form-head .lead { margin: 0; font-size: 16px; line-height: 1.55; color: var(--az-body); }

.form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .band-group legend { font-size: 14.5px; font-weight: 600; color: var(--az-navy); }
.optional { font-weight: 400; color: var(--az-muted); }
.field input {
  height: 44px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--az-navy);
  background: var(--az-card); border: 1px solid var(--az-input-border); border-radius: var(--az-radius-control);
}
.field input::placeholder { color: #8A97AF; }
.field input[aria-invalid="true"] { border-color: var(--az-error); }
.field-error { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--az-error); }
.field-error svg { flex: none; }

.band-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.band-group legend { padding: 0; margin-bottom: 4px; }
.hint { margin: 0 0 10px; font-size: 13px; color: var(--az-muted); }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.band-option {
  position: relative; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 6px; text-align: center;
  font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--az-navy);
  border: 1px solid var(--az-input-border); border-radius: var(--az-radius-control); background: var(--az-card);
  cursor: pointer;
}
.band-option:hover { border-color: var(--az-focus); }
.band-option:has(input:checked) { background: var(--az-navy); border-color: var(--az-navy); color: #FFFFFF; }
.band-group.has-error .band-option:not(:has(input:checked)) { border-color: var(--az-error); }
.band-group .field-error { margin-top: 8px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--az-body); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--az-brand-red); }

.turnstile-slot { min-height: 65px; }

.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; color: var(--az-error); background: #FDECEF; }

.primary-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; border: 0; border-radius: 12px;
  background: var(--az-cta); color: #FFFFFF;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 24px rgba(233, 28, 60, 0.22);
}
.primary-btn::after { content: ""; width: 18px; height: 18px; background: url("icon_arrow.svg") center / contain no-repeat; }
.primary-btn:hover { background: var(--az-cta-hover); }
.primary-btn:disabled { cursor: progress; opacity: 0.75; }
.primary-btn:disabled::after { display: none; }

.legal { margin: 0; padding-left: 24px; font-size: 13px; line-height: 1.5; color: var(--az-muted); background: url("icon_lock.svg") 0 1px / 16px 16px no-repeat; }
.legal a { color: var(--az-brand-red); }

.success { display: flex; flex-direction: column; gap: 16px; }
.success h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--az-navy); }
.success .lead { margin: 0; font-size: 16px; line-height: 1.55; }
.success .note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--az-muted); }
.success svg { stroke: #197B62; }
#success-title:focus { outline: none; }

.field input:focus-visible, .primary-btn:focus-visible, .consent input:focus-visible, a:focus-visible {
  outline: 3px solid var(--az-focus); outline-offset: 2px;
}
.band-option:focus-within { outline: 3px solid var(--az-focus); outline-offset: 2px; }

@media (max-width: 767px) {
  .art-box { display: none; }
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 8px 14px; font-size: 13px; }
  .brand img { height: 24px; }
}
@media (min-width: 1024px) {
  .columns { grid-template-columns: minmax(0, 52fr) minmax(430px, 48fr); gap: clamp(40px, 4.5vw, 64px); align-items: stretch; padding-top: 20px; }
  .form-wrap { margin: 0 0 0 auto; }
  .art-box { flex: 1 1 0; min-height: 170px; }
  .art { height: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* Plain document pages (404). */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px; font-size: 16px; line-height: 1.6; }
.doc h1 { font-size: 30px; line-height: 1.2; margin: 0 0 16px; color: var(--az-navy); }
