:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --tertiary: #9ca3af;
  --line: #e5e7eb;
  --surface: #ffffff;
  --wash: #f8f9fa;
  --accent-wash: #f0f7ff;
  --blue: #009bd3;
  --cyan: #00c6ff;
  --green: #10b981;
  --purple: #8b5cf6;
  --footer: #f8f9fa;
  --shadow: 0 20px 25px rgba(0, 0, 0, 0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-line: #e5e7eb;
  --nav: #6b7280;
  --hero-bg: radial-gradient(circle at 12% 18%, rgba(0, 155, 211, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(0, 198, 255, 0.16), transparent 34%),
    linear-gradient(110deg, #ffffff 0%, #f8fbff 46%, #eef7ff 100%);
  --hero-plate: linear-gradient(145deg, rgba(0, 155, 211, 0.18), rgba(0, 198, 255, 0.08));
  --vault-shell: rgba(255, 255, 255, 0.9);
  --vault-panel: rgba(255, 255, 255, 0.86);
  --vault-row: rgba(255, 255, 255, 0.92);
  --vault-row-active: #e8f8ff;
  --vault-sidebar: rgba(232, 248, 255, 0.94);
  --vault-field: #f4fbff;
  --vault-glow: rgba(0, 155, 211, 0.18);
  --badge-bg: #f0f7ff;
  --intro-copy: #4b5563;
  --sync-bg: #ffffff;
  --sync-card: #f8f9fa;
  --page-bg: linear-gradient(180deg, #f0f7ff 0%, #ffffff 340px, #f8f9fa 100%);
  --footer-line: #e5e7eb;
  --footer-action-border: #d1d5db;
  --error-heading: #b91c1c;
  --error-copy: #991b1b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--nav);
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--blue);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--muted);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.theme-toggle:hover {
  color: var(--blue);
  background: var(--accent-wash);
  border-color: var(--blue);
  transform: rotate(20deg);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(31, 116, 255, 0.34);
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 5vw, 72px) 36px;
  overflow: hidden;
  background: var(--hero-bg);
  position: relative;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent-eyebrow {
  position: relative;
  display: inline-flex;
  width: fit-content;
  padding: 4px 0;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 48%, var(--green));
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 22px rgba(0, 155, 211, 0.22);
}

.accent-eyebrow::before {
  position: absolute;
  inset: -8px -14px;
  z-index: -1;
  content: "";
  background-image: radial-gradient(circle, rgba(0, 155, 211, 0.24) 1px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 999px;
  opacity: 0.52;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 4.8vw, 4.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
}

.brand-gradient {
  color: var(--blue);
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.proof-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent-wash) 76%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.proof-chips span::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-links a:hover {
  filter: saturate(1.1);
  transform: translateY(-2px);
}

.store-links img {
  width: auto;
  height: 46px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 14% 9% 10%;
  content: "";
  background: var(--hero-plate);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.product-visual {
  min-height: auto;
  justify-content: flex-end;
}

.product-visual::before {
  inset: 10% 6% 8% 18%;
  border-radius: 32px;
  transform: rotate(-2deg);
}

.vault-mockup {
  position: relative;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  width: min(820px, 58vw);
  min-height: 430px;
  overflow: hidden;
  color: var(--ink);
  background: var(--vault-shell);
  border: 1px solid rgba(0, 155, 211, 0.2);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(15, 38, 52, 0.18);
  backdrop-filter: blur(20px);
}

.vault-mockup::before {
  position: absolute;
  inset: -30% auto auto -18%;
  width: 260px;
  height: 260px;
  content: "";
  background: radial-gradient(circle, var(--vault-glow), transparent 68%);
  pointer-events: none;
}

.vault-sidebar,
.vault-panel {
  position: relative;
  z-index: 1;
}

.vault-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px;
  background: var(--vault-sidebar);
  border-right: 1px solid var(--line);
}

.vault-tab {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 850;
}

.vault-tab.active {
  color: var(--blue);
  background: var(--surface);
  border-color: rgba(0, 155, 211, 0.22);
  box-shadow: 0 14px 28px rgba(0, 155, 211, 0.12);
}

.vault-panel {
  padding: 24px;
  background: var(--vault-panel);
}

.vault-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.vault-topbar strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.vault-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vault-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--blue);
  background: var(--accent-wash);
  border: 1px solid rgba(0, 155, 211, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.vault-search-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 0 16px;
  color: var(--tertiary);
  background: var(--vault-field);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 750;
}

.credential-list {
  display: grid;
  gap: 8px;
}

.credential-row {
  display: grid;
  grid-template-columns: 42px minmax(120px, 1fr) minmax(74px, auto) auto;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 9px 14px;
  background: var(--vault-row);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.credential-row.selected {
  background: var(--vault-row-active);
  border-color: rgba(0, 155, 211, 0.28);
  box-shadow: 0 16px 32px rgba(0, 155, 211, 0.12);
}

.credential-row strong,
.credential-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credential-row strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.credential-row small,
.password-dots {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.credential-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 13px;
  font-weight: 900;
}

.credential-icon.purple {
  background: #8b5cf6;
}

.credential-icon.blue {
  background: var(--blue);
}

.credential-icon.cyan {
  background: #0891b2;
}

.credential-icon.green {
  background: var(--green);
}

.credential-icon.orange {
  background: #f59e0b;
}

.password-dots {
  letter-spacing: 0.08em;
}

.health {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.health.good {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

.health.warn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.16);
}

.hero-reveal {
  animation: hero-enter 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-1 {
  animation-delay: 80ms;
}

.reveal-2 {
  animation-delay: 150ms;
}

.reveal-3 {
  animation-delay: 230ms;
}

.reveal-4 {
  animation-delay: 310ms;
}

.reveal-5 {
  animation-delay: 390ms;
}

.reveal-visual {
  animation-delay: 220ms;
  animation-name: hero-visual-enter;
  animation-duration: 900ms;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: -18px auto 0;
  padding: 0 clamp(18px, 5vw, 36px);
  position: relative;
  z-index: 2;
}

.stats div {
  min-height: 218px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(21, 25, 34, 0.06);
}

.stat-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  color: var(--blue);
  background: var(--badge-bg);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.stats p,
.feature-strip p,
.intro p,
.story p,
.story li,
.sync p,
.site-footer a,
.site-footer p {
  color: var(--muted);
}

.feature-strip .accent-eyebrow,
.intro .accent-eyebrow,
.sync .accent-eyebrow {
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 48%, var(--green));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(0, 155, 211, 0.22);
}

html[data-theme="dark"] .feature-strip .accent-eyebrow,
html[data-theme="dark"] .intro .accent-eyebrow,
html[data-theme="dark"] .sync .accent-eyebrow {
  background: linear-gradient(90deg, #38bdf8, #22d3ee 48%, #34d399);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 26px rgba(34, 211, 238, 0.24);
}

.feature-strip {
  max-width: 1180px;
  margin: 52px auto 76px;
  padding: 0 clamp(18px, 5vw, 36px);
}

.feature-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.feature-heading .eyebrow {
  margin-bottom: -4px;
}

.feature-heading h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.35vw, 3.15rem);
}

.feature-heading p:last-child {
  max-width: 820px;
  margin-bottom: 4px;
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-strip article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(21, 25, 34, 0.06);
}

.feature-strip h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.feature-icon,
.step,
.sync-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--badge-bg);
  border-radius: 50%;
  font-weight: 900;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: center;
  padding: clamp(60px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--footer);
  color: var(--ink);
}

