:root {
  --bg-top: #07132d;
  --bg-bottom: #0b1c3f;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.18);
  --text-main: rgba(246, 249, 255, 0.96);
  --text-soft: rgba(220, 231, 248, 0.72);
  --text-faint: rgba(220, 231, 248, 0.52);
  --blue: #4dbaff;
  --cyan: #6edbe0;
  --green: #34d5bf;
  --violet: #6b5bff;
  --orange: #ff9f59;
  --gold: #ffc76a;
  --shadow: 0 28px 70px rgba(4, 10, 25, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 15%, rgba(77, 186, 255, 0.28), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(110, 219, 224, 0.22), transparent 26%),
    radial-gradient(circle at 50% 82%, rgba(107, 91, 255, 0.18), transparent 28%),
    linear-gradient(140deg, var(--bg-top), var(--bg-bottom));
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.75;
}

body::before {
  top: -10rem;
  right: -12rem;
  background: rgba(52, 213, 191, 0.16);
  animation: driftA 14s ease-in-out infinite alternate;
}

body::after {
  left: -14rem;
  bottom: -12rem;
  background: rgba(77, 186, 255, 0.16);
  animation: driftB 16s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
strong,
.eyebrow {
  letter-spacing: -0.03em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1.02rem;
}

.brand span,
.site-footer p {
  color: var(--text-faint);
  font-size: 0.92rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.site-nav,
.header-actions,
.hero-actions,
.hero-trust,
.cta-actions,
.footer-links,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
}

.site-nav a,
.subtle-link {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.header-menu {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.support-email {
  display: inline-block;
  margin-top: 16px;
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 600;
}

.site-nav a.is-active {
  color: var(--text-main);
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.header-actions {
  gap: 20px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.language-picker select {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
}

.hero-section,
.split-section,
.showcase-grid,
.support-grid,
.privacy-grid {
  display: grid;
  gap: 24px;
}

.hero-section {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  padding: 72px 0 32px;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.95;
}

.hero-lead {
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.eyebrow {
  margin-bottom: 16px;
  color: rgba(183, 224, 255, 0.82);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.primary-button {
  color: #06142e;
  background: linear-gradient(135deg, #dff8ff, #6edbe0);
  box-shadow: 0 14px 28px rgba(110, 219, 224, 0.24);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.hero-trust {
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
}

.hero-trust span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.device-cluster {
  position: relative;
  min-height: auto;
  display: flex;
}

.device-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.device-main {
  width: min(100%, 760px);
  min-height: 620px;
  margin-left: auto;
  padding: 28px;
}

.device-main h2 {
  font-size: 1.8rem;
  margin-top: 18px;
}

.device-main p {
  margin-top: 10px;
  max-width: 20rem;
}

.device-topbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill,
.muted-pill,
.device-badge,
.processor-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.pill-blue {
  background: rgba(77, 186, 255, 0.2);
  color: #dff6ff;
}

.muted-pill,
.device-badge,
.processor-label {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-soft);
}

.schedule-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin-top: 26px;
}

.schedule-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item strong,
.stacked-notes strong,
.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.schedule-item span,
.stacked-notes span,
.metric span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.accent-green {
  background: rgba(52, 213, 191, 0.14);
}

.accent-orange {
  background: rgba(255, 159, 89, 0.14);
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.9;
}

.orb-cyan {
  right: 24px;
  bottom: 24px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(223, 248, 255, 0.92), rgba(110, 219, 224, 0.38) 46%, rgba(77, 186, 255, 0.08) 72%, transparent 74%);
  box-shadow: 0 0 80px rgba(110, 219, 224, 0.18);
}

.hero-mini-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin-top: 22px;
}

.hero-mini-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-mini-card strong {
  margin: 0;
  font-size: 1rem;
}

.feature-ribbon {
  padding: 8px 0 22px;
}

.ribbon-card {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-radius: 999px;
}

.ribbon-card span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.content-section {
  padding: 34px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.narrative-panel h2,
.showcase-card h2,
.cta-card h2,
.glass-panel h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.04;
}

.section-heading p {
  margin-top: 14px;
}

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

.feature-card,
.narrative-panel,
.metrics-panel,
.showcase-card,
.page-hero,
.content-section > .glass-panel,
.table-card,
.processor-card,
.faq-item,
.cta-card,
.site-footer,
.support-grid > article,
.privacy-grid > article {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.feature-card p,
.narrative-panel p,
.showcase-card p,
.processor-card p,
.faq-item p {
  margin-top: 12px;
}

.processor-card h2 {
  margin-top: 16px;
  line-height: 1.12;
}

.processor-card p {
  line-height: 1.78;
}

.processor-card .detail-list {
  margin-top: 22px;
  gap: 14px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: white;
  font-weight: 700;
}

.bg-blue { background: rgba(77, 186, 255, 0.48); }
.bg-violet { background: rgba(107, 91, 255, 0.42); }
.bg-orange { background: rgba(255, 159, 89, 0.42); }
.bg-green { background: rgba(52, 213, 191, 0.42); }
.bg-cyan { background: rgba(110, 219, 224, 0.42); }
.bg-gold { background: rgba(255, 199, 106, 0.42); }

.split-section,
.privacy-grid,
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.metrics-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at top left, rgba(110, 219, 224, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.08);
}

.metric strong {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}

.detail-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.showcase-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.stacked-notes {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.stacked-notes > div {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.premium-card {
  background:
    radial-gradient(circle at 0 0, rgba(255, 199, 106, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
}

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

.page-main {
  padding-top: 40px;
}

.page-hero {
  margin-top: 12px;
}

.privacy-hero h1 {
  max-width: 15ch;
  line-height: 1.04;
}

.privacy-hero p {
  max-width: 72rem;
  margin-top: 18px;
  line-height: 1.75;
}

.data-table {
  display: grid;
  gap: 12px;
}

.data-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-row:last-child {
  border-bottom: 0;
}

.data-head span {
  color: var(--text-faint);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, 28px, 0); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(62px, -20px, 0); }
}

@media (max-width: 1080px) {
  .site-header,
  .hero-section,
  .feature-grid,
  .split-section,
  .showcase-grid,
  .processor-grid,
  .cta-card,
  .privacy-grid,
  .support-grid,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    position: static;
    border-radius: 32px;
    grid-template-columns: auto auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-menu {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 8px;
  }

  .header-menu.is-open {
    display: grid;
  }

  .site-nav,
  .header-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .site-nav,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav {
    padding-top: 8px;
    gap: 18px;
  }

  .language-picker {
    width: 100%;
    justify-content: space-between;
  }

  .language-picker select {
    min-width: 84px;
  }

  .device-cluster {
    min-height: auto;
  }

  .device-card {
    position: relative;
  }

  .device-main,
  .device-card {
    inset: auto;
    width: 100%;
    min-height: auto;
  }

  .visual-orb {
    width: 120px;
    height: 120px;
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 10px;
  }

  .site-header {
    gap: 16px;
    padding: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand div {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.8rem;
  }

  .section-heading h2,
  .narrative-panel h2,
  .showcase-card h2,
  .cta-card h2,
  .glass-panel h2 {
    font-size: 2rem;
  }

  .feature-card,
  .narrative-panel,
  .metrics-panel,
  .showcase-card,
  .page-hero,
  .table-card,
  .processor-card,
  .faq-item,
  .cta-card,
  .site-footer,
  .support-grid > article,
  .privacy-grid > article,
  .device-main {
    padding: 20px;
  }

  .privacy-hero h1 {
    max-width: 100%;
    line-height: 1.08;
  }

  .schedule-stack,
  .hero-mini-grid {
    max-width: 100%;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .data-row {
    grid-template-columns: 1fr;
  }
}
