/* AlcoTrack landing page (alcotrack.flx-apps.com). Loaded with ?v=<date> by
   index.html; bump it there when this file changes. */

/* Karla is a variable font, so one file per subset covers every weight. */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/alcdroid/fonts/karla-2.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face {
  font-family: "Karla";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/alcdroid/fonts/karla-1.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b1430;
  --bg-2: #101a3d;
  --card: #15214d;
  --card-2: #1b2859;
  --line: rgba(255, 255, 255, 0.1);
  --tx: #f3f5ff;
  --mu: #aab3d6;
  --blue: #3d5afe;
  --blue-soft: #7b8dff;
  --cyan: #5ec8ff;
  --orange: #ff8a3d;
  --green: #43d17a;
  --red: #ff5a5f;
  --ease: cubic-bezier(0.5, 0.02, 0.3, 1); }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 1.125rem/1.6 "Karla", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0; }

h1, h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance; }

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98; }

h2 {
  font-size: clamp(2rem, 4vw, 3rem); }

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em; }

a {
  color: var(--blue-soft); }

img {
  display: block;
  max-width: 100%;
  height: auto; }

svg {
  display: block; }

.wrap {
  width: min(1180px, 100% - 48px);
  margin: 0 auto; }

.wrap.narrow {
  width: min(760px, 100% - 48px); }

.small {
  font-size: 0.92rem;
  color: var(--mu); }

.unit {
  font-size: 0.5em;
  margin-left: 0.15em;
  font-weight: 700;
  color: var(--mu); }

/* --------------------------------------------------------------- reveal */
.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

.js .rv.in {
  opacity: 1;
  transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .quit-hero-icon { animation: none; }
  .js .quit-steps li:not(:last-child)::after { transform: none; transition: none; }
  .hero-line, .hero-area, .live-dot { animation: none !important; } }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: none;
  color: var(--tx);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), border-color 0.15s, background 0.15s; }

.btn:hover {
  border-color: #fff;
  transform: translateY(-1px); }

.btn-solid {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff; }

.btn-solid:hover {
  background: #5470ff;
  border-color: #5470ff; }

.btn-small {
  padding: 9px 16px;
  font-size: 0.92rem; }

.link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--tx);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  cursor: pointer; }

.link[disabled] {
  opacity: 0.4;
  cursor: default; }

.link-arrow {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(123, 141, 255, 0.5); }

.link-arrow::after {
  content: " \2192"; }

/* --------------------------------------------------------------- header */
.top {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
  padding: 0 max(24px, 50vw - 590px);
  background: rgba(11, 20, 48, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto; }

.brand img {
  border-radius: 9px; }

.top-nav {
  display: flex;
  gap: 22px;
  font-size: 0.98rem; }

.top-nav a {
  color: var(--mu);
  text-decoration: none; }

.top-nav a:hover {
  color: #fff; }

@media (max-width: 760px) {
  .top-nav { display: none; } }

/* ----------------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  padding: 130px 0 60px;
  min-height: 92vh; }

.eyebrow {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px; }

.lead {
  font-size: 1.22rem;
  color: var(--mu);
  margin: 22px 0 28px;
  max-width: 34em; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; }

.hero-facts {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--mu); }

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px; }

.hero-curve {
  position: absolute;
  inset: 10% -10% 10% -10%;
  width: 120%;
  height: 80%;
  opacity: 0.9; }

.hero-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: dash 2.6s var(--ease) 0.3s forwards; }

.hero-area {
  opacity: 0;
  animation: fade 1.2s ease 2s forwards; }

@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: #0a0d1f;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #1f2546; }

.phone img {
  border-radius: 34px;
  width: 100%; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 104px;
    min-height: 0; }
  .hero-stage {
    min-height: 0;
    padding: 24px 0 0; }
  .phone {
    width: 250px;
    border-radius: 38px; }
  .phone img {
    border-radius: 28px; } }

/* ----------------------------------------------------------------- demo */
.demo {
  padding: 70px 0 40px; }

.demo h2 + p {
  max-width: 42em;
  color: var(--mu);
  margin: 16px 0 32px; }

.demo-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start; }

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line); }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); }

