:root {
  --bg-900: #050608;
  --bg-800: #0b1018;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text-main: #f5f7fa;
  --text-muted: #9aa3af;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 15% 12%, rgba(26, 64, 99, 0.22), transparent 35%),
    radial-gradient(circle at 82% 88%, rgba(54, 93, 70, 0.22), transparent 36%),
    linear-gradient(160deg, var(--bg-900), var(--bg-800));
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.js body.is-loaded .page-shell {
  animation: pageIn 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  inset: -24vmax;
  background: radial-gradient(56% 48% at 14% 14%, rgba(88, 170, 224, 0.18), transparent 70%),
    radial-gradient(48% 44% at 86% 78%, rgba(103, 168, 132, 0.15), transparent 72%),
    radial-gradient(42% 35% at 50% 52%, rgba(255, 255, 255, 0.06), transparent 74%);
  animation: ambientDrift 36s ease-in-out infinite;
  opacity: 0.84;
  transform-origin: center;
  will-change: transform, opacity;
}

.page-shell::after {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent 72%);
}

main {
  width: min(980px, 92vw);
  margin: 0 auto;
  flex: 1;
}

.landing-main {
  display: grid;
  gap: 0;
  align-content: start;
  padding-bottom: 3rem;
}

.hero-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 4.8rem 0 2.2rem;
}

.bac-feature-screen {
  padding: 0 0 4rem;
}

.final-cta-screen {
  padding: 0 0 3.4rem;
}

