:root {
  --bg: #0b0f1a;
  --bg-alt: #0e1424;
  --panel: #131a2c;
  --line: #222b42;
  --text: #e8ecf5;
  --muted: #98a2bb;
  --accent: #2dd4a0;
  --accent-ink: #052018;
  --blue: #2962ff;
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #0a0f1d; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(11, 15, 26, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: 0.1px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); filter: none; }
.btn.small { padding: 7px 16px; font-size: 14px; color: var(--accent-ink); }
.nav nav a.btn.small { color: var(--accent-ink); }

/* hero */
.hero { text-align: center; padding: 72px 16px 24px; max-width: var(--max); margin: 0 auto; }
.pill { display: inline-block; margin: 0 0 22px; padding: 6px 14px; font-size: 13px; color: var(--accent); border: 1px solid #1d4d40; background: #0c2019; border-radius: 999px; }
h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; }
.accent { color: var(--accent); }
.lead { max-width: 720px; margin: 0 auto 30px; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shot { margin: 48px auto 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02); background: #0f1424; }
.fine { color: var(--muted); font-size: 13px; }
.center { text-align: center; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: var(--max); margin: 40px auto 0; padding: 0 16px; }
.strip div { padding: 22px 12px; text-align: center; border-left: 1px solid var(--line); }
.strip div:first-child { border-left: 0; }
.strip strong { display: block; font-size: 26px; letter-spacing: -0.01em; }
.strip span { color: var(--muted); font-size: 14px; }

/* sections */
.section { padding: 84px 16px; max-width: var(--max); margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-alt); border-block: 1px solid var(--line); }
.section.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.015em; margin: 0 0 12px; text-align: center; }
.sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 14px; max-width: 760px !important; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* pricing */
.price-card { max-width: 520px; margin: 28px auto 20px; background: var(--panel); border: 1px solid #2c3a5c; border-radius: 18px; padding: 32px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.tag { margin: 0 0 6px; color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.price { margin: 0 0 20px; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--text); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.upi { border-top: 1px solid var(--line); padding-top: 22px; }
.upi-h { margin: 0 0 10px; font-weight: 650; text-align: center; }
.upi-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #080c16; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.upi-box code { background: none; border: 0; padding: 0; font-size: 17px; word-break: break-all; }
.copy { flex: none; background: none; border: 0; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; padding: 4px 8px; }
.upi .fine { text-align: center; margin: 14px 0 0; }

/* faq */
.faq { max-width: 760px !important; display: grid; gap: 10px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--muted); }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.contact { text-align: center; }
.contact .sub { margin-bottom: 0; }
.contact a { color: var(--accent); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px max(16px, calc((100vw - var(--max)) / 2)); color: var(--muted); font-size: 13px; }
.foot p { margin: 0 0 8px; max-width: 820px; }

/* placeholders: loud in the page until replaced, so none ship by mistake */
[data-todo] { background: #5b2a00; color: #ffd9a8; border-radius: 4px; padding: 0 4px; outline: 1px dashed #ff9f3a; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 60px 16px; }
  .price-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* feature showcase: text beside a screenshot, alternating */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin: 0 0 84px; }
.row.rev { grid-template-columns: 7fr 5fr; }
.row.rev .copy-col { order: 2; }
.row.rev .shot { order: 1; }
.copy-col h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 12px; }
.copy-col > p { color: var(--muted); margin: 0 0 18px; }
.copy-col .ticks { margin: 0; }
.copy-col .ticks li { color: var(--muted); }
.shot.sm { margin: 0; }
.h2-more { margin-top: 24px; }
.h2-more + .grid { margin-top: 36px; }
@media (max-width: 860px) {
  .row, .row.rev { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .row.rev .copy-col, .row.rev .shot { order: initial; }
}

/* "And more inside": icon tiles, a lift and a soft glow on hover */
.more-grid { gap: 18px; }
.card.more {
  position: relative; overflow: hidden;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(45, 212, 160, 0.05), rgba(19, 26, 44, 0) 46%), var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card.more::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 160, 0.55), transparent);
  opacity: 0; transition: opacity 0.2s ease;
}
.card.more:hover { transform: translateY(-3px); border-color: #2c4a52; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(45, 212, 160, 0.08); }
.card.more:hover::before { opacity: 1; }
.card.more .ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  color: var(--accent); background: #0c2019; border: 1px solid #1d4d40;
}
.card.more h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chip { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); border: 1px solid #1d4d40; background: #0c2019; border-radius: 999px; padding: 2px 9px; }
.card.more p { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .card.more, .card.more::before { transition: none; } .card.more:hover { transform: none; } }

