/* SessionHub landing — light editorial, no background art. */

:root {
  --bg: #f7f6f3;
  --bg-2: #efeee9;
  --surface: #ffffff;
  --ink: #121212;
  --muted: #5c5a56;
  --line: #e4e2dc;
  --accent: #7c3aed;
  --shadow: 0 24px 60px -28px rgba(18, 18, 18, 0.28);
  --r: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body.landing-pro {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #2a2a2a; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink); }
.btn.lg { min-height: 48px; padding: 14px 26px; font-size: 15px; }
.btn.block { width: 100%; }

.link-quiet {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.link-quiet:hover { color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element. backdrop-filter on the header itself
   would trap the mobile menu, because a filter makes fixed children
   position against the header instead of the screen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand img { border-radius: 8px; }
.brand-name .accent { color: var(--accent); }

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.header-nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--muted);
}
.nav-mobile.open { display: flex; }

/* Type */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 600; }

h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 500;
}
h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0;
  font-weight: 500;
}

.lede {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34em;
}

.sec-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.sec-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.section { padding: 96px 0; }

/* Hero */
.hero { padding: 56px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-pills li {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
}

/* Hero screenshot carousel */
.hero-stage { position: relative; min-width: 0; }
.stage-frame { position: relative; }
.stage-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -4%;
  right: -4%;
  top: 8%;
  height: 62%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.2), transparent 68%);
  pointer-events: none;
}
.stage-viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 22px;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.stage-viewport::-webkit-scrollbar { display: none; }
.stage-viewport:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.stage-track { display: flex; align-items: stretch; }
.stage-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.stage-shot {
  aspect-ratio: 1226 / 783;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 30px 70px -34px rgba(18, 18, 18, 0.5), 0 0 0 1px rgba(18, 18, 18, 0.06);
}
.stage-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111;
  user-select: none;
  -webkit-user-drag: none;
}
.stage-slide figcaption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-height: 2.7em;
  margin: 14px 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.stage-slide figcaption span {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-arrow {
  position: absolute;
  z-index: 2;
  top: 36%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 18, 0.5);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.stage-prev { left: 12px; }
.stage-next { right: 12px; }
.stage-arrow:hover { background: rgba(18, 18, 18, 0.72); }
.stage-arrow:active { transform: translateY(-50%) scale(0.96); }
.stage-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stage-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
}
.stage-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.stage-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: #d4d1ca;
  transform: translate(-50%, -50%);
  transition: width 200ms var(--ease), background 200ms var(--ease);
}
.stage-dot[aria-selected="true"]::before {
  width: 28px;
  background: var(--ink);
}
.stage-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }

