:root {
  --green: #22c55e;
  --green-strong: #16a34a;
  --green-deep: #15803d;
  --green-soft: #e9fbf0;
  --navy: #0f172a;
  --night: #07111f;
  --slate: #64748b;
  --muted: #94a3b8;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --radius: 20px;
  --display: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --script: Caveat, "Segoe Script", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--navy); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; padding: 16px max(4vw, 16px) 0; }
.bar {
  max-width: 1280px; height: 68px; margin: 0 auto; padding: 0 12px 0 20px;
  display: flex; align-items: center; gap: 36px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.18);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 44px; height: 33px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
.wordmark span { color: var(--green); }
.bar nav { display: flex; gap: 28px; margin-right: auto; font-size: 15px; font-weight: 600; color: #334155; }
.bar nav a:hover { color: var(--green-strong); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.icon-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--navy); transition: background 0.15s ease, color 0.15s ease; }
.icon-link:hover { background: var(--green-soft); color: var(--green-strong); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 12px;
  background: var(--green); color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--green-strong); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(34, 197, 94, 0.45); }
.btn .icon { width: 20px; height: 20px; }
.btn-small { padding: 11px 18px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.5); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); }
.btn-light:hover { background: #fff; color: var(--green-strong); box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; margin-top: -84px; padding: 176px max(5vw, 20px) 104px; color: #fff;
  background:
    radial-gradient(900px 540px at 80% 48%, rgba(34, 197, 94, 0.22), transparent 62%),
    radial-gradient(700px 500px at 8% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(135deg, #07111f 0%, #0b1a2c 60%, #0d2135 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 72%);
}
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 14px; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }
.hero h1 { font-size: clamp(44px, 6vw, 82px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.03; }
.accent { color: var(--green); background: linear-gradient(90deg, #4ade80, #22c55e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin: 26px 0 0; max-width: 600px; font-size: 19px; color: #cbd5e1; }
.hero .lead strong { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.features { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.features li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: #cbd5e1; }
.features .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(34, 197, 94, 0.12); color: var(--green); }

.hero-visual { position: relative; display: flex; justify-content: center; padding-top: 88px; }
.handwritten { margin: 0; font-family: var(--script); font-weight: 700; line-height: 1.05; }
.hero-visual .handwritten { position: absolute; z-index: 2; top: 0; right: 0; font-size: 34px; color: #bbf7d0; transform: rotate(-6deg); text-shadow: 0 0 26px rgba(34, 197, 94, 0.45); }
.score-card {
  position: relative; width: min(100%, 360px); padding: 26px 26px 22px; border-radius: 24px; background: #fff; color: var(--navy);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); transform: rotate(1.5deg);
}
.sample { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #f1f5f9; color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.score-top { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 16px; }
.product-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 22px; background: linear-gradient(145deg, #f1f5f9, #e2e8f0); color: var(--navy); }
.product-icon .icon { width: 50px; height: 50px; stroke-width: 1.5; }
.ring { position: relative; width: 80px; height: 80px; }
.ring svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: #e2e8f0; }
.ring .value { stroke: var(--green); stroke-linecap: round; stroke-dasharray: calc(var(--score) * 1.696px) 169.6px; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 25px; font-weight: 700; }
.score-card h3 { font-size: 20px; }
.score-card p { margin: 8px 0 18px; color: var(--slate); font-size: 14.5px; }
.verdict { display: flex; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--green-soft); color: var(--green-deep); font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.score-card small { display: block; margin-top: 12px; text-align: center; color: var(--muted); font-size: 12px; }

/* ---------- sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: 112px max(5vw, 20px) 8px; }
.section-head { max-width: 720px; }
.section h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; }
.section .lead { margin: 16px 0 0; font-size: 18px; color: var(--slate); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09); }
.card .icon { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--green-soft); color: var(--green-strong); }
.card h3 { margin-top: 22px; font-size: 21px; }
.card p { margin: 8px 0 0; color: var(--slate); font-size: 15px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05); }
.steps li { padding: 30px 28px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35); }
.steps h3 { margin-top: 18px; font-size: 18px; }
.steps p { margin: 8px 0 0; color: var(--slate); font-size: 14.5px; }

.about { max-width: 920px; margin: 0 auto; padding: 124px max(5vw, 20px) 64px; text-align: center; }
.handwritten.big { font-size: clamp(40px, 5.2vw, 66px); color: var(--navy); }
.swoosh { width: min(420px, 72%); height: auto; margin: 4px auto 0; color: var(--green); }
.about .lead { margin: 26px auto 0; max-width: 620px; font-size: 18px; color: var(--slate); }
.actions.center { justify-content: center; }
.pillars { list-style: none; margin: 68px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillars li { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #334155; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pillars .icon { width: 32px; height: 32px; color: var(--navy); }

.cta { padding: 24px max(5vw, 20px) 92px; }
.cta-inner { max-width: 1280px; margin: 0 auto; padding: 30px 36px; display: flex; align-items: center; gap: 22px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #07111f, #0f2236); box-shadow: 0 24px 60px rgba(7, 17, 31, 0.35); }
.cta-inner .icon { width: 46px; height: 46px; color: var(--green); stroke-width: 2.2; }
.cta-inner p { margin: 0 auto 0 0; font-family: var(--display); font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; }
.cta-inner strong { font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 30px max(5vw, 20px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; color: var(--slate); font-size: 14px; }
.footer-inner .brand { margin-right: auto; }
.footer-inner .brand-mark { width: 34px; height: 26px; }
.footer-inner .wordmark { font-size: 18px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner nav a:hover { color: var(--green-strong); }
.footer-inner p { width: 100%; margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual .handwritten { right: calc(50% - 190px); }
}
@media (max-width: 960px) {
  .bar nav { display: none; }
  .bar { gap: 16px; }
  .brand { margin-right: auto; }
  .features, .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .site-header { padding: 10px 12px 0; }
  .bar { height: 60px; padding: 0 8px 0 14px; }
  .brand-mark { width: 36px; height: 27px; }
  .wordmark { font-size: 19px; }
  .bar-actions .btn-small { display: none; }
  .hero { margin-top: -70px; padding: 132px 20px 72px; }
  .hero .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .features { grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 40px; }
  .features li { font-size: 13px; }
  .hero-visual { padding-top: 72px; }
  .hero-visual .handwritten { right: 10px; font-size: 28px; }
  .section { padding-top: 84px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(3) { border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .about { padding-top: 92px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 26px; }
  .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
