/* ==========================================================================
   Larped – Wealth Simulator
   Design system + site styles
   One stylesheet, no build step. Drag-and-drop friendly.
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #0c0f17;          /* near-black text / dark surfaces */
  --ink-2: #161b27;
  --ink-3: #1f2636;
  --paper: #ffffff;
  --paper-2: #f7f8fb;      /* off-white section bg */
  --paper-3: #eef1f7;
  --line: #e4e8f0;         /* hairline borders on light */
  --line-dark: #2a3142;    /* hairline borders on dark */

  --text: #0c0f17;
  --text-soft: #4b5566;
  --text-mute: #717c90;
  --text-invert: #f4f6fb;
  --text-invert-soft: #aab3c5;

  /* Money green + playful violet */
  --green: #12b76a;
  --green-600: #0a9b58;
  --green-glow: rgba(18, 183, 106, 0.35);
  --violet: #6d5ef6;
  --violet-600: #5a48ef;
  --amber: #f5b740;
  --red: #f2566b;

  --accent: var(--green);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo,
    Consolas, monospace;

  /* Radii + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(12, 15, 23, 0.06), 0 1px 3px rgba(12, 15, 23, 0.08);
  --shadow-md: 0 8px 30px rgba(12, 15, 23, 0.10);
  --shadow-lg: 0 30px 60px -20px rgba(12, 15, 23, 0.28);
  --shadow-phone: 0 40px 80px -24px rgba(12, 15, 23, 0.45);

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 720; }

/* ------------------------------ Layout ---------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--paper2 { background: var(--paper-2); }
.center { text-align: center; }
.measure { max-width: 660px; }
.measure-narrow { max-width: 560px; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ------------------------------ Type ------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
.section--dark .eyebrow { color: #5ce6a0; }
.section--dark .eyebrow::before { background: #5ce6a0; }

h1, .h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); }
.section--dark .lead { color: var(--text-invert-soft); }
p { color: var(--text-soft); }
.section--dark p { color: var(--text-invert-soft); }
.prose p { margin-top: 1.05em; }
strong { color: var(--text); font-weight: 680; }
.section--dark strong { color: #fff; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 640; font-size: 0.98rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--green { background: var(--green); color: #043019; }
.btn--green:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--green-glow); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-mute); }
.section--dark .btn--ghost { border-color: var(--line-dark); color: var(--text-invert); }
.section--dark .btn--ghost:hover { border-color: #4a5468; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

/* App store style buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 14px;
  border: 1px solid var(--ink-3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; color: var(--text-invert-soft); font-weight: 500; }
.store-btn b { display: block; font-size: 16px; line-height: 1.15; font-weight: 650; letter-spacing: -0.01em; }
.section--dark .store-btn { background: #fff; color: var(--ink); border-color: #fff; }
.section--dark .store-btn small { color: var(--text-mute); }

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, var(--green) 0%, var(--violet) 120%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand small { font-weight: 500; font-size: 0.7rem; color: var(--text-mute); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px; border-radius: 8px; font-size: 0.95rem; font-weight: 520; color: var(--text-soft);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--paper-2); color: var(--text); }
.nav-links a.current { color: var(--text); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* dropdown for resources */
.nav-drop { position: relative; }
.nav-drop > button {
  background: none; border: none; padding: 8px 13px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 520; color: var(--text-soft); display: inline-flex; align-items: center; gap: 5px;
}
.nav-drop > button:hover { background: var(--paper-2); color: var(--text); }
.nav-drop > button svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-drop:hover > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 8px; width: 320px; opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 60;
}
.nav-drop:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav-menu a:hover { background: var(--paper-2); }
.nav-menu b { display: block; font-size: 0.93rem; font-weight: 620; color: var(--text); }
.nav-menu span { display: block; font-size: 0.82rem; color: var(--text-mute); margin-top: 1px; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--ink); color: var(--text-invert-soft); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--text-invert-soft); margin-top: 14px; max-width: 300px; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6f7a90; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-invert-soft); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #6f7a90;
}
.footer-bottom .disclaimer { max-width: 720px; }