.seg-btn {
  padding: 9px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--mu);
  font: inherit;
  font-weight: 700;
  cursor: pointer; }

.seg-btn.is-on {
  background: var(--blue);
  color: #fff; }

.range {
  display: block; }

.range span {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--mu);
  margin-bottom: 6px; }

.range output {
  color: var(--tx);
  font-weight: 700; }

input[type=range] {
  width: 100%;
  accent-color: var(--blue-soft); }

.drinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; }

.drink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-2);
  color: var(--tx);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s var(--ease), border-color 0.15s; }

.drink:hover {
  border-color: var(--blue-soft); }

.drink.tapped {
  transform: scale(0.96); }

.drink svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  flex: none; }

.drink span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1.2; }

.drink small {
  font-weight: 400;
  color: var(--mu);
  font-size: 0.8rem; }

.demo-actions {
  display: flex;
  gap: 18px; }

.demo-chart {
  display: flex;
  flex-direction: column;
  gap: 16px; }

.readout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 28px;
  align-items: end;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line); }

.readout-big {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
  transition: color 0.3s; }

.readout-big .warm { color: var(--orange); }
.readout-big .hot { color: var(--red); }

.readout-sub {
  grid-column: 1;
  font-size: 0.92rem;
  color: var(--mu); }

.readout-facts {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 14px;
  justify-content: end; }

.readout-facts dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mu); }

.readout-facts dd {
  font-weight: 700;
  font-size: 1.05rem; }

.curve {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line); }

.curve .grid {
  stroke: rgba(255, 255, 255, 0.08); }

.curve .limit {
  stroke: var(--orange);
  stroke-dasharray: 5 5;
  opacity: 0.8; }

.curve .tick {
  fill: var(--mu);
  font-size: 11px;
  font-family: inherit; }

.curve .limit-label {
  fill: var(--orange); }

.curve .peak {
  fill: var(--orange); }

.curve .zero {
  fill: var(--green); }

.demo-log {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--mu); }

.demo-log li {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); }

.demo-log:empty {
  display: none; }

@media (max-width: 860px) {
  .demo-grid { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr; }
  .readout-facts { grid-column: 1; grid-row: auto; justify-content: start; } }

/* ---------------------------------------------------------------- bands */
.band {
  padding: 80px 0; }

.band.alt {
  background: var(--bg-2); }

.wrap.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center; }

.wrap.two.flip .band-text {
  order: 2; }

.band-text p {
  color: var(--mu);
  margin-top: 18px;
  max-width: 34em; }

.band-text h2 + p {
  margin-top: 22px; }

.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step; }

.steps li {
  position: relative;
  padding: 0 0 18px 52px;
  color: var(--mu); }

.steps li b {
  color: var(--tx); }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center; }

.band-art {
  display: grid;
  place-items: center; }

@media (max-width: 860px) {
  .wrap.two { grid-template-columns: 1fr; gap: 32px; }
  .wrap.two.flip .band-text { order: 0; }
  .band { padding: 56px 0; } }

/* live card */
.live {
  width: min(380px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  color: #1c1b1f;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

.live-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #49454f;
  margin-bottom: 12px; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s ease-in-out infinite; }

@keyframes pulse {
  50% { opacity: 0.3; } }

.live-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.live-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f3f3;
  border-left: 4px solid var(--red); }

.live-list svg {
  width: 24px;
  height: 24px;
  color: #49454f;
  flex: none; }

.live-list span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1.2;
  flex: 1; }

.live-list small {
  font-weight: 400;
  color: #49454f;
  font-size: 0.8rem; }

