/* nirmita.dev (WEB-1). The app's own brand values (ui/tokens.css): the warm
   page, neutral ink, the logo's blue and its gradient, and Geist. One font. */
@font-face {
  font-family: "Geist";
  src: url("/static/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-2: #f3f0eb;
  --ink: #1c1b1a;
  --ink-2: #5c5955;
  --rule: #e8e3db;
  --accent: #3f5cd2;
  --accent-hover: #3550bd;
  --accent-ink: #ffffff;
  --warn: #8a5a00;
  --gradient: linear-gradient(120deg, #f04fb9 0%, #b74bf6 50%, #3f5cd2 100%);
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 620; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ── Header ── */
.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); position: relative; }
.site-header::before { content: ""; display: block; height: 3px; background: var(--gradient); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { display: block; width: 122px; height: 32px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: inline-block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-signin { color: var(--ink); font-weight: 500; text-decoration: none; padding: 10px 4px; }

/* ── Buttons and the opening badge ── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 980px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button-quiet { color: var(--ink); border: 1px solid #8c867e; background: var(--surface); }
.button-quiet:hover { background: var(--surface-2); color: var(--ink); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.opening {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 980px; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;
  border: 2px solid transparent;
}

/* ── Sections ── */
.hero { padding: 72px 0 56px; }
.hero-small { padding: 56px 0 24px; }
.hero h1 { max-width: 18ch; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 16px; }
.hero-note { color: var(--ink-2); font-size: 0.95rem; }
.band { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-plain { background: var(--bg); border: 0; }
.note { color: var(--ink-2); font-size: 0.95rem; margin-top: 24px; max-width: 70ch; }
.cta { text-align: center; }
.cta .hero-actions { justify-content: center; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 12px;
  background: var(--accent); color: var(--accent-ink); font-weight: 650;
}
.steps p, .card p { color: var(--ink-2); margin: 0; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.band:not(.band-plain) .card { background: var(--bg); }

/* ── Pricing ── */
.trial { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; }
.trial p { max-width: 65ch; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.plan { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 28px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan-subtitle { color: var(--ink-2); margin: 0; }
.price { margin: 12px 0 16px; }
.amount { font-size: 2rem; font-weight: 650; letter-spacing: -0.02em; }
.per { color: var(--ink-2); }
.gst { font-size: 1.1rem; font-weight: 600; }
.plan-opening { font-weight: 600; margin-bottom: 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.two-col { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; }
.packs { border-collapse: collapse; width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.packs th, .packs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.packs th { background: var(--surface-2); font-weight: 600; }
.packs tr:last-child td { border-bottom: 0; }
.packs td:last-child, .packs th:last-child { text-align: right; }

/* ── Policies and plain pages ── */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.prose-narrow { max-width: 760px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.missing { color: var(--warn); border-bottom: 2px dashed var(--warn); font-weight: 600; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface); padding: 32px 0; color: var(--ink-2); font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.footer-row p { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 4px; }
.footer-links a { display: inline-block; padding: 8px 10px; color: var(--ink-2); }
.footer-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.copyright { width: 100%; }

/* ── Phones ── */
@media (max-width: 820px) {
  .steps, .cards, .plans, .two-col { grid-template-columns: 1fr; }
  .two-col { gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { gap: 0 12px; padding-top: 4px; }
  .site-header nav { order: 3; width: 100%; border-top: 1px solid var(--rule); }
  .nav { justify-content: space-between; }
  .nav a { padding: 10px 8px; }
  .hero { padding: 40px 0 32px; }
  .hero-small { padding: 32px 0 8px; }
  .band { padding: 40px 0; }
  .lead { font-size: 1.08rem; }
  .plan, .trial, .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
