@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

body.home {
  --h-bg: #f5f3ec;
  --h-surface: #ffffff;
  --h-ink: #10131a;
  --h-ink-2: #3b414c;
  --h-ink-3: #4a505c;
  --h-rule: #dedacf;
  --h-rule-2: #eeebe2;
  --h-accent: #2448f5;
  --h-accent-hover: #1530b8;
  --h-on-accent: #ffffff;
  --h-accent-tint: #f7f8ff;
  --h-part: #e3e9ff;
  --h-part-ink: #10131a;
  --h-no: #9a3b08;
  --h-no-soft: #fbe6d8;
  --h-ok: #2fa866;
  --h-ok-2: #7ce0a3;
  --h-team: #c9c4b6;
  --h-dark: #10131a;
  --h-dark-ink: #f5f3ec;
  --h-dark-2: #b9bdc6;
  --h-dark-rule: #262a34;
  --h-dark-chip: #353a46;
  --h-dark-accent: #9db0ff;
  --h-grid: rgb(16 19 26 / 6%);
  --h-shadow: 0 40px 80px -40px rgb(16 19 26 / 45%);
  --h-display: "Space Grotesk", var(--f-display);
  --h-body: "Manrope", var(--f-body);
  --h-mono: "JetBrains Mono", var(--f-mono);
  background: var(--h-bg);
  color: var(--h-ink);
  font-family: var(--h-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body.home {
    --h-bg: #0e1015;
    --h-surface: #161922;
    --h-ink: #eceef3;
    --h-ink-2: #c3c7d0;
    --h-ink-3: #9aa0ab;
    --h-rule: #2a2e38;
    --h-rule-2: #22262f;
    --h-accent: #8fa3ff;
    --h-accent-hover: #b3c0ff;
    --h-on-accent: #0e1015;
    --h-accent-tint: #1a1f33;
    --h-part: #232b4a;
    --h-part-ink: #dfe5ff;
    --h-no: #ffb38a;
    --h-no-soft: #3a2216;
    --h-team: #4a4f5c;
    --h-dark: #07080b;
    --h-dark-rule: #1e222b;
    --h-dark-chip: #2c313c;
    --h-grid: rgb(236 238 243 / 5%);
    --h-shadow: 0 40px 80px -40px rgb(0 0 0 / 80%);
  }
}

.home a { color: var(--h-accent); }
.home a:hover { color: var(--h-accent-hover); }
.home h1, .home h2, .home h3 { font-family: var(--h-display); color: inherit; }
.home h2 { margin: 0 0 40px; font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; max-width: 18em; }

.h-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; box-sizing: border-box; }
.h-section { padding-block: 72px; }
.h-section-top { padding-top: 96px; padding-bottom: 24px; }
.h-mono { font-family: var(--h-mono); }
.h-muted { color: var(--h-ink-3); font-size: 15px; }
.h-fine { margin: 16px 0 0; font-size: 14px; color: var(--h-ink-3); }
.h-body { margin: 24px 0 0; color: var(--h-ink-2); }
.h-eyebrow { margin: 0 0 12px; font-family: var(--h-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--h-ink-3); display: flex; align-items: center; gap: 10px; }

.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 16px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.h-btn:hover { transform: translateY(-2px); }
.home .h-btn-accent { background: var(--h-accent); color: var(--h-on-accent); }
.home .h-btn-accent:hover { color: var(--h-on-accent); box-shadow: 0 12px 24px -10px var(--h-accent); }
.home .h-btn-ink { background: var(--h-ink); color: var(--h-bg); padding: 12px 18px; }
.home .h-btn-ink:hover { color: var(--h-bg); }
.home .h-btn-line { border: 1.5px solid var(--h-ink); color: var(--h-ink); background: var(--h-bg); }
.home .h-btn-line:hover { color: var(--h-ink); }
.home .h-btn-light { background: var(--h-dark-ink); color: var(--h-dark); padding: 18px 28px; }
.home .h-btn-light:hover { color: var(--h-dark); }

