/* ATK design system, version 0.1.0 (2026-10-29, decision #118).
   One stylesheet for every ATK web surface: the Bridge language, taken from the
   native Mac and iPhone builds (ShellStyle.swift) through the web deck's Mac
   shell block (atk-bridge web/ds.css, #228) and the approved mockups (#107, #115).
   Spec and rules: DESIGN.md. Tokens as data: tokens/tokens.json.
   Load order: this file, then the page's own few lines. Never restyle a token
   locally; change it here and in tokens.json together. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); }

/* ---------- tokens: dark appearance (the default and the Bridge look) ---------- */
:root {
  color-scheme: dark;
  /* type: SF Pro on Apple devices, Inter everywhere else */
  --atk-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --atk-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --atk-font-ar: "SF Arabic", "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
  --atk-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* labels: white at four strengths; tiers 2 and 3 lifted so 12 px text clears AA on the card fill */
  --atk-label: rgba(255, 255, 255, 0.92);
  --atk-label-2: rgba(255, 255, 255, 0.70);
  --atk-label-3: rgba(255, 255, 255, 0.60);
  --atk-label-4: rgba(255, 255, 255, 0.18);
  --atk-sep: rgba(255, 255, 255, 0.09);
  --atk-fill: rgba(255, 255, 255, 0.065);
  --atk-fill-2: rgba(255, 255, 255, 0.10);
  --atk-fill-3: rgba(255, 255, 255, 0.16);
  --atk-rim: rgba(255, 255, 255, 0.06);

  /* system hues (dark) with a lighter glyph tone and a tint for wells and pills */
  --atk-blue: #0A84FF;   --atk-blue-g: #7ABFFF;   --atk-blue-t: rgba(10, 132, 255, 0.18);
  --atk-green: #30D158;  --atk-green-g: #6EE38A;  --atk-green-t: rgba(48, 209, 88, 0.18);
  --atk-orange: #FF9F0A; --atk-orange-g: #FFC266; --atk-orange-t: rgba(255, 159, 10, 0.18);
  --atk-red: #FF453A;    --atk-red-g: #FF8A84;    --atk-red-t: rgba(255, 69, 58, 0.12);
  --atk-purple: #BF5AF2; --atk-purple-g: #DDA6FB; --atk-purple-t: rgba(191, 90, 242, 0.18);
  --atk-teal: #64D2FF;   --atk-teal-g: #7EDBFF;   --atk-teal-t: rgba(100, 210, 255, 0.18);
  --atk-yellow: #FFD60A;
  /* the prominent blue: primary buttons and the YES card */
  --atk-prominent: linear-gradient(180deg, #0A71E4, #0062C8);
  --atk-prominent-solid: #0A6AD6;

  /* the sky: the window ground under everything, and the veil over pages of text
     (the veil is the mockups' lighter one; the web deck's denser veil sits over pages of rows) */
  --atk-ground: #07080F;
  --atk-sky: radial-gradient(1200px 800px at 68% 42%, #141A33 0%, #0B0E1C 45%, #07080F 100%);
  /* the sky of a long page: the window glow pinned to the first screen, a second faint one lower down */
  --atk-sky-page: radial-gradient(1400px 900px at 62% 380px, #141A33 0%, #0B0E1C 45%, rgba(7, 8, 15, 0) 100%), radial-gradient(1100px 900px at 20% 62%, rgba(20, 26, 51, 0.7) 0%, rgba(7, 8, 15, 0) 70%), #07080F;
  --atk-veil: linear-gradient(180deg, rgba(8, 10, 18, 0.55), rgba(8, 10, 18, 0.78) 40%, rgba(8, 10, 18, 0.86));

  /* Liquid Glass: panes (sidebar, inspector, product window) and controls (capsules, nav, tab bar) */
  --atk-pane-fill: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.07));
  --atk-pane-blur: blur(36px) saturate(190%) brightness(1.15);
  --atk-pane-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset -1px -1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3);
  --atk-ctl-fill: rgba(255, 255, 255, 0.09);
  --atk-ctl-blur: blur(30px) saturate(160%);
  --atk-ctl-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.18);
  --atk-pane-solid: #1C1F2B;
  --atk-ctl-solid: #2A2D38;

  /* radii */
  --atk-r-code: 5px; --atk-r-nav: 8px; --atk-r-ico: 8px; --atk-r-field: 10px;
  --atk-r-answer: 12px; --atk-r-card: 14px; --atk-r-pane: 18px; --atk-r-tile: 18px;
  --atk-r-hero: 24px; --atk-r-pill: 999px;

  /* spacing: a 4 px grid */
  --atk-s1: 4px; --atk-s2: 8px; --atk-s3: 12px; --atk-s4: 16px; --atk-s5: 20px; --atk-s6: 24px;
  --atk-s7: 28px; --atk-s8: 32px; --atk-s10: 40px; --atk-s12: 48px; --atk-s16: 64px; --atk-s24: 96px; --atk-s32: 128px;

  /* app type (SF Pro sizes of the native shell) */
  --atk-t-caption: 11px; --atk-t-footnote: 12px; --atk-t-body: 13px; --atk-t-callout: 14px;
  --atk-t-sub: 15px; --atk-t-headline: 17px; --atk-t-title3: 20px; --atk-t-title: 30px; --atk-t-large: 34px;
  /* marketing type (Apple product page scale) */
  --atk-m-hero: clamp(44px, 6.4vw, 80px);
  --atk-m-h2: clamp(32px, 4vw, 48px);
  --atk-m-h3: 21px;
  --atk-m-lede: clamp(19px, 1.7vw, 24px);
  --atk-m-body: 17px;

  /* shell metrics */
  --atk-gap: 10px; --atk-side-w: 222px; --atk-toolbar-h: 52px; --atk-inspector-w: 352px;
  --atk-page-pad: 28px; --atk-row-min: 48px; --atk-ico: 30px; --atk-content-w: 1120px;

  /* motion: still by default, one short ease when something changes */
  --atk-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --atk-dur: 0.2s;
}