/* Device frame — product shots only */
.device {
  margin: 0;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 18, 18, 0.08);
}
.device img { width: 100%; background: #111; }
.device.tight img { padding: 28px 24px; background: #1c1c22; }
.hero-device { margin-top: 8px; }
.how-device { margin-top: 48px; }

.hero-devices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}
.hero-devices figure {
  margin: 0;
}
.hero-devices figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.device.mac { transform: rotate(-1.5deg); }
.device.win { transform: rotate(1.5deg); }

.os-download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.os-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.os-card .device {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.os-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.os-card-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}
.os-card-body p { margin: 0; color: var(--muted); font-size: 15px; }
.os-card-body .btn { margin-top: 8px; align-self: flex-start; }
.os-card-body .hint { font-size: 13px; color: var(--muted); }
.os-card-body .hint a { text-decoration: underline; }

.dual-shot {
  margin-top: 20px;
}

/* Trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
}
.strip-inner p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  padding: 32px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.compare-card.is-on { border-color: var(--ink); }
.compare-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 16px;
}
.compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

/* How */
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-grid h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 10px;
}
.how-grid p { margin: 0; color: var(--muted); }
.step-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Feature walks */
.walk {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.walk:last-child { margin-bottom: 0; }
.walk-flip { grid-template-columns: 1.1fr 1fr; }
.walk-flip .walk-copy { order: 2; }
.walk-copy h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 16px;
}
.walk-copy > p { margin: 0 0 20px; color: var(--muted); }

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ticks li {
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento article {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.bento h3 { margin: 0 0 8px; font-size: 17px; }
.bento p { margin: 0; color: var(--muted); font-size: 14px; }

.wa-showcase,
.pair {
  display: grid;
  gap: 16px;
}
.wa-showcase { grid-template-columns: repeat(3, 1fr); }
.pair { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.wa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.wa-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: #12161c;
}
.wa-card div { padding: 16px 18px 20px; }
.wa-card h3 { margin: 0 0 6px; font-size: 18px; }
.wa-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Platforms */
.plat-group { margin-bottom: 28px; }
.plat-group h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.plat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
}
.plat-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.plat-grid img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

/* Who */
.who-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.who-cards article {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.who-cards h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.who-cards p { margin: 0; color: var(--muted); }

/* Pricing */
.plans,
.product-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.product-card,
.plans .plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  min-height: 100%;
}
.product-card.featured,
.plans .plan.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg-2);
}
.product-card.featured .plan-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.plan-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 6px;
}
.plan-tag {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  min-height: 1.4em;
}
.product-card.featured .plan-tag { color: rgba(255, 255, 255, 0.7); }
.plan-price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 22px;
}
.plan-price span {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.product-card.featured .plan-price span { color: rgba(255, 255, 255, 0.62); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.product-card.featured .plan-features { color: rgba(255, 255, 255, 0.78); }
.plan-features li {
  padding-left: 22px;
  position: relative;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.product-card.featured .plan-features li::before { background: #fff; }
.plan-cta { margin-top: auto; width: 100%; }
.product-card:not(.featured) .plan-cta,
.plans .plan:not(.featured) .plan-cta {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.product-card.featured .plan-cta,
.plans .plan.featured .plan-cta {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.plans-fallback { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted); }

/* Inner content pages (support, privacy, blog) */
.content-hero { padding-bottom: 8px; }
.content-hero .wrap.narrow { margin-left: auto; margin-right: auto; }
.content-hero h1 { max-width: 16ch; }
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.content-card h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}
.content-card p { margin: 0 0 16px; color: var(--muted); }
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta-band {
  padding: 96px 0;
  text-align: center;
  background: var(--ink);
  color: #f4f3ef;
}
.cta-inner h2 {
  font-family: var(--serif);
  color: #fff;
  margin: 0 0 12px;
}
.cta-inner p { color: #c8c5bc; margin: 0 0 28px; }
.cta-band .btn.primary {
  background: #fff;
  color: var(--ink);
}
.cta-band .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-band .btn.ghost:hover { border-color: #fff; }
.cta-band .btn.primary:hover { background: #efece6; }

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
  font-size: 14px;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.copy { margin: 0; font-size: 13px; color: var(--muted); }

/* Checkout */
.co-scrim {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(8px);
}
.co-modal {
  width: min(420px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.co-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.co-sub { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.co-field { margin-bottom: 14px; }
.co-field label, .co-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.neu-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.neu-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.co-methods { display: flex; gap: 8px; }
.co-pm {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.co-pm.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.co-msg { min-height: 20px; font-size: 13px; margin-top: 10px; }
.co-msg.err { color: #b42318; }
.co-hint { font-size: 12px; color: var(--muted); margin-top: 12px; }
.glass-icon {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }

@media (max-width: 960px) {
  .header-nav, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { padding-top: env(safe-area-inset-top); }
  .nav-mobile {
    display: flex;
    position: fixed;
    z-index: 39;
    inset: calc(68px + env(safe-area-inset-top)) 0 0 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 20px calc(20px + env(safe-area-inset-bottom));
    background: rgba(247, 246, 243, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    overflow: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 220ms var(--ease), visibility 200ms;
  }
  .nav-mobile.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-mobile a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 2px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile a:active { background: rgba(18, 18, 18, 0.04); }
  .nav-mobile a.btn {
    margin-top: auto;
    border-bottom: 0;
    justify-content: center;
    min-height: 52px;
    font-size: 16px;
    border-radius: 14px;
  }
  body.nav-open { overflow: hidden; }
  .hero-grid,
  .hero-devices,
  .os-download,
  .compare,
  .how-grid,
  .walk,
  .walk-flip,
  .bento,
  .wa-showcase,
  .pair,
  .who-cards,
  .footer-grid,
  .plans,
  .product-row { grid-template-columns: 1fr; }
  .device.mac, .device.win { transform: none; }
  .walk-flip .walk-copy { order: unset; }
  .walk { margin-bottom: 48px; gap: 20px; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding: 28px 0 16px; }
  .hero-grid { gap: 28px; }
  .product-card.featured,
  .plans .plan.featured {
    order: -1;
    transform: none;
  }
  .cta-band { padding: 64px 0; }
  .strip {
    background: transparent;
    border: 0;
    padding: 4px 0 8px;
  }
  .strip-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .strip-inner::-webkit-scrollbar { display: none; }
  .strip-inner p {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
  .how-grid { gap: 12px; }
  .how-grid li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: 0 16px 36px -28px rgba(18, 18, 18, 0.55);
  }
  .compare-card,
  .bento article,
  .who-cards article,
  .os-card,
  .wa-card,
  .faq details {
    box-shadow: 0 16px 36px -28px rgba(18, 18, 18, 0.5);
  }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 36em; }
  .device, .os-card, .wa-card { border-radius: 18px; }
}

@media (max-width: 560px) {
  .wrap {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  h1 { font-size: 40px; line-height: 1.04; }
  h2 { font-size: 30px; line-height: 1.12; }
  .lede { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .eyebrow { margin-bottom: 10px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn,
  .link-row .btn,
  .os-card-body .btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    border-radius: 14px;
  }
  .hero-actions .btn.ghost { background: #fff; }
  .os-card-body .btn { align-self: stretch; }
  .hero-pills li { padding: 7px 11px; }
  .stage-frame::before { display: none; }
  .stage-shot { border-radius: 18px; }
  .stage-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
  }
  .stage-arrow {
    position: static;
    transform: none;
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 10px 24px -16px rgba(18, 18, 18, 0.55);
  }
  .stage-arrow:active { transform: scale(0.96); }
  .stage-dots { margin-top: 0; }
  .stage-slide figcaption {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 15px;
  }
  .plat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .plat-grid li {
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .plat-grid img { width: 32px; height: 32px; border-radius: 8px; }
  .bento article,
  .who-cards article,
  .compare-card { padding: 22px 18px; border-radius: 18px; }
  .who-cards h3, .compare-card h3 { font-size: 24px; }
  .faq details { border-radius: 16px; padding: 0 16px; }
  .faq summary { font-size: 16px; min-height: 58px; }
  .plan-price { font-size: 40px; }
  .product-card, .plans .plan { border-radius: 20px; padding: 24px 20px 20px; }
  .cta-band { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); }
  .cta-inner p { font-size: 15px; }
  .site-footer { padding: 40px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-col a { min-height: 36px; display: flex; align-items: center; }
  .co-modal { padding: 18px; border-radius: 20px; }
}

@media (max-width: 420px) {
  .bento { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-mobile, .stage-dot::before { transition: none; }
  .stage-viewport { scroll-behavior: auto; }
}