.live-list em {
  font-style: normal;
  font-size: 0.85rem;
  color: #49454f; }

.live-bac {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0; }

.live-bac b {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #e65100;
  line-height: 1; }

.live-bac .unit {
  color: #e65100; }

.live-bac i {
  font-style: normal;
  margin-left: auto;
  font-size: 0.9rem;
  color: #49454f; }

/* calendar */
.cal {
  width: min(400px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line); }

.cal-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 14px; }

.cal-head b {
  color: var(--blue-soft); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 1fr);
  gap: 5px; }

.cal-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--green);
  opacity: 0.85; }

.cal-grid i.no {
  background: var(--red); }

.cal-foot {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--mu); }

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 6px;
  background: var(--green); }

.dot.no {
  background: var(--red); }

/* sleep */
.sleep {
  width: min(420px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: #0a0e1d;
  border: 1px solid var(--line); }

.sleep-head {
  font-weight: 700;
  margin-bottom: 10px; }

.sleep-chart {
  width: 100%;
  height: auto; }

.sleep-note {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--mu); }

.sleep-note b {
  color: var(--cyan); }

/* chat */
.chat {
  width: min(400px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  color: #1c1b1f;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

.chat-me {
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #e0e7ff;
  color: #0026ca;
  font-weight: 600; }

.chat-ai {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem; }

.chat-tools {
  font-size: 0.85rem;
  color: #49454f; }

.chat-chip {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: #b2ebf2;
  color: #006064;
  font-weight: 700;
  font-size: 0.92rem; }

/* ---------------------------------------------------------------- grid */
.more {
  padding: 80px 0; }

.grid {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px; }

.grid li {
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line); }

.grid p {
  margin-top: 8px;
  color: var(--mu);
  font-size: 1rem; }

/* -------------------------------------------------------------- privacy */
.privacy {
  padding: 80px 0;
  background: var(--bg-2); }

.privacy-head {
  display: flex;
  align-items: center;
  gap: 16px; }

.privacy-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  flex: none; }

.privacy-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0; }

.privacy-cols p {
  margin-top: 10px;
  color: var(--mu); }

@media (max-width: 760px) {
  .privacy-cols { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- plus */
.plus {
  padding: 80px 0; }

.plus-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
  width: min(420px, 100%); }

.plus-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700; }

.plus-list svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex: none; }

/* ---------------------------------------------------------------- shots */
.shots {
  padding: 60px 0 80px;
  background: var(--bg-2); }

.shots-strip {
  list-style: none;
  margin: 28px 0 0;
  padding: 0 max(24px, 50vw - 590px) 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Without this the mandatory snap pulls the row left by the padding before
     anyone has scrolled, and the first screenshot sits against the window edge
     instead of under the heading. */
  scroll-padding: 0 max(24px, 50vw - 590px);
  scrollbar-width: thin; }

.shots-strip li {
  flex: 0 0 230px;
  scroll-snap-align: start; }

.shots-strip img {
  border-radius: 18px;
  border: 1px solid var(--line); }

/* ------------------------------------------------------------------ faq */
.faq {
  padding: 80px 0; }

.faq details {
  margin-top: 10px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0 20px; }

.faq details:first-of-type {
  margin-top: 28px; }

.faq summary {
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px; }

.faq summary::-webkit-details-marker {
  display: none; }

.faq summary::after {
  content: "+";
  color: var(--mu);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1; }

.faq details[open] summary::after {
  content: "\2212"; }

.faq details p {
  padding: 0 0 18px;
  color: var(--mu); }

/* -------------------------------------------------------------- install */
.install {
  padding: 40px 0 90px; }

.install-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 44px 52px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--line); }

.install-text p {
  margin-top: 16px;
  color: var(--mu);
  max-width: 30em; }

.install-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 200px; }

.install-qr img {
  width: 168px;
  height: 168px;
  padding: 12px;
  box-sizing: content-box;
  background: #fff;
  border-radius: 18px; }

.install-qr span {
  font-size: 0.85rem;
  color: var(--mu);
  text-align: center; }

