/* Selene site: sections and responsive rules (load right after site.css). */
.section { position: relative; z-index: 1; padding-top: clamp(88px, 10vw, 128px); }
.section.wash { margin-top: clamp(88px, 10vw, 128px); padding: clamp(72px, 9vw, 112px) 0; background: linear-gradient(180deg, transparent, var(--tint) 14%, var(--tint) 86%, transparent); }
.section.wash + .section { padding-top: clamp(56px, 7vw, 88px); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.label {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section h2 { margin-top: 16px; font-size: clamp(2.15rem, 4.8vw, 3.5rem); letter-spacing: -.04em; line-height: 1.04; }
.section-head p { margin-top: 18px; font-size: 1.1rem; text-wrap: pretty; }
.caption, figcaption { margin-top: 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--muted); }

/* new in 3.0: the three themes, then what changed */
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; }
.themes figure { margin: 0; }
.themes .phone { max-width: 300px; margin: 0 auto; }
.themes figcaption { text-align: center; }
.themes figcaption b { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.changes {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); list-style: none;
  border-top: 1px solid var(--line);
}
.changes li { padding: 24px 26px 4px 0; border-bottom: 1px solid var(--line); }
.changes h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; letter-spacing: -.015em; }
.changes h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--gold); box-shadow: 0 0 10px rgba(var(--accent-2-rgb), .7); }
.changes p { margin: 8px 0 20px; font-size: .97rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.feature { padding: 26px 26px 28px; border-radius: var(--r-lg); }
.feature .key { display: flex; align-items: center; justify-content: space-between; min-height: 22px; }
.feature .key i { width: 26px; height: 3px; border-radius: 3px; background: var(--c, var(--violet)); box-shadow: 0 0 12px var(--c, var(--violet)); }
.feature .key b { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.feature .key .tag { margin: 0 auto 0 14px; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(var(--accent-2-rgb), .45); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.feature h3 { margin-top: 20px; font-size: 1.2rem; letter-spacing: -.02em; }
.feature p { margin-top: 10px; font-size: .97rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; counter-reset: step; }
.steps > li { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.steps > li::before {
  counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); font-size: .8rem;
  letter-spacing: .14em; color: var(--gold);
}
.steps h3 { margin-top: 14px; font-size: 1.15rem; }
.steps p { margin-top: 8px; font-size: .97rem; }
.methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.methods li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); font-family: var(--mono); font-size: .74rem; color: var(--text); }

/* deep dive */
.dives { border-top: 1px solid var(--line); }
.dive {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start;
  padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line);
}
.dive.flip .media { order: -1; }
.dive h3 { margin-top: 16px; font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -.035em; line-height: 1.07; }
.dive .copy p { margin-top: 18px; font-size: 1.05rem; }
.facts { margin-top: 28px; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts li span:last-child { font-family: var(--mono); font-size: .82rem; color: var(--text); text-align: right; }
.facts li.measured span:last-child { color: var(--accent-text); }
.facts li.new span:first-child::after { content: "new"; margin-left: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--gold); }
.media { position: relative; display: grid; gap: 22px; }
.media::before {
  content: ""; position: absolute; inset: 8% 0; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .55), transparent); opacity: .35;
}
.media figure .frame { max-width: 420px; margin: 0 auto; }
.media figure figcaption { max-width: 420px; margin-left: auto; margin-right: auto; }

/* real screens rail */
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; }
.rail figure { margin: 0; }
.rail .phone { max-width: 320px; margin: 0 auto; }
.rail figcaption { text-align: center; }
.rail figcaption b { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }

/* privacy band */
.band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); }
.band h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.band p { margin-top: 14px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f6f5ff, #c4b5fd 55%, #8b5cf6); box-shadow: 0 0 10px rgba(var(--accent-rgb), .6);
}
.checklist li small { display: block; color: var(--sub); font-size: .9rem; }
.need-list { max-width: 640px; }

/* specs */
.spec-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 4vw, 48px); }
.spec-groups > div { padding: 22px 26px 8px; border-radius: var(--r-lg); }
.spec-groups h3 { padding-bottom: 14px; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .95rem; }
.specs th { width: 38%; padding-right: 16px; font-weight: 500; color: var(--sub); }
.specs td { color: var(--text); }
.specs td small { display: block; margin-top: 4px; font-size: .84rem; color: var(--muted); }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; padding: clamp(28px, 4vw, 40px); border-radius: var(--r-lg); text-align: center; }
.price-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-card .name { font-size: 1.05rem; font-weight: 400; letter-spacing: .22em; color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--sub); }
.price { margin-top: 18px; font-size: clamp(3.6rem, 8vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.price sup { font-size: .42em; vertical-align: .9em; margin-right: 4px; color: var(--sub); }
.price-note { margin-top: 10px; color: var(--sub); }
.price-card .checklist { margin: 26px 0; text-align: left; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.badges img { height: 44px; width: auto; }
.badges .gp { height: 64px; margin: -10px -6px; } /* Google's badge artwork has padding built in */
a[data-store-url] { opacity: .5; cursor: default; pointer-events: none; }
.store-soon { margin-top: 12px; font-size: .9rem; color: var(--sub); text-wrap: balance; }

/* newsletter */
.signup { max-width: 640px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); text-align: center; }
.signup h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.signup p { margin-top: 12px; text-wrap: balance; }
.signup form { display: flex; gap: 10px; max-width: 460px; margin: 24px auto 0; }
.signup input {
  flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-3);
  background: var(--field); color: var(--text); font: inherit; font-size: 1rem;
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .3); }
.signup .msg { margin-top: 16px; font-size: .95rem; }
.signup .ok { color: #6ee7b7; }
.signup .err { color: #fca5a5; }
.signup .fine { margin-top: 16px; font-size: .84rem; color: var(--muted); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer;
  list-style: none; font-size: 1.08rem; font-weight: 500; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; font-weight: 400; color: var(--sub); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; max-width: 720px; }
.faq .a p + p { margin-top: 10px; }
.site-end { height: clamp(64px, 8vw, 110px); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .features, .changes { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { border-left: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .overview-grid, .dive, .band, .spec-groups { grid-template-columns: 1fr; }
  .dive.flip .media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail li { flex: 0 0 72%; scroll-snap-align: center; }
  .themes { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
  .themes::-webkit-scrollbar { display: none; }
  .themes li { flex: 0 0 72%; scroll-snap-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .features, .changes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:last-child { grid-column: 1 / -1; border-left: 0; }
  .cta-row .btn { width: 100%; }
  .kicker .k-os { display: none; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .facts li span:last-child { text-align: left; }
  .signup form { flex-direction: column; }
  .specs th { width: 42%; }
  .price-card .top { flex-direction: column; }
  .badges img { height: 38px; }
  .badges .gp { height: 56px; margin: -9px -6px; }
}

/* moved from style="--c: ..." attributes (strict CSP) */
.feature.c-gold { --c: var(--gold); }
.feature.c-harm { --c: var(--harm); }
.feature.c-super { --c: var(--super); }
