:root {
  color-scheme: dark;
  --ink: #f7f5fb;
  --muted: #aaa5b7;
  --faint: #777181;
  --night: #07070c;
  --night-soft: #0d0c14;
  --panel: rgba(27, 25, 36, 0.88);
  --panel-strong: #1d1a27;
  --line: rgba(255, 255, 255, 0.09);
  --purple: #da35ee;
  --purple-soft: #8c77ef;
  --orange: #ff8a34;
  --green: #2bd466;
  --cream: #f4f0df;
  --max: 1180px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(102, 70, 192, 0.18), transparent 27rem),
    radial-gradient(circle at 14% 44%, rgba(218, 53, 238, 0.08), transparent 24rem),
    var(--night);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(218, 53, 238, 0.65);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--purple);
}

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

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

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(65, 49, 130, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  min-height: 830px;
  padding: 48px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #e59af0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

h1 {
  max-width: 770px;
  margin-bottom: 26px;
  font-size: clamp(3.35rem, 7vw, 6.4rem);
  font-weight: 790;
}

.gradient-text {
  background: linear-gradient(112deg, var(--cream) 5%, #f0a3fb 52%, #a895ff 95%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-copy strong {
  color: var(--ink);
  font-weight: 680;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #101016;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  box-shadow: 0 10px 35px rgba(235, 218, 247, 0.13);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.82rem;
}

.availability::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(43, 212, 102, 0.8);
  content: "";
}

/* Shield-style metadata badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.badge > span {
  padding: 8px 11px;
}

.badge-key {
  background: rgba(6, 6, 10, 0.75);
  color: var(--muted);
}

.badge-value {
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.badge-value.is-purple {
  border-left-color: rgba(140, 119, 239, 0.3);
  background: rgba(140, 119, 239, 0.18);
  color: #c7b9ff;
}

.badge-value.is-orange {
  border-left-color: rgba(255, 138, 52, 0.3);
  background: rgba(255, 138, 52, 0.16);
  color: #ffb47f;
}

.badge-value.is-green {
  border-left-color: rgba(43, 212, 102, 0.3);
  background: rgba(43, 212, 102, 0.15);
  color: #7ce8a4;
}

.badge-value.is-swift {
  border-left-color: rgba(240, 81, 56, 0.32);
  background: rgba(240, 81, 56, 0.16);
  color: #ff9d8a;
}

.hero-badges {
  margin-top: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.chip::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple-soft);
  content: "";
}

.page-hero .badge-row {
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.hero-visual::before {
  position: absolute;
  inset: 13% -4% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 91, 222, 0.3), rgba(122, 91, 222, 0) 66%);
  filter: blur(20px);
  content: "";
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 54px;
  background: linear-gradient(145deg, #312b3e, #0c0b10 30%, #27232f 92%);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.48), inset 0 0 0 2px #08070a;
  transform: rotate(1.25deg);
}

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

.floating-note {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 19%;
  width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(30, 27, 38, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.floating-note span {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-note strong {
  color: var(--orange);
  font-size: 1.08rem;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 55px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 770;
}

.section-heading p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contrast-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.contrast-card.accent {
  border-color: rgba(218, 53, 238, 0.27);
  background:
    radial-gradient(circle at 85% 18%, rgba(218, 53, 238, 0.19), transparent 45%),
    linear-gradient(145deg, rgba(42, 30, 52, 0.95), rgba(20, 18, 29, 0.92));
}

.card-label {
  margin: 0 0 24px;
  color: var(--faint);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contrast-card h3 {
  max-width: 470px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contrast-card p:not(.card-label) {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.metric-row {
  position: absolute;
  right: 35px;
  bottom: 32px;
  left: 35px;
  display: flex;
  gap: 9px;
}

.metric-pill {
  flex: 1;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.19);
  color: var(--faint);
  font-size: 0.76rem;
  text-align: center;
}

.metric-pill.active {
  border-color: rgba(218, 53, 238, 0.45);
  background: rgba(218, 53, 238, 0.12);
  color: #f2b6f9;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.story-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.56;
  background: #000;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.story-card:nth-child(2) {
  margin-top: 48px;
}

.story-copy {
  min-height: 215px;
  padding: 28px;
}

.story-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(218, 53, 238, 0.14);
  color: #efa1f7;
  font-size: 0.75rem;
  font-weight: 800;
}

.story-copy h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.formula {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(35px, 8vw, 110px);
  align-items: center;
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 30%, rgba(101, 78, 187, 0.17), transparent 45%),
    #111019;
}

.formula h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.formula p {
  margin: 0;
  color: var(--muted);
}

.equation {
  display: grid;
  gap: 12px;
}

.equation-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}

.equation-row strong {
  margin-left: auto;
  white-space: nowrap;
}

.equation-row .debt {
  color: var(--orange);
}

.privacy-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-strip h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.privacy-strip p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.privacy-points {
  display: grid;
  gap: 12px;
}

.privacy-point {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
}

.privacy-point::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(43, 212, 102, 0.45);
  content: "";
}

.spec-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 6vw, 70px);
  align-items: start;
}

.spec-strip h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.spec-strip > div > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.spec-panel {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  text-align: right;
}

.spec-panel .button {
  justify-self: start;
}

.cta {
  padding: 100px 30px;
  border: 1px solid rgba(218, 53, 238, 0.22);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 110%, rgba(218, 53, 238, 0.2), transparent 48%),
    linear-gradient(155deg, #15131e, #0d0c12);
  text-align: center;
}

.cta h2 {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 18px;
  margin-left: auto;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.cta p {
  max-width: 580px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 55px;
  color: var(--faint);
  font-size: 0.8rem;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

/* Support and privacy pages */
.page-hero {
  max-width: 850px;
  padding: 105px 0 72px;
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.page-hero > p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 85px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(218, 53, 238, 0.25);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(218, 53, 238, 0.12), rgba(255, 255, 255, 0.03));
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 70px;
  align-items: start;
  padding-bottom: 120px;
}