/* light appearance, for paper, print and documents only (Apple system light values) */
[data-appearance="light"] {
  color-scheme: light;
  --atk-label: rgba(0, 0, 0, 0.88);
  --atk-label-2: rgba(60, 60, 67, 0.78);
  --atk-label-3: rgba(60, 60, 67, 0.72); /* 4.7:1 on white (0.66 was 4.0, failed AA), BRAND.md */
  --atk-label-4: rgba(60, 60, 67, 0.18);
  --atk-sep: rgba(60, 60, 67, 0.14);
  --atk-fill: rgba(120, 120, 128, 0.08);
  --atk-fill-2: rgba(120, 120, 128, 0.14);
  --atk-fill-3: rgba(120, 120, 128, 0.20);
  --atk-rim: rgba(0, 0, 0, 0.06);
  /* blue on paper is the prominent solid: 5.2:1 as text on white and under white text (#007AFF was 4.0, failed AA) */
  --atk-blue: #0A6AD6; --atk-blue-g: #0062CC; --atk-blue-t: rgba(0, 122, 255, 0.12);
  --atk-green: #34C759; --atk-green-g: #18753A; --atk-green-t: rgba(52, 199, 89, 0.14);
  --atk-orange: #FF9500; --atk-orange-g: #9A5200; --atk-orange-t: rgba(255, 149, 0, 0.14);
  --atk-red: #FF3B30; --atk-red-g: #C4251C; --atk-red-t: rgba(255, 59, 48, 0.12);
  --atk-ground: #F5F5F7;
  --atk-sky: #F5F5F7;
  --atk-veil: none;
}

