/* Tool, audience, comparison and translated pages. Loaded after app.css; same tokens. */
.sp { --rad: 22px; --card: linear-gradient(#1c1c20e6, #101013eb); --card-line: inset 0 0 0 1px #ffffff12; }
.sp-wrap { width: min(var(--wide), 100%); margin: 0 auto; padding-inline: var(--gutter); }
.sp section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.sp h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; max-width: 22ch; }
.sp h2 + .sub { margin-top: .9rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.45; max-width: 40rem; text-wrap: pretty; }
.sp .kicker { display: block; margin-bottom: .9rem; font-size: var(--t-cap); font-weight: 600; letter-spacing: .02em; color: var(--accent); text-transform: uppercase; }
.sp a.inl, .sp .prose a { color: var(--link); }
.sp a.inl:hover, .sp .prose a:hover { text-decoration: underline; }

/* Hero: words left, the real action circle right */
.sp-hero { position: relative; padding-top: clamp(7.5rem, 12vw, 9.5rem) !important; overflow: clip; }
.sp-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 78% 38%, #0a84ff2e 0%, #0000 70%), radial-gradient(30% 40% at 10% 0%, #bf5af214 0%, #0000 70%); }
.sp-hero .sp-wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--t-cap); color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .45rem; border-radius: 999px; font-size: var(--t-cap); color: var(--ink-2);
  background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff17; }