/* ------------------------------ Hero ------------------------------------ */
.hero { position: relative; padding-block: clamp(48px, 7vw, 90px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 520px; z-index: -1;
  background:
    radial-gradient(40% 60% at 78% 18%, rgba(109,94,246,.16), transparent 70%),
    radial-gradient(46% 60% at 12% 8%, rgba(18,183,106,.18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 520px; }
.hero .btn-row { margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; }

/* Pill / badge */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 8px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 560; color: var(--text-soft);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }
.section--dark .pill { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-invert-soft); }

/* ----------------------- Phone mockup (swappable) ----------------------- */
/* Replace the .phone-screen inner markup with <img src="screenshot.png"> later. */
.phone {
  position: relative; width: 290px; aspect-ratio: 9 / 19.5; border-radius: 44px;
  background: #05070d; padding: 11px;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px #2c3343, inset 0 0 0 6px #0a0d15;
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 26px; background: #05070d; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #0e1422 0%, #0a0e18 100%); color: #eaf0fb;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--floats .float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 11px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 9px; z-index: 5;
}
.phone--floats .float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-1 { top: 14%; left: -16%; }
.float-2 { bottom: 16%; right: -14%; }

/* App UI building blocks (used inside .phone-screen as a real mockup) */
.app { display: flex; flex-direction: column; height: 100%; font-size: 13px; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 4px; font-size: 11px; color: #9aa6bd; font-weight: 600; }
.app-status .sig { display: flex; gap: 4px; align-items: center; }
.app-top { padding: 8px 18px 4px; display: flex; justify-content: space-between; align-items: center; }
.app-top .who { display: flex; align-items: center; gap: 9px; }
.app-top .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#6d5ef6,#12b76a); }
.app-top .who b { display: block; font-size: 12px; color: #eaf0fb; font-weight: 650; }
.app-top .who span { font-size: 10px; color: #8593ad; }
.app-bell { width: 30px; height: 30px; border-radius: 50%; background: #1a2233; display: grid; place-items: center; }
.app-balance { padding: 16px 18px 6px; }
.app-balance .label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #8593ad; font-weight: 650; }
.app-balance .amt { font-size: 33px; font-weight: 760; letter-spacing: -0.02em; margin-top: 4px; color: #fff; }
.app-balance .amt .cents { color: #6f7c95; font-size: 22px; }
.app-balance .delta { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; font-weight: 620; color: #34d98a; background: rgba(18,183,106,.14); padding: 4px 9px; border-radius: 999px; }
.app-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 14px 16px 6px; }
.app-actions .a { text-align: center; }
.app-actions .a i { width: 42px; height: 42px; border-radius: 14px; background: #1a2233; display: grid; place-items: center; margin: 0 auto 6px; color: #c9d3e6; font-style: normal; }
.app-actions .a span { font-size: 10px; color: #9aa6bd; }
.app-card { margin: 10px 16px; border-radius: 16px; padding: 14px 15px; background: linear-gradient(135deg,#6d5ef6,#3f2fd1); color: #fff; box-shadow: 0 12px 24px -12px rgba(109,94,246,.7); }
.app-card .row1 { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; opacity: .85; }
.app-card .num { font-family: var(--font-mono); letter-spacing: 2px; font-size: 14px; margin-top: 18px; }
.app-card .row2 { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; }
.app-list { padding: 6px 16px; flex: 1; overflow: hidden; }
.app-list .lh { display: flex; justify-content: space-between; font-size: 11px; color: #8593ad; font-weight: 600; margin: 6px 2px; }
.tx { display: flex; align-items: center; gap: 11px; padding: 8px 2px; }
.tx .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; font-size: 15px; }
.tx .m { flex: 1; min-width: 0; }
.tx .m b { display: block; font-size: 12.5px; color: #e7edf8; font-weight: 600; }
.tx .m span { font-size: 10.5px; color: #8593ad; }
.tx .v { font-size: 12.5px; font-weight: 680; }
.tx .v.pos { color: #34d98a; }
.tx .v.neg { color: #e7edf8; }
.app-nav { display: flex; justify-content: space-around; padding: 12px 10px 18px; border-top: 1px solid #1a2233; background: #0b0f1a; }
.app-nav i { width: 22px; height: 22px; border-radius: 7px; background: #2a3343; }
.app-nav i.on { background: linear-gradient(135deg,#12b76a,#0a9b58); }

/* Net-worth variant chips */
.nw-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 12px 18px 0; }
.nw-bars span { flex: 1; background: linear-gradient(180deg,#12b76a,#0a7a45); border-radius: 6px 6px 2px 2px; opacity: .9; }
.nw-legend { display: flex; gap: 14px; padding: 8px 18px; font-size: 10px; color: #8593ad; }

/* ------------------------------ Logos strip ----------------------------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px,4vw,42px); opacity: .8; }
.logos span { font-weight: 650; color: var(--text-mute); font-size: 0.95rem; letter-spacing: -0.01em; }
.trust-line { text-align: center; font-size: 0.85rem; color: var(--text-mute); margin-bottom: 22px; font-weight: 560; }

/* ------------------------------ Feature grid ---------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6dce8; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--paper-2); color: var(--green-600);
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.12rem; }
.card p { margin-top: 8px; font-size: 0.96rem; }
.card--violet .ic { color: var(--violet); }
.card--amber .ic { color: #d99412; }

.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card .ic { background: var(--ink-3); }
.section--dark .card h3 { color: #fff; }

/* Section heading block */
.head { max-width: 680px; }
.head.center { margin-inline: auto; }
.head h2 { margin-top: 12px; }
.head p { margin-top: 14px; }

/* Split feature row (alternating screenshot + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.split + .split { margin-top: clamp(48px,7vw,96px); }
.split--rev .split-media { order: 2; }
.split-media { display: grid; place-items: center; }
.split-copy h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
.split-copy .lead { margin-top: 14px; }
.feature-list { margin-top: 22px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(18,183,106,.12);
  color: var(--green-600); display: grid; place-items: center; margin-top: 1px;
}
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list b { color: var(--text); font-weight: 640; }
.feature-list p { font-size: 0.94rem; margin-top: 2px; }

/* Screenshot frame caption */
.shot-caption { margin-top: 14px; font-size: 0.86rem; color: var(--text-mute); text-align: center; max-width: 300px; }

/* ------------------------------ Stats ----------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat .n { font-size: clamp(2rem,4vw,2.8rem); font-weight: 760; letter-spacing: -0.03em; }
.stat .l { color: var(--text-mute); font-size: 0.92rem; margin-top: 4px; }
.section--dark .stat .n { color: #fff; }
.section--dark .stat .n .u { color: var(--green); }
.stat .n .u { color: var(--green-600); }

/* ------------------------------ Steps ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step .num {
  width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 720; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin-top: 8px; font-size: 0.95rem; }

/* ------------------------------ Quote ----------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.quote p { color: var(--text); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.quote .who .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#6d5ef6,#12b76a); flex: none; }
.quote .who b { display: block; font-size: 0.9rem; }
.quote .who span { font-size: 0.8rem; color: var(--text-mute); }
.quote .stars { color: var(--amber); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 12px; }

/* ------------------------------ FAQ ------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 1.08rem; font-weight: 620; color: var(--text);
}
.faq-q .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: transform .2s ease; }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--green); color: #043019; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding-bottom: 24px; color: var(--text-soft); }
.faq-a-inner p + p { margin-top: 0.8em; }
.faq-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-600); font-weight: 700; margin: 38px 0 4px; }

/* ------------------------------ CTA band -------------------------------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(40px,6vw,72px); text-align: center; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9;
  background:
    radial-gradient(50% 80% at 20% 10%, rgba(18,183,106,.32), transparent 60%),
    radial-gradient(50% 80% at 85% 90%, rgba(109,94,246,.36), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.8rem); }
.cta-band p { color: var(--text-invert-soft); margin-top: 14px; max-width: 540px; margin-inline: auto; }
.cta-band .btn-row { margin-top: 28px; justify-content: center; }

/* ------------------------------ Article / prose ------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article-head { max-width: 760px; margin-inline: auto; text-align: center; }
.article-head .kicker { color: var(--green-600); font-weight: 650; font-size: 0.9rem; letter-spacing: .02em; }
.article-head h1 { margin-top: 12px; }
.article-meta { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; color: var(--text-mute); font-size: 0.88rem; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-mute); }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem,2.6vw,1.85rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.22rem; }
.prose p { margin-top: 1.05em; color: var(--text-soft); }
.prose ul { margin-top: 1.05em; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--green); }
.prose ol { margin-top: 1.05em; display: grid; gap: 9px; counter-reset: li; }
.prose ol li { position: relative; padding-left: 34px; color: var(--text-soft); counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 7px; background: var(--paper-2); color: var(--text); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.prose a:not(.btn) { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; font-weight: 560; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--green); background: var(--paper-2);
  border-radius: 0 14px 14px 0; font-size: 1.06rem; color: var(--text);
}
.prose blockquote p { color: var(--text); margin: 0; }
.callout {
  margin: 1.8em 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper-2); display: flex; gap: 16px; align-items: flex-start;
}
.callout .ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(18,183,106,.12); color: var(--green-600); display: grid; place-items: center; }
.callout h4 { font-size: 1rem; }
.callout p { margin-top: 4px; font-size: 0.96rem; }
.figure { margin: 2em 0; text-align: center; }
.figure figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--text-mute); }

/* table of contents */
.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 2em; }
.toc b { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
.toc ul { margin-top: 12px; display: grid; gap: 8px; }
.toc a { color: var(--text-soft); font-size: 0.97rem; }
.toc a:hover { color: var(--green-600); }

/* related cards */
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 26px; }
.related a { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related .k { font-size: 0.78rem; color: var(--green-600); font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.related b { display: block; margin-top: 8px; font-size: 1.05rem; color: var(--text); }
.related span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--text-mute); }

/* ------------------------------ Forms ----------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow);
}
.field .hint { font-size: 0.8rem; color: var(--text-mute); }
.form-note { font-size: 0.85rem; color: var(--text-mute); margin-top: 6px; }

/* support channels */
.channel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.channel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.channel .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); color: var(--green-600); display: grid; place-items: center; margin-bottom: 14px; }
.channel h3 { font-size: 1.08rem; }
.channel p { margin-top: 6px; font-size: 0.94rem; }
.channel a.lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--green-600); font-weight: 600; font-size: 0.95rem; }
.channel a.lnk svg { width: 15px; height: 15px; }

/* legal meta */
.legal-meta { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 0.9rem; color: var(--text-soft); margin-bottom: 2em; }
.legal-meta b { color: var(--text); }

/* badge inline */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 650; background: rgba(18,183,106,.12); color: var(--green-600); letter-spacing: .02em; }
.tag--violet { background: rgba(109,94,246,.12); color: var(--violet-600); }
.tag--amber { background: rgba(245,183,64,.16); color: #b07c10; }

/* page hero (interior, lighter) */
.page-hero { padding-block: clamp(44px,6vw,76px) clamp(20px,3vw,34px); position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 320px; z-index: -1;
  background: radial-gradient(50% 70% at 80% 0%, rgba(109,94,246,.10), transparent 70%),
              radial-gradient(50% 70% at 10% 0%, rgba(18,183,106,.10), transparent 70%);
}

/* breadcrumb */
.crumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-mute); margin-bottom: 16px; }
.crumb a:hover { color: var(--green-600); }
.crumb .sep { opacity: .5; }

/* small print disclaimer banner */
.disclaimer-strip {
  background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 0.84rem; color: var(--text-mute); text-align: center;
}
.disclaimer-strip b { color: var(--text-soft); }

/* utilities */
.mt-0 { margin-top: 0 !important; }
.hide { display: none !important; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 0; margin-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps, .quote-grid, .channel-grid, .related, .stat-row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split-media { order: 0; }
  .nav-links, .nav-drop, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .quote-grid, .channel-grid, .related, .form-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .phone { width: 248px; }
  .float-1 { left: -6%; } .float-2 { right: -4%; }
  .cta-band { border-radius: 22px; }
}

/* mobile menu (toggled via JS) */
.mobile-menu { display: none; }
.mobile-menu.show { display: block; position: fixed; inset: 66px 0 0 0; z-index: 49; background: #fff; padding: 22px var(--gutter); overflow-y: auto; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 560; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu .mm-cta { margin-top: 22px; display: grid; gap: 12px; }
.mobile-menu .mm-cta .btn { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* ==========================================================================
   REDESIGN v2 — premium centered hero (LuxiQue-style) + real-app blue UI.
   Appended last so these rules win the cascade.
   ========================================================================== */

:root {
  --font-display: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Product blue (matches the real Larped app) */
  --blue: #2f6bff;
  --blue-600: #1f57e6;
  --blue-050: #eaf0ff;
  --blue-glow: rgba(47, 107, 255, 0.30);
  --accent: var(--blue);
  /* Soft premium surface behind the canvas */
  --shell-bg: #eceef3;
}

/* white body keeps interior pages clean; the hero carries its own gray band */
body { background: var(--paper); }

h1, h2, h3, h4, .h1, .h2, .h3, .brand, .cta-band h2, .stat .n,
.faq-q, .step h3, .card h3, .quote .who b, .related b { font-family: var(--font-display); }
h1, .h1 { letter-spacing: -0.03em; font-weight: 700; }

/* recolor brand-ish accents from green toward product blue */
.eyebrow { color: var(--blue-600); }
.eyebrow::before { background: var(--blue); }
.prose a:not(.btn) { color: var(--blue-600); }
.tag { background: var(--blue-050); color: var(--blue-600); }
.article-head .kicker, .related .k, .channel a.lnk, .faq-cat { color: var(--blue-600); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.card .ic { color: var(--blue-600); }
.callout .ic { background: var(--blue-050); color: var(--blue-600); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; font-size: 18px; font-weight: 800;
  background: linear-gradient(145deg, #3b78ff 0%, #6d5ef6 120%);
  box-shadow: 0 6px 16px -6px var(--blue-glow), inset 0 0 0 1px rgba(255,255,255,.22);
}
.brand { gap: 11px; }
.brand small { color: var(--text-mute); }

/* Header translucent */
.site-header { background: rgba(255,255,255,0.80); }

/* Buttons */
.btn--green { background: var(--blue); color: #fff; }
.btn--green:hover { background: var(--blue-600); box-shadow: 0 10px 30px -8px var(--blue-glow); }
.store-btn { border-radius: 999px; padding: 12px 22px; }

/* Pill badge: white, soft shadow */
.pill { background: #fff; border-color: rgba(20,24,40,.06); box-shadow: var(--shadow-sm); font-weight: 600; }

/* ----------------------------- Hero canvas ----------------------------- */
/* FULL-BLEED gradient background — no contained card */
.hero {
  position: relative; overflow: visible;
  padding-block: clamp(28px, 5vw, 56px) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(46% 55% at 15% 2%, #fde4cb 0%, rgba(253,228,203,0) 60%),
    radial-gradient(52% 64% at 90% 8%, #e6ddff 0%, rgba(230,221,255,0) 60%),
    radial-gradient(70% 60% at 50% 100%, #e4e9ff 0%, rgba(228,233,255,0) 64%),
    linear-gradient(180deg, #fbf6f1 0%, #f5f2fb 55%, #ffffff 100%);
}
.hero::before { display: none; }
.hero-canvas {
  position: relative; background: none; box-shadow: none; border-radius: 0;
  overflow: visible; padding: 0;
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: #c4c8d6; opacity: .45; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner h1 { margin-top: 20px; max-width: 16ch; font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero-inner .lead { margin-top: 18px; max-width: 540px; }
.hero-inner .btn-row { margin-top: 26px; }
.hero-note--center { justify-content: center; margin-top: 20px; }

/* stage holds phone + bubbles; phone bleeds off the bottom like the reference */
.hero-stage { position: relative; width: 100%; display: flex; justify-content: center; margin-top: 34px; }
.phone--hero { margin-bottom: 0; }

/* floating circular bubbles */
.bubble {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; z-index: 3;
  background: #fff; box-shadow: 0 14px 30px -10px rgba(20,24,40,.30), inset 0 0 0 1px rgba(20,24,40,.04);
  animation: bob 5s ease-in-out infinite;
}
.bubble.b1 { top: 4%;  left: 12%; }
.bubble.b2 { top: 0%;  right: 14%; animation-delay: .6s; }
.bubble.b3 { top: 42%; left: 4%;  animation-delay: 1.1s; }
.bubble.b4 { top: 40%; right: 5%; animation-delay: .3s; }
.bubble.b5 { bottom: 18%; left: 13%; animation-delay: 1.4s; }
.bubble.b6 { bottom: 15%; right: 12%; animation-delay: .9s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------------- Real app screen recreation (.rapp) ------------------- */
.phone-screen { background: #ffffff; }
.rapp { display: flex; flex-direction: column; height: 100%; background: #fff; color: #0b1020; font-size: 12px; padding: 0 14px; }
.rapp-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px 6px; font-weight: 700; font-size: 13px; color: #0b1020; }
.rapp-sys { display: inline-flex; align-items: center; gap: 5px; color: #0b1020; }
.rapp-sys svg { height: 12px; width: auto; }
.rapp-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 12px; }
.rapp-user { display: flex; align-items: center; gap: 10px; }
.rapp-av { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.rapp-hi span { display: block; font-size: 11px; color: #8a93a6; font-weight: 500; }
.rapp-hi b { display: block; font-size: 16px; color: #0b1020; font-weight: 700; letter-spacing: -.01em; }
.rapp-bell { position: relative; width: 38px; height: 38px; border-radius: 12px; background: #f1f3f7; display: grid; place-items: center; color: #0b1020; }
.rapp-bell svg { width: 18px; height: 18px; }
.rdot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; }
.rapp-balance { background: var(--blue); color: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 16px 30px -16px var(--blue-glow); }
.rapp-balance .lbl { font-size: 12px; color: rgba(255,255,255,.78); font-weight: 500; }
.rapp-balance .amt { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-family: var(--font-display); }
.rapp-balance .chg { font-size: 12px; color: #b6f0d2; font-weight: 600; margin-top: 8px; }
.rapp-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; padding: 16px 2px 6px; }
.rapp-actions .ra { text-align: center; }
.rapp-actions .ra i { width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 6px; }
.rapp-actions .ra i svg { width: 22px; height: 22px; }
.rapp-actions .ra span { font-size: 11px; color: #8a93a6; font-weight: 500; }
.rapp-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0 6px; }
.rapp-mini .rm { border: 1px solid #eceef3; border-radius: 16px; padding: 12px 13px; }
.rapp-mini .rm i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #eceef3; display: grid; place-items: center; color: #0b1020; margin-bottom: 10px; }
.rapp-mini .rm i svg { width: 16px; height: 16px; }
.rapp-mini .rm b { display: block; font-size: 13px; color: #0b1020; font-weight: 700; }
.rapp-mini .rm span { display: block; font-size: 10.5px; color: #8a93a6; }
.rapp-mini .rm .big { font-size: 19px; font-weight: 800; color: #0b1020; margin-top: 6px; font-family: var(--font-display); }
.rapp-tabs { display: flex; gap: 18px; padding: 12px 2px 6px; font-size: 14px; }
.rapp-tabs span { color: #9aa2b2; font-weight: 600; padding-bottom: 4px; }
.rapp-tabs span.on { color: #0b1020; border-bottom: 2.5px solid var(--blue); }
.rapp-port { padding: 4px 2px 0; }
.rapp-port .lbl { font-size: 12px; color: #8a93a6; }
.rapp-port .pv { font-size: 26px; font-weight: 800; color: #0b1020; letter-spacing: -.02em; margin-top: 2px; font-family: var(--font-display); }
.rapp-port .chg { font-size: 12px; color: #0a9b58; font-weight: 600; margin-top: 4px; }
.rapp-chart { flex: 1; min-height: 56px; margin: 6px -14px 0; }
.rapp-chart svg { width: 100%; height: 100%; }
.rapp-nav { display: flex; justify-content: space-around; margin: 0 -6px; padding: 10px 6px 16px; border-top: 1px solid #f1f3f7; }
.rapp-nav .rn { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9aa2b2; font-size: 10px; font-weight: 600; }
.rapp-nav .rn svg { width: 20px; height: 20px; }
.rapp-nav .rn.on { color: var(--blue); }

/* --------------- Light-theme the other (.app) mockups too --------------- */
.app { color: #0b1020; }
.app-status { color: #8a93a6; }
.app-top .who b { color: #0b1020; }
.app-top .who span { color: #8a93a6; }
.app-top .avatar { background: var(--blue); }
.app-bell { background: #f1f3f7; }
.app-balance .label { color: #8a93a6; }
.app-balance .amt { color: #0b1020; }
.app-balance .amt .cents { color: #aab2c2; }
.app-balance .delta { color: #0a9b58; background: rgba(10,155,88,.10); }
.app-actions .a i { background: var(--blue); color: #fff; }
.app-actions .a span { color: #8a93a6; }
.app-list .lh { color: #8a93a6; }
.tx .m b { color: #0b1020; }
.tx .m span { color: #8a93a6; }
.tx .v.pos { color: #0a9b58; }
.tx .v.neg { color: #0b1020; }
.tx .ic { background: #f1f3f7 !important; color: var(--blue) !important; }
.app-nav { background: #fff; border-top: 1px solid #f1f3f7; }
.app-nav i { background: #e7eaf1; }
.app-nav i.on { background: var(--blue); }
.app-card { background: linear-gradient(135deg, var(--blue), #1740b8); box-shadow: 0 12px 24px -12px var(--blue-glow); }
.nw-bars span { background: linear-gradient(180deg, var(--blue), #1740b8); }
.nw-legend { color: #8a93a6; }

/* Phone frame tweak for the lighter screen */
.phone { box-shadow: var(--shadow-phone), inset 0 0 0 2px #2c3343, inset 0 0 0 6px #05070d; }

/* Interior page heroes: same soft-gradient premium header, fading to white */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px) clamp(26px, 3vw, 40px);
  background:
    radial-gradient(46% 70% at 10% 0%, #fde4cb 0%, rgba(253,228,203,0) 62%),
    radial-gradient(50% 80% at 92% 0%, #e6ddff 0%, rgba(230,221,255,0) 62%),
    linear-gradient(180deg, #faf6f1 0%, #f6f3fb 48%, #ffffff 100%);
}
.page-hero::before { display: none; }

/* Subtle gradient wash on the lighter sections for a premium, non-flat feel */
.section--paper2 {
  background:
    radial-gradient(38% 60% at 88% 6%, rgba(109,94,246,.06), transparent 60%),
    radial-gradient(40% 64% at 8% 96%, rgba(47,107,255,.06), transparent 60%),
    linear-gradient(180deg, #f7f6fc 0%, #f4f6fb 100%);
}

/* Cards lift a touch more on the washed sections */
.section--paper2 .card, .section--paper2 .step, .section--paper2 .channel { box-shadow: var(--shadow-sm); }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 700px) {
  .hero-canvas { border-radius: 26px; padding-inline: 16px; }
  .bubble { width: 48px; height: 48px; font-size: 21px; }
  .bubble.b3 { left: -2%; } .bubble.b4 { right: -2%; }
  .bubble.b1 { left: 4%; } .bubble.b2 { right: 4%; }
  .hero-lines { display: none; }
  .hero-stage { min-height: 320px; }
}

/* cohesion: prose list markers + accents follow brand blue */
.prose ul li::before { background: var(--blue); }
.prose blockquote { border-left-color: var(--blue); }
.toc a:hover { color: var(--blue-600); }
.faq-item.open .faq-q .chev { background: var(--blue); color: #fff; }
.step .num, .btn--primary { background: var(--ink); }