.disclaimer {
  margin: 28px auto 0;
  font-size: 0.88rem;
  color: var(--mu);
  max-width: 50em;
  text-align: center; }

/* The sun from Sunnyside's icon, drawn: a yellow disc rising out of a blue tile,
   cut at the horizon. Sized through --s so the same mark serves a card and a header. */
.sun {
  --s: 56px;
  display: block;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: calc(var(--s) * 0.22);
  background:
    radial-gradient(circle calc(var(--s) * 0.405) at 50% calc(var(--s) * 0.785), #ffe635 99%, transparent 100%) 0 0 / 100% calc(var(--s) * 0.615) no-repeat,
    #5dc0fe; }

[hidden] {
  display: none !important; }

.quit-teaser {
  padding: 0 0 70px; }

.quit-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--line); }

.quit-card .eyebrow {
  margin-bottom: 6px; }

.quit-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem); }

.quit-card p {
  margin-top: 10px;
  color: var(--mu); }

.quit-card .hero-cta {
  margin-top: 18px; }

/* ------------------------------------------------------ quit for good */
/* The hero is a card like the app's: a gradient tile with a breathing icon. It
   scrolls at half speed and fades (site.js), so what follows is opaque and
   layered above it. */
.quit-top {
  padding: 120px 0 0; }

.quit-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 40px 40px;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 100% 0, rgba(94, 200, 255, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(61, 90, 254, 0.42), rgba(61, 90, 254, 0.12)),
    var(--card);
  border: 1px solid rgba(123, 141, 255, 0.35);
  will-change: transform, opacity; }

.quit-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; }

.quit-hero .eyebrow {
  margin-bottom: 12px; }

.quit-hero .lead {
  margin-bottom: 0; }

.quit-hero-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  animation: breathe 2.4s ease-in-out infinite alternate; }

.quit-hero-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--blue-soft); }

@keyframes breathe {
  from { transform: scale(1); }
  to { transform: scale(1.08); } }

.quit-body {
  position: relative;
  z-index: 1;
  background: var(--bg); }

.quit-body .vs-section:first-child {
  padding-top: 32px; }

.quit-note {
  margin-bottom: 36px; }

.benefits {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 12px; }

.benefits li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line); }

.benefit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(123, 141, 255, 0.18); }

.benefit-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--cyan); }

.benefits h3 {
  font-size: 1.08rem; }

.benefits p {
  margin-top: 2px;
  color: var(--mu);
  font-size: 1rem; }

/* Arrive one after another, like the app's staggered tiles. */
.js .rv.rv-d1 { transition-delay: 0.12s; }
.js .rv.rv-d2 { transition-delay: 0.24s; }
.js .rv.rv-d3 { transition-delay: 0.36s; }
.js .rv.rv-d4 { transition-delay: 0.48s; }
.js .rv.rv-d5 { transition-delay: 0.6s; }

.facts {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(123, 141, 255, 0.18);
  color: var(--tx);
  font-size: 0.92rem;
  font-weight: 600; }

.facts li svg {
  width: 16px;
  height: 16px;
  fill: var(--cyan); }

/* The app's step list: round badges and a connector that draws itself top to
   bottom once the list is on screen, one segment after the other. */
.quit-steps li {
  padding: 0 0 22px 48px; }

.quit-steps li:last-child {
  padding-bottom: 0; }

.quit-steps li b {
  display: block;
  margin-bottom: 2px; }

.quit-steps li::before {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem; }

.quit-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: rgba(123, 141, 255, 0.45); }

.js .quit-steps li:not(:last-child)::after {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease); }

.js .quit-steps.in li:not(:last-child)::after {
  transform: none; }

.js .quit-steps.in li:nth-child(1)::after { transition-delay: 0.3s; }
.js .quit-steps.in li:nth-child(2)::after { transition-delay: 1s; }
.js .quit-steps.in li:nth-child(3)::after { transition-delay: 1.7s; }

.partner {
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid var(--line); }

