:root {
  --ink: #15121d;
  --ink-soft: #24202e;
  --paper: #f6f1e9;
  --paper-deep: #ece4d9;
  --muted: #726b78;
  --line: rgba(21, 18, 29, 0.12);
  --white-line: rgba(255, 255, 255, 0.16);
  --peach: #ff9c78;
  --orange: #ff7556;
  --violet: #755cff;
  --blue: #4da3ff;
  --lime: #d6e96a;
  --shadow: 0 28px 70px rgba(42, 27, 58, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 233, 0.82);
  backdrop-filter: blur(18px);
}

.site-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.13);
  background: rgba(21, 18, 29, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: currentColor;
  opacity: 0.55;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(140deg, #ef27e9 0%, #a62bff 45%, #3b35e9 100%);
  box-shadow: 0 7px 18px rgba(115, 70, 255, 0.3);
}

.brand-mark::before {
  position: absolute;
  top: 11px;
  left: 8px;
  width: 19px;
  height: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 4px;
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  content: "";
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.88rem;
}

.desktop-nav a {
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 180ms ease, color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  opacity: 1;
}

.nav-pill {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.menu-button span::before {
  transform: translateY(-5px);
}

.menu-button span::after {
  transform: translateY(3.5px);
}

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 0 24px 20px;
}

.mobile-menu a {
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 775px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  content: "";
  filter: blur(4px);
  pointer-events: none;
}

.hero::before {
  top: -320px;
  left: -160px;
  background: radial-gradient(circle, rgba(117, 92, 255, 0.55) 0%, rgba(117, 92, 255, 0) 67%);
}

.hero::after {
  right: -240px;
  bottom: -330px;
  background: radial-gradient(circle, rgba(255, 117, 86, 0.42) 0%, rgba(255, 117, 86, 0) 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 775px;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  gap: clamp(30px, 6vw, 100px);
  padding-top: 86px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 62px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 5px rgba(255, 156, 120, 0.14);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.55rem, 7vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.hero h1 em {
  display: inline-block;
  color: var(--peach);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03em;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.hero-copy {
  max-width: 510px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--peach);
  box-shadow: 0 10px 24px rgba(255, 156, 120, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb596;
  box-shadow: 0 14px 30px rgba(255, 156, 120, 0.3);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.11);
}

.hero-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.hero-art {
  position: relative;
  min-height: 580px;
}

.hero-art::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(32vw, 390px);
  height: min(32vw, 390px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025), 0 0 0 80px rgba(255, 255, 255, 0.02);
}

.hero-art::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52vw, 660px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  transform: translate(-50%, -50%) rotate(-32deg);
}

.visual-device {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 342px);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08) 38%, rgba(0, 0, 0, 0.35));
  box-shadow: 22px 30px 80px rgba(0, 0, 0, 0.35), -16px -18px 90px rgba(117, 92, 255, 0.22);
  transform: translate(-45%, -48%) rotate(6deg);
}

.visual-device::before {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 20px;
  background: rgba(10, 8, 15, 0.82);
  content: "";
  transform: translateX(-50%);
}

.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 58px 15px 15px;
  border-radius: 32px;
  background: linear-gradient(180deg, #17111e 0%, #211b2c 65%, #433256 100%);
}

.device-screen::before {
  position: absolute;
  top: 0;
  right: 16%;
  width: 36%;
  height: 58%;
  border-radius: 0 0 70% 70%;
  background: linear-gradient(180deg, rgba(255, 156, 120, 0.34), transparent);
  content: "";
  filter: blur(13px);
}

.screen-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.memory-card {
  position: relative;
  z-index: 1;
  margin: 21px 0 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.memory-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 12px;
}

.memory-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.memory-card figcaption strong {
  color: var(--peach);
  font-size: 0.7rem;
}

.screen-controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 18px;
}

.screen-controls span {
  flex: 1;
  padding: 9px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  text-align: center;
}

.screen-controls span:first-child {
  color: var(--ink);
  border-color: var(--peach);
  background: var(--peach);
}

.art-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(23, 18, 31, 0.65);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-tag::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(214, 233, 106, 0.14);
  content: "";
}

.tag-top {
  top: 13%;
  right: 2%;
  transform: rotate(6deg);
}

