:root {
  --bg: #384b3d;
  --bg-deep: #2d3b30;
  --panel: rgba(248, 244, 235, 0.08);
  --panel-strong: rgba(236, 243, 247, 0.95);
  --text: #f6f1e8;
  --muted: #d2d8cf;
  --dark: #101512;
  --accent: #d7e6f2;
  --accent-strong: #f0d6af;
  --line: rgba(246, 241, 232, 0.12);
  --shadow: 0 30px 60px rgba(10, 15, 12, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 214, 175, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(215, 230, 242, 0.12), transparent 24%),
    linear-gradient(180deg, #405446 0%, #314036 100%);
}

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

.page-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 28px 28px 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 28px;
}

.brand,
.site-nav a,
.primary-cta,
.store-button strong,
.feature-card h3,
.contact-panel h2,
.privacy-policy h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 1.15rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent-strong);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100vh - 120px);
  padding: 10px 0 70px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 20px;
}

.phone-shadow {
  position: absolute;
  inset: auto 16% 4% 16%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 10, 8, 0.42), transparent 70%);
  filter: blur(22px);
}

.phone {
  position: relative;
  width: min(100%, 255px);
  aspect-ratio: 0.53;
  border-radius: 42px;
  background: linear-gradient(180deg, #faf9f6 0%, #e8e5dc 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55), var(--shadow);
}

.speaker,
.camera {
  position: absolute;
  top: 18px;
  z-index: 2;
  background: rgba(44, 51, 47, 0.8);
}

.speaker {
  left: 50%;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.camera {
  left: calc(50% + 26px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.button,
.power-button {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: #dce4ea;
}

.button {
  left: -4px;
}

.button-top {
  top: 100px;
  height: 26px;
}

.button-mid {
  top: 140px;
  height: 36px;
}

.button-bottom {
  top: 184px;
  height: 36px;
}

.power-button {
  right: -4px;
  top: 150px;
  height: 52px;
}

.phone-screen {
  position: absolute;
  inset: 14px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.65), transparent 22%),
    linear-gradient(180deg, #edf3f6 0%, #d6e4eb 48%, #c4d5de 100%);
  padding: 70px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: #203128;
  backdrop-filter: blur(10px);
}

.screen-card h2 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.screen-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.screen-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #537564;
}

.screen-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  height: 84px;
}

.screen-wave span {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7ba891 0%, #365949 100%);
  animation: pulse 1.4s ease-in-out infinite;
}

.screen-wave span:nth-child(1) {
  height: 32px;
}

.screen-wave span:nth-child(2) {
  height: 54px;
  animation-delay: 0.12s;
}

.screen-wave span:nth-child(3) {
  height: 68px;
  animation-delay: 0.24s;
}

.screen-wave span:nth-child(4) {
  height: 48px;
  animation-delay: 0.36s;
}

.screen-wave span:nth-child(5) {
  height: 28px;
  animation-delay: 0.48s;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.headline-rotator {
  display: inline-block;
  color: var(--accent-strong);
}

#rotating-word {
  display: inline-block;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

#rotating-word.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}

.hero-subcopy {
  max-width: 620px;
  margin: 18px 0 34px;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  margin-bottom: 28px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 18px;
  background: var(--accent);
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(7, 10, 8, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(7, 10, 8, 0.22);
  background: #e4eef6;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 196px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(252, 248, 243, 0.96);
  color: #111;
  box-shadow: 0 12px 28px rgba(7, 10, 8, 0.14);
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 0.88rem;
}

.store-button strong {
  font-size: 1.08rem;
}

.store-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 8px;
}

.footer-link {
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent-strong);
}

.policy-page {
  padding: 18px 0 48px;
}

.policy-hero {
  max-width: 760px;
  margin-bottom: 32px;
}

.policy-kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.policy-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.policy-lead,
.policy-effective,
.policy-section p,
.policy-list {
  color: var(--muted);
}

.policy-lead {
  max-width: 680px;
  margin: 18px 0 14px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.policy-effective {
  margin: 0;
  font-size: 0.95rem;
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.policy-section p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.policy-section a {
  color: var(--accent-strong);
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .page-shell {
    padding: 22px 20px 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: auto;
    padding-bottom: 54px;
  }

  .phone-stage {
    order: -1;
  }

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

  .headline-rotator {
    min-width: 7.2ch;
  }

  .hero-subcopy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .store-buttons {
    justify-content: center;
  }

  .site-footer {
    justify-content: center;
  }

}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 1rem;
  }

  .brand {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .primary-cta {
    width: 100%;
    max-width: 340px;
    font-size: 1.15rem;
  }

  .store-button {
    width: 100%;
    justify-content: center;
  }

  .policy-section {
    padding: 20px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .phone {
    width: min(100%, 220px);
  }

  .headline-rotator {
    display: block;
    margin-top: 6px;
  }

  .hero-subcopy {
    font-size: 1rem;
  }

}

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