:root {
  color-scheme: dark;
  --bg: #0d0f12;
  --bg-elevated: #15181d;
  --panel: rgba(27, 30, 36, 0.82);
  --panel-solid: #1a1d22;
  --text: #f5f3ef;
  --muted: #a9abb2;
  --faint: #6f737c;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #3bd477;
  --accent-soft: rgba(59, 212, 119, 0.16);
  --success: #4bd4a0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --max-width: 1180px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f2ed;
  --bg-elevated: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --text: #121418;
  --muted: #5f6269;
  --faint: #7d8086;
  --line: rgba(18, 20, 24, 0.11);
  --accent-soft: rgba(38, 184, 98, 0.12);
  --shadow: 0 24px 80px rgba(33, 25, 17, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 79% 9%, var(--accent-soft), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }

.nav-links a {
  color: var(--muted);
  font-size: 0.91rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.icon-button, .menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.menu-button { display: none; }

.theme-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -5px -3px 0 -2px var(--bg);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 98px);
  padding-block: clamp(64px, 9vh, 116px);
}

.hero > * {
  min-width: 0;
}

.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  font-weight: 780;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 18px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.button.primary { border-color: var(--accent); background: var(--accent); color: #17100b; }
.arrow { font-size: 1.1em; }
.hero-note { display: flex; gap: 18px; margin-top: 28px; color: var(--faint); font-size: 0.82rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }

.hero-note span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.usage-stage {
  position: relative;
  isolation: isolate;
  min-height: 530px;
  display: grid;
  place-items: center;
}

.usage-stage::before {
  position: absolute;
  inset: 8% 0 0 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  filter: blur(12px);
  content: "";
  animation: breathe 7s ease-in-out infinite;
}

.dashboard-card {
  position: relative;
  width: min(100%, 570px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.dashboard-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.06), transparent 63%);
  transform: translateX(-100%);
  content: "";
  animation: sheen 7s 1.5s ease-in-out infinite;
}

.window-bar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}

.traffic-lights, .window-status, .provider-head, .meter-label {
  display: flex;
  align-items: center;
}

.traffic-lights, .window-status { gap: 7px; }
.traffic-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.traffic-lights i:first-child { background: #ff5f57; }
.traffic-lights i:nth-child(2) { background: #febc2e; }
.traffic-lights i:nth-child(3) { background: #28c840; }
.window-status { color: var(--muted); font-size: 0.76rem; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px var(--success);
}

.dashboard-body { padding: 24px; }

.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.dashboard-title strong { font-size: 1.05rem; }
.dashboard-title span { color: var(--faint); font-size: 0.75rem; }
.provider-list { display: grid; gap: 10px; }

.provider {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-elevated) 62%, transparent);
  padding: 16px;
}

.provider-head, .meter-label { justify-content: space-between; gap: 16px; }
.provider-name { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 720; }

.provider-mark {
  width: 9px;
  height: 28px;
  border-radius: 999px;
  background: var(--provider-color, var(--accent));
}

.provider-state { color: var(--muted); font-size: 0.74rem; }
.meter-label { margin: 13px 0 7px; color: var(--faint); font-size: 0.7rem; }
.meter-label strong { color: var(--text); font-size: 0.76rem; }

.meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.meter span {
  display: block;
  width: var(--usage);
  height: 100%;
  border-radius: inherit;
  background: var(--provider-color, var(--accent));
  transform-origin: left;
  animation: fill 1s 250ms cubic-bezier(.22, .9, .3, 1) both;
}

.floating-widget {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: 188px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  padding: 16px;
  animation: float 6s ease-in-out infinite;
}

.floating-widget .widget-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.7rem;
}

.floating-widget img { width: 26px; height: 26px; }
.widget-number { margin-bottom: 5px; font-size: 2rem; font-weight: 770; letter-spacing: -0.06em; }
.widget-caption { color: var(--faint); font-size: 0.72rem; }
.section { padding-block: clamp(84px, 12vw, 152px); }
.section-kicker { margin-bottom: 14px; }