.eyebrow i { width: 1.35rem; height: 1.35rem; border-radius: 999px; display: grid; place-items: center; background: #0a84ff; color: #fff; font-style: normal; }
.eyebrow i svg { width: .8rem; height: .8rem; }
.sp-hero h1 { margin-top: 1.1rem; font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.028em; font-weight: 600; text-wrap: balance; }
.sp-hero h1 em { font-style: normal; background: linear-gradient(92deg, #4aa8ff, #0a84ff 45%, #7a6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-hero .lead { max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.cta-row .fine { font-size: var(--t-cap); color: var(--ink-3); line-height: 1.5; }
.cta-row .fine b { color: var(--ink-2); font-weight: 500; }
.answer { margin-top: 2rem; max-width: 36rem; padding: 1rem 1.25rem; border-radius: 16px; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff12; color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; }
.answer b { color: var(--ink); }
.answer .upd { display: block; margin-top: .45rem; font-size: .75rem; color: var(--ink-3); }

.stage2 { position: relative; aspect-ratio: 1 / 1; width: min(32rem, 100%); justify-self: center; display: grid; place-items: center; }
.stage2::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, #0a84ff33, #0a84ff0d 60%, #0000); filter: blur(10px); }
.stage2 .fl { position: relative; width: 86%; animation: sp-float 7s ease-in-out infinite; }
.stage2 .bloom { width: 100%; height: auto; filter: drop-shadow(0 40px 60px #000c); }
.stage2 .hl { position: absolute; width: 13.5%; aspect-ratio: 1; border-radius: 26%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px #0a84ff, 0 0 30px 4px #0a84ff80; animation: sp-pulse 2.4s ease-in-out infinite; }
.rpill { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem .6rem .6rem; border-radius: 999px; white-space: nowrap;
  background: #2c2c30f2; box-shadow: inset 0 0 0 1px #ffffff1c, 0 18px 40px -10px #000; backdrop-filter: blur(14px); animation: sp-rise .9s var(--ease-out) .3s both; }
.rpill .ok { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: #30d158; color: #fff; flex-shrink: 0; }
.rpill .ok svg { width: 1rem; height: 1rem; }
.rpill b { display: block; font-size: .9rem; font-weight: 600; }
.rpill small { display: block; font-size: .78rem; color: var(--ink-2); }
.rpill .tag { margin-left: .4rem; padding: .25rem .55rem; border-radius: 999px; background: #30d15826; color: #30d158; font-size: .8rem; font-weight: 600; }
.stage2.shot { aspect-ratio: auto; width: 100%; }
.stage2.shot img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px #ffffff1a, 0 40px 80px -24px #000; }
@keyframes sp-float { 50% { transform: translateY(-10px); } }
@keyframes sp-pulse { 50% { box-shadow: 0 0 0 2px #0a84ff, 0 0 46px 10px #0a84ff66; } }
@keyframes sp-rise { from { opacity: 0; transform: translate(-50%, 14px); } }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--hair-soft); }
.proof div { padding: 1.4rem 1.25rem; }
.proof div + div { border-left: 1px solid var(--hair-soft); }
.proof b { display: block; font-size: 1.05rem; font-weight: 600; }
.proof span { font-size: var(--t-cap); color: var(--ink-3); }
.sp section.proofs { padding-block: 0 1rem; }

/* Steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; counter-reset: s; }
.steps3 li { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--rad); background: var(--card); box-shadow: var(--card-line); counter-increment: s; }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; margin-bottom: 1.1rem; font-size: .9rem; font-weight: 600;
  color: #fff; background: linear-gradient(#2f95ff, #0a6ee0); box-shadow: 0 6px 18px -4px #0a84ffaa; }
.steps3 b { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.steps3 p { margin-top: .4rem; color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; }

/* Ways compared: three columns */
.ways3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.way { padding: 1.5rem; border-radius: var(--rad); background: var(--card); box-shadow: var(--card-line); }
.way.best { background: radial-gradient(120% 80% at 50% -20%, #0a84ff26, #0000 60%), var(--card); box-shadow: inset 0 0 0 1px #0a84ff66, 0 30px 60px -30px #0a84ff55; }
.way h3 { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.way h3 small { font-size: .72rem; font-weight: 600; color: #fff; background: #0a84ff; padding: .2rem .55rem; border-radius: 999px; }
.way .how { margin-top: .5rem; color: var(--ink-3); font-size: var(--t-cap); line-height: 1.5; min-height: 2.5em; }
.way ul { margin-top: 1.1rem; display: grid; gap: .6rem; }
.way li { display: grid; grid-template-columns: 1.15rem 1fr; gap: .6rem; font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.way li svg { width: 1.15rem; height: 1.15rem; margin-top: .12rem; }
.way li.y svg { color: #30d158; } .way li.n svg { color: #ff453a; } .way li.m svg { color: #ff9f0a; }

/* Long-form copy */
.prose { max-width: 44rem; }
.prose h2 { margin: 3rem 0 .9rem; font-size: clamp(1.5rem, 2.4vw, 1.9rem); max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 .4rem; font-size: 1.15rem; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: .9rem; }
.prose ol, .prose ul { margin: .8rem 0 0 1.25rem; } .prose ol { list-style: decimal; } .prose ul { list-style: disc; }
.prose li { margin-bottom: .45rem; } .prose li::marker { color: var(--ink-3); }
.prose b, .prose strong, .prose em { color: var(--ink); }
.prose .tablewrap { overflow-x: auto; margin-top: 1rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid #ffffff14; color: var(--ink-2); line-height: 1.5; }
.prose th { color: var(--ink); font-weight: 600; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 4rem; align-items: start; }
.aside { position: sticky; top: 7rem; padding: 1.4rem; border-radius: var(--rad); background: var(--card); box-shadow: var(--card-line); }
.aside p { font-size: var(--t-cap); color: var(--ink-3); }
.aside b { display: block; font-size: 1rem; margin-bottom: .4rem; }
.aside ul { margin-top: .9rem; display: grid; gap: .5rem; }
.aside li { font-size: var(--t-cap); color: var(--ink-2); display: flex; gap: .5rem; }
.aside li svg { width: 1rem; height: 1rem; color: #30d158; flex-shrink: 0; margin-top: .1rem; }
.aside .btn { width: 100%; margin-top: 1.2rem; }

/* Comparison table */
.cmpwrap { margin-top: 2.5rem; overflow-x: auto; border-radius: var(--rad); box-shadow: var(--card-line); background: var(--card); }
.cmp { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: var(--t-small); }
.cmp th, .cmp td { padding: .95rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #ffffff10; color: var(--ink-2); line-height: 1.45; }
.cmp thead th { color: var(--ink); font-weight: 600; font-size: var(--t-cap); text-transform: uppercase; letter-spacing: .03em; }
.cmp tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.cmp tr.us th, .cmp tr.us td { background: #0a84ff14; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* Cards grid (jobs, related) */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.tile { position: relative; padding: 1.5rem; border-radius: var(--rad); background: var(--card); box-shadow: var(--card-line); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast); }
.tile .ic { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--tone, #0a84ff) 16%, transparent); color: var(--tone, #0a84ff); }
.tile .ic svg { width: 1.3rem; height: 1.3rem; }
.tile b { display: block; font-size: 1.08rem; font-weight: 600; letter-spacing: -.012em; }
.tile p { margin-top: .4rem; font-size: var(--t-small); color: var(--ink-2); line-height: 1.55; }
a.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #ffffff26, 0 24px 50px -24px #000; }
a.tile .go { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--ink-3); transition: transform var(--dur-fast), color var(--dur-fast); }
a.tile:hover .go { color: var(--ink); transform: translateX(3px); }
a.tile .go svg { width: 1rem; height: 1rem; }

/* FAQ */
.faq2 { margin-top: 2rem; max-width: 50rem; border-top: 1px solid var(--hair-soft); }
.faq2 details { border-bottom: 1px solid var(--hair-soft); }
.faq2 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.012em; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-3); transition: transform var(--dur-fast) var(--ease-out); }
.faq2 details[open] summary::after { transform: rotate(45deg); }
.faq2 details p { padding: 0 0 1.3rem; color: var(--ink-2); line-height: 1.6; max-width: 44rem; }

/* Closing band */
.band { text-align: center; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); border-radius: 32px; background: radial-gradient(70% 120% at 50% -20%, #0a84ff40, #0000 60%), linear-gradient(#141418, #0b0b0d); box-shadow: inset 0 0 0 1px #ffffff14; }
.band h2 { margin: 0 auto; max-width: 20ch; }
.band p { margin: 1rem auto 0; color: var(--ink-2); max-width: 32rem; }
.band .btn { margin-top: 2rem; }
.band .fine { margin-top: 1rem; font-size: var(--t-cap); color: var(--ink-3); }
.btn.store .glyph { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* Language switcher */
.langs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.langs a { font-size: var(--t-cap); color: var(--ink-3); }
.langs a:hover, .langs a[aria-current] { color: var(--ink); }

/* Score bars on the comparison page */
.sp-note { margin-top: 1rem; font-size: var(--t-cap); color: var(--ink-3); max-width: 50rem; line-height: 1.55; }

@media (max-width: 900px) {
  .sp-hero .sp-wrap, .split2 { grid-template-columns: minmax(0, 1fr); }
  .stage2 { width: min(24rem, 90%); }
  .aside { position: static; }
  .steps3, .ways3, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--hair-soft); }
}
@media (min-width: 901px) and (max-width: 1100px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .stage2 .fl, .stage2 .hl, .rpill { animation: none; } a.tile:hover { transform: none; } }
/* review fixes: no native list numbers on step cards; section subtitles align with their heading; larger hero art */
.steps3 { list-style: none; padding: 0; }
.steps3 li::marker { content: none; }
.sp h2 + .sub { text-align: left; margin-left: 0; margin-right: 0; }
@media (min-width: 901px) { .stage2:not(.shot) { width: min(38rem, 100%); } .stage2 .fl { width: 100%; } }
