:root {
  --forest: #0b2a1b;
  --forest-2: #10371f;
  --emerald: #1e8a4f;
  --brand: #187b45;
  --paper: #eef2ef;
  --paper-2: #f7f9f7;
  --ink: #0f1f17;
  --muted: #55665c;
  --gold: #d4b26a;
  --line: rgba(15, 31, 23, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.5, 0.64, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 8px; }
.dark :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lens-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* section shells */
.light { background: var(--paper); color: var(--ink); }
.light.alt { background: var(--paper-2); }
.dark { background: var(--forest); color: #fff; }
.head { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.head h2 { margin-bottom: 16px; }
.head-left { text-align: left; margin: 0; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 36em; margin-left: auto; margin-right: auto; }
.head-left .sub { margin-left: 0; }
.link { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* ============ LIQUID GLASS ============ */
.glass {
  --g-tint: rgba(255, 255, 255, 0.08);
  --g-edge: rgba(255, 255, 255, 0.22);
  --g-spec: rgba(255, 255, 255, 0.6);
  --g-blur: 14px;
  --g-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.45);
  position: relative;
  isolation: isolate;
  background: var(--g-tint);
  -webkit-backdrop-filter: blur(var(--g-blur)) saturate(180%);
  backdrop-filter: blur(var(--g-blur)) saturate(180%);
  box-shadow:
    inset 0 0 0 1px var(--g-edge),
    inset 1.5px 1.5px 1px -1px var(--g-spec),
    inset -1.5px -1.5px 1px -1px rgba(255, 255, 255, 0.28),
    inset 0 0 24px rgba(255, 255, 255, 0.05),
    var(--g-shadow);
}
/* specular sheen that follows the pointer */
.glass::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 30%) var(--my, -20%), rgba(255, 255, 255, 0.22), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
  transition: opacity 0.5s var(--ease-out);
  z-index: -1;
}
.glass:hover::after { opacity: 1; }
.glass-light {
  --g-tint: rgba(255, 255, 255, 0.5);
  --g-edge: rgba(255, 255, 255, 0.75);
  --g-spec: rgba(255, 255, 255, 1);
  --g-blur: 22px;
  --g-shadow: 0 30px 80px -30px rgba(11, 42, 27, 0.35), 0 2px 6px rgba(11, 42, 27, 0.05);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  font: 600 15.5px/1.2 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-spring), background-color 0.25s, box-shadow 0.3s, color 0.25s;
}
.btn:hover { transform: scale(1.035); }
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.btn-white { background: #fff; color: var(--forest); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.45); }
.btn-solid { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -8px rgba(24, 123, 69, 0.7); }
.btn-solid:hover { background: var(--emerald); }
.btn-glass { color: #fff; --g-tint: rgba(255, 255, 255, 0.06); --g-shadow: none; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: 100%; max-width: 980px;
  display: flex; align-items: center; gap: 24px;
  height: 60px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  color: #fff;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), max-width 0.6s var(--ease-out), box-shadow 0.5s;
}
.nav.scrolled .nav-pill { max-width: 900px; }
.nav[data-theme="light"] .nav-pill {
  color: var(--ink);
  --g-tint: rgba(255, 255, 255, 0.55);
  --g-edge: rgba(255, 255, 255, 0.8);
  --g-spec: #fff;
  --g-shadow: 0 12px 40px -16px rgba(11, 42, 27, 0.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 16.5px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
  opacity: 0.78;
  transition: opacity 0.2s, background-color 0.3s;
}
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.nav[data-theme="light"] .nav-links a:hover { background: rgba(15, 31, 23, 0.06); }
.nav-toggle { display: none; }
.nav-sheet { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 90px;
  overflow: hidden;
}
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  will-change: transform;
}
.b1 { background: radial-gradient(closest-side, rgba(46, 168, 102, 0.85), rgba(46, 168, 102, 0) 70%); top: -30vmax; right: -18vmax; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(closest-side, rgba(212, 178, 106, 0.5), rgba(212, 178, 106, 0) 70%); width: 44vmax; height: 44vmax; bottom: -22vmax; left: -10vmax; animation: drift2 30s ease-in-out infinite alternate; }
.b3 { background: radial-gradient(closest-side, rgba(27, 110, 106, 0.75), rgba(27, 110, 106, 0) 70%); width: 50vmax; height: 50vmax; top: 10%; left: 25%; animation: drift3 34s ease-in-out infinite alternate; }
.b4 { background: radial-gradient(closest-side, rgba(120, 200, 150, 0.35), rgba(120, 200, 150, 0) 70%); width: 30vmax; height: 30vmax; top: 45%; right: 5%; animation: drift2 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-14vmax, 18vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(16vmax, -12vmax) scale(0.9); } }
@keyframes drift3 { 50% { transform: translate(-12vmax, 8vmax) scale(1.1); } to { transform: translate(10vmax, -6vmax) scale(0.95); } }
.cursor-glow {
  position: absolute; left: 0; top: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent);
  transform: translate3d(var(--gx, 70vw), var(--gy, 40vh), 0);
}
.aurora.calm .blob { opacity: 0.7; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.hero-title { margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; }
.lead { font-size: 1.16rem; line-height: 1.55; color: rgba(255, 255, 255, 0.76); max-width: 31em; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; fill: none; stroke: #7fd3a2; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.concept-note { position: relative; margin: 48px auto 0; width: 100%; max-width: 1200px; padding: 0 24px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.concept-note a { color: rgba(255, 255, 255, 0.75); }

/* card stage */
.stage { position: relative; height: 460px; }
.layer { position: absolute; left: 50%; top: 50%; will-change: transform; }
.glass-slab {
  width: 330px; height: 208px; border-radius: 22px;
  margin: -170px 0 0 -120px;
  --g-tint: rgba(255, 255, 255, 0.07);
  --g-blur: 6px;
  rotate: 9deg;
}
.metal-wrap { margin: -96px 0 0 -205px; perspective: 1000px; }
.metal {
  position: relative;
  width: 360px; height: 226px;
  border-radius: 22px;
  padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(150deg, #2a2d2b 0%, #161917 55%, #0e100f 100%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-5deg);
  transform-style: preserve-3d;
  overflow: hidden;
}
/* holographic foil sheen, steered by tilt */
.metal::after {
  content: "";
  position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 30%, rgba(140, 255, 200, 0.16) 42%, rgba(255, 230, 160, 0.22) 48%, rgba(170, 200, 255, 0.16) 54%, transparent 66%);
  transform: translateX(var(--sheen, 0%));
  mix-blend-mode: screen;
  pointer-events: none;
}
.metal-top { display: flex; justify-content: space-between; align-items: center; }
.emv { width: 44px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f0d896, #a8873f 60%, #d9bd77); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); position: relative; }
.emv::before { content: ""; position: absolute; inset: 7px 10px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 4px; }
.metal-num { font-size: 19px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(255, 255, 255, 0.12); }
.metal-bottom { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.stat {
  margin: 48px 0 0 -70px;
  border-radius: 24px;
  padding: 18px 22px 16px;
  display: flex; flex-direction: column;
  min-width: 236px;
  color: #fff;
  --g-tint: rgba(255, 255, 255, 0.1);
  --g-blur: 10px;
}
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.stat-value { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.7); }
.stat-sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }

/* ---- page-load sequence (one orchestrated moment) ---- */
.js .nav-pill { opacity: 0; transform: translateY(-16px) scale(0.96); }
.js .hero-title .line > span { transform: translateY(105%); }
.js .load-in { opacity: 0; transform: translateY(14px); }
.js .stage { opacity: 0; transform: translateY(30px) scale(0.94); }
.js .stat { opacity: 0; scale: 0.85; }
.loaded .nav-pill { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.1s, transform 1.1s var(--ease-out) 0.1s, background-color 0.5s, color 0.5s, max-width 0.6s var(--ease-out); }
.loaded .hero-title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
.loaded .hero-title .line:nth-child(1) > span { transition-delay: 0.15s; }
.loaded .hero-title .line:nth-child(2) > span { transition-delay: 0.24s; }
.loaded .hero-title .line:nth-child(3) > span { transition-delay: 0.33s; }
.loaded .load-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.loaded .lead { transition-delay: 0.5s; }
.loaded .actions.load-in { transition-delay: 0.6s; }
.loaded .trust { transition-delay: 0.7s; }
.loaded .stage { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) 0.3s, transform 1.4s var(--ease-out) 0.3s; }
.loaded .stat { opacity: 1; scale: 1; transition: opacity 0.6s var(--ease-out) 1s, scale 0.9s var(--ease-spring) 1s; }

/* ============ STATEMENT ============ */
.statement { padding: 150px 0 140px; }
.statement-text {
  max-width: 980px; margin: 0 auto;
  font-size: clamp(1.65rem, 3.5vw, 2.85rem);
  line-height: 1.2; letter-spacing: -0.028em; font-weight: 500;
}
.statement-text .w { opacity: var(--o, 1); transition: opacity 0.25s linear; }

/* ============ TIMELINE ============ */
.how { padding: 130px 0; }
.timeline {
  list-style: none; margin: 0; padding: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.track { position: absolute; left: 22px; right: calc(33.33% - 22px); top: 21px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.track-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), #4cc785); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tstep { position: relative; padding-right: 12px; }
.node {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--muted);
  font-weight: 600; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 12px -6px rgba(11, 42, 27, 0.2);
  margin-bottom: 28px;
  position: relative;
  transition: background-color 0.5s var(--ease-out), color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease-spring);
}
.tstep.on .node { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(24, 123, 69, 0.14), 0 8px 20px -8px rgba(24, 123, 69, 0.7); transform: scale(1.06); }
.tstep-time { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.tstep h3 { font-size: 1.4rem; letter-spacing: -0.025em; margin-bottom: 10px; }
.tstep p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ============ ESTIMATOR ============ */
.estimate { position: relative; overflow: hidden; padding: 130px 0; }
.field-blobs { position: absolute; inset: 0; pointer-events: none; }
.field-blobs span { position: absolute; border-radius: 50%; will-change: transform; }
.fb1 { width: 620px; height: 620px; left: 2%; top: 22%; background: radial-gradient(closest-side, rgba(46, 168, 102, 0.55), transparent); animation: drift2 24s ease-in-out infinite alternate; }
.fb2 { width: 520px; height: 520px; right: 4%; top: 38%; background: radial-gradient(closest-side, rgba(212, 178, 106, 0.55), transparent); animation: drift1 28s ease-in-out infinite alternate; }
.fb3 { width: 420px; height: 420px; left: 40%; bottom: -8%; background: radial-gradient(closest-side, rgba(27, 110, 106, 0.4), transparent); animation: drift3 30s ease-in-out infinite alternate; }
.field-blobs.soft span { opacity: 0.55; }
.estimate .wrap, .services .wrap { position: relative; }

.calc {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  border-radius: 32px;
  padding: 10px;
  max-width: 1060px; margin: 0 auto;
}
.calc-inputs { padding: 38px 36px; display: flex; flex-direction: column; gap: 34px; }
.field { border: 0; margin: 0; padding: 0; display: block; min-width: 0; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; margin-bottom: 16px; padding: 0; }
.field-label output { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px; margin: 0;
  background: linear-gradient(to right, var(--brand) var(--fill, 10%), rgba(15, 31, 23, 0.1) var(--fill, 10%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 34px; height: 24px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 6px 14px -4px rgba(11, 42, 27, 0.4), inset 0 1px 0 #fff;
  transition: transform 0.4s var(--ease-spring);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25, 1.35); }
input[type="range"]::-moz-range-thumb { width: 32px; height: 22px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 6px 14px -4px rgba(11, 42, 27, 0.4); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(24, 123, 69, 0.45), 0 6px 14px -4px rgba(11, 42, 27, 0.4); }
.range-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* segmented control with a sliding glass thumb */
.seg {
  position: relative;
  display: inline-flex; flex-wrap: nowrap;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 31, 23, 0.07);
  max-width: 100%;
}
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  width: var(--w, 0); transform: translateX(var(--x, 0));
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px -4px rgba(11, 42, 27, 0.3), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transition: transform 0.55s var(--ease-spring), width 0.55s var(--ease-spring);
}
.seg label { position: relative; z-index: 1; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span:not(.seg-thumb) { display: block; padding: 9px 18px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.3s; white-space: nowrap; }
.seg input:checked + span { color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: -2px; border-radius: 999px; }

.calc-result {
  position: relative;
  border-radius: 24px;
  padding: 38px 34px 30px;
  display: flex; flex-direction: column;
  color: #fff;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(46, 168, 102, 0.5), transparent 70%),
    linear-gradient(160deg, rgba(16, 55, 31, 0.94), rgba(11, 42, 27, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 40px -20px rgba(11, 42, 27, 0.6);
  overflow: hidden;
}
.result-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.result-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; margin: 8px 0 26px; font-variant-numeric: tabular-nums; }
.result-value .dash { color: rgba(255, 255, 255, 0.4); font-weight: 400; }
.result-rows { border-top: 1px solid var(--line-dark); margin-bottom: 18px; }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.result-rows strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.result-note { font-size: 14px; color: rgba(255, 255, 255, 0.82); min-height: 3em; }
.calc-result .btn { margin-top: auto; }
.fine { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin: 14px 0 0; }

/* ============ WHY ============ */
.why { padding: 130px 0; position: relative; overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.why h2 { position: sticky; top: 130px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 44px; }
.points svg { width: 30px; height: 30px; fill: none; stroke: #7fd3a2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.points h3 { margin-bottom: 8px; }
.points p { color: rgba(255, 255, 255, 0.66); font-size: 15.5px; margin: 0; }

/* ============ PLANS ============ */
.services { position: relative; overflow: hidden; padding: 130px 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 36px 30px;
  border-radius: 30px;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  --g-tint: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1.5px rgba(24, 123, 69, 0.55), inset 1.5px 1.5px 1px -1px #fff, 0 40px 90px -40px rgba(24, 123, 69, 0.55);
}
.plan-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(15, 31, 23, 0.06); color: var(--muted); margin-bottom: 22px; }
.plan.featured .plan-tag { background: var(--brand); color: #fff; }
.plan h3 { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 8px; }
.plan-blurb { color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: 56px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: rgba(24, 123, 69, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.7 2.7L14 7.5' fill='none' stroke='%23187b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan-note { font-size: 14px; color: var(--muted); background: rgba(15, 31, 23, 0.05); padding: 12px 14px; border-radius: 14px; }
.plan .btn { margin-top: auto; }
.plan-free { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* ============ GUARANTEE ============ */
.guarantee { position: relative; overflow: hidden; padding: 120px 0; }
.certificate {
  position: relative;
  display: grid; grid-template-columns: 180px 1fr; gap: 52px; align-items: center;
  max-width: 1000px; margin: 0 auto;
  padding: 52px 56px;
  border-radius: 36px;
  --g-tint: rgba(255, 255, 255, 0.07);
  --g-blur: 20px;
}
.certificate h2 { margin-bottom: 18px; }
.certificate p { color: rgba(255, 255, 255, 0.76); font-size: 1.08rem; margin: 0; }
.seal svg { width: 180px; height: 180px; }
.seal circle { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.seal text { fill: var(--gold); font-size: 9.4px; letter-spacing: 0.16em; font-family: var(--font); font-weight: 600; }
.seal .seal-big { font-size: 30px; letter-spacing: -0.03em; font-weight: 600; }
.seal .ring { transform-origin: 60px 60px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ ABOUT ============ */
.about { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.about h2 { margin-bottom: 24px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.about p { color: #33433a; font-size: 1.06rem; max-width: 36em; }
.role { color: var(--brand) !important; font-weight: 600; font-size: 15px !important; margin-bottom: 14px; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 32px;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(46, 168, 102, 0.28), transparent),
    radial-gradient(70% 60% at 80% 90%, rgba(212, 178, 106, 0.3), transparent),
    #e4ebe6;
  display: grid; place-items: center; align-content: center; gap: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.portrait span { font-size: 120px; font-weight: 600; letter-spacing: -0.06em; color: var(--brand); line-height: 1; }
.portrait small { font-size: 13px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-sec { padding: 130px 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .head { position: sticky; top: 130px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.012em;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(15, 31, 23, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%2313201a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.5s var(--ease-spring), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(24, 123, 69, 0.14); }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq details p { color: var(--muted); padding: 0 52px 24px 0; margin: 0; }

/* ============ FINAL CTA ============ */
.cta { position: relative; overflow: hidden; padding: 150px 0; text-align: center; }
.cta-inner { position: relative; max-width: 780px; }
.cta h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; margin-bottom: 36px; }

/* ============ FOOTER ============ */
.footer { background: #082015; color: rgba(255, 255, 255, 0.7); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer-tag { margin-top: 16px; max-width: 26em; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 4px 0 16px; }
.footer-grid a:not(.brand) { display: block; text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: grid !important; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); margin: 0 !important; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer-legal { padding-top: 24px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.footer-legal p { margin: 0 0 6px; }

.mobile-cta { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .stage { height: 400px; max-width: 560px; width: 100%; margin: 0 auto; }
  .calc { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .why h2 { position: static; }
  .about-grid { grid-template-columns: 320px 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { top: 10px; padding: 0 12px; }
  .nav-pill { height: 56px; padding: 0 6px 0 14px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 50%;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease-spring); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-sheet {
    pointer-events: none;
    display: flex; flex-direction: column;
    width: 100%; margin-top: 8px;
    padding: 10px;
    border-radius: 28px;
    color: inherit;
    opacity: 0; transform: translateY(-12px) scale(0.96); transform-origin: top center;
    transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-spring);
    --g-tint: rgba(11, 42, 27, 0.84);
    --g-blur: 28px;
    color: #fff;
  }
  .nav[data-theme="light"] .nav-sheet { --g-tint: rgba(255, 255, 255, 0.88); color: var(--ink); }
  .nav.open .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav-sheet a:not(.btn) { padding: 14px 14px; text-decoration: none; font-size: 17px; font-weight: 500; border-radius: 14px; }
  .nav-sheet .btn { margin-top: 8px; }

  .hero { padding: 110px 0 60px; min-height: 0; }
  .lead { font-size: 1.06rem; }
  .stage { height: 330px; }
  .glass-slab { width: 260px; height: 164px; margin: -140px 0 0 -100px; }
  .metal-wrap { margin: -86px 0 0 -150px; }
  .metal { width: 286px; height: 180px; padding: 18px 20px; border-radius: 18px; }
  .metal-num { font-size: 15px; }
  .metal-top img { width: 32px; height: 32px; }
  .emv { width: 36px; height: 28px; }
  .stat { margin-top: 40px; min-width: 0; padding: 14px 18px; }
  .stat-value { font-size: 32px; }
  .concept-note { margin-top: 28px; padding: 0 20px; }

  .statement { padding: 100px 0; }
  .how, .estimate, .why, .services, .about, .faq-sec { padding: 90px 0; }
  .guarantee, .cta { padding: 100px 0; }
  .head { margin-bottom: 44px; }

  .timeline { grid-template-columns: 1fr; gap: 36px; padding-left: 64px; }
  .track { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .track-fill { transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--brand), #4cc785); }
  .node { position: absolute; left: -64px; top: -6px; margin: 0; }
  .tstep { padding-right: 0; }

  .calc { padding: 8px; border-radius: 28px; }
  .calc-inputs { padding: 26px 18px; }
  .calc-result { padding: 30px 22px 24px; border-radius: 22px; }
  .seg span:not(.seg-thumb) { padding: 9px 13px; font-size: 14px; }

  .points { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 30px 24px 24px; }
  .certificate { grid-template-columns: 1fr; gap: 24px; padding: 34px 26px; border-radius: 30px; }
  .seal svg { width: 130px; height: 130px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 280px; }
  .faq-grid .head { position: static; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 110px; }

  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 6px; border-radius: 999px;
    --g-tint: rgba(11, 42, 27, 0.35);
    transform: translateY(140%);
    transition: transform 0.7s var(--ease-spring);
  }
  .mobile-cta.show { transform: none; }
}
/* phones: let the headline wrap naturally; reveal it as one block instead of per line */
@media (max-width: 640px) {
  .hero-title .line, .hero-title .line > span { display: inline; overflow: visible; }
  .js .hero-title { opacity: 0; transform: translateY(24px); }
  .loaded .hero-title { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 0.15s, transform 1.1s var(--ease-out) 0.15s; }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .seg span:not(.seg-thumb) { padding: 9px 11px; font-size: 13.5px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .nav-pill, .js .hero-title, .js .hero-title .line > span, .js .load-in, .js .stage, .js .stat { opacity: 1; transform: none; scale: 1; }
  .btn, .plan, .seg-thumb, .node { transition: none; }
}
