/* ==========================================================================
   Bez kapesného — design tokens
   Restrained "private banking" palette: paper-white base, ink for text and
   two statement sections, gold used only as hairlines and small accents.
   ========================================================================== */
:root{
  --ink:        #170C2E;
  --ink-2:      #221540;
  --ink-soft:   #4B4568;
  --muted:      #6B7280;

  --paper:      #FAF8F3;
  --paper-2:    #F3F0E8;
  --white:      #FFFFFF;

  --gold:       #EAA238;   /* decorative on light; text/accents on dark */
  --gold-light: #F6C667;
  --gold-deep:  #C97F1E;   /* chart lines, icons on light (>= 3:1) */
  --gold-text:  #8F5612;   /* gold-coloured TEXT on light (>= 4.5:1) */
  --lime:       #C2E31D;   /* hero headline + brand "kapesného" (client swatch) */
  --violet:     #C896FF;   /* hero particle links + brand "Bez" + headline full stop */
  --violet-deep: #6F00E6;  /* same hue, dark enough to read on lime (5.07:1) */

  --hairline:        rgba(23,12,46,.12);
  --hairline-strong: rgba(23,12,46,.22);
  --line-dark:       rgba(255,255,255,.14);

  --text-on-ink:        #FFFFFF;
  --text-on-ink-soft:   rgba(255,255,255,.72);
  --text-on-light:      var(--ink);
  --text-on-light-soft: var(--ink-soft);

  --font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-h1: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.7vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(23,12,46,.05);
  --shadow-md: 0 8px 28px rgba(23,12,46,.08);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: .18s;
  --dur-base: .32s;
  --dur-slow: .6s;

  --container: 1200px;
  --gutter: 20px;

  --z-nav: 100;
  --z-overlay: 200;
  --z-top: 300;
}
@media (min-width: 768px){ :root{ --gutter: 32px; } }

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }
h1,h2,h3{ font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
h4{ font-family: var(--font-body); font-weight: 600; }
section{ position: relative; }
.container{ max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
::selection{ background: var(--gold); color: var(--ink); }
:focus-visible{ outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 3px; }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:16px; top:-60px;
  background:var(--ink); color:#fff; padding:12px 18px;
  border-radius: var(--radius-sm); z-index: var(--z-top);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus{ top:16px; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section{ padding-block: clamp(72px, 10vw, 120px); scroll-margin-top: 84px; }
.section--tight{ padding-block: var(--sp-8); }
.section--cream{ background: var(--paper); }
.section--white{ background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section--ink{ background: var(--ink); color: var(--text-on-ink); }
.section--ink h2, .section--ink h3{ color: var(--text-on-ink); }

.section-head{ max-width: 680px; margin-bottom: var(--sp-8); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.section-head p{ font-size: var(--fs-lead); color: var(--text-on-light-soft); }
.section--ink .section-head p{ color: var(--text-on-ink-soft); }

/* eyebrow: hairline + spaced small caps instead of a filled badge */
.eyebrow{
  display:inline-flex; align-items:center; gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--sp-5);
}
.eyebrow::before{ content:""; width:28px; height:1px; background: var(--gold); flex:none; }
.section--ink .eyebrow, .mentor-wrap .eyebrow{ color: var(--gold-light); }
.mentor-card .eyebrow{ color: var(--gold-text); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  min-height: 48px;
  border: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn:active{ transform: scale(.985); }

.btn-primary{ background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover{ background: var(--ink-2); border-color: var(--ink-2); transform: translateY(-1px); }

.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-ghost:hover{ border-color: var(--ink); }
.section--ink .btn-ghost, .mentor-wrap .btn-ghost, .footer .btn-ghost{ color: var(--text-on-ink); border-color: var(--line-dark); }
.section--ink .btn-ghost:hover, .mentor-wrap .btn-ghost:hover{ border-color: var(--gold-light); color: var(--gold-light); }

.btn-light{ background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover{ background: var(--paper-2); border-color: var(--paper-2); transform: translateY(-1px); }

.btn-block{ width: 100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none !important; }
.cta-row{ display:flex; flex-wrap:wrap; gap: var(--sp-4); align-items:center; }

/* ==========================================================================
   Nav (light)
   ========================================================================== */
.nav{
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  padding-block: var(--sp-4);
  transition: padding var(--dur-base);
}
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.nav.is-scrolled{ padding-block: var(--sp-3); }
.nav.is-scrolled::before{ background: rgba(0,0,0,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,.08); }

.nav .container{ display:flex; align-items:center; justify-content:space-between; gap: var(--sp-4); }

.brand{
  display:flex; align-items:center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em;
  color: var(--violet);   /* "Bez" */
  white-space: nowrap;
}
.brand b{ color: var(--lime); font-weight: 600; }   /* "kapesného" */

.nav-links{ display:none; align-items:center; gap: var(--sp-5); white-space: nowrap; }
.nav-links a{
  font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.72);
  position: relative; z-index: 0;
  padding: 6px 12px; margin: -6px -12px;    /* bigger hover box, same visual gap (padding cancels against margin) */
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: color var(--dur-fast);
}
/* soft lime "spotlight": a top-down glow + a thin bright line at the light
   source, both just fading in — kept low-opacity so the label stays legible */
.nav-links a::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(ellipse 90% 85% at 50% 42%, rgba(194,227,29,.26) 0%, rgba(194,227,29,.1) 48%, transparent 78%);
  opacity:0; transition: opacity var(--dur-base) var(--ease-out);
}
.nav-links a::after{
  content:""; position:absolute; top:0; left:18%; right:18%; height:2px;
  background: var(--lime); border-radius: 0 0 2px 2px;
  opacity:0; transition: opacity var(--dur-base) var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active{ color: #fff; }
.nav-links a:hover::before, .nav-links a.is-active::before,
.nav-links a:hover::after, .nav-links a.is-active::after{ opacity:1; }

.nav-actions{ display:flex; align-items:center; gap: var(--sp-3); }
.nav .btn-primary{ padding: 10px 20px; font-size:.9rem; min-height: 42px; background:#fff; color:#000; border-color:#fff; }
.nav .btn-primary:hover{ background:#e5e5e5; border-color:#e5e5e5; }
/* On phones the brand + CTA + burger don't fit on one row; the menu carries the CTAs. */
@media (max-width: 599px){ .nav .btn-primary{ display:none; } }

.nav-toggle{
  display:flex; width:44px; height:44px; align-items:center; justify-content:center;
  border-radius: var(--radius-sm); color: #fff;
}
.nav-toggle svg{ width:24px; height:24px; }

/* the bar is always light-on-dark: transparent gradient over the hero,
   solid dark (.is-scrolled, set by JS) once the hero has scrolled away */

@media (min-width: 1180px){
  .nav-links{ display:flex; }
  .nav-toggle{ display:none; }
}

.mobile-menu{
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: #000;
  display:flex; flex-direction:column;
  padding: var(--sp-6) var(--gutter) var(--sp-8);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-in-out);
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom: var(--sp-8); }
.mobile-menu nav{ display:flex; flex-direction:column; }
.mobile-menu nav a{
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff;
  padding-block: var(--sp-4); border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .btn-ghost{ color:#fff; border-color: var(--line-dark); }
.mobile-menu .btn-primary{ background:#fff; color:#000; border-color:#fff; }
.mobile-menu .cta-row{ margin-top: auto; padding-top: var(--sp-7); flex-direction:column; align-items:stretch; }
@media (min-width:1180px){ .mobile-menu{ display:none; } }

/* ==========================================================================
   Hero — "Aether Flow": full-viewport black particle canvas, centred copy
   ========================================================================== */
.hero{
  --hero-text: var(--lime);
  position: relative;
  background: #000;
  color: #fff;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 96px; padding-bottom: 72px;
  overflow: hidden;
}
.hero-canvas{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }
.hero-inner{
  position:relative; z-index:1;
  width:100%;   /* the hero is a flex box: without this the container shrinks to its content */
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap: var(--sp-7);
}
.hero h1{
  font-size: clamp(2.8rem, 2rem + 4.5vw, 6rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -.025em;
  color: var(--hero-text);
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 .hero-dot{ color: var(--violet); }

/* particle headline: the <h1> stays in the DOM for assistive tech and as the
   no-JS / reduced-motion fallback; JS adds .is-particles once the canvas runs */
.hero-title{ width:100%; max-width:1000px; display:flex; flex-direction:column; align-items:center; }
.hero-text-canvas{ display:none; max-width:100%; }
.hero.is-particles .hero-text-canvas{ display:block; }
.hero.is-particles .hero-title h1{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.hero .cta-row{ justify-content:center; }
.btn-hero{
  background:#fff; color:#000;
  border: 2px solid var(--lime);
  padding: 16px 32px; font-size: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn-hero:hover{
  background: var(--lime); border-color: var(--lime);
  color: var(--violet-deep); font-weight: 700;
  transform: translateY(-1px);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps{ display:grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.step{
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position:relative;
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.step:hover{ border-color: var(--hairline-strong); transform: translateY(-3px); }
.step-icon{ width:24px; height:24px; color: var(--ink); margin-bottom: var(--sp-4); }
.step-num{
  font-family: var(--font-head); font-size: .9rem; font-weight: 600; font-style: italic;
  color: var(--gold-text);
  width:34px; height:34px; border-radius:50%; border: 1px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: var(--sp-4);
}
.step h3{ font-size: 1.2rem; margin-bottom: var(--sp-2); }
.step p{ color: var(--text-on-light-soft); font-size:.95rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about{ display:grid; gap: var(--sp-8); align-items:center; }
@media (min-width: 900px){ .about{ grid-template-columns: .85fr 1.15fr; gap: var(--sp-9); } }
.about-media{ position:relative; }
.about-photo{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 4/5;
  background: var(--paper-2);
}
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-badge{
  position:absolute; bottom:-18px; left:-18px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.about-badge span{ display:block; font-size:.7rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-text); margin-bottom: 2px; }
.about-badge strong{ font-family: var(--font-head); font-weight: 600; font-size:1.2rem; }
/* the -18px overhang is an editorial detail on desktop; on a phone it would
   leave the badge ~2px from the screen edge, so pull it back inside */
@media (max-width: 599px){ .about-badge{ left: 0; bottom: -14px; } }

.about-copy h2{ font-size: var(--fs-h2); margin-bottom: var(--sp-5); }
.about-copy p{ color: var(--text-on-light-soft); margin-bottom: var(--sp-4); font-size: var(--fs-lead); }
.about-copy p:last-of-type{ margin-bottom: var(--sp-6); }
.about-points{ display:grid; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.about-point{ display:flex; gap: var(--sp-3); align-items:flex-start; }
.about-point svg{ width:20px; height:20px; color: var(--gold-deep); flex:none; margin-top:3px; }
.about-point p{ margin:0; font-size:.98rem; color: var(--text-on-light); }

.note-callout{
  margin-top: var(--sp-6);
  font-size: var(--fs-small);
  color: var(--text-on-light-soft);
  border-left: 2px solid var(--gold);
  padding-left: var(--sp-3);
}

/* ==========================================================================
   Course
   ========================================================================== */
.course{ display:grid; gap: var(--sp-8); }
@media (min-width: 980px){ .course{ grid-template-columns: 1.1fr .9fr; align-items:start; gap: var(--sp-9); } }
.course-card{
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.course-price{ display:flex; flex-wrap:wrap; align-items:baseline; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--hairline); }
/* nowrap: on a phone the amount otherwise breaks into "1 490" / "Kč" */
.course-price b{ font-family: var(--font-head); font-weight: 600; font-size: 2.6rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.course-price span{ color: var(--text-on-light-soft); font-size:.92rem; }

.module-list{ display:grid; margin-bottom: var(--sp-6); }
.module-item{ display:flex; gap: var(--sp-3); align-items:flex-start; padding: var(--sp-3) 0; border-bottom: 1px solid var(--hairline); }
.module-item:last-child{ border-bottom:0; }
.module-item svg{ width:20px; height:20px; color: var(--gold-deep); flex:none; margin-top:2px; }
.module-item b{ display:block; font-size:.98rem; font-weight: 600; }
.module-item span{ font-size:.88rem; color: var(--text-on-light-soft); }
.course-fineprint{ font-size:.8rem; color: var(--muted); margin-top: var(--sp-4); text-align:center; }

.phone-mock{
  position:relative; max-width: 290px; margin-inline:auto;
  border-radius: 36px; padding: 12px;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}
.phone-screen{ position:relative; border-radius: 26px; overflow:hidden; aspect-ratio: 9/16; background:#000; }
.phone-screen video{ width:100%; height:100%; object-fit:cover; }
.phone-notch{ position:absolute; top:10px; left:50%; transform:translateX(-50%); width:70px; height:18px; background:var(--ink); border-radius: 999px; z-index:3; }
.phone-controls{ position:absolute; bottom: var(--sp-3); left: var(--sp-3); right: var(--sp-3); display:flex; justify-content:space-between; align-items:center; z-index:3; }
.phone-tag{ background: rgba(23,12,46,.6); backdrop-filter: blur(6px); color:#fff; font-size:.72rem; font-weight:600; padding:6px 12px; border-radius: 999px; }
.mute-btn{ width:36px; height:36px; border-radius:50%; background: rgba(23,12,46,.6); backdrop-filter: blur(6px); display:flex; align-items:center; justify-content:center; color:#fff; }
.mute-btn svg{ width:18px; height:18px; }
.phone-caption{ text-align:center; margin-top: var(--sp-5); color: var(--muted); font-size:.9rem; }

/* ==========================================================================
   Mentoring — one of the two deliberate statement blocks
   ========================================================================== */
.mentor-wrap{
  display:grid; gap: var(--sp-7);
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  position:relative; overflow:hidden;
}
@media (min-width: 900px){ .mentor-wrap{ grid-template-columns: 1fr .85fr; align-items:center; gap: var(--sp-9); } }
.mentor-wrap::after{
  content:""; position:absolute; width:420px; height:420px; border-radius:50%;
  background: radial-gradient(circle, rgba(234,162,56,.22), transparent 70%);
  right:-140px; top:-140px; pointer-events:none;
}
.mentor-copy h2{ font-size: var(--fs-h2); margin-bottom: var(--sp-4); color: var(--text-on-ink); }
.mentor-copy p{ color: var(--text-on-ink-soft); font-size: var(--fs-lead); margin-bottom: var(--sp-6); max-width: 50ch; }
.mentor-points{ display:grid; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.mentor-point{ display:flex; gap: var(--sp-3); align-items:center; font-size:.95rem; color: var(--text-on-ink-soft); }
.mentor-point svg{ width:20px; height:20px; color: var(--gold-light); flex:none; }

.mentor-card{
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  position: relative; z-index:1;
}
.mentor-card .eyebrow{ margin-bottom:var(--sp-3); }
.mentor-card h3{ font-size:1.4rem; margin-bottom: var(--sp-2); }
.mentor-card p{ color: var(--text-on-light-soft); font-size:.92rem; margin-bottom: var(--sp-5); }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc{
  display:grid; gap: var(--sp-7);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
}
@media (min-width: 980px){ .calc{ grid-template-columns: .95fr 1.05fr; gap: var(--sp-8); } }
.calc-field{ margin-bottom: var(--sp-6); }
.calc-field:last-child{ margin-bottom:0; }
.calc-field-top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom: var(--sp-2); }
.calc-field label{ font-weight:500; font-size:.94rem; }
.calc-field output{ font-family: var(--font-head); font-weight:600; color: var(--ink); font-size:1.1rem; font-variant-numeric: tabular-nums; }
input[type="range"]{
  width:100%; height:4px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold-deep) 0%, var(--gold-deep) var(--fill, 50%), var(--hairline) var(--fill, 50%), var(--hairline) 100%);
  appearance:none; -webkit-appearance:none; outline:none;
}
input[type="range"]::-webkit-slider-thumb{
  appearance:none; -webkit-appearance:none;
  width:22px; height:22px; border-radius:50%;
  background: var(--white); border:2px solid var(--ink);
  box-shadow: var(--shadow-sm); cursor:pointer;
  transition: transform var(--dur-fast);
}
input[type="range"]::-webkit-slider-thumb:hover{ transform: scale(1.1); }
input[type="range"]::-moz-range-thumb{ width:22px; height:22px; border-radius:50%; background: var(--white); border:2px solid var(--ink); box-shadow: var(--shadow-sm); cursor:pointer; }
input[type="range"]::-moz-range-track{ height:4px; border-radius: 999px; background: var(--hairline); }

.calc-result{ background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--sp-5); margin-top: var(--sp-6); }
.calc-result p{ font-size:.92rem; color: var(--text-on-light-soft); }
.calc-result .big-number{ font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); color: var(--ink); display:block; margin-bottom: var(--sp-3); line-height: 1.2; letter-spacing: -.01em; }
.calc-result .big-number b{ color: var(--gold-text); font-weight: 600; }

.chart-wrap{ display:flex; flex-direction:column; }
.chart-legend{ display:flex; gap: var(--sp-5); margin-bottom: var(--sp-4); flex-wrap:wrap; }
.legend-item{ display:flex; align-items:center; gap: var(--sp-2); font-size:.84rem; color: var(--text-on-light-soft); }
.legend-swatch{ width:22px; height:2px; border-radius:2px; }
.legend-swatch.is-dashed{ background: repeating-linear-gradient(to right, var(--muted) 0 6px, transparent 6px 10px); }
.legend-swatch.is-solid{ background: var(--gold-deep); height:3px; }
.chart-svg{ width:100%; height:auto; overflow: visible; }
.chart-svg .grid-line{ stroke: var(--hairline); stroke-width:1; }
.chart-svg .axis-label{ fill: var(--muted); font-size:11px; font-family: var(--font-body); }
.chart-svg .baseline-path{ fill:none; stroke: var(--muted); stroke-width:2; stroke-dasharray:6 5; }
.chart-svg .growth-path{ fill:none; stroke: var(--gold-deep); stroke-width:2.5; stroke-linecap:round; }
.chart-svg .growth-area{ fill: url(#growthGradient); opacity:.9; }
.chart-svg .end-dot{ fill: var(--gold-deep); stroke:#fff; stroke-width:2; }

/* ==========================================================================
   Testimonials — auto-scrolling marquee rows of horizontal cards
   ========================================================================== */
.testi-marquee-wrap{ display:flex; flex-direction:column; gap: var(--sp-4); }
.testi-row{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.testi-row:hover .testi-track{ animation-play-state: paused; }
.testi-track{ display:flex; gap: var(--sp-4); width: max-content; will-change: transform; }
.testi-track--left{ animation: testi-marquee-left 52s linear infinite; }
.testi-track--right{ animation: testi-marquee-right 52s linear infinite; }
@keyframes testi-marquee-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes testi-marquee-right{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }
@media (prefers-reduced-motion: reduce){
  .testi-track{ animation: none; }
  .testi-track--right{ transform: translateX(0); }
  .testi-row{ overflow-x: auto; -webkit-mask-image:none; mask-image:none; }
}

.testi-h-card{
  flex: none;
  width: min(380px, 82vw);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.testi-h-card:hover{ border-color: var(--hairline-strong); transform: translateY(-3px); }
.testi-h-top{ display:flex; gap: var(--sp-3); align-items:flex-start; margin-bottom: var(--sp-3); }
.testi-h-top p{
  margin:0; color: var(--text-on-light); font-size:.92rem; line-height:1.55;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.testi-h-meta{ display:flex; align-items:center; justify-content:space-between; gap: var(--sp-3); }
.testi-h-meta b{ font-size:.86rem; font-weight:600; color: var(--text-on-light); }
.testi-source{ font-size:.76rem; color: var(--muted); letter-spacing:.02em; }
.testi-avatar{
  width:40px; height:40px; border-radius:50%;
  background: var(--paper); color: var(--gold-text);
  border: 1px solid var(--hairline);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight:600;
  flex:none;
}

.trust-row{
  display:flex; flex-wrap:wrap; gap: var(--sp-6) var(--sp-8);
  justify-content:center;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--hairline);
}
.trust-item{ text-align:center; min-width:120px; }
.trust-item b{ display:block; font-family: var(--font-head); font-weight: 600; font-size:1.6rem; color: var(--ink); letter-spacing:-.01em; }
.trust-item span{ font-size:.82rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width: 760px; margin-inline:auto; display:grid; gap: var(--sp-3); }
.faq-item{ background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow:hidden; transition: border-color var(--dur-base); }
.faq-item.is-open{ border-color: var(--hairline-strong); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align:left; font-family: var(--font-head); font-weight:600; font-size:1.08rem; color: var(--ink);
}
.faq-q svg{ width:20px; height:20px; flex:none; color: var(--gold-deep); transition: transform var(--dur-base) var(--ease-out); }
.faq-item.is-open .faq-q svg{ transform: rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height var(--dur-slow) var(--ease-in-out); }
.faq-a-inner{ padding: 0 var(--sp-6) var(--sp-5); color: var(--text-on-light-soft); font-size:.96rem; }

/* ==========================================================================
   Contact (light)
   ========================================================================== */
.contact-wrap{ display:grid; gap: var(--sp-8); }
@media (min-width: 980px){ .contact-wrap{ grid-template-columns: .9fr 1.1fr; gap: var(--sp-9); } }
.contact-info h2{ font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.contact-info p{ color: var(--text-on-light-soft); font-size: var(--fs-lead); margin-bottom: var(--sp-6); max-width:46ch; }
.contact-detail{ display:flex; gap: var(--sp-3); align-items:center; margin-bottom: var(--sp-4); }
.contact-detail svg{ width:22px; height:22px; color: var(--gold-deep); flex:none; }
.contact-detail a{ font-weight:600; color: var(--ink); border-bottom: 1px solid var(--hairline-strong); transition: border-color var(--dur-fast); }
.contact-detail a:hover{ border-color: var(--gold-deep); }
.social-row{ display:flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.social-btn{
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--hairline-strong); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.social-btn svg{ width:20px; height:20px; }
.social-btn:hover{ background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.contact-info .note-callout{ margin-top: var(--sp-6); font-size:.82rem; }

.form-card{
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}
.form-row{ display:grid; gap: var(--sp-5); margin-bottom: var(--sp-5); }
@media (min-width:600px){ .form-row.cols-2{ grid-template-columns:1fr 1fr; } }
.field{ display:flex; flex-direction:column; gap: var(--sp-2); }
.field label{ font-size:.86rem; font-weight:600; }
.field .req{ color: var(--gold-text); }
.field input, .field select, .field textarea{
  font: inherit; font-size:1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: var(--white);
  min-height:48px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea{ min-height:120px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,12,46,.08); outline:none; }
.field-hint{ font-size:.8rem; color: var(--muted); }
.field-error{ font-size:.82rem; color:#B3261E; display:none; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#B3261E; }
.field.has-error .field-error{ display:block; }

.form-status{ margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-sm); font-size:.92rem; font-weight:600; display:none; }
.form-status.is-success{ display:block; background:#E7F6EC; color:#1E7A3C; }
.form-status.is-error{ display:block; background:#FBEAEA; color:#B3261E; }

/* ==========================================================================
   Footer — the second statement block
   ========================================================================== */
.footer{ background: var(--ink); color: var(--text-on-ink-soft); padding-block: var(--sp-8) var(--sp-6); }
.footer-top{
  display:grid; gap: var(--sp-7);
  padding-bottom: var(--sp-7); margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width:820px){ .footer-top{ grid-template-columns: 1.2fr repeat(3, .8fr); } }
.footer-brand .brand{ margin-bottom: var(--sp-4); }
.footer-brand p{ font-size:.9rem; max-width:32ch; }
.footer-col h4{ color: var(--gold-light); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom: var(--sp-4); }
.footer-col ul{ display:grid; gap: var(--sp-3); }
.footer-col a{ font-size:.92rem; transition:color var(--dur-fast); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; flex-wrap:wrap; gap: var(--sp-3); justify-content:space-between; font-size:.8rem; }

/* ==========================================================================
   Reveal hooks (JS adds .is-visible when GSAP is unavailable)
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(24px); }
.reveal.is-visible{ opacity:1; transform:none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* back to top */
.to-top{
  position: fixed; right:20px; bottom:20px; z-index: var(--z-nav);
  width:46px; height:46px; border-radius:50%;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0; pointer-events:none; transform: translateY(10px);
  transition: opacity var(--dur-base), transform var(--dur-base);
}
.to-top.is-visible{ opacity:1; pointer-events:auto; transform:none; }
.to-top svg{ width:20px; height:20px; }