.intro h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 3.25vw, 3.25rem);
  line-height: 1.05;
}

.intro p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--intro-copy);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.story {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  max-width: 1180px;
  margin: 92px auto;
  padding: 0 clamp(18px, 5vw, 36px);
}

.story.reverse .story-visual {
  order: 2;
}

.story-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  background: radial-gradient(circle at 22% 18%, rgba(0, 198, 255, 0.2), transparent 34%),
    linear-gradient(145deg, var(--vault-sidebar), var(--surface));
  border: 1px solid rgba(0, 155, 211, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.story-visual::before {
  position: absolute;
  inset: 9%;
  content: "";
  background-image:
    linear-gradient(rgba(0, 155, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 155, 211, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  border-radius: 16px;
  pointer-events: none;
}

.story-visual > * {
  position: relative;
  z-index: 1;
}

.story-credentials {
  align-content: center;
  gap: 14px;
}

.story-vault-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(100%, 420px);
  min-height: 68px;
  padding: 12px;
  background: var(--vault-row);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15, 38, 52, 0.08);
}

.story-vault-card.large {
  width: min(100%, 460px);
  min-height: 82px;
  border-color: rgba(0, 155, 211, 0.28);
  transform: translateX(-14px);
}

.story-vault-card:nth-child(2) {
  transform: translateX(24px);
}

.story-vault-card:nth-child(3) {
  transform: translateX(-4px);
}

.story-vault-card strong,
.story-vault-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-vault-card strong {
  line-height: 1.2;
}

.story-vault-card small,
.story-vault-card > span:last-child,
.privacy-panel small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.story-vault-card > span:last-child {
  padding: 6px 9px;
  color: var(--blue);
  background: var(--accent-wash);
  border-radius: 999px;
}

.story-vault-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 13px;
  font-weight: 900;
}