/* ---------- base ---------- */
.atk, .atk * { box-sizing: border-box; }
body.atk {
  margin: 0; min-height: 100vh;
  font-family: var(--atk-font); font-size: var(--atk-m-body); line-height: 1.47;
  color: var(--atk-label); background: var(--atk-ground);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1;
}
.atk :lang(ar), .atk [dir="rtl"] { font-family: var(--atk-font-ar); letter-spacing: 0; }
.atk a { color: var(--atk-blue-g); text-decoration: none; }
.atk a:hover { text-decoration: underline; }
.atk h1, .atk h2, .atk h3 { text-wrap: balance; }
.atk p { text-wrap: pretty; }
.atk :focus-visible { outline: 2px solid var(--atk-blue); outline-offset: 2px; border-radius: 6px; }
.atk .num { font-variant-numeric: tabular-nums; }
.atk .mono, .atk code { font-family: var(--atk-mono); font-size: 0.9em; }
.atk code { padding: 1px 5px; border-radius: var(--atk-r-code); background: var(--atk-fill-2); }

/* the sky: a layer behind the whole page, as tall as the document; js/sky.js draws its stars once */
body.atk { position: relative; }
.atk-sky { position: absolute; inset: 0; z-index: 0; background: var(--atk-sky); background-color: var(--atk-ground); background-repeat: no-repeat; pointer-events: none; overflow: hidden; }
.atk-sky--page { background: var(--atk-sky-page); }
.atk-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atk-above { position: relative; z-index: 1; display: flow-root; }

