/* Landing page. Builds on site.css tokens. */
body.landing { display: block; padding: 0; }
.landing main, .top, .site-foot { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--t1); color: var(--ink); }
.skip:focus { left: 8px; z-index: 9; }
.landing a:focus-visible, .landing button:focus-visible, .landing summary:focus-visible { outline: 2px solid rgb(var(--peri-rgb)); outline-offset: 3px; border-radius: 12px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; }
.top .brand { margin: 0; }
.top nav { display: flex; gap: 22px; }
.top nav a, .site-foot a { color: var(--t2); font-weight: 620; font-size: 14.5px; text-decoration: none; }
.top nav a:hover, .site-foot a:hover { color: var(--t1); }

.hero { padding: 88px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; margin: 0 auto; }
.hero-lead { max-width: 560px; margin: 22px auto 0; font-size: 18px; line-height: 1.55; color: var(--t2); font-weight: 520; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn-link { display: inline-flex; align-items: center; padding: 0 26px; text-decoration: none; }
.btn-ghost { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 15.5px; color: var(--t1); text-decoration: none; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); transition: background 140ms; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.09); }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--t3); }

.ribbon { margin: 64px auto 0; max-width: 920px; padding: 28px 28px 20px; border-radius: 26px; background: linear-gradient(180deg, var(--bay-hi), var(--bay) 50%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 40px 80px -30px rgb(var(--shadow-rgb) / 0.95); }
.ribbon svg { display: block; width: 100%; height: auto; }
.raw { fill: none; stroke: rgb(var(--peach-rgb) / 0.32); stroke-width: 1.6; stroke-linejoin: round; }
.peri-raw { stroke: rgb(var(--peri-rgb) / 0.32); }
.clean.peach { fill: rgb(var(--peach-rgb) / 0.9); }
.clean.peri { fill: rgb(var(--peri-rgb) / 0.9); }
.ribbon figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13.5px; font-weight: 620; color: var(--t2); }
.ribbon .muted { color: var(--t3); font-weight: 520; margin-left: auto; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.peach-dot { background: rgb(var(--peach-rgb)); }
.peri-dot { background: rgb(var(--peri-rgb)); }

.block { padding: 96px 0 0; }
.block h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 760; letter-spacing: -0.03em; line-height: 1.12; }
.sub { margin-top: 10px; color: var(--t2); font-size: 16px; }
.block h3 { font-size: 17px; font-weight: 720; letter-spacing: -0.015em; }
.block li p, .faq p { margin-top: 6px; color: var(--t2); font-size: 15px; }

.how { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.how li { counter-increment: n; padding: 24px; border-radius: 22px; background: rgb(255 255 255 / 0.03); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.how li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 16px; border-radius: 50%; font-weight: 760; font-size: 14px; color: var(--ink); background: rgb(var(--peach-rgb)); }
.how li:nth-child(2)::before { background: linear-gradient(140deg, rgb(var(--peach-rgb)), rgb(var(--peri-rgb))); }
.how li:nth-child(3)::before { background: rgb(var(--peri-rgb)); }

.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; border-radius: 22px; overflow: hidden; background: rgb(255 255 255 / 0.06); }
.features li { padding: 26px 24px; background: var(--win-1); }

.toggle { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.toggle button { height: 38px; padding: 0 16px; border-radius: 10px; font-weight: 680; font-size: 14px; color: var(--t2); }
.toggle button[aria-selected="true"] { color: var(--ink); background: var(--t1); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: start; gap: 20px; margin-top: 24px; }
.plan { position: relative; padding: 28px 26px; border-radius: 24px; background: linear-gradient(180deg, var(--bay-hi), var(--bay) 50%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.04); }
.plan[data-hl] { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(var(--peach-rgb) / 0.45); }
.badge { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: rgb(var(--peach-rgb)); background: rgb(var(--peach-rgb) / 0.12); }
.price { margin-top: 14px; font-size: 40px; font-weight: 780; letter-spacing: -0.035em; }
.price small { font-size: 15px; font-weight: 600; color: var(--t3); letter-spacing: 0; }
.save { margin-top: 2px; font-size: 13.5px; font-weight: 650; color: rgb(var(--sage-rgb)); min-height: 20px; }
.perks { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; }
.perks li { margin: 0; padding-left: 22px; position: relative; font-size: 14.5px; color: var(--t2); }
.perks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 5px; border-left: 2px solid rgb(var(--sage-rgb)); border-bottom: 2px solid rgb(var(--sage-rgb)); transform: rotate(-45deg); }
.plan .btn-ghost { width: 100%; justify-content: center; }
.plan-note { margin-top: 10px; font-size: 13px; color: var(--t3); text-align: center; }

.sumo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 72px; padding: 22px 26px; border-radius: 20px; background: rgb(var(--sand-rgb) / 0.07); box-shadow: inset 0 0 0 1px rgb(var(--sand-rgb) / 0.18); color: var(--t2); }
.sumo strong { color: var(--t1); }

.faq { margin-top: 26px; max-width: 760px; }
.faq details { border-top: 1px solid rgb(255 255 255 / 0.07); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--t3); font-weight: 500; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }

.site-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 80px; padding-bottom: 48px; font-size: 14px; color: var(--t3); }
.site-foot span { margin-right: auto; }

@media (max-width: 820px) {
  .how, .features { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .hero { padding-top: 56px; }
  .block { padding-top: 72px; }
  .ribbon { padding: 18px 16px 14px; }
  .ribbon .muted { margin-left: 0; }
}
@media (max-width: 420px) {
  .landing main, .top, .site-foot { padding: 0 18px; }
  .hero-lead { font-size: 16.5px; }
  .plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn-ghost { transition: none; } }

.plan-devices { margin-top: 4px; font-size: 14px; font-weight: 650; color: var(--t2); }
