:root {
  color-scheme: dark;
  --ink: #f4f5ff;
  --muted: #a8adbf;
  --line: rgba(210, 215, 232, 0.16);
  --paper: #07070b;
  --panel: rgba(21, 21, 32, 0.76);
  --panel-strong: rgba(31, 25, 44, 0.88);
  --soft: #101018;
  --brand: #9a35ff;
  --brand-hot: #d62cff;
  --brand-dark: #171020;
  --silver: #d4d8e7;
  --silver-deep: #8f96aa;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(154, 53, 255, 0.28), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(214, 44, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #11111a 0%, #07070b 44%, #0a0a10 100%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 7, 11, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 760;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--silver-deep);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-links a:hover {
  color: var(--silver);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--silver-deep);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.language-switcher button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(214, 44, 255, 0.92), rgba(116, 27, 218, 0.92));
  color: #fff;
  box-shadow: 0 10px 24px rgba(154, 53, 255, 0.26);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 72px) 48px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.8vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--silver);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.15;
}

.button.primary {
  background: linear-gradient(135deg, #d62cff 0%, #741bda 48%, #171020 100%);
  border-color: rgba(214, 44, 255, 0.72);
  color: #fff;
  box-shadow: 0 18px 42px rgba(154, 53, 255, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver);
  border-color: rgba(212, 216, 231, 0.28);
}

.button.large {
  min-width: 210px;
  min-height: 56px;
}

.note {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  min-height: 620px;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9% 2% 1% 0;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 28%, rgba(214, 44, 255, 0.28), transparent 32%),
    radial-gradient(circle at 72% 58%, rgba(76, 210, 255, 0.18), transparent 34%);
  filter: blur(32px);
  opacity: 0.72;
}

.iphone-mockup {
  position: relative;
  isolation: isolate;
  width: min(268px, 20vw);
  margin: 0;
  padding: 6px;
  border-radius: 48px;
  background:
    linear-gradient(90deg, #0a0b0f 0%, #3d414b 2.8%, #0d0e13 7%, #050508 50%, #151720 93%, #777c88 97.2%, #11131a 100%);
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.58),
    0 18px 42px rgba(80, 25, 142, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 2px rgba(0, 0, 0, 0.72);
}

.iphone-mockup::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 1;
  border-radius: 45px;
  border: 1px solid rgba(232, 234, 244, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 10px 0 18px rgba(255, 255, 255, 0.08),
    inset -12px 0 20px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.iphone-mockup::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border-radius: 39px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 18%, transparent 38%),
    linear-gradient(245deg, rgba(255, 255, 255, 0.06), transparent 30%);
  pointer-events: none;
}

.iphone-screen {
  position: relative;
  display: block;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border-radius: 39px;
  background: #f2f2f7;
  box-shadow:
    0 0 0 2px #030306,
    0 0 0 5px rgba(5, 5, 8, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.iphone-button {
  position: absolute;
  display: block;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #878c98, #1c1f27 34%, #08090d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.button-action {
  top: 13.5%;
  left: -3px;
  height: 34px;
}

.button-volume-up {
  top: 20.4%;
  left: -3px;
  height: 58px;
}

.button-volume-down {
  top: 28.2%;
  left: -3px;
  height: 58px;
}

.button-camera-control {
  top: 24.5%;
  right: -3px;
  width: 5px;
  height: 78px;
  background: linear-gradient(180deg, #9ea3ad, #252933 42%, #0b0d12);
}

.phone-front {
  position: relative;
  z-index: 2;
  justify-self: center;
  transform: none;
}

.phone-back {
  justify-self: center;
  margin-left: 0;
  transform: translateY(28px);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 16, 0.72);
}

.trust-strip span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--silver);
  font-size: 14px;
  font-weight: 720;
}

.section,
.split-section,
.cta-section {
  padding: clamp(66px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

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

.feature,
.privacy-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

.feature:nth-child(2) {
  background: rgba(30, 28, 43, 0.82);
}

.feature:nth-child(3) {
  background: rgba(35, 20, 50, 0.84);
}

.feature-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--brand-hot);
  font-size: 14px;
  font-weight: 840;
}

.feature p,
.privacy-grid p,
.split-section p,
.cta-section p,
.check-list {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(154, 53, 255, 0.12), transparent 40%),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section p {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-hot);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.82);
}

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

.privacy-grid article {
  min-height: 210px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(214, 44, 255, 0.26), transparent 42%),
    linear-gradient(225deg, rgba(212, 216, 231, 0.08), transparent 38%),
    #0d0b14;
  color: #fff;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p {
  max-width: 640px;
  margin: 18px 0 0;
}

.cta-section .button.primary {
  background: #fff;
  border-color: #fff;
  color: #0d0b14;
  box-shadow: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050507;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

.footer-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legal-main {
  min-height: calc(100vh - 151px);
  padding: clamp(52px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(72px, 9vw, 112px);
}

.legal-hero {
  max-width: 920px;
}

.legal-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--silver-deep);
  font-size: 14px;
  font-weight: 720;
}

.legal-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--silver);
  font-size: clamp(18px, 2vw, 22px);
}

.legal-content {
  max-width: 920px;
  margin-top: clamp(36px, 5vw, 58px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.legal-body {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    padding-bottom: 36px;
  }

  .iphone-mockup {
    width: min(280px, 44vw);
    padding: 5px;
    border-radius: 42px;
  }

  .iphone-screen {
    border-radius: 35px;
  }

  .iphone-mockup::before {
    border-radius: 39px;
  }

  .iphone-mockup::after {
    border-radius: 34px;
  }

  .phone-back {
    margin-left: 0;
    transform: translateY(26px);
  }

  .feature-grid,
  .privacy-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .feature,
  .privacy-grid article {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding-block: 14px;
  }

  .brand {
    font-size: 17px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-switcher button {
    min-width: 34px;
    padding-inline: 7px;
  }

  h1 {
    font-size: 46px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    margin-inline: 0;
  }

  .iphone-mockup {
    width: 42vw;
    padding: 3px;
    border-radius: 32px;
  }

  .iphone-screen {
    border-radius: 27px;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.9),
      0 0 0 3px rgba(8, 8, 12, 0.98);
  }

  .iphone-mockup::before {
    border-radius: 29px;
  }

  .iphone-mockup::after {
    inset: 7px;
    border-radius: 25px;
  }

  .iphone-button {
    width: 3px;
  }

  .phone-front {
    transform: none;
  }

  .phone-back {
    margin-left: 0;
    transform: translateY(22px);
  }

  .feature,
  .privacy-grid article {
    padding: 22px;
  }
}
