/* TheGrowDigiHub: calm ledger-paper look, green for gain, blue for action. One bordered offer card, plain ruled sections. */
:root {
  --paper: #F2F4F6;
  --surface: #FFFFFF;
  --ink: #13202C;
  --muted: #556574;
  --line: #D5DCE3;
  --accent: #1F3FD1;
  --accent-ink: #FFFFFF;
  --tint: #E4EAF8;
  --gain: #0F7A4B;
  --gain-tint: #DDF1E6;
  --loss: #B8372B;
  --loss-tint: #F8E4E1;
  --skin: #E9B98F;
  --hair: #2B2A33;
  --gold: #F2B705;
  --win-bg: var(--gain);
  --win-ink: var(--surface);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F161D; --surface: #17212B; --ink: #E6ECF1; --muted: #97A5B3; --line: #2A3743;
    --accent: #7F9BFF; --accent-ink: #0B1220; --tint: #172238; --gain: #4CC38A; --gain-tint: #12301F;
    --loss: #FF8A7D; --loss-tint: #3A1E1B; --skin: #D9A67C; --hair: #0B0E12; --gold: #FFD166;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F161D; --surface: #17212B; --ink: #E6ECF1; --muted: #97A5B3; --line: #2A3743;
  --accent: #7F9BFF; --accent-ink: #0B1220; --tint: #172238; --gain: #4CC38A; --gain-tint: #12301F;
  --loss: #FF8A7D; --loss-tint: #3A1E1B; --skin: #D9A67C; --hair: #0B0E12; --gold: #FFD166;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  padding-block: 20px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1040px; margin-inline: auto; }
main { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.fine { font-size: 0.85rem; color: var(--muted); }
.gain { color: var(--gain); }
.loss { color: var(--loss); }

/* header and wordmark */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: clamp(28px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.brand .g { color: var(--gain); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 6px; text-align: center; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.link { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }

/* hero */
.hero { display: grid; gap: 22px 56px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "offer" "lede"; align-items: start; background: var(--tint); border-radius: 10px; padding: clamp(18px, 4vw, 40px); }
.hero-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }
.hero .lede { grid-area: lede; }
.offer { grid-area: offer; background: var(--surface); border: 2px solid var(--accent); border-radius: 8px; padding: clamp(18px, 3.5vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.offer-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.mini { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mini .free { color: var(--gain); font-weight: 600; }
.total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-size: 0.95rem; color: var(--muted); }
.total s { font-variant-numeric: tabular-nums; }
.deal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.amount { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 8vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pill { background: var(--gain); color: var(--surface); font-weight: 700; font-size: 1.05rem; padding: 6px 16px; border-radius: 999px; }
@media (min-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "head offer" "lede offer"; grid-template-rows: auto 1fr; }
  .hero .lede { align-self: start; }
}
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--muted); }
.assure li::before { content: "\2713"; color: var(--gain); font-weight: 700; margin-right: 6px; }

/* closing offer and phone buy bar */
.closer { background: var(--tint); border-radius: 10px; padding: clamp(20px, 4vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.closer-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.closer h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.buybar-text { font-variant-numeric: tabular-nums; }
.buybar-text s { color: var(--muted); margin-left: 6px; }
@media (min-width: 880px) { .buybar { display: none !important; } }
@media (max-width: 879px) { .has-bar footer { padding-bottom: 76px; } }

/* with / without */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 32px; }
.compare figure { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.compare svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.compare figcaption { display: flex; flex-direction: column; gap: 4px; }
.compare figcaption p { color: var(--muted); font-size: 0.95rem; }
.s-bg-a { fill: var(--loss-tint); }
.s-bg-b { fill: var(--gain-tint); }
.s-desk { fill: var(--line); }
.s-mon { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.s-skin { fill: var(--skin); }
.s-hair { fill: var(--hair); }
.s-shirt { fill: var(--accent); }
.s-ink { fill: var(--hair); }
.s-face { fill: none; stroke: var(--hair); stroke-width: 2.5; stroke-linecap: round; }
.s-loss { fill: none; stroke: var(--loss); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.s-gain { fill: none; stroke: var(--gain); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.s-dot-loss { fill: var(--loss); }
.s-dot-gain { fill: var(--gain); }
.s-grid { stroke: var(--line); stroke-width: 1.5; fill: none; }
.s-book { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.s-tick { fill: none; stroke: var(--gain); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* sections and ratio cards */
.section { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; align-items: start; }
.section > .intro { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.section > .body { min-width: 0; }
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.insight { border-top: 2px solid var(--gain); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.insight .big { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.02em; color: var(--gain); font-variant-numeric: tabular-nums; line-height: 1.1; }
.insight p { color: var(--muted); font-size: 0.95rem; }
.bars { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.bar i { display: block; height: 10px; border-radius: 2px; background: var(--gain); }
.bar i.r { background: var(--loss); }

/* item list */
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item .what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.item .name { font-weight: 600; }
.item .desc { color: var(--muted); font-size: 0.92rem; }
.item .fmt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.item .buy { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.item .p { font-family: var(--display); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.item.combo { background: var(--surface); border: 2px solid var(--accent); border-radius: 8px; padding: 18px; margin-bottom: 16px; }
.item.combo .p { font-size: 1.6rem; }
.item.combo .save { color: var(--gain); font-weight: 600; }
@media (max-width: 520px) { .item { grid-template-columns: minmax(0, 1fr); } .item .buy { justify-content: space-between; } }

/* faq */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 10px; max-width: 62ch; }

/* footer */
footer { margin-top: clamp(48px, 7vw, 80px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.85rem; }
footer p { max-width: 78ch; }
.flinks { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.flinks a { text-underline-offset: 3px; }

/* policy pages and thank-you page */
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.doc h2 { font-size: 1.25rem; margin-top: 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--accent); }
.checkout { max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.checkout h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list .item .p { font-size: 0.95rem; color: var(--muted); font-weight: 500; font-family: var(--body); }

/* checkout form */
.coform { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px; width: 100%; min-width: 0; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--loss); font-size: 0.9rem; font-weight: 600; }
button.btn { font: inherit; font-weight: 600; border: 0; cursor: pointer; width: 100%; }
button.btn:disabled { opacity: 0.7; cursor: wait; }

/* thank-you page */
.win { position: relative; overflow: hidden; background: var(--win-bg); color: var(--win-ink); border-radius: 12px; padding: clamp(22px, 5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px 40px; align-items: center; }
.win .label { color: inherit; opacity: 0.85; }
.win h1 { color: inherit; font-size: clamp(2rem, 5vw, 3.2rem); }
.win-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.25; padding-left: 14px; border-left: 4px solid var(--gold); text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--win-ink); color: var(--win-bg); font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; }
.win-art { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.win-art svg { width: 100%; height: auto; display: block; max-width: 100%; }
.win-art .fine { color: inherit; opacity: 0.85; }
.w-grid { stroke: currentColor; stroke-opacity: 0.3; stroke-width: 1.5; fill: none; }
.w-area { fill: currentColor; fill-opacity: 0.16; }
.w-line { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 1.4s ease-out 0.3s both; }
.w-dot { fill: var(--gold); }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -16px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: fall var(--d, 3s) ease-in var(--delay, 0s) 1 both; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(380px) rotate(var(--r, 300deg)); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.getbox { background: var(--surface); border: 2px solid var(--gain); border-radius: 10px; padding: clamp(18px, 4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.getbox h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { border-top: 4px solid var(--c); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.step:nth-child(1) { --c: var(--gain); }
.step:nth-child(2) { --c: var(--accent); }
.step:nth-child(3) { --c: var(--gold); }
.step p { color: var(--muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } .confetti { display: none; } .w-line { animation: none; } }

/* launch badge, small format tag in the offer list */
.badge { display: inline-block; background: var(--gold); color: #13202C; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.item .name .badge { margin-left: 6px; }
.mini small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-left: 4px; }

/* explainer video */
.watch { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 600; color: var(--accent); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; }
.watch:hover { border-color: var(--accent); }
.play { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 10px solid var(--accent-ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.explainer { display: flex; flex-direction: column; gap: 20px; }
.explainer .intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.player { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16 / 9; background: #0B1220; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(19, 32, 44, 0.18); }
.player.tall { aspect-ratio: 9 / 16; max-width: 380px; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.player .poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0B1220 center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.player .poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55)); }
.player .big-play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,0.35); transition: transform .15s ease; }
.player .big-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 24px solid #13202C; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.player .poster:hover .big-play { transform: scale(1.06); }
.player .poster-text { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 600; font-size: 0.95rem; }
.after-video { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
@media (prefers-reduced-motion: reduce) { .player .big-play { transition: none; } }

/* v1.4 Tamil focus + trust */
.ta-badge{display:inline-block;background:var(--gold);color:#13202C;font-family:inherit;font-weight:700;letter-spacing:0;text-transform:none;padding:2px 10px;border-radius:999px;margin-right:6px;font-size:.85rem}
.ta-line{font-size:1.15rem;line-height:1.5;color:var(--ink,#13202C);margin-top:4px}
.ta-line b{color:#DC2626}
.founder{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 14px;margin-top:6px;max-width:560px}
.founder img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--gold)}
.founder p{margin:0;font-size:.95rem;line-height:1.45}
.hero-shot{margin:10px 0 0;max-width:560px}
.hero-shot img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line);box-shadow:0 10px 24px rgba(19,32,44,.12)}
.hero-shot figcaption{font-size:.78rem;color:var(--muted);margin-top:6px}
.wa-float{position:fixed;right:16px;bottom:88px;z-index:60;display:inline-flex;align-items:center;gap:8px;background:#25D366;color:#fff;font-weight:700;text-decoration:none;padding:12px 16px;border-radius:999px;box-shadow:0 8px 20px rgba(0,0,0,.25);font-size:.95rem}
.wa-float span{white-space:nowrap}
@media (min-width:900px){.wa-float{bottom:24px}}
@media (max-width:420px){.wa-float span{display:none}.wa-float{padding:14px}}
[hidden]{display:none !important}
@media (max-width:700px){.hero-shot{display:none}}

.paytrust{font-size:.85rem;font-weight:600;color:#0F7A4B !important;margin:8px 0 0;text-align:center}