.final-cta-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.final-cta-copy {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.final-cta-copy .feature-kicker {
  margin-bottom: 0;
}

.final-cta-copy .section-title {
  max-width: 11ch;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.final-cta-copy .section-lead {
  max-width: 31rem;
}

.final-cta-actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.final-cta-button {
  border-color: rgba(255, 196, 128, 0.34);
  background: linear-gradient(135deg, rgba(255, 186, 82, 0.34), rgba(255, 123, 82, 0.2) 58%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.final-cta-button:hover,
.final-cta-button:focus-visible {
  border-color: rgba(255, 214, 170, 0.48);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34), 0 0 0 6px rgba(255, 175, 94, 0.08);
}

.bac-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
  justify-items: center;
}

.bac-feature-copy {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.bac-chart-showcase {
  --ios-bac-module-width: min(100%, 430px);
  position: relative;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 980px;
  min-height: 520px;
  padding: clamp(1.4rem, 4vw, 2.6rem) 0;
}

.bac-chart-core {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.bac-side-panel {
  width: min(100%, var(--ios-bac-module-width));
  margin-inline: auto;
  display: grid;
  gap: 0.38rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bac-side-panel-left {
  order: 2;
}

.bac-side-panel-right {
  order: 3;
}

.bac-side-index {
  color: rgba(245, 247, 250, 0.34);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bac-side-kicker {
  color: transparent;
  background-image: linear-gradient(90deg, rgba(122, 228, 255, 0.96), rgba(183, 245, 229, 0.88));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bac-side-panel-right .bac-side-kicker {
  background-image: linear-gradient(90deg, rgba(255, 203, 134, 0.96), rgba(122, 228, 255, 0.8));
}

.bac-side-panel h3 {
  margin: 0;
  max-width: 17ch;
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bac-side-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.bac-side-points {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: none;
}

.bac-side-points li {
  position: relative;
  color: var(--text-muted);
}

.bac-side-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  border-radius: 50%;
}

.bac-side-points strong,
.bac-side-points span {
  display: block;
}

.bac-side-points strong {
  color: var(--text-main);
  font-weight: 600;
}

.bac-chart-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 18% 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(116, 217, 255, 0.28), rgba(111, 196, 159, 0.16) 44%, transparent 74%);
  filter: blur(38px);
  z-index: -1;
  opacity: 0.95;
}

.ios-bac-display-card {
  width: var(--ios-bac-module-width);
  margin-inline: auto;
  min-height: 124px;
  border-radius: 26px;
  background: rgb(28, 33, 43);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 2px 4px 21.5px rgba(0, 0, 0, 0.46);
  padding: 0 clamp(1.5rem, 12vw, 55px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Avenir Next", sans-serif;
}

.ios-bac-display-copy {
  display: grid;
  gap: 2px;
  padding-bottom: 2px;
}

.ios-bac-display-value-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.ios-bac-display-value {
  color: rgba(255, 255, 255, 0.95);
  font-size: 48px;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.ios-bac-display-percent {
  color: rgba(255, 255, 255, 0.58);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.ios-bac-display-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.ios-bac-display-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 10rem;
}

.ios-bac-display-ring {
  width: 74px;
  height: 74px;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
}

.ios-bac-display-ring-svg {
  width: 74px;
  height: 74px;
  display: block;
  overflow: visible;
}

.ios-bac-display-track,
.ios-bac-display-progress {
  fill: none;
  stroke-width: 10;
}

.ios-bac-display-track {
  stroke: rgba(255, 255, 255, 0.18);
}

.ios-bac-display-progress {
  stroke: #34c759;
  transform: rotate(-90deg);
  transform-origin: 37px 37px;
  stroke-dasharray: 201.06;
  stroke-dashoffset: 201.06;
  stroke-linecap: round;
  transition: stroke-dashoffset 450ms ease-out, stroke 250ms ease-out;
}

.ios-bac-display-core {
  width: 29px;
  height: 29px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  margin: auto;
}

.ios-bac-display-core svg {
  width: 17px;
  height: 17px;
  display: block;
}

.ios-bac-display-core svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ios-bac-graph {
  width: var(--ios-bac-module-width);
  margin-inline: auto;
  display: grid;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Avenir Next", sans-serif;
  color: rgba(255, 255, 255, 0.95);
}

.ios-bac-card {
  border-radius: 18px;
  background: rgb(26, 31, 41);
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ios-bac-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
}

.ios-bac-stat-group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.ios-bac-stat-group-trailing {
  margin-left: auto;
}

.ios-bac-stat-block {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ios-bac-stat-block-trailing {
  justify-items: end;
  text-align: right;
}

.ios-bac-stat-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.1;
}

.ios-bac-stat-value {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ios-bac-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  touch-action: none;
  user-select: none;
}

.ios-bac-hit-target {
  fill: transparent;
  cursor: ew-resize;
}

.ios-bac-grid-line {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.5;
  shape-rendering: geometricPrecision;
}

.ios-bac-axis-label,
.ios-bac-time-label {
  fill: rgba(255, 255, 255, 0.58);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Avenir Next", sans-serif;
  font-size: 9px;
  font-weight: 500;
}

.ios-bac-area-green {
  fill: rgba(52, 199, 89, 0.2);
}

.ios-bac-area-red {
  fill: rgba(255, 59, 48, 0.2);
}

.ios-bac-line-green,
.ios-bac-line-red,
.ios-bac-line-sober {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ios-bac-line-green {
  stroke: #34c759;
  stroke-width: 3;
}

.ios-bac-line-red {
  stroke: #ff3b30;
  stroke-width: 3;
}

.ios-bac-line-sober {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.ios-bac-guide-current {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}

.ios-bac-guide-drag {
  stroke: rgba(0, 122, 255, 0.5);
  stroke-width: 2;
}

.ios-bac-marker-peak,
.ios-bac-marker-highest,
.ios-bac-marker-current,
.ios-bac-marker-drag {
  stroke: rgb(26, 31, 41);
  shape-rendering: geometricPrecision;
}

.ios-bac-marker-peak {
  fill: #ff9500;
  stroke-width: 1;
  filter: drop-shadow(0 2px 2px rgba(255, 149, 0, 0.3));
}

.ios-bac-marker-highest {
  fill: #ff3b30;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(255, 59, 48, 0.5));
}

.ios-bac-marker-current {
  stroke-width: 2;
}

.ios-bac-marker-drag {
  fill: #007aff;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.5));
}

.ios-bac-sober-point {
  fill: rgba(255, 255, 255, 0.32);
}

.bac-note {
  margin: 0.5rem 0 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.bac-note svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  fill: #ff9500;
  margin-top: 0.05rem;
}

.section-stack {
  display: grid;
  gap: 2.4rem;
}

.hero {
  width: 100%;
  text-align: center;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.logo-wrap {
  width: clamp(88px, 16vw, 132px);
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--surface-border);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  display: grid;
  place-items: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: float 4.5s ease-in-out infinite;
}

.logo-wrap img {
  width: 58%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.22));
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tagline {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
}

.cta {
  margin-top: 0.2rem;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  color: var(--text-main);
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.cta:focus-visible {
  outline: none;
}

.cta svg {
  width: 16px;
  height: 20px;
  fill: currentColor;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: 700px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.large-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  min-height: clamp(560px, 68vh, 760px);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: clamp(1.15rem, 3.2vw, 2rem);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
}

.section-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.feature-shell {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.screenshot-slot {
  min-height: 100%;
}

.screenshot-phone {
  min-height: clamp(390px, 56vh, 620px);
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.09), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
  display: grid;
  place-items: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.feature-tile {
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 1.05rem;
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.feature-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.feature-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.flow-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.step-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.95rem;
  background-color: rgba(0, 0, 0, 0.18);
}

.step-index {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.step-card h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.doc-main {
  padding: 4.8rem 0 3rem;
}

.doc-paper {
  width: min(820px, 100%);
  margin: 0 auto;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: clamp(1.15rem, 3.5vw, 2.2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(7px);
}

.doc-paper h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-transform: none;
  letter-spacing: 0.01em;
}

.doc-meta {
  margin: 0.45rem 0 0.95rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.doc-intro {
  margin: 0;
  color: var(--text-muted);
}

.doc-section {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.doc-section p,
.doc-section li {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.doc-section ul,
.doc-section ol {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.doc-link {
  color: var(--text-main);
  text-underline-offset: 2px;
}

.doc-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-main {
  display: grid;
  gap: 1rem;
  padding: 4.8rem 0 3rem;
}

.support-hero {
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: clamp(1.1rem, 3.4vw, 1.8rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.support-hero h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: none;
  letter-spacing: 0.01em;
}

.support-hero p {
  margin: 0;
  color: var(--text-muted);
}

.support-primary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: clamp(1.1rem, 3.2vw, 1.6rem);
  background: radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.09), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.support-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-email {
  margin-top: 0.45rem;
  display: inline-block;
  color: var(--text-main);
  text-decoration: none;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.support-email:hover,
.support-email:focus-visible {
  text-decoration: underline;
  outline: none;
}

.support-meta {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.support-meta span {
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.85rem;
}

.support-rail {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
}

.support-column {
  display: grid;
  gap: 0.85rem;
}

.support-card {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.22);
}

.support-card h2 {
  margin: 0 0 0.48rem;
  font-size: 1.04rem;
}

.support-card p,
.support-card li {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.support-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.38rem;
}

.support-faq {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.support-faq h2 {
  margin: 0 0 0.62rem;
  font-size: 1.04rem;
}

.support-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0 0;
  margin-top: 0.6rem;
}

.support-faq summary {
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.94rem;
}

.support-faq p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.policy-main {
  display: grid;
  gap: 1.2rem;
  padding: 4.8rem 0 3rem;
}

.policy-hero {
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  padding: clamp(1rem, 3.5vw, 1.6rem);
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.01));
}

.policy-hero h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-transform: none;
  letter-spacing: 0.01em;
}

.policy-hero p {
  margin: 0;
  color: var(--text-muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.policy-panel {
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.policy-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.policy-panel p,
.policy-panel li {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.policy-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.policy-actions {
  margin-top: 0.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.top-back-row {
  display: flex;
  justify-content: flex-start;
}

.doc-main .top-back-row {
  width: min(820px, 100%);
  margin: 0 auto 0.75rem;
}

.support-main .top-back-row {
  margin: 0 0 0.2rem;
}

.back-link {
  display: inline-block;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.back-link:hover,
.back-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.back-link-top {
  padding: 0.4rem 0.74rem;
  font-size: 0.85rem;
}

.footer {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.footer-links-block {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-brand span {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.22rem 0.45rem;
  border-radius: 8px;
  transition: color 160ms ease, background-color 160ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.footer-disclaimer {
  max-width: 40rem;
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-copyright {
  width: 100%;
  margin: 0.2rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(-1.6%, -1.1%, 0) scale(1);
    opacity: 0.78;
  }
  50% {
    transform: translate3d(1.3%, 1.4%, 0) scale(1.04);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-0.7%, 1%, 0) scale(1.02);
    opacity: 0.82;
  }
}

@keyframes pageIn {
  0% {
    opacity: 0.84;
    transform: translateY(8px) scale(0.998);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 760px) and (max-width: 1179px) {
  .bac-chart-showcase {
    max-width: 980px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 1rem;
    row-gap: 1rem;
    min-height: auto;
  }

  .bac-chart-core {
    grid-column: 1 / -1;
  }

  .bac-side-panel {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .bac-side-panel-right {
    text-align: right;
    justify-items: end;
  }

  .bac-side-points {
    list-style: none;
    margin: 0.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
  }

  .bac-side-points li {
    position: relative;
    padding-left: 0.9rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .bac-side-panel-right .bac-side-points li {
    padding-left: 0;
    padding-right: 0.9rem;
  }

  .bac-side-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: rgba(122, 228, 255, 0.88);
  }

  .bac-side-panel-right .bac-side-points li::before {
    left: auto;
    right: 0;
    background: rgba(255, 189, 96, 0.9);
  }

  .bac-side-points strong,
  .bac-side-points span {
    display: block;
  }

  .bac-side-points strong {
    color: var(--text-main);
    font-size: 0.87rem;
    font-weight: 600;
    margin-bottom: 0.08rem;
  }
}

@media (min-width: 1180px) {
  main {
    width: min(1180px, 92vw);
  }

  .bac-feature-copy {
    max-width: 48rem;
  }

  .bac-chart-showcase {
    width: min(100%, 1120px);
    max-width: 1120px;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    column-gap: clamp(1.4rem, 4vw, 3rem);
    min-height: 540px;
    padding: 1.4rem 0 2.4rem;
  }

  .bac-chart-core {
    grid-column: 2;
  }

  .bac-side-panel {
    gap: 0.55rem;
    max-width: 260px;
    padding: 0.1rem 0 0.4rem 1.55rem;
    align-self: center;
    position: relative;
    margin-inline: 0;
    background: none;
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .bac-side-panel-left {
    grid-column: 1;
    justify-self: start;
    order: 0;
    transform: translateY(-10px);
  }

  .bac-side-panel-right {
    grid-column: 3;
    order: 0;
    justify-self: end;
    text-align: right;
    justify-items: end;
    padding: 0.1rem 1.55rem 0.4rem 0;
    transform: translateY(18px);
  }

  .bac-side-panel::before {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 0.9rem;
    bottom: 0.65rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(122, 228, 255, 0.72), rgba(122, 228, 255, 0.12));
    opacity: 0.72;
  }

  .bac-side-panel::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.86rem;
    height: 0.86rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 239, 255, 0.95), rgba(122, 228, 255, 0.32));
    box-shadow: 0 0 0 6px rgba(122, 228, 255, 0.08), 0 0 22px rgba(122, 228, 255, 0.24);
  }

  .bac-side-panel-right::before {
    left: auto;
    right: 0.42rem;
    background: linear-gradient(180deg, rgba(255, 189, 96, 0.7), rgba(116, 217, 255, 0.12));
  }

  .bac-side-panel-right::after {
    left: auto;
    right: 0;
    background: radial-gradient(circle, rgba(255, 212, 155, 0.96), rgba(255, 166, 92, 0.34));
    box-shadow: 0 0 0 6px rgba(255, 179, 96, 0.08), 0 0 22px rgba(255, 166, 92, 0.24);
  }

  .bac-side-index {
    color: rgba(245, 247, 250, 0.38);
  }

  .bac-side-panel-right .bac-side-kicker {
    background-image: linear-gradient(90deg, rgba(255, 203, 134, 0.96), rgba(122, 228, 255, 0.8));
  }

  .bac-side-panel h3 {
    max-width: 15ch;
    font-size: 1.12rem;
    line-height: 1.02;
  }

  .bac-side-panel p {
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .bac-side-points {
    margin: 0.15rem 0 0;
    display: grid;
    gap: 0.8rem;
  }

  .bac-side-points li {
    padding-left: 1rem;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .bac-side-panel-right .bac-side-points li {
    padding-left: 0;
    padding-right: 1rem;
  }

  .bac-side-points li::before {
    width: 0.38rem;
    height: 0.38rem;
    background: rgba(122, 228, 255, 0.88);
    box-shadow: 0 0 0 4px rgba(122, 228, 255, 0.08);
  }

  .bac-side-panel-right .bac-side-points li::before {
    left: auto;
    right: 0;
    background: rgba(255, 189, 96, 0.9);
    box-shadow: 0 0 0 4px rgba(255, 189, 96, 0.08);
  }

  .bac-side-points strong {
    font-size: 0.88rem;
    margin-bottom: 0.08rem;
  }
}

@media (max-width: 800px) {
  .large-section,
  .policy-grid,
  .support-rail {
    grid-template-columns: 1fr;
  }

  .hero-screen,
  .policy-main,
  .doc-main,
  .support-main {
    padding-top: 3.8rem;
  }

  .hero-screen {
    min-height: 100svh;
    padding-bottom: 2.6rem;
  }

  .large-section {
    min-height: auto;
  }

  .screenshot-phone {
    min-height: clamp(320px, 45vh, 460px);
  }

  .bac-feature-copy {
    max-width: 100%;
  }

  .bac-chart-showcase {
    width: 100%;
    min-height: auto;
    padding-top: 0.5rem;
  }

  .bac-side-panel {
    width: min(100%, 520px);
  }

  .final-cta-panel {
    padding: clamp(1.85rem, 6vw, 2.5rem) 0 0;
  }
}

@media (max-width: 640px) {
  main,
  .footer {
    width: min(980px, 94vw);
  }

  .page-shell::before {
    inset: -14vmax;
    animation-duration: 50s;
    opacity: 0.7;
  }

  .hero-screen {
    padding-top: calc(3.35rem + env(safe-area-inset-top));
  }

  .cta {
    min-height: 48px;
    width: min(100%, 320px);
    justify-content: center;
  }

  .final-cta-panel {
    padding: 1.75rem 0 1.45rem;
  }

  .bac-chart-showcase {
    --ios-bac-module-width: min(100%, 360px);
    width: 100%;
    padding-top: 0.5rem;
  }

  .bac-side-panel {
    width: var(--ios-bac-module-width);
    gap: 0.32rem;
    padding-top: 0.78rem;
  }

  .bac-side-panel h3 {
    font-size: 0.94rem;
  }

  .bac-side-panel p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .ios-bac-graph {
    width: var(--ios-bac-module-width);
  }

  .ios-bac-card {
    padding: 12px 12px 14px;
  }

  .ios-bac-display-card {
    min-height: 118px;
    padding-inline: clamp(1.15rem, 8vw, 2.2rem);
  }

  .ios-bac-display-value {
    font-size: 42px;
  }

  .ios-bac-header {
    gap: 12px;
  }

  .ios-bac-stat-group {
    gap: 14px;
  }

  .ios-bac-warning {
    font-size: 10.5px;
  }

  .footer {
    gap: 0.35rem;
    padding-bottom: calc(1.3rem + env(safe-area-inset-bottom));
  }

  .footer a,
  .back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .section-title {
    font-size: clamp(1.34rem, 8vw, 1.65rem);
  }

  .tagline {
    font-size: 0.98rem;
  }

  .bac-chart {
    aspect-ratio: 740 / 760;
  }

  .bac-chart-head p {
    font-size: 1rem;
  }

  .bac-axis-text {
    font-size: 15px;
  }

  .bac-axis-text-x {
    font-size: 14px;
  }

  .bac-line {
    stroke-width: 6.6;
  }

  .bac-danger-line {
    stroke-width: 7.1;
  }

  .bac-line-projection {
    stroke-width: 4.8;
  }

  .bac-point {
    stroke-width: 2.8;
  }
}

@media (hover: none) and (pointer: coarse) {
  .page-shell::before {
    animation-duration: 64s;
    opacity: 0.66;
  }

  .logo-wrap {
    animation-duration: 6.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell::before,
  .logo-wrap,
  .bac-line {
    animation: none !important;
  }

  .page-shell {
    transition: none;
  }
}