.story-vault-icon.green {
  background: var(--green);
}

.story-vault-icon.orange {
  background: #f59e0b;
}

.story-devices {
  min-height: 440px;
}

.device-card {
  position: absolute;
  background: var(--vault-row);
  border: 1px solid var(--line);
  box-shadow: 0 24px 52px rgba(15, 38, 52, 0.12);
}

.desktop-card {
  left: 12%;
  top: 20%;
  width: 68%;
  min-height: 220px;
  padding: 22px;
  border-radius: 18px;
}

.device-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.device-bar span {
  width: 9px;
  height: 9px;
  background: var(--line);
  border-radius: 50%;
}

.device-row {
  height: 34px;
  margin-bottom: 12px;
  background: var(--vault-field);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.device-row.active {
  background: var(--vault-row-active);
  border-color: rgba(0, 155, 211, 0.28);
}

.device-row.short {
  width: 72%;
}

.phone-card {
  right: 12%;
  bottom: 13%;
  width: 30%;
  min-width: 130px;
  aspect-ratio: 0.62;
  border-radius: 24px;
}

.phone-notch {
  width: 34%;
  height: 8px;
  margin: 14px auto 28px;
  background: var(--line);
  border-radius: 999px;
}

.phone-lock {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 18px;
}

.phone-line {
  width: 64%;
  height: 10px;
  margin: 0 auto 12px;
  background: var(--line);
  border-radius: 999px;
}

.phone-line.short {
  width: 44%;
}

.sync-orbit {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(0, 155, 211, 0.34);
  border-radius: 50%;
}

.sync-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 155, 211, 0.12);
}

.sync-orbit span:nth-child(1) {
  left: 18%;
  top: 8%;
}

.sync-orbit span:nth-child(2) {
  right: 12%;
  top: 42%;
}

.sync-orbit span:nth-child(3) {
  bottom: 10%;
  left: 34%;
}

.story-privacy {
  gap: 20px;
}

.privacy-shield {
  display: grid;
  place-items: center;
  width: min(42%, 190px);
  aspect-ratio: 0.9;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  border-radius: 42% 42% 48% 48% / 24% 24% 58% 58%;
  box-shadow: 0 24px 56px rgba(0, 155, 211, 0.24);
}

.privacy-shield span {
  width: 34%;
  aspect-ratio: 1;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  position: relative;
}

.privacy-shield span::before {
  position: absolute;
  left: 50%;
  bottom: 72%;
  width: 72%;
  height: 52%;
  content: "";
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.privacy-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 430px);
}

.privacy-panel div {
  padding: 14px 16px;
  background: var(--vault-row);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.privacy-panel strong,
.privacy-panel small {
  display: block;
}

.story ul {
  display: grid;
  gap: 16px;
  padding-left: 20px;
}

.sync {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 98px) clamp(18px, 5vw, 72px);
  background: var(--sync-bg);
}

.sync-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.72fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
  max-width: 1180px;
}

.sync-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.sync-heading h2 {
  margin-bottom: 0;
}

.sync-heading p:last-child {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.sync-grid {
  display: grid;
  gap: 14px;
}

.sync-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sync-card);
}

.sync-grid article span {
  grid-row: span 2;
  margin-bottom: 0;
}

.sync-grid article h3 {
  margin-bottom: 8px;
}

.sync-grid article p {
  margin-bottom: 0;
}

