:root {
  --paper: #f7f2e8;
  --paper-strong: #fffaf0;
  --text: #0f172a;
  --muted: #536275;
  --line: rgba(255, 255, 255, 0.7);
  --card: rgba(255, 255, 255, 0.76);
  --card-strong: rgba(255, 255, 255, 0.9);
  --cyan: #14bde6;
  --cyan-deep: #0b8ba7;
  --green: #3aa44a;
  --amber: #ffb31a;
  --amber-deep: #ff8b1f;
  --navy: #10243f;
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
  --radius-xl: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(20, 189, 230, 0.18), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(255, 179, 26, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.05));
  color: var(--text);
}

.landing-body {
  position: relative;
  overflow-x: clip;
}

[x-cloak] {
  display: none !important;
}

.page-orb {
  position: fixed;
  z-index: -3;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.75;
  pointer-events: none;
}

.page-orb-a {
  left: -10rem;
  top: 7rem;
  height: 22rem;
  width: 22rem;
  background: rgba(20, 189, 230, 0.18);
}

.page-orb-b {
  right: -8rem;
  top: 26rem;
  height: 20rem;
  width: 20rem;
  background: rgba(255, 179, 26, 0.2);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
  pointer-events: none;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(22px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(26px);
}

.nav-link {
  color: #344256;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--navy);
}

.nav-link-active {
  color: var(--navy);
  font-weight: 700;
}

.mobile-link {
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: #1e293b;
  text-decoration: none;
}

.mobile-link:hover,
.mobile-link:focus-visible {
  background: rgba(20, 189, 230, 0.08);
}

.mobile-link-active {
  font-weight: 700;
  color: #0f172a;
  background: rgba(20, 189, 230, 0.12);
}

.focus-ring:focus-visible {
  outline: 3px solid rgba(20, 189, 230, 0.28);
  outline-offset: 4px;
}

.cta-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.cta-button {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  color: #10243f;
  box-shadow: 0 18px 40px rgba(255, 179, 26, 0.32);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(255, 179, 26, 0.38);
}

.cta-button-light {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.secondary-button {
  border: 1px solid rgba(16, 36, 63, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #516172;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(226, 232, 240, 0.9);
}

.section-title {
  margin-top: 1.2rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #020617;
}

.section-copy {
  margin-top: 1.2rem;
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #475569;
}

.mini-proof-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.mini-proof-value {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.mini-proof-label {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #536275;
}

.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.phone-shell {
  position: relative;
  width: min(25rem, 100%);
  border-radius: 3rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(16, 36, 63, 0.96), rgba(32, 61, 94, 0.94));
  box-shadow:
    0 30px 80px rgba(16, 36, 63, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-screen {
  min-height: 40rem;
  border-radius: 2.35rem;
  padding: 1.45rem;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 26, 0.22), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #eef8fb 100%);
}

.phone-screen-recall {
  min-height: 47rem;
  padding: 1rem 0.75rem 0.9rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
}

.device-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.device-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0.65rem;
}

.device-time {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111827;
}

.device-notch {
  display: inline-flex;
  height: 1.55rem;
  width: 8.2rem;
  border-radius: 999px;
  background: #020617;
}

.device-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.device-signal span {
  height: 0.34rem;
  width: 0.34rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.25);
}

.device-signal span:last-child {
  width: 0.82rem;
  border: 1px solid rgba(15, 23, 42, 0.4);
  background: transparent;
  border-radius: 0.3rem;
}

.device-detail-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.device-icon-circle,
.device-icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.device-icon-circle {
  height: 2.55rem;
  width: 2.55rem;
  border-radius: 999px;
}

.device-icon-square {
  height: 2.35rem;
  width: 2.35rem;
  border-radius: 0.9rem;
}

.device-icon-circle svg,
.device-icon-square svg {
  height: 1.3rem;
  width: 1.3rem;
}

.device-detail-nav-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.device-recall-content {
  margin-top: 0.9rem;
  padding: 0 0.35rem;
}

.device-recall-title {
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #020617;
}

.device-recall-company {
  margin-top: 0.45rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.device-recall-meta {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.22rem;
}

.device-meta-row {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4b5563;
  font-size: 0.84rem;
}

.device-meta-icon {
  font-size: 0.83rem;
  opacity: 0.72;
}

.device-impact-card {
  margin-top: 0.95rem;
  border-radius: 1.25rem;
  background: rgba(254, 226, 226, 0.86);
  padding: 1rem;
  text-align: center;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.device-impact-value {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #ef4444;
}

.device-impact-label {
  margin-top: 0.4rem;
  color: #7c6b6b;
  font-size: 0.84rem;
}

.device-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.device-stack-recall {
  max-height: 20rem;
  overflow: hidden;
}

.device-card {
  border-radius: 1.35rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.95rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.device-card-detail .device-card-copy {
  margin-top: 0.48rem;
}

.device-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.device-card-row-detail {
  justify-content: flex-start;
}

.device-card-title {
  font-family: "Sora", sans-serif;
  color: #0f172a;
}

.device-card-title-detail {
  margin-top: 0;
  font-size: 0.94rem;
}

.device-card-copy {
  margin-top: 0.55rem;
  color: #111827;
  line-height: 1.45;
  font-size: 0.86rem;
}

.device-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  font-size: 1rem;
}

.device-flag-warning {
  color: #f59e0b;
}

.device-flag-risk {
  color: #ef4444;
}

.device-flag-symptoms {
  color: #d946ef;
}

.device-tabbar {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.35rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.45rem 0.28rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.device-tab-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.66rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.device-tab-icon {
  font-size: 1rem;
}

.device-tab-item-active {
  color: #d97706;
}

@media (hover: hover) and (pointer: fine) {
  .device-icon-circle:hover,
  .device-icon-square:hover,
  .device-icon-circle:focus-visible,
  .device-icon-square:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
    background: #fff;
  }

  .device-card:hover,
  .device-card:focus-within {
    transform: scale(1.015);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  }

  .device-impact-card:hover {
    transform: scale(1.015);
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.12);
  }

  .device-tab-item:hover,
  .device-tab-item:focus-visible {
    transform: scale(1.08);
  }
}

.proof-card,
.feature-card,
.plan-card,
.step-card,
.category-toggle {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.proof-card {
  border-radius: 1.75rem;
  padding: 1.4rem;
}

.proof-title {
  margin-top: 0.9rem;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: #0f172a;
}

.proof-copy {
  margin-top: 0.45rem;
  color: #64748b;
  line-height: 1.7;
}

.icon-badge {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(20, 189, 230, 0.12), rgba(255, 179, 26, 0.18));
  color: #0f172a;
}

.feature-card {
  border-radius: 1.9rem;
  padding: 1.6rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(20, 189, 230, 0.26);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.09);
}

.feature-title {
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  color: #0f172a;
}

.feature-copy {
  margin-top: 0.6rem;
  color: #536275;
  line-height: 1.8;
}

.steps-panel {
  position: relative;
  border-radius: calc(var(--radius-xl) + 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.7));
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.steps-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 5.2rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 189, 230, 0.4), rgba(255, 179, 26, 0.4));
}