.h-nav { border-bottom: 1px solid var(--h-rule); background: var(--h-bg); position: relative; z-index: 2; }
.h-nav-row { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.h-nav .wordmark img { height: 40px; width: auto; }
.h-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; font-weight: 600; }
.home .h-links a:not(.h-btn) { color: var(--h-ink); text-decoration: none; }

.h-gridbg { position: relative; background-image: linear-gradient(var(--h-grid) 1px, transparent 1px), linear-gradient(90deg, var(--h-grid) 1px, transparent 1px); background-size: 48px 48px; animation: h-grid 6s linear infinite; }
.h-hero { padding-block: 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.h-hero-text { flex: 1 1 480px; min-width: 0; }
.h-hero-visual { flex: 1 1 420px; min-width: 0; position: relative; }
.home .h-hero h1 { margin: 0; font-weight: 700; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.home .h-hero h1 mark { background: none; color: var(--h-accent); padding: 0; }
.h-lead { margin: 24px 0 0; font-size: 19px; color: var(--h-ink-2); max-width: 34em; }
.h-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--h-ok); flex: none; animation: h-pulse 1.8s ease-out infinite; }
.h-dot-lg { width: 10px; height: 10px; background: var(--h-ok-2); }

.h-panel { background: var(--h-surface); border: 1px solid var(--h-rule); border-radius: 22px; }
.h-feedcard { padding: 22px 22px 8px; box-shadow: var(--h-shadow); position: relative; overflow: hidden; }
.h-sweepbar { position: absolute; inset: 0 0 auto 0; height: 3px; overflow: hidden; background: var(--h-rule-2); }
.h-sweepbar i { display: block; width: 100%; height: 100%; background: var(--h-accent); animation: h-sweep 2.8s ease-in-out infinite; }
.h-feedhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.h-feedhead .h-mono { font-size: 12px; text-transform: uppercase; }
.h-feedtitle { font-family: var(--h-display); font-weight: 700; font-size: 18px; }
.h-feedwin { height: 312px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
.h-feed { animation: h-feed 22s linear infinite; }
.h-feedwin:hover .h-feed { animation-play-state: paused; }
.h-feedlist { list-style: none; margin: 0; padding: 0; }
.h-feedrow { height: 78px; box-sizing: border-box; border-top: 1px solid var(--h-rule-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h-feedjob { min-width: 0; display: flex; flex-direction: column; }
.h-feedjob b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-feedjob span { font-size: 13px; color: var(--h-ink-3); }
.h-feedfoot { margin: 0; padding: 10px 0 8px; font-size: 12px; color: var(--h-ink-3); border-top: 1px solid var(--h-rule-2); }
.h-toast { margin: -22px 16px 0 auto; width: fit-content; max-width: 90%; position: relative; background: var(--h-dark); color: var(--h-dark-ink); border: 1px solid var(--h-dark-rule); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; box-shadow: 0 16px 30px -12px rgb(16 19 26 / 50%); animation: h-toast 7s ease-in-out 1.6s infinite both; }

.h-pill { flex: none; font-family: var(--h-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1.5px solid transparent; white-space: nowrap; }
.h-pill-yes { color: var(--h-on-accent); background: var(--h-accent); border-color: var(--h-accent); }
.h-pill-no { color: var(--h-no); background: var(--h-no-soft); }
.h-pill-part { color: var(--h-part-ink); background: var(--h-part); }
.h-stamp { font-size: 12px; padding: 5px 12px; }
.h-stamp.h-pill-no { border-color: var(--h-no); }

.h-dark { background: var(--h-dark); color: var(--h-dark-ink); }
.h-factgrid { padding-block: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: center; }
.h-factgrid div { display: flex; flex-direction: column; }
.h-num { font-family: var(--h-display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.h-factgrid span, .h-factnote { font-size: 14px; color: var(--h-dark-2); }
.h-factnote { margin: 0; font-size: 12px; }
.h-marquee { border-top: 1px solid var(--h-dark-rule); overflow: hidden; padding: 16px 0; display: flex; gap: 12px; }
.h-marquee-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 12px; animation: h-marquee 45s linear infinite; }
.h-marquee:hover .h-marquee-track, .h-marquee:focus-within .h-marquee-track { animation-play-state: paused; }
.home .h-marquee a { display: block; color: var(--h-dark-ink); text-decoration: none; border: 1px solid var(--h-dark-chip); border-radius: 999px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.home .h-marquee a:hover { border-color: var(--h-dark-accent); color: var(--h-dark-ink); }

.h-reach { padding: 28px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; margin: 0; }
.h-axis { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11px; color: var(--h-ink-3); }
.h-reachrow { display: flex; flex-direction: column; gap: 10px; }
.h-reachmeta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.h-reachrole { font-weight: 700; }
.h-track { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--h-bg); border-radius: 10px; }
.h-overlap { position: absolute; top: 0; bottom: 0; background: var(--h-accent); opacity: .18; border-radius: 6px; transform-origin: left; animation: h-grow .8s cubic-bezier(.2,.7,.2,1) 1.4s both; }
.h-band { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); height: 16px; }
.h-band i { display: block; }
.h-band i.on { --c: var(--h-ink); background: var(--c); box-shadow: 1px 0 0 var(--c); }
.h-team i.on { --c: var(--h-team); }
.h-team-yes i.on { --c: color-mix(in srgb, var(--h-accent) 45%, var(--h-bg)); }
.h-team-yes i.both { --c: var(--h-accent); }
.h-team { animation: h-slide 1.2s cubic-bezier(.2,.7,.2,1) .3s both; }
.h-stamp { animation: h-pop .6s cubic-bezier(.2,.7,.2,1) 1.9s both; }
.h-reachsum { margin: 0; font-size: 14px; color: var(--h-ink-3); }
.h-reach .h-fine { margin: 0; font-size: 13px; }

.h-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.h-card { background: var(--h-surface); border: 1px solid var(--h-rule); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.h-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgb(16 19 26 / 35%); }
.h-card h3 { margin: 0; font-size: 24px; }
.h-card p { margin: 0; color: var(--h-ink-2); font-size: 16px; }
.h-num-s { font-family: var(--h-mono); font-size: 13px; font-weight: 600; color: var(--h-accent); }
.h-card-dark { background: var(--h-dark); color: var(--h-dark-ink); border-color: var(--h-dark-rule); }
.h-card-dark p { color: #cdd1d9; }
.h-card-dark .h-num-s { color: var(--h-dark-accent); }
.h-receipt { margin-top: auto !important; display: flex; gap: 14px; font-size: 13px; }
.h-t1 { color: var(--h-dark-ink); animation: h-tick 4s ease infinite; }
.h-t2 { color: var(--h-ok-2); animation: h-tick2 4s ease infinite; }

.h-band-white { background: var(--h-surface); border-block: 1px solid var(--h-rule); }
.h-band-white .h-section { padding-block: 96px; }
.h-split { display: flex; flex-wrap: wrap; gap: 56px; }
.h-split-text { flex: 1 1 360px; min-width: 0; }
.h-split-text h2 { margin: 0; }
.h-split-list { flex: 1 1 480px; min-width: 0; }
.h-proof { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.h-proof .h-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 16px; }
.h-proof .h-pill { font-size: 12px; padding: 4px 10px; }
.h-proof .h-card p { font-size: 15px; color: var(--h-ink-3); margin-top: 6px; }
.h-proof .h-card p.h-ask { font-size: 17px; font-weight: 700; color: var(--h-ink); margin: 0; }

.h-tablewrap { overflow-x: auto; border-radius: 18px; }
.h-compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.h-compare th { text-align: left; padding: 18px 24px; font-family: var(--h-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--h-ink-3); border-bottom: 1px solid var(--h-rule); }
.h-compare th.ours { color: var(--h-accent); }
.h-compare td { padding: 18px 24px; border-bottom: 1px solid var(--h-rule-2); color: var(--h-ink-3); }
.h-compare tr:last-child td { border-bottom: 0; }
.h-compare td.ours { color: var(--h-ink); font-weight: 600; }

.h-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.h-plan { padding: 28px; gap: 12px; border-radius: 20px; }
.h-plan-featured { border: 2px solid var(--h-accent); background: var(--h-accent-tint); }
.h-planhead { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.h-planname { font-weight: 700; }
.h-price { font-family: var(--h-display); font-weight: 700; font-size: 44px; letter-spacing: -0.02em; }
.h-price s { font-size: 24px; color: var(--h-ink-3); }
.h-plan .h-btn { margin-top: auto; padding: 14px 18px; }
.home .h-plan .h-btn-line { background: transparent; }
.h-refund { max-width: 60em; }

.h-faqwrap { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 96px; }
.h-faqwrap h2 { flex: 1 1 280px; margin: 0; }
.h-faq { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.h-faq details { border-bottom: 1px solid var(--h-rule); padding: 20px 0; }
.h-faq summary { font-weight: 700; font-size: 18px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.h-faq p { margin: 10px 0 0; color: var(--h-ink-2); }

.h-gridbg-dark { --h-grid: rgb(245 243 236 / 5%); }
.h-cta { padding-block: 112px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.h-cta > div:first-child { flex: 1 1 520px; }
.home .h-cta h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.h-cta h2 span { color: var(--h-dark-accent); }
.h-cta p { margin: 16px 0 0; color: var(--h-dark-2); max-width: 36em; }
.h-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.home .h-cta-link { color: var(--h-dark-2); font-size: 14px; text-align: center; }
.home .h-cta-link:hover { color: var(--h-dark-ink); }
.home .h-dark .site-footer { background: transparent; border-top: 1px solid var(--h-dark-rule); color: var(--h-dark-2); }
.home .h-dark .site-footer a { color: var(--h-dark-2); }
.home .h-dark .site-footer a:hover { color: var(--h-dark-ink); }

@keyframes h-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes h-pop { 0% { opacity: 0; transform: scale(1.6) rotate(-6deg); } 60% { opacity: 1; transform: scale(.94) rotate(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes h-feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes h-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 12px)); } }
@keyframes h-pulse { 0% { box-shadow: 0 0 0 0 rgb(124 224 163 / 70%); } 70% { box-shadow: 0 0 0 12px rgb(124 224 163 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(124 224 163 / 0%); } }
@keyframes h-slide { from { opacity: 0; transform: translateX(60%); } to { opacity: 1; transform: none; } }
@keyframes h-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes h-grid { from { background-position: 0 0; } to { background-position: 48px 48px; } }
@keyframes h-toast { 0%, 8% { opacity: 0; transform: translateY(16px) scale(.96); } 14%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes h-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes h-tick { 0%, 30% { opacity: .25; } 40%, 100% { opacity: 1; } }
@keyframes h-tick2 { 0%, 60% { opacity: .25; } 70%, 100% { opacity: 1; } }

.h-rise { animation: h-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.h-d1 { animation-delay: .08s; } .h-d2 { animation-delay: .22s; } .h-d3 { animation-delay: .38s; } .h-d4 { animation-delay: .54s; } .h-d5 { animation-delay: .7s; }

@supports (animation-timeline: view()) {
  .h-reveal { animation: h-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .h-team, .h-overlap, .h-stamp { animation-timeline: view(); animation-range: entry 10% cover 45%; animation-delay: 0s; animation-duration: auto; }
}

@media (max-width: 640px) {
  .h-links { gap: 8px 16px; font-size: 14px; }
  .h-links a[href^="#"] { display: none; }
  .h-nav .wordmark img { height: 32px; }
  .h-hero, .h-section { padding-block: 48px; }
  .h-band-white .h-section, .h-faqwrap { padding-block: 64px; }
  .h-cta { padding-block: 72px; }
  .h-reach { padding: 20px; }
  .h-proof .h-card { flex-direction: column; gap: 10px; }
  .h-compare { min-width: 0; font-size: 15px; }
  .h-compare th, .h-compare td { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after, body.home .h-gridbg { animation: none !important; transition: none !important; }
}