.sync-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  background: radial-gradient(circle at 72% 22%, rgba(0, 198, 255, 0.2), transparent 34%),
    linear-gradient(145deg, var(--vault-sidebar), var(--surface));
  border: 1px solid rgba(0, 155, 211, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.sync-visual::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px dashed rgba(0, 155, 211, 0.28);
  border-radius: 50%;
}

.sync-desktop {
  position: relative;
  z-index: 1;
  width: 78%;
  min-height: 330px;
  padding: 22px;
  background: var(--vault-row);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 26px 58px rgba(15, 38, 52, 0.14);
}

.sync-window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.sync-window-bar span {
  width: 9px;
  height: 9px;
  background: var(--line);
  border-radius: 50%;
}

.sync-window-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sync-window-head strong,
.sync-window-head small,
.sync-item strong,
.sync-item small {
  display: block;
}

.sync-window-head small {
  color: var(--blue);
  font-weight: 850;
}

.sync-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  margin-bottom: 10px;
  padding: 11px 12px;
  background: var(--vault-field);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.sync-item.active {
  background: var(--vault-row-active);
  border-color: rgba(0, 155, 211, 0.28);
}

.sync-item small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.sync-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 13px;
  font-weight: 900;
}

.sync-item-icon.cyan {
  background: #0891b2;
}

.sync-item-icon.green {
  background: var(--green);
}

.sync-phone {
  position: absolute;
  right: clamp(22px, 5vw, 54px);
  bottom: clamp(22px, 5vw, 48px);
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: start;
  width: min(34%, 180px);
  min-width: 142px;
  aspect-ratio: 0.62;
  padding: 16px 14px;
  background: var(--vault-row);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(15, 38, 52, 0.18);
}

.sync-phone strong {
  margin-top: 20px;
  color: var(--blue);
  font-size: 2.7rem;
  line-height: 1;
}

.sync-phone small {
  color: var(--muted);
  font-weight: 850;
}

.sync-pulse {
  width: 54%;
  aspect-ratio: 1;
  margin-top: auto;
  margin-bottom: 12px;
  background: radial-gradient(circle, var(--green) 0 28%, rgba(16, 185, 129, 0.16) 30% 58%, transparent 60%);
  border-radius: 50%;
}

.download {
  margin: 0;
  padding: clamp(58px, 8vw, 86px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.download h2 {
  max-width: 780px;
  margin: 0 auto 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.download .store-links {
  justify-content: center;
}

.auth-action-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.auth-action-page::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.auth-action-card {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.auth-action-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 0 auto 24px;
  background: var(--accent-wash);
  border: 1px solid rgba(0, 155, 211, 0.18);
  border-radius: 32px;
}

.auth-envelope {
  position: relative;
  width: 58px;
  height: 42px;
  border: 4px solid var(--blue);
  border-radius: 8px;
}

.auth-envelope::before,
.auth-envelope::after {
  position: absolute;
  top: 7px;
  width: 31px;
  height: 4px;
  content: "";
  background: var(--blue);
}

.auth-envelope::before {
  left: 1px;
  transform: rotate(32deg);
  transform-origin: left center;
}

.auth-envelope::after {
  right: 1px;
  transform: rotate(-32deg);
  transform-origin: right center;
}

.auth-lock {
  position: relative;
  width: 56px;
  height: 46px;
  margin-top: 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
}

.auth-lock::before {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 34px;
  height: 28px;
  content: "";
  border: 6px solid var(--blue);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.auth-lock::after {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 8px;
  height: 16px;
  content: "";
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transform: translateX(-50%);
}

.auth-checkmark {
  position: absolute;
  right: 17px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  background: var(--green);
  border: 4px solid var(--surface);
  border-radius: 50%;
}

.auth-checkmark::before {
  position: absolute;
  left: 9px;
  top: 8px;
  width: 12px;
  height: 7px;
  content: "";
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.auth-action-card h1 {
  max-width: 680px;
  margin: 0 auto 16px;
  font-size: clamp(2.3rem, 5vw, 4.35rem);
}

.auth-action-card p {
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.auth-action-card.has-error [data-action-message],
.auth-action-card.has-error [data-reset-message] {
  color: var(--error-copy);
}

.auth-form-card {
  width: min(100%, 720px);
}

.auth-action-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 18px auto 26px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--accent-wash);
  border: 1px solid rgba(0, 155, 211, 0.18);
  border-radius: 999px;
  font-weight: 900;
}

.auth-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 155, 211, 0.18);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: auth-spin 900ms linear infinite;
}

.auth-action-status.is-success span:first-child,
.auth-action-status.is-error span:first-child {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.auth-action-status.is-success {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.24);
}

.auth-action-status.is-success span:first-child {
  background: var(--green);
}

.auth-action-status.is-error {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.auth-action-status.is-error span:first-child {
  background: #f59e0b;
}

.auth-action-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.auth-action-actions[hidden],
.auth-reset-form[hidden],
.auth-action-status[hidden] {
  display: none;
}

.auth-action-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.auth-action-actions .auth-primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
}

.auth-reset-form {
  display: grid;
  gap: 16px;
  max-width: 480px;
  margin: 24px auto 0;
  text-align: left;
}

.auth-reset-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.auth-reset-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.auth-reset-form input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 155, 211, 0.18);
}