/* A touch of sunrise behind the partner's mark. */
.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 46% at 14% 20%, rgba(255, 230, 53, 0.15), transparent 72%);
  pointer-events: none; }

.partner > * {
  position: relative; }

/* Lands with a little weight: the fade of every reveal plus a scale that overshoots once. */
.js .partner.rv {
  transform: translateY(18px) scale(0.94); }

.js .partner.rv.in {
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* How to get there from a device this page is not on. The app shows it to everyone;
   here it is for phones, where the reader may want to continue on a laptop. */
.elsewhere {
  display: none;
  margin-top: 18px;
  padding: 12px 14px 8px;
  border-radius: 14px;
  background: rgba(11, 20, 48, 0.55);
  border: 1px solid var(--line); }

.elsewhere p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mu); }

.elsewhere .addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--tx);
  word-break: break-all; }

.elsewhere .btn {
  margin: 8px 0 2px auto;
  display: inline-flex; }

.elsewhere .btn[hidden] {
  display: none; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px; }

.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor; }

.partner-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px; }

.partner-head .eyebrow {
  margin-bottom: 4px; }

.partner-head h2 {
  margin: 0; }

.partner .hero-cta {
  margin-top: 20px; }

.partner .small {
  margin-top: 16px; }

.quit-foot {
  padding-top: 0; }

@media (max-width: 760px) {
  .install-panel { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .install .hero-cta { justify-content: center; }
  .install-text p { margin-left: auto; margin-right: auto; }
  .install-qr { display: none; }
  .quit-card { flex-direction: column; }
  .quit-top { padding-top: 96px; }
  .elsewhere { display: block; }
  .elsewhere .btn { display: inline-flex; margin-left: 0; }
  .quit-hero { padding: 26px 22px 28px; } }

/* --------------------------------------------------------------- footer */
.foot {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--mu); }

.foot a {
  color: var(--tx); }

.foot-note {
  margin-top: 8px; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px; }

/* -------------------------------------------------------------- compare */
.compare {
  padding: 80px 0;
  background: var(--bg-2); }

.compare-lead {
  max-width: 44em;
  color: var(--mu);
  margin: 16px 0 28px; }

.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  scrollbar-width: thin; }

.cmp {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.98rem; }

.cmp th,
.cmp td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line); }

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
  border-bottom: 0; }

.cmp thead th {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.03); }

.cmp thead th:first-child {
  width: 24%; }

.cmp thead a {
  color: var(--tx);
  text-decoration: underline;
  text-decoration-color: rgba(123, 141, 255, 0.5);
  text-underline-offset: 3px; }

.cmp tbody th {
  font-weight: 700;
  color: var(--tx); }

.cmp td {
  color: var(--mu); }

.cmp td.us {
  color: var(--tx);
  background: rgba(61, 90, 254, 0.1); }

.cmp .ic,
.cmp-legend .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -5px;
  font-weight: 800;
  font-size: 0.95rem; }

.cmp .ic.yes,
.cmp-legend .ic.yes {
  background: rgba(67, 209, 122, 0.18);
  color: var(--green); }

.cmp .ic.no,
.cmp-legend .ic.no {
  background: rgba(255, 90, 95, 0.18);
  color: var(--red); }

.cmp .ic.part,
.cmp-legend .ic.part {
  background: rgba(255, 138, 61, 0.18);
  color: var(--orange); }

.cmp .ic svg,
.cmp-legend .ic svg {
  width: 14px;
  height: 14px; }

.cmp-note {
  margin-top: 16px;
  max-width: 60em; }

/* ------------------------------------------------------------- vs pages */
.vs-hero {
  padding: 130px 0 24px; }

.vs-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); }

.vs-hero .lead {
  max-width: none; }

.vs-box {
  margin: 32px 0 0;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line); }

.vs-box h2 {
  font-size: 1.35rem;
  margin-bottom: 10px; }

.vs-box p {
  color: var(--mu); }

.vs-section {
  padding: 44px 0; }

.vs-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px; }

