@font-face { font-family: "Instrument Serif"; src: url("assets/instrument-serif.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  /* Same palette as the calculator app */
  --plum: #7a3b62;
  --plum-dark: #4b2140;
  --plum-deep: #2c1326;
  --rose: #c45a6f;
  --blush: #f3e8ef;
  --blush-2: #fbf1f5;
  --cream: #fbf8f5;
  --surface: #ffffff;
  --border: #ece3e7;
  --ink: #2a2226;
  --muted: #6f6368;
  --faint: #a59a9e;
  --teal: #2f8f83;
  --good: #2f7d5b;
  --good-soft: #e5f3ec;
  --amber: #b9721a;
  --amber-soft: #fbf0df;
  --bad: #b23b3b;
  --bad-soft: #fbe7e5;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-lg: 0 30px 80px rgba(75, 33, 64, 0.18), 0 8px 24px rgba(75, 33, 64, 0.08);
  --shadow: 0 10px 30px rgba(75, 33, 64, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 6.6vw, 84px); }
h2 { font-size: clamp(36px, 4.6vw, 58px); }
h1 em, h2 em { font-style: italic; color: var(--plum); }
h3 { font-size: 19px; font-weight: 680; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--rose); border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 245, 0.85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 48px; width: auto; }
@media (max-width: 600px) { .logo img { height: 40px; } }
.chat-avatar { display: block; width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 550; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 680; text-decoration: none; border-radius: 999px; padding: 16px 30px; background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; box-shadow: 0 10px 28px rgba(122, 59, 98, 0.32); transition: transform .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(122, 59, 98, 0.38); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.small { padding: 10px 20px; font-size: 15px; box-shadow: none; }
.btn.light { background: #fff; color: var(--plum); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--border); }
.btn.ghost:hover { border-color: var(--plum); color: var(--plum); }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; }
.hero::before { width: 560px; height: 560px; background: #f1d3e2; top: -180px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: #f7e4d6; bottom: -160px; left: -160px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 { margin: 0; }
.hero h1 .h1-eyebrow { display: flex; width: fit-content; margin-bottom: 18px; font-family: var(--sans); line-height: 1.4; }
.hero h1 .h1-main { display: block; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.link-more { color: var(--plum); font-weight: 650; text-decoration: none; padding: 10px 6px; }
.link-more:hover { text-decoration: underline; }
.launch-pill { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: 14.5px; color: var(--muted); margin: -10px 0 16px; box-shadow: var(--shadow); }
.launch-pill b { color: #fff; background: var(--rose); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.launch-pill span[data-price] { color: var(--plum); font-weight: 800; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 14px; }
.tier { border-radius: 18px; padding: 20px 16px; border: 1px solid var(--border); }
.tier .price { font-size: 58px; margin: 8px 0 4px; }
.tier small { display: block; font-size: 13px; color: var(--muted); }
.tier-label { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tier.now { background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; border: 0; box-shadow: 0 14px 30px rgba(122, 59, 98, .28); }
.tier.now .price { color: #fff; }
.tier.now small, .tier.now .tier-label { color: rgba(255, 255, 255, .85); }
.tier.later { background: var(--cream); }
.tier.later .price { color: var(--faint); }
.tier.later .tier-label { color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: "✓"; color: var(--good); font-weight: 800; }

/* App window mock */
.window { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #faf6f8; border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e6d9df; }
.window-bar i:nth-child(1) { background: #f0a5a0; } .window-bar i:nth-child(2) { background: #f3d08e; } .window-bar i:nth-child(3) { background: #9fd3a8; }
.window-bar b { margin-left: 10px; font-size: 12px; color: var(--faint); font-weight: 600; }
.window-body { padding: 18px; display: grid; gap: 12px; }
.hero .window { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s; }
.hero .window:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-size: 24px; font-weight: 750; letter-spacing: -0.02em; margin-top: 2px; }
.kpi.accent { background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; border: 0; }
.kpi.accent small { color: rgba(255, 255, 255, .8); }
.stackbar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: #f4eef1; }
.stackbar span { height: 100%; width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.mini-insights { display: grid; gap: 8px; }
.mini-insight { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #faf7f8; border: 1px solid var(--border); font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.mini-insight.show { opacity: 1; transform: none; }
.mini-insight b { display: block; font-size: 13.5px; }
.mini-insight .ic { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ic.good { background: var(--good-soft); color: var(--good); }
.ic.warn { background: var(--amber-soft); color: var(--amber); }

/* Treatment marquee */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--serif); font-size: 26px; color: var(--plum-dark); white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 44px; color: var(--rose); font-size: 16px; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 18px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Pain points: animated chat */
.pain-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pain-intro h2 { margin: 14px 0 16px; }
.pain-intro p { font-size: 19px; max-width: 440px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.topic { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 9px 15px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .25s; }
.topic:hover { border-color: var(--plum); color: var(--plum); }
.topic.on { background: var(--plum); border-color: var(--plum); color: #fff; box-shadow: 0 8px 20px rgba(122, 59, 98, .25); transform: translateY(-1px); }
.chat { background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.chat::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 90, 111, .14), transparent 70%); pointer-events: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: rgba(251, 241, 245, .7); backdrop-filter: blur(8px); position: relative; z-index: 1; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 3px rgba(63, 191, 127, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(63, 191, 127, 0); } }
.chat-body { height: 440px; overflow-y: auto; scroll-behavior: smooth; padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); }
.chat-body::-webkit-scrollbar { display: none; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 20px; font-size: 15.5px; line-height: 1.45; animation: bubble .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; border-bottom-right-radius: 6px; font-family: var(--serif); font-size: 19px; }
.msg.bot { align-self: flex-start; background: #f7f1f4; color: var(--ink); border-bottom-left-radius: 6px; }
.msg.typing { display: inline-flex; gap: 5px; padding: 15px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chip-num { display: inline-block; margin-top: 4px; background: #fff; color: var(--plum); font-weight: 800; border-radius: 999px; padding: 2px 10px; border: 1px solid var(--border); white-space: nowrap; animation: glow 1.4s .2s both; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(196, 90, 111, .45); } 100% { box-shadow: 0 0 0 10px rgba(196, 90, 111, 0); } }

/* Feature tour */
.tour { background: linear-gradient(180deg, var(--blush-2), #fff); }
.tour-grid { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.tabs { display: grid; gap: 8px; position: sticky; top: 96px; }
.tab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 16px 18px; cursor: pointer; font: inherit; color: var(--ink); position: relative; overflow: hidden; transition: background .2s, border-color .2s; }
.tab b { display: block; font-size: 16.5px; }
.tab span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .4s; }
.tab:hover { background: rgba(255, 255, 255, .7); }
.tab.on { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.tab.on span { max-height: 90px; }
.tab .progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--plum), var(--rose)); }
.tab.on .progress { animation: fill var(--dur, 9s) linear forwards; }
.tab.on.paused .progress { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.stage { min-height: 520px; }
.stage .window-body { min-height: 470px; padding: 26px; }
.scene { display: none; }
.scene.on { display: block; animation: fadeUp .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scene-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.scene-title h4 { margin: 0; font-size: 20px; }
.scene-title small { color: var(--faint); font-size: 12.5px; }
.tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag.good { background: var(--good-soft); color: var(--good); }
.tag.warn { background: var(--amber-soft); color: var(--amber); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.plum { background: var(--blush); color: var(--plum); }

/* Scene: waterfall */
.flow { display: grid; gap: 0; }
.flow-row { display: flex; justify-content: space-between; padding: 11px 2px; border-bottom: 1px dashed var(--border); font-size: 15.5px; opacity: .15; transition: opacity .45s; }
.flow-row.show { opacity: 1; }
.flow-row.total { font-weight: 700; border-bottom-style: solid; }
.flow-row.last { font-weight: 800; font-size: 19px; border-bottom: 0; padding-top: 14px; }
.flow-row .minus { color: var(--muted); }
.runner { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--blush); }
.runner strong { font-size: 30px; letter-spacing: -0.02em; color: var(--plum-dark); }
.runner p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* Scene: pricing table */
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); padding: 8px 6px; border-bottom: 1px solid var(--border); }
.ptable td { padding: 12px 6px; border-bottom: 1px solid var(--border); }
.ptable td.n, .ptable th.n { text-align: right; }
.ptable tr.hl td { background: var(--blush-2); }
.ptable .old { color: var(--faint); text-decoration: line-through; margin-right: 8px; }
.ptable .newp { color: var(--plum); font-weight: 800; opacity: 0; transition: opacity .5s; }
.ptable tr.hl.done .newp { opacity: 1; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.callout.show { opacity: 1; transform: none; }
.callout strong { font-size: 28px; letter-spacing: -0.02em; }

/* Scene: what-if */
.slider-demo { padding: 18px; border: 1px solid var(--border); border-radius: 14px; }
.slider-demo label { display: flex; justify-content: space-between; font-weight: 650; font-size: 15px; margin-bottom: 12px; }
.track { position: relative; height: 8px; border-radius: 4px; background: #efe6ea; }
.track .fillbar { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--plum), var(--rose)); transition: width 1.6s cubic-bezier(.4, 0, .2, 1); }
.track .thumb { position: absolute; top: 50%; left: 40%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--plum); transform: translate(-50%, -50%); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); transition: left 1.6s cubic-bezier(.4, 0, .2, 1); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.compare .kpi strong { font-size: 30px; }
.delta { color: var(--good); font-weight: 750; }
.note { margin-top: 14px; font-size: 14.5px; color: var(--muted); padding: 12px 14px; background: #faf7f8; border-radius: 12px; border: 1px solid var(--border); }

/* Scene: team chart */
.chart { width: 100%; height: auto; }
.chart path.line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.scene.on .chart path.line { animation: draw 2.2s cubic-bezier(.4, 0, .2, 1) forwards; }
.scene.on .chart path.line.l2 { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.chart .cross { opacity: 0; }
.scene.on .chart .cross { animation: pop .5s 2.4s forwards; }
@keyframes pop { to { opacity: 1; } }
.legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* Scene: targets */
.target { margin: 46px 0 40px; position: relative; height: 18px; border-radius: 9px; background: #efe6ea; }
.target .fillbar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--plum), var(--rose)); transition: width 2s cubic-bezier(.4, 0, .2, 1); }
.target .mark { position: absolute; top: -10px; bottom: -10px; width: 2px; background: var(--ink); }
.target .mark span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 650; color: var(--muted); }
.target .mark.up span { bottom: calc(100% + 4px); }
.target .mark.down span { top: calc(100% + 4px); }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Scene: insights */
.insights-list { display: grid; gap: 10px; }
.insights-list .mini-insight { font-size: 14.5px; padding: 14px 16px; }
.insights-list .mini-insight b { font-size: 15.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--plum); font-family: var(--serif); font-size: 26px; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

/* Real screenshots */
.gallery-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.gallery-tabs button { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 9px 18px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.gallery-tabs button.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.laptop { max-width: 980px; margin: 0 auto; }
.laptop .screen { background: #1f1a1d; border-radius: 18px 18px 0 0; padding: 14px 14px 0; box-shadow: var(--shadow-lg); }
.laptop .screen img { border-radius: 8px 8px 0 0; width: 100%; height: auto; aspect-ratio: 1600 / 1012; }
.laptop .base { height: 18px; background: linear-gradient(#e6dde2, #cfc3c9); border-radius: 0 0 22px 22px; margin: 0 -40px; }

/* Audience */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 16px; }

/* Pricing */
.pricing { background: linear-gradient(180deg, #fff, var(--blush-2)); }
.price-card { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 42px; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--rose); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price { font-family: var(--serif); font-size: 84px; line-height: 1; margin: 18px 0 4px; color: var(--plum-dark); }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 30px; text-align: left; }
.price-card li { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--border); position: relative; font-size: 16px; }
.price-card li::before { content: "✓"; position: absolute; left: 6px; color: var(--good); font-weight: 800; }
.price-card .btn { width: 100%; font-size: 18px; }
.guarantee { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--plum); font-weight: 800; font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

/* Final CTA */
.final { background: radial-gradient(circle at 20% 20%, #93466f, var(--plum-deep) 70%); color: #fff; border-radius: 32px; padding: 72px 40px; text-align: center; margin: 0 22px; }
.final h2 { color: #fff; }
.final h2 em { color: #f6c6d8; }
.final p { color: rgba(255, 255, 255, .8); font-size: 19px; max-width: 560px; margin: 18px auto 32px; }

/* Footer */
footer { padding: 54px 0 60px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.reseller { max-width: 620px; margin-top: 8px; font-size: 13px; }

/* Legal & thanks pages */
.doc { max-width: 780px; margin: 0 auto; padding: 60px 22px 90px; }
.doc h1 { font-size: 52px; margin-bottom: 8px; }
.doc h2 { font-family: var(--sans); font-weight: 700; font-size: 21px; margin: 34px 0 10px; letter-spacing: -0.01em; line-height: 1.3; }
.doc p, .doc li { color: #463b40; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.box { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; margin-top: 24px; }
.status { margin-top: 18px; font-size: 15px; }
.status.error { color: var(--bad); }

@media (max-width: 980px) {
  .hero-grid, .tour-grid, .pain-grid { grid-template-columns: 1fr; }
  .pain-grid { gap: 30px; }
  .hero .window { transform: none; }
  .tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .tab span { display: none; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .nav-links a:not(.btn) { display: none; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { padding: 12px 14px; }
  .tab b { font-size: 14.5px; }
  .stage .window-body { padding: 16px; min-height: 0; }
  .stats3 { grid-template-columns: 1fr; }
  .chat-body { height: 400px; }
  .msg { max-width: 90%; }
  .topic { font-size: 13.5px; padding: 8px 12px; }
  .compare .kpi strong { font-size: 24px; }
  .final { margin: 0 12px; padding: 54px 22px; }
  .laptop .base { margin: 0 -12px; }
  .price-card { padding: 32px 22px; }
  .tier .price { font-size: 44px; }
  .price { font-size: 68px; }
  .ptable .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Guides (blog) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.g-pill { align-self: flex-start; justify-self: start; width: max-content; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); background: var(--blush); border-radius: 999px; padding: 6px 12px; }
.g-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; }
.g-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--plum), var(--rose)); }

/* article hero */
.g-hero { max-width: 1180px; margin: 0 auto; padding: 36px 22px 10px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.g-hero h1 { font-size: 50px; line-height: 1.04; margin: 14px 0 14px; }
.g-dek { font-size: 19px; color: var(--muted); line-height: 1.5; margin: 0 0 22px; }
.g-byline { display: flex; gap: 12px; align-items: center; }
.g-byline img { border-radius: 50%; background: var(--blush); padding: 6px; }
.g-byline b { display: block; font-size: 15px; }
.g-byline span { font-size: 13px; color: var(--muted); }
.g-cover img, .gh-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.g-cover img { border-radius: 24px; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }

/* article + sticky sidebar */
.g-layout { max-width: 1180px; margin: 0 auto; padding: 30px 22px 40px; display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 60px; justify-content: center; }
.g-article { font-size: 18px; line-height: 1.7; color: #3d3337; }
.g-article h2 { font-family: var(--sans); font-weight: 750; font-size: 27px; line-height: 1.25; letter-spacing: -0.015em; margin: 46px 0 12px; color: var(--ink); scroll-margin-top: 90px; }
.g-article a { color: var(--plum); }
.g-article ul, .g-article ol { padding-left: 22px; }
.g-article li { margin: 6px 0; }
.g-lead { font-size: 20px; line-height: 1.6; color: var(--ink); }
.g-takeaways { background: linear-gradient(135deg, var(--blush-2), #fff); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin-bottom: 26px; }
.g-takeaways b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.g-takeaways ul { margin: 10px 0 0; padding-left: 20px; font-size: 16px; }
.g-side { position: sticky; top: 90px; align-self: start; }
.g-toc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; font-size: 14px; box-shadow: var(--shadow); }
.g-toc b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.g-toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: t; }
.g-toc li { margin: 2px 0; }
.g-toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--border); color: var(--muted); text-decoration: none; line-height: 1.35; }
.g-toc a:hover, .g-toc a.on { color: var(--plum-dark); border-left-color: var(--plum); background: var(--blush-2); }
.g-side-cta { margin-top: 18px; background: var(--plum-deep); color: #fff; border-radius: 16px; padding: 18px 20px; }
.g-side-cta p { color: rgba(255,255,255,.8); font-size: 14px; margin: 6px 0 12px; }
.btn.small { padding: 10px 18px; font-size: 14px; }

.g-formula { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--plum); border-radius: 14px; padding: 16px 20px; margin: 16px 0; font-weight: 650; color: var(--plum-dark); font-size: 17px; }
.g-table { overflow-x: auto; margin: 16px 0; border-radius: 14px; border: 1px solid var(--border); }
.g-table table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.g-table th, .g-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.g-table tr:last-child td { border-bottom: 0; }
.g-table th { background: var(--blush); font-weight: 700; color: var(--plum-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.g-table tbody tr:hover { background: var(--blush-2); }
.g-small { font-size: 13px; color: var(--muted); }

/* embedded calculator */
.g-calc { margin: 30px 0; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 15px; }
.gc-head { background: linear-gradient(135deg, var(--plum), #93466f); color: #fff; padding: 16px 22px; }
.gc-head b { display: block; font-size: 18px; }
.gc-head span { font-size: 14px; opacity: .85; }
.gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; padding: 20px 22px 6px; }
.gc-field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.gc-in { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 12px; background: var(--cream); padding: 0 12px; transition: border-color .15s; }
.gc-in:focus-within { border-color: var(--plum); background: #fff; }
.gc-in i { font-style: normal; color: var(--muted); font-size: 14px; }
.gc-in input { border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 650; color: var(--ink); width: 100%; padding: 10px 6px; outline: none; -moz-appearance: textfield; }
.gc-out { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; padding: 16px 22px; margin-top: 10px; background: var(--blush-2); border-top: 1px solid var(--border); }
.gc-res span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.gc-res b { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.gc-res.big { grid-column: 1 / -1; }
.gc-res.big b { font-family: var(--serif); font-weight: 400; font-size: 44px; color: var(--plum); line-height: 1.1; }
.gc-more { margin: 0; padding: 12px 22px 16px; font-size: 14px; background: var(--blush-2); }

/* CTA, share, author */
.g-cta { background: var(--plum-deep); color: #fff; border-radius: 24px; padding: 32px 32px 26px; margin: 46px 0 10px; position: relative; overflow: hidden; }
.g-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(242,167,187,.35), transparent 70%); }
.g-cta h2 { color: #fff; margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: 36px; }
.g-cta h2 em { color: #f2a7bb; }
.g-cta p { color: rgba(255,255,255,.85); }
.g-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; position: relative; z-index: 1; }
.g-cta .btn:not([data-buy]), .g-side-cta .btn { background: #fff; color: var(--plum-deep); border: 2px solid #fff; box-shadow: none; }
.g-cta .btn:not([data-buy]):hover, .g-side-cta .btn:hover { background: #f8eef1; color: var(--plum-deep); }
.g-cta .btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; box-shadow: none; }
.g-cta-note { font-size: 13px; }
.g-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 34px 0 20px; font-size: 14px; }
.g-share span { font-weight: 700; margin-right: 4px; }
.g-share a, .g-share button { font: inherit; font-size: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; text-decoration: none; cursor: pointer; }
.g-share a:hover, .g-share button:hover { border-color: var(--plum); color: var(--plum); }
.g-author { display: flex; gap: 16px; align-items: flex-start; background: var(--blush-2); border-radius: 18px; padding: 20px; margin: 10px 0 18px; }
.g-author img { border-radius: 50%; background: #fff; padding: 10px; flex: none; }
.g-author p { margin: 4px 0 0; font-size: 15px; }

/* cards (hub + keep reading) */
.gh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.gh-card, .gh-featured { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.gh-card:hover, .gh-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gh-img { display: block; overflow: hidden; }
.gh-img img { aspect-ratio: 16/9; transition: transform .5s; }
.gh-card:hover .gh-img img, .gh-featured:hover .gh-img img { transform: scale(1.04); }
.gh-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gh-body h3 { font-family: var(--sans); font-size: 20px; line-height: 1.3; font-weight: 750; letter-spacing: -0.01em; margin: 4px 0 0; }
.gh-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.gh-meta { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--plum); }
.gh-featured { display: grid; grid-template-columns: 1.25fr 1fr; margin: 0 0 30px; }
.gh-featured .gh-img img { height: 100%; aspect-ratio: auto; min-height: 340px; }
.gh-featured .gh-body { padding: 36px; justify-content: center; }
.gh-featured h2 { font-size: 38px; line-height: 1.08; margin: 6px 0 4px; }
.gh-featured p { font-size: 17px; }

/* hub */
.gh-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; overflow: hidden; }
.gh-hero-bg { position: absolute; inset: 0; }
.gh-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.gh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,19,38,.25) 0%, rgba(44,19,38,.82) 85%); }
.gh-hero-in { position: relative; z-index: 1; max-width: 1180px; width: 100%; margin: 0 auto; padding: 60px 22px 48px; color: #fff; }
.gh-hero .crumbs, .gh-hero .crumbs a { color: rgba(255,255,255,.8); }
.gh-hero h1 { color: #fff; font-size: 62px; line-height: 1.02; margin: 0 0 14px; max-width: 760px; }
.gh-hero h1 em { color: #f2a7bb; }
.gh-hero p { font-size: 19px; max-width: 640px; color: rgba(255,255,255,.9); margin: 0 0 24px; }
.gh-search input { width: min(520px, 100%); font: inherit; font-size: 16px; padding: 15px 20px; border-radius: 999px; border: 0; box-shadow: 0 14px 40px rgba(0,0,0,.25); outline: none; }
.gh-main { max-width: 1180px; margin: 0 auto; padding: 34px 22px 60px; }
.gh-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.gh-chips button { font: inherit; font-size: 14px; font-weight: 650; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.gh-chips button.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.gh-empty { display: none; color: var(--muted); padding: 20px 0; }
.gh-ig { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--blush), var(--blush-2)); border-radius: 22px; padding: 26px 30px; margin: 40px 0 0; }
.gh-ig b { font-size: 20px; }
.gh-ig p { margin: 4px 0 0; color: var(--muted); }
.g-more { background: var(--blush-2); padding: 50px 22px 60px; }
.g-more-in { max-width: 1180px; margin: 0 auto; }
.g-more h2 { font-size: 36px; margin: 0 0 20px; }

/* homepage guide cards (simple) */
.g-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.g-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.g-card b { color: var(--plum-dark); font-size: 17px; }
.g-card span { color: var(--muted); font-size: 14px; }
.g-card:hover { border-color: var(--plum); }

@media (max-width: 980px) {
  .g-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .g-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .g-side { display: none; }
  .gh-featured { grid-template-columns: 1fr; }
  .gh-featured .gh-img img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .g-hero h1 { font-size: 34px; }
  .g-article { font-size: 17px; }
  .g-article h2 { font-size: 23px; }
  .gh-hero { min-height: 420px; }
  .gh-hero h1 { font-size: 40px; }
  .gh-featured h2 { font-size: 28px; }
  .gh-featured .gh-body { padding: 22px; }
  .g-cta { padding: 24px 20px; }
  .g-cta h2 { font-size: 28px; }
  .gc-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Main buy button: coral + pulse (same as the demo's "Get the full calculator") ---------- */
.btn[data-buy], .btn[data-buy].light, .btn[data-buy].ghost, .nav-links a.btn {
  background: linear-gradient(135deg, #e5486b 0%, #f2795a 100%);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 2px rgba(120, 20, 40, 0.25);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(229, 72, 107, 0.4);
}
.btn[data-buy] { animation: buy-pulse 1.8s ease-in-out infinite; }
.btn[data-buy]:hover, .nav-links a.btn:hover { filter: brightness(1.08); animation-play-state: paused; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(229, 72, 107, 0.5); }
@keyframes buy-pulse {
  0% { transform: scale(1); box-shadow: 0 12px 30px rgba(229, 72, 107, 0.4), 0 0 0 0 rgba(242, 121, 90, 0.6); }
  50% { transform: scale(1.05); box-shadow: 0 12px 30px rgba(229, 72, 107, 0.4), 0 0 0 16px rgba(242, 121, 90, 0); }
  100% { transform: scale(1); box-shadow: 0 12px 30px rgba(229, 72, 107, 0.4), 0 0 0 0 rgba(242, 121, 90, 0); }
}
@media (prefers-reduced-motion: reduce) { .btn[data-buy] { animation: none; } }

/* Free demo link in the menu: visible on every screen size */
.nav-links a.nav-demo { display: inline-flex; align-items: center; color: var(--plum); font-weight: 700; border: 1.5px solid rgba(122, 59, 98, 0.35); border-radius: 999px; padding: 8px 16px; }
.nav-links a.nav-demo:hover { border-color: var(--plum); background: var(--blush-2); color: var(--plum-dark); }
@media (max-width: 720px) { .nav-links { gap: 10px; } .nav-links a.nav-demo { padding: 7px 12px; font-size: 14px; } }
.nav-links a { white-space: nowrap; }
@media (max-width: 420px) { .nav .logo img { width: 118px; height: auto; } .nav-links a.btn.small { padding: 9px 14px; font-size: 14px; } }

/* Instagram link with the recognizable gradient icon */
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.social-ig { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink) !important; text-decoration: none; }
.ig-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 6px 16px rgba(214, 36, 159, 0.3); transition: transform .18s; }
.social-ig:hover .ig-icon { transform: scale(1.08) rotate(-4deg); }
.social-ig:hover { color: #d6249f !important; }
.btn.ig-btn { background: #fff; color: var(--ink); box-shadow: var(--shadow); padding: 10px 22px 10px 10px; }
.btn.ig-btn:hover { color: #d6249f; }

/* Homepage guides section, blog style */
.home-guides { background: linear-gradient(180deg, transparent, var(--blush-2) 30%, var(--blush-2) 80%, transparent); }
.hg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.hg-head h2 { margin: 8px 0 10px; }
.hg-head p { margin: 0; color: var(--muted); max-width: 560px; font-size: 17px; }
.hg-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--plum); text-decoration: none; border: 1.5px solid rgba(122,59,98,.3); border-radius: 999px; padding: 11px 20px; white-space: nowrap; }
.hg-all:hover { border-color: var(--plum); background: #fff; }
.hg-all span { transition: transform .18s; }
.hg-all:hover span { transform: translateX(3px); }
.hg-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .hg-grid { grid-template-columns: 1fr; } .hg-head { align-items: flex-start; } }
@media (min-width: 761px) and (max-width: 1000px) { .hg-grid .gh-body p { display: none; } .hg-grid .gh-body h3 { font-size: 17px; } }
.g-quote { margin: 16px 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--rose); border-radius: 14px; font-style: italic; color: var(--ink); box-shadow: var(--shadow); }
