:root {
  color-scheme: light;
  --bg: #f8f7f2;
  --surface: #ffffff;
  --surface-soft: #f0eee8;
  --ink: #202329;
  --muted: #6f7480;
  --faint: #a5a9b2;
  --line: rgba(32, 35, 41, 0.1);
  --green: #39a66a;
  --green-soft: #e9f8ef;
  --amber: #c98d25;
  --shadow: 0 22px 70px rgba(32, 35, 41, 0.10);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 247, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: block;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(32, 35, 41, 0.16);
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 680;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 22px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 760;
  font-size: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 14px;
}

.hero-brand-row {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.hero-brand-row img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(18, 24, 32, 0.16);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
}

.phone-card {
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(360px, 76vw);
  --base-transform: translateX(-50%);
  --card-opacity: 1;
  transform: var(--base-transform);
  opacity: var(--card-opacity);
  border-radius: 48px;
  background: #15181d;
  box-shadow: var(--shadow);
  overflow: hidden;
  will-change: transform;
}

.phone-card.secondary {
  width: min(260px, 56vw);
  --base-transform: translateX(-92%) translateY(120px) rotate(-7deg);
  --card-opacity: 0.96;
  transform: var(--base-transform);
}

.phone-card.tertiary {
  width: min(250px, 54vw);
  --base-transform: translateX(8%) translateY(160px) rotate(6deg);
  --card-opacity: 0.9;
  transform: var(--base-transform);
}

.phone-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.section-header p,
.muted {
  color: var(--muted);
}

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

.feature-card,
.text-card,
.policy-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 180ms ease;
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

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

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.showcase-copy {
  padding-right: 20px;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.screen-tile {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(32, 35, 41, 0.08);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.screen-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.privacy-band {
  background: var(--ink);
  color: #ffffff;
  margin: 48px 0;
}

.privacy-band .section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.privacy-band p {
  color: rgba(255, 255, 255, 0.72);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.privacy-point {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.privacy-point strong {
  display: block;
  margin-bottom: 8px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.text-card,
.policy-card {
  padding: 24px;
}

.text-card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px 28px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.content-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 22px 84px;
}

.policy-card h2 {
  font-size: 26px;
  margin-top: 28px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 22px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(32, 35, 41, 0.10);
  }

  .button.primary:hover {
    background: #111318;
  }

  .button.secondary:hover,
  .feature-card:hover,
  .text-card:hover {
    background: rgba(255, 255, 255, 0.94);
  }

  .feature-card:hover,
  .text-card:hover,
  .screen-tile:hover {
    border-color: rgba(32, 35, 41, 0.18);
    box-shadow: 0 18px 48px rgba(32, 35, 41, 0.11);
    transform: translateY(-3px);
  }

  .feature-card:hover .feature-icon {
    box-shadow: 0 12px 24px rgba(57, 166, 106, 0.16);
  }

  .phone-card:hover {
    transform: var(--base-transform) translateY(-6px);
    box-shadow: 0 30px 82px rgba(32, 35, 41, 0.14);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > div:first-child {
    animation: hero-copy-in 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .phone-card {
    animation: phone-settle 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .phone-card.secondary {
    animation-delay: 140ms;
  }

  .phone-card.tertiary {
    animation-delay: 220ms;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual {
    transform: none;
  }

  .button,
  .feature-card,
  .text-card,
  .policy-card,
  .screen-tile,
  .phone-card {
    transition: none;
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes phone-settle {
  from {
    opacity: 0;
    transform: var(--base-transform) translateY(26px) scale(0.985);
  }

  to {
    opacity: var(--card-opacity);
    transform: var(--base-transform);
  }
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
    gap: 28px;
  }

  .hero-visual {
    min-height: clamp(500px, 72vw, 560px);
  }

  .feature-grid,
  .showcase,
  .privacy-points,
  .faq-grid,
  .support-options {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    padding-right: 0;
  }

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

@media (max-width: 620px) {
  .nav {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links .button {
    display: none;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 6px;
  }

  .phone-card.secondary,
  .phone-card.tertiary {
    display: none;
  }

  .phone-card {
    position: relative;
    inset: auto;
    width: min(330px, 88vw);
    aspect-ratio: 1242 / 1960;
    --base-transform: translateX(0);
    transform: var(--base-transform);
    border-radius: 36px;
  }

  .phone-card img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

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

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