.step-card {
  position: relative;
  z-index: 1;
  border-radius: 1.6rem;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(20, 189, 230, 0.12);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0c7189;
}

.step-title {
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  color: #0f172a;
}

.step-copy {
  margin-top: 0.55rem;
  color: #536275;
  line-height: 1.75;
}

.category-panel {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(16, 36, 63, 0.96), rgba(12, 24, 40, 0.98));
  padding: 1.5rem;
  box-shadow: 0 28px 70px rgba(16, 36, 63, 0.28);
}

.category-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.category-panel-header h3,
.category-panel-header .device-kicker {
  color: white;
}

.premium-badge {
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 179, 26, 0.92), rgba(255, 139, 31, 0.92));
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10243f;
}

.category-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  border-radius: 1.35rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.category-toggle-copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.category-toggle-icon {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  line-height: 1;
}

.category-toggle h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.category-toggle p {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.78);
}

.switch {
  position: relative;
  display: inline-flex;
  height: 2rem;
  width: 3.45rem;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background-color 180ms ease;
}

.switch::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  height: 1.55rem;
  width: 1.55rem;
  border-radius: 999px;
  background: white;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.switch-on {
  background: linear-gradient(135deg, rgba(20, 189, 230, 0.92), rgba(58, 164, 74, 0.92));
}

.switch-on::after {
  transform: translateX(1.45rem);
}

.plan-card {
  border-radius: 2rem;
  padding: 1.8rem;
}

.plan-card-highlight {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 26, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.76));
  border-color: rgba(255, 179, 26, 0.5);
  box-shadow: 0 24px 60px rgba(255, 179, 26, 0.18);
}

.plan-badge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 179, 26, 0.16);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a5a00;
}

.plan-name {
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: #0f172a;
}

.plan-copy {
  margin-top: 0.6rem;
  color: #536275;
  line-height: 1.75;
}

.plan-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #334155;
}

.plan-item svg {
  margin-top: 0.1rem;
  flex: none;
}

.cta-panel {
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 26, 0.26), transparent 24%),
    radial-gradient(circle at left center, rgba(20, 189, 230, 0.28), transparent 34%),
    linear-gradient(135deg, #10243f 0%, #16365e 100%);
  padding: clamp(2rem, 4vw, 3.4rem);
  box-shadow: 0 36px 80px rgba(16, 36, 63, 0.24);
}

.privacy-prose {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.76);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.privacy-prose section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.privacy-prose h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.privacy-prose p {
  margin-top: 0.85rem;
  line-height: 1.9;
  color: #475569;
}

.privacy-prose ul {
  margin-top: 0.85rem;
  list-style: disc;
  padding-left: 1.5rem;
  color: #475569;
}

.privacy-prose li + li {
  margin-top: 0.45rem;
}

.privacy-prose a,
.toc-link {
  color: #0c7189;
  text-decoration: underline;
  text-decoration-color: rgba(20, 189, 230, 0.3);
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .steps-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .phone-screen-recall {
    min-height: 42rem;
  }

  .device-stage {
    flex-direction: column;
    align-items: center;
  }

  .device-notch {
    width: 6.6rem;
  }

  .device-tabbar {
    border-radius: 1.2rem;
  }

  .category-panel-header {
    flex-direction: column;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
