/* Architect Path marketing site. Plain CSS, no build step. Colours follow the app's theme (src/theme.ts). */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --ink: #141826;
  --ink-2: #5d6478;
  --line: #e2e5ee;
  --accent: #4b4fd8;
  --accent-soft: #e7e8fc;
  --brand: #2d2be1;
  --gold: #e9a83b;
  --foundation: #1e9e6a;
  --intermediate: #c27c0e;
  --advanced: #b03a8c;
  --shadow: 0 1px 2px rgb(20 24 38 / 0.05), 0 16px 48px rgb(20 24 38 / 0.10);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1018;
    --surface: #181b26;
    --surface-2: #222634;
    --ink: #eceef5;
    --ink-2: #9aa1b5;
    --line: #2b3040;
    --accent: #8c8fff;
    --accent-soft: #262a55;
    --foundation: #4cc995;
    --intermediate: #e8b04d;
    --advanced: #e57bc4;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 48px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 750; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header and footer */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-2); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-2); }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 16px 0 20px; }
.hero h1 .accent { color: var(--accent); }
.lede { font-size: 20px; color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 14px; font-weight: 650; font-size: 16px;
  background: var(--ink); color: var(--bg);
}
.button svg { width: 20px; height: 20px; }
.button.soon { cursor: default; opacity: 0.92; }
.button.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button:hover { text-decoration: none; }
.note { width: 100%; font-size: 14px; color: var(--ink-2); }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; border-radius: 36px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow), 0 0 0 8px var(--surface-2);
}
.phone img { width: 100%; }
.phones .back { right: 0; top: 0; transform: rotate(4deg); }
.phones .front { left: 0; top: 48px; transform: rotate(-3deg); }

/* Sections */
section { padding: 72px 0; }
.tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; }
.feature .stat { color: var(--ink); font-weight: 700; }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level { border-radius: var(--radius); padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.level h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.level.foundation h3 { color: var(--foundation); }
.level.intermediate h3 { color: var(--intermediate); }
.level.advanced h3 { color: var(--advanced); }
.level ol { margin: 0; padding: 0; list-style: none; counter-reset: m var(--start, 0); }
.level li { counter-increment: m; padding: 10px 0; border-top: 1px solid var(--line); }
.level li:first-child { border-top: 0; padding-top: 0; }
.level li::before { content: counter(m, decimal-leading-zero); color: var(--ink-2); font-size: 13px; font-weight: 700; margin-right: 10px; font-variant-numeric: tabular-nums; }
.level li strong { font-weight: 650; }
.level li span { display: block; color: var(--ink-2); font-size: 14px; margin-left: 30px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); text-align: center; }

.closing { text-align: center; }
.closing img.mark { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.closing h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.closing p { color: var(--ink-2); font-size: 18px; }
.closing .cta { justify-content: center; }

/* Documents: privacy, terms, support */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-2); margin-bottom: 32px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; }
.doc li + li { margin-top: 6px; }
.callout { background: var(--accent-soft); border-radius: 16px; padding: 18px 20px; margin-bottom: 28px; }
.doc.center { text-align: center; }
.doc.center .cta { justify-content: center; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phones { height: 520px; max-width: 460px; width: 100%; margin-inline: auto; }
  .phone { width: 230px; }
  .features, .levels { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .nav { gap: 16px; }
  .lede { font-size: 18px; }
  .phones { height: 430px; }
  .phone { width: 190px; border-radius: 28px; }
  .features, .levels { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