.tag-bottom {
  bottom: 11%;
  left: 1%;
  transform: rotate(-8deg);
}

.scan-line {
  position: absolute;
  top: 47%;
  left: 5%;
  z-index: 2;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--peach), transparent);
  box-shadow: 0 0 14px rgba(255, 156, 120, 0.85);
  animation: scan 4.2s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { opacity: 0.32; transform: translateY(-90px); }
  50% { opacity: 1; transform: translateY(90px); }
}

.proof-strip {
  color: rgba(255, 255, 255, 0.6);
  background: #231d2c;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 112px;
  padding: 27px 24px;
  border-right: 1px solid var(--white-line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.proof-item span {
  font-size: 0.74rem;
}

.section {
  padding: 132px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 59px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4.7rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.section h2 em {
  color: var(--violet);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.feature-card {
  position: relative;
  min-height: 324px;
  padding: 27px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fffaf3;
  box-shadow: 0 4px 0 rgba(21, 18, 29, 0.04);
}

.feature-card:nth-child(2) {
  color: #fff;
  background: #302846;
}

.feature-card:nth-child(3) {
  background: #e6e3ff;
}

.feature-card::after {
  position: absolute;
  right: -34px;
  bottom: -53px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.13;
}

.feature-number {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-number {
  color: var(--ink);
  background: var(--peach);
}

.feature-card:nth-child(3) .feature-number {
  background: var(--violet);
}

.feature-card h3 {
  max-width: 230px;
  margin: 74px 0 11px;
  font-size: 1.48rem;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.feature-card p {
  max-width: 265px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.62);
}

.story-section {
  color: #fff;
  background: #1d1729;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.story-grid h2 {
  color: #fff;
}

.story-grid h2 em {
  color: var(--peach);
}

.story-copy {
  color: rgba(255, 255, 255, 0.63);
}

.story-quote {
  margin: 30px 0 0;
  padding-left: 19px;
  border-left: 2px solid var(--peach);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.3;
}

.step-list {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid var(--white-line);
}

.step:first-child {
  border-top: 1px solid var(--white-line);
}

.step-no {
  color: var(--peach);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.step h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.03rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.premium-section {
  background: #efe6dc;
}

.premium-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.72fr);
  gap: 55px;
  min-height: 410px;
  align-items: center;
  padding: clamp(30px, 5vw, 70px);
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(121deg, #3e2d61 0%, #5b3a82 57%, #d16b69 130%);
  color: #fff;
  box-shadow: var(--shadow);
}

.premium-card::before {
  position: absolute;
  right: -12%;
  bottom: -52%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.05), 0 0 0 95px rgba(255, 255, 255, 0.04);
}

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

.premium-kicker {
  color: var(--peach);
}

.premium-card h2 {
  max-width: 500px;
  margin-bottom: 19px;
  color: #fff;
}

.premium-copy {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.67);
}

.premium-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.premium-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
}

.premium-list li::before {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  content: "✓";
  font-size: 0.69rem;
  font-weight: 900;
}

.premium-visual {
  position: relative;
  min-height: 300px;
}

.premium-photo {
  position: absolute;
  right: 10%;
  bottom: -28px;
  width: min(82%, 310px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(8deg);
}

.premium-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 15px;
}

.premium-photo-label {
  display: flex;
  justify-content: space-between;
  padding: 10px 3px 2px;
  color: rgba(255, 255, 255, 0.71);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trust-section {
  padding: 82px 0;
  background: #fffaf3;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
}

.trust-grid h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.trust-grid h2 em {
  color: var(--orange);
}

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

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-point {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}

.trust-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.trust-point span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.faq-section {
  padding-top: 104px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 750;
  list-style: none;
}

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

.faq-item summary::after {
  color: var(--orange);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 700px;
  margin: -5px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-section {
  padding: 126px 0 138px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.download-section h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}

.download-section h2 em {
  color: var(--peach);
}

.download-section p {
  max-width: 520px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.58);
}

.download-section .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 28px 0 35px;
  color: rgba(255, 255, 255, 0.54);
  background: var(--ink);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--white-line);
  font-size: 0.77rem;
}

.site-footer .brand {
  color: #fff;
}

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

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

/* Legal pages */
.site-legal {
  background: var(--paper);
}

.legal-hero {
  padding: 94px 0 88px;
  color: #fff;
  background: var(--ink);
}

.legal-hero .eyebrow {
  margin-bottom: 19px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.legal-hero p {
  max-width: 660px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.61);
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
  padding: 82px 0 120px;
}

.legal-toc {
  position: sticky;
  top: 111px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--orange);
}

