/* Home page styles. No external assets. */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); margin-right: 8px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* product mock */
.mock-wrap { position: relative; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(15,118,110,.45), var(--shadow); overflow: hidden; transition: transform .2s ease-out; }
.mock-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-head .chip { margin-left: auto; }
.dots { display: inline-flex; gap: 5px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-body { padding: 20px; display: grid; gap: 18px; }
.mock-body small { color: var(--ink-3); font-weight: 600; display: block; }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mock-total { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.delta { font-size: .72rem; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--brand-2); stroke-dasharray: 100; stroke-dashoffset: 100; animation: ringfill 1.8s .3s var(--ease) forwards; }
@keyframes ringfill { to { stroke-dashoffset: 8; } }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font-size: 1.4rem; letter-spacing: -.03em; } .ring-label small { font-size: .68rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 84px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--grad); transform-origin: bottom; animation: rise .9s var(--d) var(--ease) both; }
.bars i:last-child { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 30%, transparent); }
.attn { display: grid; gap: 8px; }
.attn-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; animation: slidein .7s var(--d) var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.mock-float { position: absolute; left: -18px; bottom: -22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: bob 5s -2s ease-in-out infinite; }
@media (max-width: 480px) { .mock-float { left: 8px; } .ring { width: 92px; height: 92px; } .mock-body { padding: 14px; } }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 48px; }
.ba-arrow { width: 56px; color: var(--brand); }
.ba-arrow .draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s ease-in-out infinite alternate; }
.ba-side { display: grid; gap: 18px; align-content: start; }
.ba-side .chip { justify-self: start; }
.sheet { display: grid; gap: 6px; padding: 12px; background: repeating-linear-gradient(0deg, var(--bg-2) 0 22px, var(--panel) 22px 23px); border: 1px solid var(--line); border-radius: 12px; }
.sheet i { display: block; height: 14px; border-radius: 3px; background: color-mix(in srgb, var(--ink-3) 35%, transparent); transform: rotate(var(--r)); }
.sheet i:nth-child(2n) { width: 82%; } .sheet i:nth-child(3n) { width: 64%; background: color-mix(in srgb, var(--bad) 30%, transparent); } .sheet i:nth-child(5n) { width: 93%; }
.checked { display: grid; gap: 8px; }
.checked div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .92rem; font-weight: 550; }
.js .clean:not(.in) .checked div { opacity: 0; transform: translateX(-16px); }
.checked div { transition: opacity .6s var(--d), transform .6s var(--d) var(--ease); }
.ok, .flag { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--good); position: relative; }
.ok::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.flag { background: var(--accent); } .flag::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 800; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.ticks li::before { margin-right: 8px; font-weight: 800; }
.ticks.bad li::before { content: "\00d7"; color: var(--bad); } .ticks.good li::before { content: "\2713"; color: var(--good); }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } .ba-arrow { transform: rotate(90deg); margin: 0 auto; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 48px 0 28px; display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: stretch; }
.steps .card { height: 100%; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; animation: pulse 2.6s infinite; }
.connector { display: grid; align-items: center; }
.connector svg { width: 100%; height: 12px; overflow: visible; }
.conn { stroke: var(--brand-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 0; } .connector { height: 44px; justify-items: center; } .connector svg { width: 12px; height: 44px; transform: rotate(90deg); } }

/* feature cards */
.feat { margin-top: 44px; margin-bottom: 36px; }
.fcard { display: block; color: inherit; }
.fcard h3 { color: var(--ink); } .fcard p { font-size: .96rem; }
.fcard .more { color: var(--brand); font-weight: 650; font-size: .92rem; }
.fcard:hover .icon-badge { transform: rotate(-6deg) scale(1.08); } .icon-badge { transition: transform .35s var(--ease); }

/* trust band */
.band { background: var(--bg-2); overflow: hidden; }
.stats { margin-top: 44px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat em { font-size: 1rem; font-style: normal; font-weight: 700; }
.stat > span { color: var(--ink-2); font-size: .95rem; display: block; }

/* final CTA */
.cta-sec { padding-top: 0; }
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px); text-align: center; color: #fff; background: linear-gradient(120deg, #064e48, #0f766e 45%, #4b3fc4); background-size: 160% 100%; animation: shimmer 12s linear infinite alternate; }
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; } .cta p { color: rgba(255,255,255,.88); max-width: 50ch; margin-inline: auto; font-size: 1.1rem; }
.cta-btn { background: #fff; color: #064e48; margin-top: 8px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); } .cta-btn:hover { transform: translateY(-2px) scale(1.03); }
.cta .btn:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ring-fg { stroke-dashoffset: 8; } .mock-wrap, .mock-float, .cta { animation: none; }
  .js .clean:not(.in) .checked div { opacity: 1; transform: none; }
}