.section-title {
  max-width: 790px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  font-weight: 760;
}

.section-intro { max-width: 660px; margin: 0; color: var(--muted); font-size: 1.04rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.feature-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(24px, 3vw, 36px);
}

.feature-card.wide { grid-column: span 7; }
.feature-card.narrow { grid-column: span 5; }
.feature-card.third { grid-column: span 4; }
.feature-card h3 { max-width: 420px; margin-bottom: 10px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
.feature-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 0.93rem; }

.touch-strip {
  display: flex;
  align-items: stretch;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090a0d;
}

.touch-segment {
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.14);
  padding: 12px 13px;
  color: #f8f6f2;
  font-size: 0.7rem;
}

.touch-segment:last-child { border: 0; }
.touch-segment b { display: block; margin-bottom: 6px; }
.touch-segment i { display: block; height: 3px; border-radius: 999px; background: #3a3d44; }
.touch-segment i span { display: block; width: var(--usage); height: 100%; border-radius: inherit; background: var(--provider-color); }
.device-stack { position: relative; min-height: 180px; margin-top: 24px; }

.phone, .mac-mini {
  position: absolute;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.phone {
  right: 11%;
  bottom: -42px;
  width: 112px;
  height: 210px;
  border-radius: 25px;
  padding: 11px 9px;
  transform: rotate(5deg);
}

.phone::before {
  width: 34px;
  height: 7px;
  display: block;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: var(--line);
  content: "";
}

.phone-card { margin-bottom: 7px; border-radius: 9px; background: var(--line); padding: 9px; }
.phone-card b { font-size: 0.6rem; }
.phone-card i { display: block; height: 4px; margin-top: 8px; border-radius: 999px; background: var(--accent); }

.mac-mini {
  left: 4%;
  bottom: 5px;
  width: 72%;
  height: 142px;
  border-radius: 12px;
  padding: 14px;
  transform: rotate(-3deg);
}

.mac-mini::after {
  position: absolute;
  left: 43%;
  bottom: -30px;
  width: 24%;
  height: 30px;
  border-bottom: 8px solid var(--line);
  content: "";
}

.mini-row { height: 25px; margin-bottom: 7px; border-radius: 7px; background: var(--line); }
.provider-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; color: var(--muted); font-size: 0.76rem; }
.privacy-flow { display: grid; gap: 9px; margin-top: 28px; }
.privacy-flow div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.8rem; }
.privacy-flow div::before { width: 8px; height: 8px; border-radius: 50%; background: var(--success); content: ""; }
.quote-section { border-block: 1px solid var(--line); padding-block: clamp(70px, 9vw, 110px); }

.showcase-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(36px, 7vw, 90px);
}

.clean-icon-card {
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px 20px 16px 16px;
}

.clean-icon-card img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(17, 107, 55, 0.16);
}

.clean-icon-card span,
.clean-icon-card strong {
  display: block;
}

.clean-icon-card span {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clean-icon-card strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.showcase-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-top: 54px;
}

.showcase-shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9f8;
  box-shadow: 0 18px 50px rgba(5, 20, 12, 0.16);
  transition: transform 240ms cubic-bezier(.22,.9,.3,1), box-shadow 240ms ease;
}

.showcase-shot:nth-child(even) {
  margin-top: 42px;
}

.showcase-shot:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(5, 20, 12, 0.24);
}

.showcase-shot img {
  width: 100%;
  height: auto;
}

.showcase-hint {
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.78rem;
  text-align: right;
}

.quote {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.quote em { color: var(--accent); font-style: normal; }

.platform-list {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  margin-top: 50px;
}

.platform {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(26px, 4vw, 42px);
}

.platform-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: 0.82rem;
}