.auth-form-hint {
  margin: -2px 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-shell {
  background: var(--page-bg);
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px) clamp(72px, 8vw, 104px);
}

.page-hero {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.page-hero h1 {
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-panel h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel a {
  color: var(--blue);
  font-weight: 800;
}

.content-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.content-panel ol {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.legal-content {
  max-width: 980px;
}

.faq-list h2 {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.faq-list h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.site-footer {
  padding: 72px clamp(18px, 5vw, 72px) 34px;
  background: var(--footer);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto 48px;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.site-footer a {
  display: table;
  margin-bottom: 10px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  margin: 0;
  color: var(--muted);
  border: 1px solid var(--footer-action-border);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.footer-actions a:hover {
  color: var(--blue);
  border-color: rgba(14, 165, 233, 0.45);
  background: var(--accent-wash);
}

.footer-bottom p {
  margin: 0;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6edf3;
  --muted: #8b949e;
  --tertiary: #6e7681;
  --line: #21262d;
  --surface: #161b22;
  --wash: #0d1117;
  --accent-wash: #1c2635;
  --blue: #0ea5e9;
  --cyan: #10b981;
  --green: #10b981;
  --purple: #8b5cf6;
  --footer: #161b22;
  --shadow: 0 20px 30px rgba(0, 0, 0, 0.75);
  --header-bg: rgba(13, 17, 23, 0.94);
  --header-line: #21262d;
  --nav: #8b949e;
  --hero-bg: radial-gradient(circle at 14% 18%, rgba(14, 165, 233, 0.22), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(139, 92, 246, 0.18), transparent 32%),
    #0d1117;
  --hero-plate: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.1));
  --vault-shell: rgba(17, 24, 39, 0.9);
  --vault-panel: rgba(13, 17, 23, 0.78);
  --vault-row: rgba(22, 27, 34, 0.9);
  --vault-row-active: rgba(14, 165, 233, 0.16);
  --vault-sidebar: rgba(13, 17, 23, 0.88);
  --vault-field: rgba(22, 27, 34, 0.86);
  --vault-glow: rgba(14, 165, 233, 0.2);
  --badge-bg: rgba(14, 165, 233, 0.12);
  --intro-copy: #8b949e;
  --sync-bg: #0d1117;
  --sync-card: #161b22;
  --page-bg: linear-gradient(180deg, #1c2635 0%, #0d1117 340px, #0d1117 100%);
  --footer-line: #21262d;
  --footer-action-border: #30363d;
  --error-heading: #fca5a5;
  --error-copy: #fecaca;
}

html[data-theme="dark"] .store-links img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

html[data-theme="dark"] .feature-strip article,
html[data-theme="dark"] .content-panel,
html[data-theme="dark"] .stats div,
html[data-theme="dark"] .sync-grid article {
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .sync img {
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.38));
}

html[data-theme="dark"] .story-visual {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .vault-mockup {
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .health.good {
  color: #86efac;
}

html[data-theme="dark"] .health.warn {
  color: #fbbf24;
}

html[data-theme="dark"] .auth-action-status.is-success {
  color: #86efac;
}

html[data-theme="dark"] .auth-action-status.is-error {
  color: #fca5a5;
}

html[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --ink: #e6edf3;
    --muted: #8b949e;
    --tertiary: #6e7681;
    --line: #21262d;
    --surface: #161b22;
    --wash: #0d1117;
    --accent-wash: #1c2635;
    --blue: #0ea5e9;
    --cyan: #10b981;
    --green: #10b981;
    --purple: #8b5cf6;
    --footer: #161b22;
    --shadow: 0 20px 30px rgba(0, 0, 0, 0.75);
    --header-bg: rgba(13, 17, 23, 0.94);
    --header-line: #21262d;
    --nav: #8b949e;
    --hero-bg: radial-gradient(circle at 14% 18%, rgba(14, 165, 233, 0.22), transparent 30%),
      radial-gradient(circle at 86% 22%, rgba(139, 92, 246, 0.18), transparent 32%),
      #0d1117;
    --hero-plate: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(16, 185, 129, 0.1));
    --vault-shell: rgba(17, 24, 39, 0.9);
    --vault-panel: rgba(13, 17, 23, 0.78);
    --vault-row: rgba(22, 27, 34, 0.9);
    --vault-row-active: rgba(14, 165, 233, 0.16);
    --vault-sidebar: rgba(13, 17, 23, 0.88);
    --vault-field: rgba(22, 27, 34, 0.86);
    --vault-glow: rgba(14, 165, 233, 0.2);
    --badge-bg: rgba(14, 165, 233, 0.12);
    --intro-copy: #8b949e;
    --sync-bg: #0d1117;
    --sync-card: #161b22;
    --page-bg: linear-gradient(180deg, #1c2635 0%, #0d1117 340px, #0d1117 100%);
    --footer-line: #21262d;
    --footer-action-border: #30363d;
    --error-heading: #fca5a5;
    --error-copy: #fecaca;
  }

  html:not([data-theme]) .store-links img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
  }

  html:not([data-theme]) .feature-strip article,
  html:not([data-theme]) .content-panel,
  html:not([data-theme]) .stats div,
  html:not([data-theme]) .sync-grid article {
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  }

  html:not([data-theme]) .sync img {
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.38));
  }

  html:not([data-theme]) .story-visual {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  }

  html:not([data-theme]) .vault-mockup {
    border-color: rgba(14, 165, 233, 0.22);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  }

  html:not([data-theme]) .health.good {
    color: #86efac;
  }

  html:not([data-theme]) .health.warn {
    color: #fbbf24;
  }

  html:not([data-theme]) .auth-action-status.is-success {
    color: #86efac;
  }

  html:not([data-theme]) .auth-action-status.is-error {
    color: #fca5a5;
  }

  html:not([data-theme]) .feature-strip .accent-eyebrow,
  html:not([data-theme]) .intro .accent-eyebrow,
  html:not([data-theme]) .sync .accent-eyebrow {
    background: linear-gradient(90deg, #38bdf8, #22d3ee 48%, #34d399);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 26px rgba(34, 211, 238, 0.24);
  }

  html:not([data-theme]) .hero::before {
    background-image:
      linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
  }
}

@media (max-width: 960px) {
  .hero,
  .intro,
  .story,
  .sync {
    grid-template-columns: 1fr;
  }

  .sync-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .product-visual {
    justify-content: center;
  }

  .vault-mockup {
    width: min(100%, 900px);
  }

  .stats,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story.reverse .story-visual {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal {
    animation: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 34px;
  }

  .vault-mockup {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-visual {
    min-height: 320px;
    aspect-ratio: auto;
  }

  .sync-visual {
    min-height: 420px;
  }

  .sync-desktop {
    width: 86%;
  }

  .sync-phone {
    right: 18px;
    width: 38%;
  }

  .story-vault-card,
  .story-vault-card.large,
  .story-vault-card:nth-child(2),
  .story-vault-card:nth-child(3) {
    transform: none;
  }

  .vault-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vault-tab {
    flex: 0 0 auto;
  }

  .vault-panel {
    padding: 18px;
  }

  .vault-topbar {
    flex-direction: column;
    gap: 10px;
  }

  .credential-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .password-dots {
    display: none;
  }

  .stats,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
    padding-top: 18px;
  }

  .stats div,
  .feature-strip article,
  .sync-grid article {
    padding: 24px;
  }

  .feature-strip {
    margin: 42px auto 64px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
