:root {
  color-scheme: light dark;
  --bg: oklch(97.2% 0.019 93);
  --paper: oklch(99.2% 0.01 93);
  --ink: oklch(23% 0.04 280);
  --muted: oklch(45% 0.03 270);
  --line: oklch(84% 0.03 95);
  --accent: oklch(68% 0.205 37);
  --accent-soft: oklch(92% 0.055 45);
  --shadow: 0 24px 60px color-mix(in oklch, var(--accent) 18%, transparent);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(17% 0.018 265);
    --paper: oklch(22% 0.02 265);
    --ink: oklch(94% 0.015 85);
    --muted: oklch(76% 0.02 85);
    --line: oklch(35% 0.02 265);
    --accent: oklch(74% 0.186 42);
    --accent-soft: oklch(31% 0.03 255);
    --shadow: 0 30px 60px color-mix(in oklch, black 45%, transparent);
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.aura {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(46px);
  opacity: 0.55;
}

.aura-1 {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  right: -8rem;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 65%, transparent), transparent 70%);
}

.aura-2 {
  width: 26rem;
  height: 26rem;
  left: -4rem;
  bottom: 7rem;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 25%, transparent), transparent 72%);
}

.topbar,
main,
.footer {
  width: min(1120px, calc(100% - 2.25rem));
  margin-inline: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Marcellus", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin: 0;
}

.brand-mark img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  gap: 1.15rem;
}

.topbar a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.topbar a:hover {
  color: var(--ink);
}

.hero {
  margin-top: clamp(2rem, 6vw, 5rem);
  max-width: 56rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Marcellus", serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.5rem);
}

h1 span {
  display: block;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  margin-top: 0.85rem;
  max-width: 42rem;
}

.lead {
  max-width: 44rem;
  font-size: clamp(1.03rem, 1.7vw, 1.28rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.78rem 1.25rem;
  transition: transform 320ms cubic-bezier(0.19, 1, 0.22, 1), background-color 320ms;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: oklch(99% 0.006 88);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.screens {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.section-head {
  max-width: 34rem;
}

.section-head h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.75rem, 3.7vw, 2.8rem);
}

.screen-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.phone-card {
  margin: 0;
  background: linear-gradient(165deg, color-mix(in oklch, var(--paper) 82%, var(--accent-soft)), var(--paper));
  border: 1px solid color-mix(in oklch, var(--line) 80%, transparent);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow);
  transform: translateY(28px);
  opacity: 0;
  animation: rise 800ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.phone-card:nth-child(2) {
  animation-delay: 80ms;
}
.phone-card:nth-child(3) {
  animation-delay: 160ms;
}
.phone-card:nth-child(4) {
  animation-delay: 240ms;
}

.phone-card img {
  width: 100%;
  display: block;
  border-radius: 1.4rem;
  height: auto;
  object-fit: contain;
}

.phone-card figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.features {
  margin-top: clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--paper) 90%, transparent);
  padding: 1.3rem;
}

.feature-block h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.feature-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.feature-block li + li {
  margin-top: 0.35rem;
}

.accuracy {
  margin-top: clamp(2.8rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  max-width: 52rem;
}

.accuracy h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.accuracy p {
  color: var(--muted);
  max-width: 44rem;
}

.footer {
  margin-top: clamp(2.8rem, 8vw, 6rem);
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  color: inherit;
}

.privacy-summary {
  margin-top: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  padding: 1.3rem;
  max-width: 52rem;
}

.privacy-summary h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.privacy-summary p {
  color: var(--muted);
}

.policy {
  width: min(900px, calc(100% - 2rem));
  margin: clamp(2rem, 6vw, 5rem) auto;
}

.policy h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.policy h2 {
  margin-top: 1.8rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.policy p {
  color: var(--muted);
  max-width: 65ch;
}

.policy-date {
  font-weight: 600;
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .screen-grid,
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .topbar nav {
    gap: 0.85rem;
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
