:root {
  --theo: #0A1018;
  --theo-soft: #111A26;
  --theo-pressed: #070B10;
  --white: #FFFFFF;
  --text: #F5F7FA;
  --muted: rgba(245,247,250,.68);
  --faint: rgba(245,247,250,.48);
  --border: rgba(255,255,255,.12);
  --surface: rgba(255,255,255,.055);
  --surface-strong: rgba(255,255,255,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.home-body,
.docs-body {
  min-height: 100vh;
  background: var(--theo);
  color: var(--white);
}

.home-body {
  background:
    radial-gradient(circle at 50% 35%, rgba(70,92,118,.13), transparent 34%),
    linear-gradient(180deg, #0D141E 0%, var(--theo) 52%, #080D13 100%);
}

.home-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px 28px;
  text-align: center;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.brand-wordmark {
  margin: 0;
  font-size: clamp(76px, 15vw, 142px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.075em;
  color: var(--white);
}

.hero-title {
  margin: 3px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.045em;
  color: rgba(255,255,255,.94);
}

.hero-copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-width: 220px;
  border-radius: 18px;
  text-decoration: none;
  background: var(--white);
  color: var(--theo);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .16s ease, box-shadow .16s ease;
}

.store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,.34);
}

.store-btn.is-coming {
  cursor: default;
}
.store-btn.is-coming:hover { transform: none; }

.store-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-copy small {
  color: rgba(10,16,24,.62);
  font-size: 11px;
  line-height: 1.2;
}

.store-copy strong {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.home-footer {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { border-color: rgba(255,255,255,.52); }
.copyright { color: rgba(255,255,255,.42); font-size: 14px; }

.docs-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--white); }

.docs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 12px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}

.docs-card h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: .96;
  letter-spacing: -.06em;
  color: var(--white);
}
.docs-card .subtitle {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.docs-card h2 {
  margin: 30px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
}
.docs-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--white);
}
.docs-card p,
.docs-card li {
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.72;
}
.docs-card ul { margin: 12px 0 0 20px; padding: 0; }
.meta { color: var(--faint); font-size: 14px; margin-bottom: 18px; }

.info-card,
.note-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.info-card p { margin: 0 0 12px; }
.info-card p:last-child { margin-bottom: 0; }
.email-link {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.email-link:hover { border-color: rgba(255,255,255,.72); }
.brand-mini { font-weight: 900; letter-spacing: -.05em; }

@media (max-width: 720px) {
  .docs-card { padding: 24px 20px; border-radius: 22px; }
  .cta-row { width: 100%; }
  .store-btn { width: min(100%, 320px); justify-content: center; }
  .store-copy { align-items: center; text-align: center; }
}

/* SEO content pages */
.article-main {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 12px 42px rgba(0,0,0,.18);
}
.article-eyebrow {
  margin: 0 0 12px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-card h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
}
.article-deck {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.article-meta {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 14px;
}
.article-body {
  max-width: 720px;
  margin-top: 34px;
}
.article-body h2 {
  margin: 34px 0 12px;
  font-size: 27px;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.article-body h3 {
  margin: 26px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}
.article-body p,
.article-body li {
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.78;
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
}
.article-body a,
.article-related a {
  color: var(--white);
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.32);
}
.article-body a:hover,
.article-related a:hover { text-decoration-color: var(--white); }
.article-callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-strong);
}
.article-callout p { margin: 0; }
.article-related {
  max-width: 720px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.article-related h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -.025em;
}
.article-related ul { margin: 0; padding-left: 20px; }
.article-related li { margin: 9px 0; color: var(--muted); }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.guide-tile {
  display: block;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
}
.guide-tile:hover { background: var(--surface-strong); }
.guide-tile small {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guide-tile strong {
  display: block;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.guide-tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .article-card { padding: 25px 20px; border-radius: 22px; }
  .guides-grid { grid-template-columns: 1fr; }
  .article-body p, .article-body li { font-size: 16px; }
}