/* launch pricing notes under the price */
.price-note { margin: -8px 0 12px; color: var(--muted); font-size: 14px; }
.coupon { margin: 0 0 22px; padding: 10px 14px; font-size: 14px; color: var(--accent); background: #0c2019; border: 1px solid #1d4d40; border-radius: 10px; }

/* price card: gradient edge, glow, ribbon, scarcity block */
.price-card {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(140deg, #2dd4a0, #2962ff 55%, #8b5cf6) border-box;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 80px rgba(45, 212, 160, 0.10);
  padding-top: 40px;
}
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(45, 212, 160, 0.35);
}
.ribbon.ended { background: #2a3350; color: var(--text); box-shadow: none; }
.price { font-size: 56px; line-height: 1.05; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.then { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.scarce { margin: 0 0 18px; padding: 14px 16px 12px; background: #0b1120; border: 1px solid var(--line); border-radius: 14px; }
.scarce[hidden], .then[hidden] { display: none; }
.scarce-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
.left strong { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.left { display: inline-flex; align-items: baseline; gap: 6px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); align-self: center; box-shadow: 0 0 0 0 rgba(45, 212, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(45, 212, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 160, 0); } }
.days { font-size: 12px; font-weight: 650; color: #ffcf8a; background: #2b2110; border: 1px solid #5a4318; border-radius: 999px; padding: 3px 11px; }
.days.soon { color: #ffb4a8; background: #2c1612; border-color: #6a2a20; }
.bar { height: 8px; border-radius: 999px; background: #060a14; border: 1px solid var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #2dd4a0, #7be8c8); transition: width 0.6s ease; }
.scarce .fine { margin: 10px 0 0; }
.coupon { display: block; border-style: dashed; text-align: center; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .bar span { transition: none; } }
@media (max-width: 560px) { .price { font-size: 46px; } }

/* subtle "no monthly bill" lines */
.nobill { margin: 18px 0 0; color: var(--muted); font-size: 14px; letter-spacing: 0.01em; }
.nobill-card { margin: 0 0 4px; color: var(--accent); font-size: 14px; font-weight: 600; }

/* calculator */
.calc { max-width: 820px; margin: 0 auto 18px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35); }
.calc-in { padding: 28px; border-right: 1px solid var(--line); }
.calc-in label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.calc-field { display: flex; align-items: center; gap: 8px; background: #080c16; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.calc-field:focus-within { border-color: var(--accent); }
.calc-field span { color: var(--muted); font-size: 22px; }
.calc-field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-family: inherit; font-size: 28px; font-weight: 650; line-height: 1.4; padding: 10px 0; font-variant-numeric: tabular-nums; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chipbtn { cursor: pointer; font: inherit; font-size: 13px; color: var(--muted); background: #0b1120; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.chipbtn:hover { color: var(--text); border-color: var(--muted); }
.chipbtn.on { color: var(--accent); border-color: #1d4d40; background: #0c2019; }
.calc-in .calc-check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.calc-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.calc-out { padding: 28px; background: linear-gradient(180deg, rgba(45, 212, 160, 0.07), rgba(19, 26, 44, 0) 70%); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.calc-k { margin: 0; color: var(--muted); font-size: 14px; }
.calc-k strong { color: var(--text); }
.calc-big { margin: 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; color: var(--accent); }
.calc-sub { margin: 0; color: var(--text); font-size: 15px; }
.calc-sub + .calc-sub { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }

/* hero screen switcher */
.shot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: var(--max); }
.shot-tabs button { font: inherit; font-size: 14px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.shot-tabs button:hover { color: var(--text); border-color: #34415f; }
.shot-tabs button.on { color: var(--accent); border-color: #1d4d40; background: #0c2019; }
.shot-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.grid.built { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.built { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid.built { grid-template-columns: 1fr; } }

/* "Built to stay yours": a soft glow behind the cards, equal cards, a quiet note below */
.built-sec { position: relative; }
.built-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 220px at 50% 38%, rgba(45, 212, 160, 0.07), transparent 70%); pointer-events: none; }
.built-sec > * { position: relative; }
.grid.built { gap: 18px; }
.grid.built .card.more { padding-bottom: 28px; }
.built-note { text-align: center; max-width: 640px; margin: 28px auto 0; }

/* ---- Hero screen: tilted back and lowered, it settles flat as the page scrolls (site.js sets --rx, --ty, --sc) ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hx-stage { position: relative; perspective: 1600px; margin-top: 48px; }
.hx-stage .shot { margin: 0; }
.hx-frame { transform-origin: 50% 100%; transform: translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) scale(var(--sc, 1)); will-change: transform; }
.hx-bloom { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0; transition: opacity 1.4s ease 0.4s; }
.hx-bloom.l { left: -8%; top: -12%; background: radial-gradient(circle, rgba(45, 212, 160, 0.34), rgba(45, 212, 160, 0) 64%); }
.hx-bloom.r { right: -8%; top: -10%; background: radial-gradient(circle, rgba(41, 98, 255, 0.30), rgba(41, 98, 255, 0) 64%); }
.hero.in .hx-bloom { opacity: 1; }

/* ---- Paper stack: each feature is a sheet that sticks, and the next one slides over it (wide and tall screens only) ---- */
.stack { display: block; }
@media (min-width: 900px) and (min-height: 720px) {
  .stack { display: grid; gap: 72px; margin-bottom: 72px; }
  .stack > .row {
    position: sticky; top: calc(92px + var(--i, 0) * 16px); align-self: start;
    margin: 0; padding: 40px; gap: 48px; border-radius: 28px;
    background: #101728;
    box-shadow: inset 0 0 0 1px var(--line), 0 -18px 50px -24px rgba(0, 0, 0, 0.9);
    transform-origin: 50% 0;
  }
  /* each sheet rests at a slightly different angle, never more than 1.5deg */
  .stack > .row:nth-child(4n+1) { --tilt: -0.7deg; --dx: -6px; }
  .stack > .row:nth-child(4n+2) { --tilt: 0.9deg; --dx: 8px; }
  .stack > .row:nth-child(4n+3) { --tilt: -1.1deg; --dx: -4px; }
  .stack > .row:nth-child(4n+4) { --tilt: 1.3deg; --dx: 6px; }
  /* tied to the scrollbar where the browser can: the angle lands while the sheet enters the screen */
  .stack-sdt > .row { animation: paper-land linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
  @keyframes paper-land { from { rotate: 0deg; translate: 0 0; } to { rotate: var(--tilt); translate: var(--dx) 0; } }
  /* elsewhere: the angle settles once when the sheet is a quarter in view */
  .stack-io > .row { transition: rotate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .stack-io > .row.landed, .stack-still > .row { rotate: var(--tilt); translate: var(--dx) 0; }
}
@media (prefers-reduced-motion: reduce) { .hx-frame { transform: none !important; } .hx-bloom { transition: none; } }

/* footer: brand and links, three notice cards, a quiet base line */
.foot { padding-top: 48px; padding-bottom: 28px; background: linear-gradient(180deg, rgba(45, 212, 160, 0.03), transparent 220px); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.foot-top .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.15s; }
.foot-nav a:hover { color: var(--text); }
.notices { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 16px; }
.notice { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.notice .ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 10px; color: var(--accent); background: #0c2019; border: 1px solid #1d4d40; }
.notice:first-child .ic { color: #f5b942; background: #231a09; border-color: #4a3a14; }
.notice h3 { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.foot .notice p { margin: 0; max-width: none; font-size: 13px; line-height: 1.6; color: var(--muted); }
.foot .foot-base { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; max-width: none; }
@media (max-width: 860px) { .notices { grid-template-columns: 1fr; } .foot-top { justify-content: center; text-align: center; } .foot-nav { justify-content: center; } }