.legal-document {
  min-width: 0;
}

.legal-meta {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-lead {
  margin-bottom: 44px;
  padding: 24px 25px;
  border-left: 3px solid var(--orange);
  border-radius: 0 16px 16px 0;
  background: #fffaf3;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.legal-document section {
  padding: 31px 0 6px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 15px;
  font-size: 1.33rem;
  letter-spacing: -0.035em;
}

.legal-document h3 {
  margin: 24px 0 7px;
  font-size: 0.98rem;
}

.legal-document p,
.legal-document li {
  color: #5f5965;
  font-size: 0.92rem;
}

.legal-document p {
  margin: 0 0 15px;
}

.legal-document ul,
.legal-document ol {
  margin: 9px 0 18px;
  padding-left: 22px;
}

.legal-document li {
  margin: 7px 0;
  padding-left: 4px;
}

.legal-document strong {
  color: var(--ink-soft);
}

.legal-document a {
  color: #5d49df;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 22px 0 4px;
  padding: 18px 20px;
  border: 1px solid rgba(117, 92, 255, 0.23);
  border-radius: 15px;
  background: rgba(117, 92, 255, 0.07);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 7.2vw, 5.4rem);
  }

  .hero-art {
    min-height: 510px;
  }

  .visual-device {
    width: min(88%, 310px);
  }

  .device-screen {
    min-height: 490px;
  }

  .memory-card img {
    height: 275px;
  }

  .premium-card {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr);
    gap: 25px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    display: block;
    padding-top: 112px;
  }

  .hero-content {
    padding: 40px 0 0;
  }

  .hero h1 {
    max-width: 550px;
    font-size: clamp(3.35rem, 15vw, 5.7rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-art {
    min-height: 560px;
    margin-top: 10px;
  }

  .hero-art::before {
    width: 285px;
    height: 285px;
  }

  .visual-device {
    width: min(82vw, 320px);
    transform: translate(-48%, -48%) rotate(5deg);
  }

  .tag-top {
    right: 2%;
  }

  .tag-bottom {
    left: 0;
  }

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

  .proof-item {
    min-height: 94px;
    padding: 21px 15px;
    border-bottom: 1px solid var(--white-line);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-bottom: 0;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .story-grid,
  .premium-card,
  .trust-grid {
    display: block;
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .section-lead {
    margin-top: 20px;
  }

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

  .feature-card {
    min-height: 265px;
  }

  .feature-card h3 {
    margin-top: 49px;
  }

  .story-copy {
    margin-bottom: 53px;
  }

  .premium-card {
    padding: 36px 27px 0;
  }

  .premium-visual {
    min-height: 340px;
    margin-top: 20px;
  }

  .premium-photo {
    right: 6%;
    width: min(82%, 310px);
  }

  .trust-grid > p {
    margin-top: 20px;
    margin-bottom: 26px;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding-top: 74px;
  }

  .download-section {
    padding: 88px 0 99px;
  }

  .footer-row {
    display: block;
  }

  .footer-links {
    margin-top: 19px;
  }

  .legal-hero {
    padding: 68px 0 62px;
  }

  .legal-layout {
    display: block;
    padding: 52px 0 82px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    margin-bottom: 38px;
    padding: 13px 0;
  }

  .legal-toc strong {
    width: 100%;
    margin-bottom: 2px;
  }

  .legal-toc a {
    padding: 3px 0;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-art {
    min-height: 500px;
  }

  .visual-device {
    width: min(82vw, 285px);
  }

  .device-screen {
    min-height: 450px;
    padding-top: 52px;
  }

  .memory-card img {
    height: 240px;
  }

  .art-tag {
    padding: 9px 10px;
    font-size: 0.55rem;
  }

  .tag-top {
    top: 10%;
    right: -2%;
  }

  .tag-bottom {
    bottom: 8%;
    left: -2%;
  }

  .proof-item strong {
    font-size: 0.72rem;
  }

  .proof-item span {
    font-size: 0.67rem;
  }
}

@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;
  }
}
