/* Landing page */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-hero); padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(620px 320px at 85% -5%, rgba(139, 92, 246, .55), transparent 65%),
  radial-gradient(520px 320px at 5% 110%, rgba(6, 182, 212, .35), transparent 65%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #cfd2ff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 14px; border-radius: 99px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 4.2rem); max-width: 17ch; margin-bottom: 20px; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4ff, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: #d6d9f5; max-width: 58ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { padding: 13px 24px; font-size: 1rem; background: #ff7a59; color: #10152a; box-shadow: 0 8px 28px rgba(255, 122, 89, .28); }
.hero .btn:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 10px 32px rgba(255, 122, 89, .4); }
.hero .btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.hero .btn.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px; color: #c3c7f0; font-size: .92rem; }
.hero-stats b { display: block; color: #fff; font-size: 1.35rem; letter-spacing: -.02em; }

.section { padding: clamp(40px, 6vw, 72px) 0 8px; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section .sub { color: var(--muted); max-width: 66ch; margin-bottom: 28px; font-size: 1.04rem; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card.live .ico { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(37, 84, 255, .3); }
.card h3 { font-size: 1.16rem; }
.card p { color: var(--muted); flex: 1; }
.card.live { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
a.card { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card .go { color: var(--accent-strong); font-weight: 700; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 99px; }
.tag.live { background: var(--cov-bg); color: var(--cov-fg); }
.tag.next { background: var(--accent-soft); color: var(--accent-strong); }
.tag.planned { background: var(--unk-bg); color: var(--unk-fg); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; counter-increment: s; }
.step::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1.06rem; margin-bottom: 4px; }
.step p { color: var(--muted); }
.privacy-band { margin-top: 56px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 20px; padding: 24px 28px; display: flex; gap: 14px; align-items: flex-start; }
.privacy-band b { display: block; margin-bottom: 2px; }

/* Hero with a product preview, pillars and the about card */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-card { border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 80px rgba(8, 6, 40, .45); backdrop-filter: blur(6px); overflow: hidden; transform: rotate(1.2deg); }
.hc-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.hc-title { margin-left: 8px; font-size: .78rem; color: #cfd2ff; letter-spacing: .04em; }
.hc-body { padding: 18px; display: grid; gap: 14px; color: #fff; }
.hc-score { display: flex; align-items: baseline; gap: 10px; }
.hc-score b { font-size: 3.2rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(90deg, #a5b4ff, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-score span { color: #c3c7f0; font-size: .9rem; }
.hc-rows { display: grid; gap: 8px; }
.hc-row { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: .92rem; color: #d6d9f5; }
.hc-row b { color: #fff; }
.hc-row b.up { color: #6ee7b7; }
.hc-row b.warn { color: #fcd34d; }
.hc-chart { width: 100%; height: 64px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-top: -34px; position: relative; z-index: 2; padding-top: 0; }
.pillar { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, var(--shadow)); }
.pillar h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.pillar p { margin: 0; color: var(--muted); }
.pi { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; }
.about-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 28px; align-items: center; padding: clamp(20px, 4vw, 36px); border-radius: 24px; background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid var(--line); }
.about-mark svg { width: 84px; height: 84px; display: block; filter: drop-shadow(0 10px 22px rgba(37, 84, 255, .3)); }
.about h2 { margin: 0 0 8px; }
.about p { color: var(--muted); max-width: 70ch; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { transform: none; max-width: 420px; }
  .pillars { margin-top: 18px; }
  .about-card { grid-template-columns: minmax(0, 1fr); }
  .about-cta { justify-self: start; }
}

.group-title { font-size: 1.05rem; margin: 28px 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

/* Phones: the page was about eight screens long. Tool cards become compact rows (icon beside the text), the "why" and "how" cards are tighter, and the whole card is the tap target. */
@media (max-width: 720px) {
  .tools { gap: 10px; }
  a.card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 14px 16px; border-radius: 16px; box-shadow: none; }
  a.card .ico { grid-row: 1 / span 4; width: 44px; height: 44px; margin: 0; }
  a.card .tag, a.card h3, a.card p, a.card .go { grid-column: 2; }
  a.card .tag { justify-self: start; }
  a.card h3 { font-size: 1.02rem; }
  a.card p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  a.card .go { display: none; }
  a.card:hover { transform: none; }
  .group-title { margin: 22px 0 8px; font-size: .95rem; }
  .pillar, .step { padding: 16px; border-radius: 16px; }
  .pillars, .steps { gap: 10px; }
  .section { padding-top: 32px; padding-bottom: 32px; }
}

/* Real tool screenshots, the journey strip and the feature sections (colours from the theme tokens only) */
.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.hero-shot { position: relative; }
.frame { margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame-bar .hc-dot { background: var(--line); }
.frame-url { margin-left: 8px; font-size: .74rem; color: var(--muted); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-img img { display: block; width: 100%; height: auto; }
.frame-img .shot-d { display: none; }
[data-theme="dark"] .frame-img .shot-l { display: none; }
[data-theme="dark"] .frame-img .shot-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .frame-img .shot-l { display: none; }
  :root:not([data-theme="light"]) .frame-img .shot-d { display: block; }
}
.frame-note { position: absolute; right: 10px; bottom: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.frame-hero { transform: perspective(1600px) rotateY(-5deg) rotateX(1.5deg); transition: transform .5s ease; }
.frame-hero:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.hero-chip { position: absolute; left: -18px; bottom: 34px; display: grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: chip-float 5s ease-in-out infinite; }
.hero-chip span { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hero-chip b { font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: var(--spark-text); }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.journey { padding: clamp(40px, 6vw, 64px) 0 8px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; counter-reset: none; }
.journey-steps li { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 4px; }
.journey-steps b { font-size: 1.05rem; }
.journey-steps li > span:last-child { color: var(--muted); line-height: 1.5; font-size: .92rem; }
.jn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--accent-ink); font-weight: 800; position: relative; z-index: 1; }
.journey-steps li::after { content: ""; position: absolute; top: 21px; left: 46px; right: -12px; height: 2px; background: var(--line); transform-origin: left; }
.journey-steps li:last-child::after { display: none; }
.js-reveal .journey-steps li::after { transform: scaleX(0); transition: transform .8s ease .3s; }
.js-reveal .journey-steps li.in::after { transform: scaleX(1); }
@media (max-width: 700px) { .journey-steps li::after { display: none; } }

.features { display: grid; gap: clamp(40px, 7vw, 88px); padding: clamp(40px, 6vw, 72px) 0 8px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.feature-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 10px; }
.feature-copy p { color: var(--muted); font-size: 1.04rem; line-height: 1.6; max-width: 52ch; }
.feature-copy ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.feature-copy li { position: relative; padding-left: 26px; line-height: 1.45; }
.feature-copy li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--cov-fg); }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .feature.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .feature.flip .feature-copy { order: 2; }
}


/* Scroll reveal: moves only, never starts invisible. Only when the script marked the page. */
.js-reveal .reveal { transform: translateY(28px); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.in { transform: none; }
.js-reveal .journey-steps li.reveal[data-delay="1"] { transition-delay: .1s; }
.js-reveal .journey-steps li.reveal[data-delay="2"] { transition-delay: .2s; }
.js-reveal .journey-steps li.reveal[data-delay="3"] { transition-delay: .3s; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .frame-hero { transform: none; }
  .hero-chip { left: 10px; bottom: 28px; padding: 8px 14px; }
  .hero-chip b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip { animation: none; }
  .frame-hero, .frame-hero:hover { transform: none; transition: none; }
  .js-reveal .reveal, .js-reveal .journey-steps li::after { transform: none; transition: none; }
}

/* Tidier order: How it works, the three features, why teams use it, tools, data statement */
.journey { padding: clamp(48px, 7vw, 80px) 0 clamp(8px, 2vw, 16px); }
.journey h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 26px; }
.why .pillars { margin-top: 20px; padding-top: 0; position: static; z-index: auto; }
.why .pi { background: var(--accent-soft); color: var(--accent); width: 40px; height: 40px; border-radius: 12px; }
.why .pi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why .pillar { box-shadow: none; }
#data .privacy-band { margin-top: 0; }
.features { padding-bottom: clamp(24px, 4vw, 40px); }