.platform-label::before { width: 8px; height: 8px; border-radius: 50%; background: var(--success); content: ""; }
.platform h3 { margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.8rem); }
.platform p { max-width: 490px; margin: 0; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: var(--radius);
  background: var(--accent-soft);
  padding: clamp(34px, 6vw, 70px);
}

.cta-band::after {
  position: absolute;
  right: -7%;
  bottom: -70%;
  width: 380px;
  aspect-ratio: 1;
  border: 70px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
  content: "";
}

.cta-band h2 { max-width: 780px; margin-bottom: 16px; font-size: clamp(2.2rem, 5vw, 4.6rem); }
.cta-band p { max-width: 600px; margin: 0 0 28px; color: var(--muted); }
.site-footer { padding-block: 44px; color: var(--muted); font-size: 0.82rem; }

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.page-hero { max-width: 850px; padding-block: clamp(78px, 12vw, 142px) 64px; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.5rem); }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
  padding-bottom: 120px;
}

.page-nav { position: sticky; top: 100px; display: grid; gap: 7px; }
.page-nav a { border-left: 1px solid var(--line); padding: 7px 0 7px 16px; color: var(--muted); font-size: 0.86rem; text-decoration: none; }
.page-nav a:hover { color: var(--text); border-color: var(--accent); }
.article-section { border-top: 1px solid var(--line); padding-block: 42px; scroll-margin-top: 90px; }
.article-section:first-child { border-top: 0; padding-top: 0; }
.article-section h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-section h3 { margin: 30px 0 10px; font-size: 1.15rem; letter-spacing: -0.02em; }
.article-section p, .article-section li { color: var(--muted); }
.article-section ul, .article-section ol { padding-left: 22px; }
.article-section li + li { margin-top: 8px; }
.article-section a { color: var(--accent); }

.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}

.support-card + .support-card { margin-top: 12px; }
.support-card h3 { margin-top: 0; }
.support-card p:last-child { margin-bottom: 0; }
.legal-meta { display: inline-flex; margin-top: 24px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: 0.78rem; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.22,.9,.3,1);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes fill { from { transform: scaleX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(0); } }
@keyframes breathe { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes sheen { 0%, 55% { transform: translateX(-110%); } 78%, 100% { transform: translateX(110%); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero h1 { font-size: clamp(3.25rem, 12vw, 6rem); }
  .usage-stage { min-height: 500px; }
  .dashboard-card { transform: none; }
  .feature-card.wide, .feature-card.narrow, .feature-card.third { grid-column: span 12; }
  .platform-list { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .page-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .showcase-heading { grid-template-columns: 1fr; align-items: start; }
  .showcase-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max-width)); }
  .nav { gap: 10px; }
  .brand { font-size: 0.95rem; }
  .menu-button { display: grid; }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-solid);
    box-shadow: var(--shadow);
    padding: 14px;
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding: 10px; }
  .nav .icon-button { margin-left: auto; }
  .hero { gap: 32px; overflow: hidden; padding-top: 54px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.85rem, 13.5vw, 4rem); overflow-wrap: break-word; }
  .hero-note { flex-direction: column; gap: 5px; }
  .usage-stage { min-height: 420px; place-items: start center; }
  .dashboard-body { padding: 14px; }
  .dashboard-title { margin-bottom: 12px; }
  .provider { padding: 12px; }
  .floating-widget { right: -5px; bottom: 2px; width: 152px; }
  .feature-grid { margin-top: 36px; }
  .touch-segment:nth-child(3) { display: none; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-top: 64px; }
  .page-nav { grid-template-columns: 1fr; }
  .clean-icon-card { width: 100%; }
  .showcase-rail {
    width: 100%;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: 14px;
  }
  .showcase-rail::-webkit-scrollbar { display: none; }
  .showcase-shot {
    min-width: min(78vw, 340px);
    scroll-snap-align: center;
  }
  .showcase-shot:nth-child(even) { margin-top: 0; }
  .showcase-hint { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