.vs-section h2 + h2,
.vs-section .vs-box + h2,
.vs-section .hero-cta + h2 {
  margin-top: 40px; }

.vs-section p {
  color: var(--mu); }

.vs-section p + p {
  margin-top: 14px; }

.vs-section .hero-cta {
  margin-top: 24px; }

.vs-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px; }

.vs-cols > div {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line); }

.vs-cols h3 {
  margin-bottom: 10px; }

.vs-cols ul {
  padding-left: 20px;
  color: var(--mu); }

.vs-cols li {
  margin: 8px 0; }

.sources {
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--mu); }

.sources li {
  margin: 6px 0; }

@media (max-width: 760px) {
  .vs-cols { grid-template-columns: 1fr; }
  .vs-hero { padding-top: 104px; } }

.cmp .ic.unk,
.cmp-legend .ic.unk {
  background: rgba(170, 179, 214, 0.18);
  color: var(--mu); }

/* The home table: an icon and a few words per cell, eight columns, the
   feature column and ours pinned while the rest scrolls. The pinned cells
   need opaque backgrounds, which is why the tint is a solid colour here. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; }

.cmp-compact {
  --c1: 168px;
  --c2: 128px;
  min-width: 1000px;
  font-size: 0.9rem; }

.cmp-compact th,
.cmp-compact td {
  padding: 9px 10px; }

.cmp-compact thead th {
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap; }

.cmp-compact thead th:first-child {
  text-align: left; }

.cmp-compact tbody th {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3; }

.cmp-compact td.c {
  text-align: center;
  line-height: 1.25;
  padding: 6px 6px; }

.cellbtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer; }

.cellbtn:hover {
  background: rgba(255, 255, 255, 0.05); }

.cellbtn:focus-visible,
.cellbtn.is-open {
  outline: 2px solid var(--blue-soft);
  outline-offset: 1px; }

.cmp-compact td.c .ic {
  margin: 0; }

.cmp-compact td.c small {
  display: block;
  font-size: 0.76rem;
  color: var(--mu);
  white-space: nowrap; }

/* The detail behind a cell. Fixed, placed by site.js, with a small arrow at
   --arrow pointing back at the cell. */
.pop {
  position: fixed;
  z-index: 200;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #1c1b1f;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  pointer-events: none; }

.pop::after {
  content: "";
  position: absolute;
  left: var(--arrow, 50%);
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #fff;
  transform: rotate(45deg); }

.pop.below::after {
  bottom: auto;
  top: -6px; }

.cmp-compact td.c.us small {
  color: var(--tx); }

.cmp-compact td.text {
  text-align: center;
  font-size: 0.8rem;
  white-space: nowrap; }

.cmp-compact thead th:first-child,
.cmp-compact tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  width: var(--c1);
  min-width: var(--c1);
  max-width: var(--c1);
  background: var(--card); }

.cmp-compact thead th:nth-child(2),
.cmp-compact td.us {
  position: sticky;
  left: var(--c1);
  z-index: 2;
  width: var(--c2);
  min-width: var(--c2);
  background: #1c2a60;
  box-shadow: 1px 0 0 var(--line); }

.cmp-compact thead th:first-child,
.cmp-compact thead th:nth-child(2) {
  background: #1a2654;
  z-index: 3; }

@media (max-width: 760px) {
  .cmp-compact {
    --c1: 112px;
    --c2: 104px; }
  .cmp-compact th,
  .cmp-compact td {
    padding: 8px 8px; }
  .cmp-compact tbody th {
    font-size: 0.8rem; } }

.cmp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--mu); }

.cmp-legend span {
  display: inline-flex;
  align-items: center; }

.cmp-legend .ic {
  margin-right: 6px; }

.cmp-sources {
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0 18px; }

.cmp-sources summary {
  padding: 14px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--mu); }

.cmp-sources .sources {
  margin: 0 0 8px; }

.cmp-sources .small {
  padding-bottom: 16px; }