/* ---------- materials ---------- */
.atk-pane {
  background: var(--atk-pane-fill);
  -webkit-backdrop-filter: var(--atk-pane-blur); backdrop-filter: var(--atk-pane-blur);
  box-shadow: var(--atk-pane-shadow); border-radius: var(--atk-r-pane);
}
.atk-glass {
  background: var(--atk-ctl-fill);
  -webkit-backdrop-filter: var(--atk-ctl-blur); backdrop-filter: var(--atk-ctl-blur);
  box-shadow: var(--atk-ctl-shadow); border-radius: var(--atk-r-pill);
}
@media (prefers-reduced-transparency: reduce) {
  .atk-pane { background: var(--atk-pane-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .atk-glass { background: var(--atk-ctl-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- components ---------- */
/* card: plain fill, no glass, no border, never moves */
.atk-card { background: var(--atk-fill); border-radius: var(--atk-r-card); box-shadow: inset 0 0 0 0.5px var(--atk-rim); overflow: hidden; }
.atk-card--tile { border-radius: var(--atk-r-tile); padding: 18px 20px; }

/* row: the list unit inside a card */
.atk-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-height: var(--atk-row-min); font-size: var(--atk-t-body); }
.atk-row + .atk-row { box-shadow: inset 0 0.5px 0 var(--atk-sep); }
.atk-row .atk-main { flex: 1; min-width: 0; }
.atk-row .atk-t { font-weight: 500; }
.atk-row .atk-s { font-size: var(--atk-t-footnote); color: var(--atk-label-2); margin-top: 1px; }
.atk-row .atk-end { flex: none; display: flex; align-items: center; gap: 10px; color: var(--atk-label-3); font-size: var(--atk-t-footnote); }
.atk-row[aria-selected="true"] { background: rgba(10, 132, 255, 0.22); }

/* icon well: a tinted rounded square holding a line glyph */
.atk-ico { width: var(--atk-ico); height: var(--atk-ico); border-radius: var(--atk-r-ico); display: grid; place-items: center; flex: none; }
.atk-ico svg { width: 17px; height: 17px; }
.atk-ico--blue { background: var(--atk-blue-t); color: var(--atk-blue-g); }
.atk-ico--green { background: var(--atk-green-t); color: var(--atk-green-g); }
.atk-ico--orange { background: var(--atk-orange-t); color: var(--atk-orange-g); }
.atk-ico--purple { background: var(--atk-purple-t); color: var(--atk-purple-g); }
.atk-ico--teal { background: var(--atk-teal-t); color: var(--atk-teal-g); }
.atk-ico--grey { background: var(--atk-fill-2); color: var(--atk-label-2); }

/* buttons: capsules; one prominent per view */
.atk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; padding: 0 12px; border: 0; border-radius: var(--atk-r-pill);
  font: 500 12.5px/1 var(--atk-font); color: var(--atk-label); text-decoration: none; cursor: pointer;
  background: var(--atk-fill-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: filter var(--atk-dur) var(--atk-ease), background var(--atk-dur) var(--atk-ease);
}
.atk a.atk-btn { color: var(--atk-label); }
.atk-btn:hover { text-decoration: none; background: var(--atk-fill-3); }
.atk-btn svg { width: 14px; height: 14px; flex: none; }
.atk .atk-btn--primary, .atk a.atk-btn--primary { color: #fff; }
.atk-btn--primary { background: var(--atk-prominent); color: #fff; font-weight: 600; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(10, 113, 228, 0.28); }
.atk-btn--primary:hover { background: var(--atk-prominent); filter: brightness(1.08); }
.atk-btn--lg { height: 44px; padding: 0 20px; font-size: 16px; }
.atk-btn--xl { height: 52px; padding: 0 26px; font-size: 17px; }
.atk-btn--plain { background: none; box-shadow: none; color: var(--atk-blue-g); padding-inline: 4px; }

/* pills: status words, tinted, never the only carrier of meaning */
.atk-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: var(--atk-r-pill); white-space: nowrap; }
.atk-pill--blue { background: var(--atk-blue-t); color: var(--atk-blue-g); }
.atk-pill--green { background: var(--atk-green-t); color: var(--atk-green-g); }
.atk-pill--orange { background: var(--atk-orange-t); color: var(--atk-orange-g); }
.atk-pill--red { background: var(--atk-red-t); color: var(--atk-red-g); }
.atk-pill--grey { background: var(--atk-fill-2); color: var(--atk-label-2); }

/* status dot: always next to a word */
.atk-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: rgba(255, 255, 255, 0.28); }
.atk-dot--green { background: var(--atk-green); box-shadow: 0 0 10px rgba(48, 209, 88, 0.6); }
.atk-dot--orange { background: var(--atk-orange); box-shadow: 0 0 10px rgba(255, 159, 10, 0.6); }
.atk-dot--red { background: var(--atk-red); box-shadow: 0 0 10px rgba(255, 69, 58, 0.6); }
.atk-dot--blue { background: var(--atk-blue); box-shadow: 0 0 10px rgba(10, 132, 255, 0.6); }

/* section header inside an app page */
.atk-sec-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px 2px; font-size: var(--atk-t-body); font-weight: 600; color: var(--atk-label-2); }
.atk-sec-h small { font-weight: 400; font-size: var(--atk-t-footnote); color: var(--atk-label-3); }

/* forms: one column, a real label above each field, sentence case */
.atk-field { display: grid; gap: 6px; }
.atk-label { font-size: 13px; font-weight: 500; color: var(--atk-label-2); }
.atk-input, .atk-select {
  width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: var(--atk-r-field);
  font: 400 16px/1 var(--atk-font); color: var(--atk-label);
  background: var(--atk-fill-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  -webkit-appearance: none; appearance: none;
}
.atk-input::placeholder { color: var(--atk-label-3); }
.atk-input:focus, .atk-select:focus { outline: none; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 0 0 3px rgba(10, 132, 255, 0.45); }
.atk-select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-opacity='.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.atk-select option { background: #1C1F2B; color: #fff; }
.atk-check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.atk-check .atk-box { width: 18px; height: 18px; border-radius: 5px; flex: none; display: grid; place-items: center; background: var(--atk-fill-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22); }
.atk-check[aria-checked="true"] .atk-box { background: var(--atk-blue); box-shadow: none; }
.atk-check .atk-box svg { width: 11px; height: 11px; color: #fff; }

/* segmented control */
.atk-seg { display: inline-flex; padding: 3px; gap: 2px; }
.atk-seg button { height: 26px; padding: 0 12px; border: 0; border-radius: var(--atk-r-pill); background: none; color: var(--atk-label-2); font: 500 12.5px var(--atk-font); }
.atk-seg button[aria-pressed="true"] { background: var(--atk-fill-3); color: var(--atk-label); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12); }

/* answer card: a decision's YES and NO with the consequence of each */
.atk-answer { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--atk-r-answer); min-height: 52px; }
.atk-answer--yes { background: var(--atk-prominent); color: #fff; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35), 0 1px 3px rgba(0, 0, 0, 0.35); }
.atk-answer--no { background: var(--atk-fill-2); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); }
.atk-answer .atk-lbl { font-size: 14px; font-weight: 600; }
.atk-answer .atk-why { font-size: 12px; opacity: 0.85; margin-top: 1px; }

/* ---------- app shell (the Mac window on the web) ---------- */
.atk-shell { position: fixed; inset: 0; background: var(--atk-sky); overflow: hidden; font-size: var(--atk-t-body); line-height: 1.35; }
.atk-shell .atk-side { position: absolute; z-index: 3; left: var(--atk-gap); top: var(--atk-gap); bottom: var(--atk-gap); width: var(--atk-side-w); padding: 48px 8px 12px; display: flex; flex-direction: column; }
.atk-side .atk-lights { position: absolute; left: 18px; top: 18px; }
.atk-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.atk-nav li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 9px; border-radius: var(--atk-r-nav); }
.atk-nav li svg { width: 17px; height: 17px; flex: none; color: var(--atk-blue); }
.atk-nav li .atk-count { margin-left: auto; font-size: 12px; color: var(--atk-label-2); }
.atk-nav li[aria-current="page"] { background: var(--atk-fill-3); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.atk-nav-h { margin: 18px 9px 6px; font-size: var(--atk-t-caption); font-weight: 600; color: var(--atk-label-3); }
.atk-shell .atk-toolbar { position: absolute; z-index: 2; left: calc(var(--atk-side-w) + 2 * var(--atk-gap)); right: 0; top: 0; height: var(--atk-toolbar-h); display: flex; align-items: center; gap: 10px; padding: 0 16px 0 22px; }
.atk-toolbar-title { font-size: var(--atk-t-sub); font-weight: 600; letter-spacing: -0.01em; }
.atk-shell .atk-content { position: absolute; left: calc(var(--atk-side-w) + 2 * var(--atk-gap)); top: var(--atk-toolbar-h); right: 0; bottom: 0; overflow: auto; padding: 10px var(--atk-page-pad) var(--atk-page-pad); }
.atk-large-title { font-family: var(--atk-font-display); font-size: var(--atk-t-title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 2px; }
.atk-subtitle { font-size: var(--atk-t-sub); color: var(--atk-label-2); margin: 0 0 20px; }
.atk-lights { display: flex; gap: 8px; }
.atk-lights i { width: 12px; height: 12px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.atk-lights i:nth-child(1) { background: #FF5F57; } .atk-lights i:nth-child(2) { background: #FEBC2E; } .atk-lights i:nth-child(3) { background: #28C840; }

/* ---------- marketing and landing pattern ---------- */
.atk-wrap { width: min(var(--atk-content-w), 100% - 40px); margin-inline: auto; }
/* floating glass nav capsule, as the Mac toolbar */
.atk-topnav { position: sticky; top: 14px; z-index: 10; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 18px; margin-top: 14px; }
.atk-topnav .atk-brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--atk-label); }
.atk-topnav .atk-brand img { width: 22px; height: 22px; }
.atk-topnav .atk-brand small { font-size: 13px; font-weight: 400; color: var(--atk-label-2); }
.atk-topnav .atk-links { display: flex; gap: 22px; margin-left: auto; margin-right: 6px; font-size: 13px; }
.atk-topnav .atk-links a { color: var(--atk-label-2); }
.atk-topnav .atk-links a:hover { color: var(--atk-label); text-decoration: none; }
/* hero: a large title, a lede in the label hierarchy, one prominent action */
.atk-hero { padding: 96px 0 72px; text-align: center; }
.atk-hero h1 { font-family: var(--atk-font-display); font-size: var(--atk-m-hero); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 auto; max-width: 14ch; }
.atk-hero .atk-lede { font-size: var(--atk-m-lede); line-height: 1.38; letter-spacing: -0.01em; color: var(--atk-label-2); margin: 22px auto 34px; max-width: 34em; }
.atk-hero .atk-lede b { color: var(--atk-label); font-weight: 600; }
.atk-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.atk-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 14px; color: var(--atk-label-2); }
.atk-facts li { display: inline-flex; align-items: center; gap: 7px; }
.atk-facts svg { width: 14px; height: 14px; color: var(--atk-green); }
/* the product window: a glass pane holding a real screen of the product */
.atk-window { position: relative; padding: 0; overflow: hidden; }
.atk-window-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; }
.atk-window-bar .atk-toolbar-title { flex: 1; }
.atk-caption { font-size: 13px; color: var(--atk-label-3); margin: 14px 0 0; text-align: center; }
/* sections: a title and a short lede; space, not rules, separates them */
.atk-section { padding: 96px 0 0; }
.atk-h2 { font-family: var(--atk-font-display); font-size: var(--atk-m-h2); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 12px; }
.atk-intro { font-size: 19px; line-height: 1.42; color: var(--atk-label-2); margin: 0 0 40px; max-width: 36em; }
.atk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.atk-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.atk-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.atk-feature { padding: 26px 26px 28px; border-radius: var(--atk-r-tile); }
.atk-feature h3 { font-size: var(--atk-m-h3); line-height: 1.24; letter-spacing: -0.015em; font-weight: 600; margin: 14px 0 8px; }
.atk-feature p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--atk-label-2); }
.atk-feature .atk-ico { width: 36px; height: 36px; border-radius: 10px; }
.atk-feature .atk-ico svg { width: 20px; height: 20px; }
/* offer cards: what you get, who runs it, how the price is given */
.atk-offer { padding: 28px; border-radius: var(--atk-r-tile); display: flex; flex-direction: column; }
.atk-offer h3 { font-family: var(--atk-font-display); font-size: 28px; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 4px; }
.atk-offer .atk-who { font-size: 15px; color: var(--atk-label-2); margin: 0 0 18px; }
.atk-offer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.atk-offer li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; font-size: 15px; line-height: 1.4; }
.atk-offer li + li { box-shadow: inset 0 0.5px 0 var(--atk-sep); }
.atk-offer li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--atk-blue-g); }
.atk-offer .atk-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--atk-label-2); }
/* steps: numbered, no icons */
.atk-steps { counter-reset: atk-step; }
.atk-step { padding: 22px 22px 24px; border-radius: var(--atk-r-tile); }
.atk-step::before { counter-increment: atk-step; content: counter(atk-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--atk-blue-t); color: var(--atk-blue-g); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.atk-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.atk-step p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--atk-label-2); }
/* closing panel: the one form, in a pane */
.atk-closing { padding: 40px; }
.atk-form { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 14px; align-items: end; }
.atk-note { font-size: 13px; line-height: 1.55; color: var(--atk-label-2); margin: 18px 0 0; }
/* footer: the legal block, small and complete */
.atk-footer { padding: 72px 0 48px; font-size: 12px; line-height: 1.7; color: var(--atk-label-3); }
.atk-footer .atk-legal { padding-top: 18px; box-shadow: inset 0 0.5px 0 var(--atk-sep); }
.atk-footer a { color: var(--atk-label-2); }
.atk-footer nav { display: flex; gap: 18px; margin-bottom: 10px; }

@media (max-width: 860px) {
  .atk-grid-3, .atk-grid-2, .atk-grid-4, .atk-form { grid-template-columns: 1fr; }
  .atk-hero { padding: 64px 0 48px; }
  .atk-section { padding-top: 72px; }
  .atk-topnav .atk-links { display: none; }
  .atk-topnav { justify-content: space-between; }
  .atk-closing { padding: 24px 20px; }
  /* phones: every tappable capsule is at least 44 px tall */
  .atk-topnav .atk-btn, .atk-offer .atk-btn { height: 44px; padding: 0 18px; font-size: 15px; }
  .atk-topnav { height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .atk * { transition: none !important; } }

/* ---------- constellation: the one signature element (js/constellation.js) ---------- */
.atk-constellation { position: relative; width: 100%; height: 380px; font-family: var(--atk-font); }
.atk-constellation svg { display: block; overflow: visible; }
.atk-constellation text { font-family: var(--atk-font); letter-spacing: -0.005em; paint-order: stroke; stroke: #0B0E1C; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 640px) { .atk-constellation { height: 500px; } }