.prose {
  min-width: 0;
}

.prose section {
  padding: 0 0 48px;
  scroll-margin-top: 25px;
}

.prose section + section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

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

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 15px 0 16px;
  padding-left: 1.25rem;
}

.prose > section > :last-child {
  margin-bottom: 0;
}

.prose li + li {
  margin-top: 9px;
}

.prose strong {
  color: var(--ink);
}

.side-nav {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 18, 28, 0.8);
  backdrop-filter: blur(16px);
}

.side-nav p {
  margin: 3px 10px 8px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.83rem;
  text-decoration: none;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--purple-soft);
  border-radius: 4px 14px 14px 4px;
  background: rgba(140, 119, 239, 0.08);
  color: var(--muted);
}

.last-updated {
  display: inline-block;
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.82rem;
}

:focus-visible {
  outline: 3px solid rgba(218, 53, 238, 0.65);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
  }

  .hero-copy-wrap {
    text-align: center;
  }

  .hero-copy,
  .hero h1 {
    margin-right: auto;
    margin-left: auto;
  }

  .eyebrow,
  .actions,
  .availability,
  .hero-badges,
  .hero-copy-wrap .chip-row {
    justify-content: center;
  }

  .floating-note {
    right: 4%;
  }

  .contrast-grid,
  .formula,
  .privacy-strip,
  .spec-strip,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card:nth-child(2) {
    margin-top: 0;
  }

  .story-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    margin-inline: auto;
  }

  .side-nav {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 14px;
    padding-top: 8px;
    font-size: 0.78rem;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 65px 0 75px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.5rem);
  }

  .hero-visual {
    padding-inline: 14px;
  }

  .phone-shell {
    border-radius: 45px;
  }

  .phone-shell img {
    border-radius: 37px;
  }

  .floating-note {
    right: -4px;
    bottom: 16%;
    width: 160px;
  }

  .section {
    padding: 78px 0;
  }

  .contrast-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .story-copy {
    min-height: auto;
  }

  .metric-row {
    right: 22px;
    left: 22px;
  }

  .metric-pill {
    padding: 9px 5px;
    font-size: 0.67rem;
  }

  .formula {
    padding: 30px 22px;
  }

  .equation-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .equation-row strong {
    margin-left: 0;
  }

  .cta {
    padding: 72px 20px;
  }

  .badge {
    font-size: 0.69rem;
  }

  .badge > span {
    padding: 7px 9px;
  }

  .spec-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .spec-list dd {
    text-align: left;
  }

  .footer-row,
  .contact-card {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
  }

  .page-hero {
    padding-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
