/* ============================================================================
   Plat — trackplat.com landing. Concept A v2 brand (mirrors constants/theme.ts).
   Static, buildless. One stylesheet for the whole page.
   ============================================================================ */

:root {
  --teal: #2AADA3;
  --teal-deep: #0E7A72;
  --teal-light: #4DC8BE;
  --teal-dark: #0F2B2A;
  --teal-card: #163633;
  --teal-strip: #1E4D4A;

  --gold: #C9923A;
  --gold-light: #E8B870;
  --gold-deep: #A07028;

  --cream: #F5F0E8;
  --cream-2: #FBF6EE;
  --white: #FFFFFF;

  --ink: #1A1A14;
  --ink-2: #3D3D30;
  --ink-3: #5A5A4A;
  --muted: #8A8878;
  --border: #DDD8CE;
  --border-2: #E8E4DA;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Barlow", system-ui, -apple-system, sans-serif;
  --cond: "Barlow Condensed", "Barlow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--teal); color: var(--white); }

.kicker {
  font-family: var(--cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.kicker.on-dark { color: var(--gold-light); }

.serif { font-family: var(--serif); }

/* ── buttons ── */
.btn {
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--cream); border-color: rgba(255,255,255,0.32); }
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--ink); }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,232,0.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .wm { font-family: var(--serif); font-weight: 900; font-style: italic; font-size: 24px; color: var(--teal-deep); letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.nav-links a.navlink:hover { color: var(--teal-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ── hero ── */
.hero { background: radial-gradient(circle at 75% -10%, var(--teal-strip) 0%, var(--teal-dark) 60%, var(--teal-dark) 100%); color: var(--cream); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 84px 24px 92px; max-width: var(--maxw); margin: 0 auto; }
.hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.03em; color: var(--white); margin-top: 18px; text-wrap: balance; }
.hero p.sub { font-size: clamp(16px, 1.7vw, 19px); font-weight: 300; line-height: 1.65; color: #C0DED8; margin-top: 18px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 18px; }

/* phone mock */
.mock { justify-self: center; width: 290px; background: #0c0b08; border-radius: 44px; padding: 11px; box-shadow: 0 40px 90px -36px rgba(0,0,0,0.6); }
.mock-screen { background: var(--cream); border-radius: 34px; overflow: hidden; }
.mock-strip { background: var(--teal); padding: 22px 20px 24px; }
.mock-strip .lbl { font-family: var(--cond); font-weight: 700; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.mock-strip .val { font-family: var(--serif); font-weight: 900; font-size: 40px; color: #fff; line-height: 1; margin-top: 4px; }
.mock-strip .chg { font-family: var(--mono); font-size: 12px; color: #fff; margin-top: 6px; }
.mock-body { padding: 16px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-2); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .a { font-family: var(--serif); font-size: 14px; color: var(--ink); }
.mock-row .t { font-size: 11px; color: var(--muted); }
.mock-row .v { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.mock-row .cf { font-family: var(--mono); font-size: 12px; color: var(--teal-deep); }

/* ── section scaffolding ── */
.section { padding: 88px 0; }
.section.alt { background: var(--cream-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; }
.section-head h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin-top: 14px; }
.section-head p { font-size: 16.5px; font-weight: 300; line-height: 1.7; color: var(--ink-2); margin-top: 14px; }

/* ── features ── */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.feature .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--cream-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-family: var(--serif); font-weight: 800; font-size: 20px; color: var(--ink); margin-top: 16px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 44px; }
.step .n { font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--teal); line-height: 1; }
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); margin-top: 12px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-top: 7px; }

/* ── pricing ── */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; max-width: 760px; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.plan.plus { border-color: var(--teal); border-width: 2px; position: relative; }
.plan .badge { position: absolute; top: -11px; left: 28px; background: var(--teal); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan .pname { font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.plan .price { font-family: var(--serif); font-weight: 900; font-size: 40px; color: var(--ink); margin-top: 8px; }
.plan .price small { font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.plan li svg { flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: 22px; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ── final cta ── */
.cta-band { background: var(--teal-dark); color: var(--cream); text-align: center; padding: 76px 24px; }
.cta-band h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.6vw, 42px); color: var(--white); letter-spacing: -0.02em; }
.cta-band p { font-weight: 300; color: #C0DED8; margin-top: 12px; font-size: 17px; }
.cta-band .btn { margin-top: 26px; }

/* ── footer ── */
.footer { background: var(--ink); color: #B8B6A8; padding: 44px 24px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.footer .wm { font-family: var(--serif); font-weight: 900; font-style: italic; font-size: 22px; color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: #B8B6A8; }
.footer-links a:hover { color: var(--gold-light); }
.footer .copy { width: 100%; font-size: 12px; color: #7C7A6E; margin-top: 8px; }

/* ── responsive ── */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 70px; }
  .mock { order: -1; width: 260px; }
  .features, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .nav-cta .navlink-mobile { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--cream); border-bottom: 1px solid var(--border); padding: 14px 24px 18px; }
  .section { padding: 64px 0; }
}
