:root {
  --deep-ink: #050a0b;
  --ink-2: #0d1b19;
  --ivory: #f0e9d8;
  --soft: #c0c2ba;
  --sage: #b3cfb8;
  --sage-2: #6f8f78;
  --gold: #d49f6e;
  --line: rgba(179, 207, 184, 0.28);
  --clinical-bg: #f5f8f6;
  --clinical-panel: #ffffff;
  --clinical-ink: #10201d;
  --clinical-muted: #5d6e68;
  --clinical-line: rgba(16, 32, 29, 0.12);
  --max: 1120px;
}

.privacy-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #f4eddd;
  background: rgba(12, 18, 17, 0.96);
  border: 1px solid rgba(180, 211, 190, 0.35);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.privacy-consent strong {
  display: block;
  margin-bottom: 4px;
}

.privacy-consent p {
  margin: 0;
  color: #bdc4c0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.privacy-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.privacy-consent button {
  min-height: 44px;
  padding: 0 16px;
  color: #dce4df;
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(220, 228, 223, 0.28);
  border-radius: 6px;
  cursor: pointer;
}

.privacy-consent button.primary {
  color: #09110e;
  background: #b7d3be;
  border-color: #b7d3be;
}

@media (max-width: 640px) {
  .privacy-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .privacy-consent-actions button {
    flex: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(240, 233, 216, 0.08);
  background: rgba(5, 10, 11, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 28px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

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

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--sage);
  border-radius: 8px;
  background: var(--sage);
  color: #07100f;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
}

.button.secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(240, 233, 216, 0.32);
}

.button.store-cta {
  gap: 8px;
}

.button.store-cta .apple-mark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25em;
  line-height: 1;
}

.button.app-store-download {
  gap: 14px;
  min-height: 58px;
  border-color: #b8d6bb;
  border-radius: 14px;
  background: #b8d6bb;
  color: #06100e;
  font-size: 24px;
}

.button.app-store-download .apple-mark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45em;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 122px 0 64px;
  background:
    linear-gradient(90deg, rgba(5, 10, 11, 0.96) 0%, rgba(5, 10, 11, 0.78) 42%, rgba(5, 10, 11, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 10, 11, 0.2) 0%, rgba(5, 10, 11, 0.96) 100%),
    url("assets/hero-wide.jpg") center / cover no-repeat;
  color: var(--ivory);
  overflow: hidden;
}

.mobile-hero {
  display: none;
}

.mobile-video-section {
  display: none;
}

.mobile-section-store-cta {
  display: none;
}

.desktop-section-store-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.desktop-video-copy .desktop-section-store-cta {
  justify-content: flex-start;
}

.split-store-cta {
  grid-column: 1 / -1;
}

.desktop-video-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: center;
  border-bottom: 1px solid rgba(240, 233, 216, 0.1);
}

.desktop-video-copy h2 {
  max-width: 600px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.98;
}

.desktop-video-copy .section-lead {
  max-width: 560px;
}

.desktop-video-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px;
}

.desktop-video-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 159, 110, 0.18), rgba(179, 207, 184, 0.05) 48%, transparent 72%);
}

.desktop-video-frame {
  position: relative;
  width: min(25vw, 318px);
  aspect-ratio: 9 / 16;
  padding: 12px;
  border: 1px solid rgba(179, 207, 184, 0.32);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(240, 233, 216, 0.12), rgba(179, 207, 184, 0.04)),
    rgba(3, 8, 8, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.desktop-video-frame .phone-video-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background: rgba(2, 8, 9, 0.88);
  transform: translateX(-50%);
  pointer-events: none;
}

.desktop-video-frame .mobile-demo-video {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #020809;
  object-fit: cover;
}

.desktop-video-section .mobile-video-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, 318px);
}

.desktop-video-section .mobile-video-actions button {
  min-height: 44px;
  border: 1px solid rgba(179, 207, 184, 0.34);
  border-radius: 14px;
  background: rgba(240, 233, 216, 0.07);
  color: var(--ivory);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.desktop-video-section .mobile-video-actions button:hover,
.desktop-video-section .mobile-video-actions button:focus-visible {
  border-color: rgba(179, 207, 184, 0.72);
  background: rgba(179, 207, 184, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18% -30%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 35%, rgba(240, 233, 216, 0.08) 48%, rgba(212, 159, 110, 0.1) 52%, transparent 66%);
  opacity: 0;
  transform: translateX(-14%);
  animation: threshold-light 12s ease-in-out 1.2s infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: 74px;
  align-items: center;
}

.hero-actions .button:not(.secondary)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.4) 48%, transparent 78%);
  opacity: 0;
  transform: translateX(-105%);
  animation: button-soft-shine 6.8s ease-in-out 1.8s infinite;
}

.hero-actions .button:not(.secondary) {
  animation: app-store-button-pulse 4.8s ease-in-out 1s infinite;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(70px, 11vw, 156px);
  line-height: 0.9;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(19px, 2vw, 26px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(240, 233, 216, 0.68);
  font-size: 14px;
}

.device-lockup {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 28px;
  border: 1px solid rgba(240, 233, 216, 0.16);
  border-radius: 36px;
  background: rgba(5, 10, 11, 0.44);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.42);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.device-lockup:focus-visible {
  outline: 2px solid rgba(179, 207, 184, 0.72);
  outline-offset: 6px;
}

.device-frame {
  position: relative;
  width: min(322px, 100%);
  padding: 10px;
  border: 1px solid rgba(16, 32, 29, 0.18);
  border-radius: 44px;
  background: #101918;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.device-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  pointer-events: none;
  background: linear-gradient(104deg, transparent 42%, rgba(240, 233, 216, 0.1) 50%, transparent 60%);
  opacity: 0;
  transform: translateX(-36%);
  animation: device-light-pass 10s ease-in-out 1.8s infinite;
}

.device-frame img {
  width: 100%;
  border-radius: 34px;
}

@keyframes threshold-light {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: translateX(-16%);
  }

  22%,
  34% {
    opacity: 1;
    transform: translateX(14%);
  }
}

@keyframes app-store-button-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(179, 207, 184, 0), 0 0 0 0 rgba(179, 207, 184, 0);
    transform: scale(1);
  }

  48% {
    box-shadow: 0 16px 46px rgba(179, 207, 184, 0.28), 0 0 0 14px rgba(179, 207, 184, 0.12);
    transform: scale(1.045);
  }
}

@keyframes button-soft-shine {
  0%,
  62%,
  100% {
    opacity: 0;
    transform: translateX(-105%);
  }

  74% {
    opacity: 0.76;
  }

  86% {
    opacity: 0;
    transform: translateX(105%);
  }
}

@keyframes device-light-pass {
  0%,
  64%,
  100% {
    opacity: 0;
    transform: translateX(-38%);
  }

  76% {
    opacity: 0.85;
  }

  90% {
    opacity: 0;
    transform: translateX(38%);
  }
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section h2 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}

.section-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 20px;
}

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

.step,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.step {
  padding: 26px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: #07100f;
  font-weight: 800;
}

.step h3 {
  font-size: 29px;
}

.step p {
  margin: 12px 0 0;
  color: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  padding: 22px;
  border-left: 3px solid var(--sage);
  background: rgba(255, 255, 255, 0.035);
}

.feature h3 {
  font-size: 26px;
}

.feature p {
  margin: 8px 0 0;
  color: var(--soft);
}

.pricing-grid,
.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

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

.price-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.price-card.featured {
  background:
    linear-gradient(145deg, rgba(179, 207, 184, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.price-card h3 {
  font-size: clamp(34px, 5vw, 56px);
}

.price {
  margin: 20px 0 4px;
  color: var(--ivory);
  font-family: Georgia, serif;
  font-size: clamp(44px, 7vw, 70px);
  font-weight: 700;
  line-height: 1;
}

.price span {
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.essential-price {
  font-size: clamp(38px, 6vw, 56px);
}

.price-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--soft);
}

.included-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.included-list li {
  position: relative;
  padding-left: 26px;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(179, 207, 184, 0.12);
}

.price-card .button {
  margin-top: 28px;
}

.app-store-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 42px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.app-store-preview img {
  min-width: 180px;
  border-radius: 8px;
  border: 1px solid rgba(240, 233, 216, 0.16);
}

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

.panel {
  padding: 24px;
}

.panel h3 {
  font-size: 26px;
}

.panel p {
  color: var(--soft);
}

.cta-band {
  border-top: 1px solid rgba(240, 233, 216, 0.1);
  border-bottom: 1px solid rgba(240, 233, 216, 0.1);
  background: #08110f;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
}

.footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-social {
  color: var(--sage);
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 80px;
}

.legal-page h1 {
  font-size: clamp(46px, 8vw, 82px);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 30px;
}

.legal-page p,
.legal-page li {
  color: var(--soft);
  font-size: 18px;
}

.legal-page ul {
  padding-left: 22px;
}

@media (max-width: 860px) {
  .desktop-section-store-cta {
    display: none;
  }

  .site-header,
  .desktop-hero {
    display: none;
  }

  .mobile-hero {
    position: relative;
    display: block;
    width: 100%;
    background: #020809;
    overflow: hidden;
  }

  .mobile-first-fold-art {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  .mobile-first-fold-cta {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
  }

  .mobile-video-section {
    display: none;
  }

  .desktop-video-section {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
    gap: 34px;
    padding: 78px 0;
  }

  .desktop-video-frame {
    width: min(31vw, 280px);
  }

  .nav {
    width: min(100% - 28px, var(--max));
  }

  .nav-links a:not(.button) {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding: 104px 0 46px;
  }

  .hero-inner,
  .split,
  .steps,
  .pricing-grid,
  .faq-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(62px, 24vw, 92px);
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .device-lockup {
    padding: 18px;
  }

  .device-lockup {
    margin-top: 38px;
    padding: 18px;
    border-radius: 28px;
  }

  .device-frame {
    width: min(286px, 100%);
  }

  .section {
    padding: 66px 0;
  }

  .mobile-section-store-cta {
    display: flex;
    justify-content: center;
    width: min(100%, 390px);
    margin: 30px auto 0;
  }

  .mobile-section-store-cta .button {
    width: 100%;
    min-height: 56px;
    border-radius: 14px;
    font-size: 19px;
  }

  .section h2 {
    font-size: clamp(34px, 12vw, 48px);
    overflow-wrap: anywhere;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .desktop-video-section {
    display: none;
  }

  .mobile-video-section {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 34px 18px 56px;
    background: var(--deep-ink);
  }

  .mobile-video-copy {
    display: grid;
    justify-items: center;
    gap: 6px;
    max-width: 340px;
    text-align: center;
    color: var(--ivory);
  }

  .mobile-video-copy p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.32;
  }

  .mobile-video-copy span {
    color: var(--gold);
    font-size: 28px;
    line-height: 1;
  }

  .phone-video-frame {
    position: relative;
    width: min(72vw, 286px);
    aspect-ratio: 9 / 16;
    padding: 12px;
    border: 1px solid rgba(179, 207, 184, 0.32);
    border-radius: 36px;
    background:
      linear-gradient(145deg, rgba(240, 233, 216, 0.12), rgba(179, 207, 184, 0.04)),
      rgba(3, 8, 8, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  }

  .phone-video-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 2;
    width: 34%;
    height: 18px;
    border-radius: 999px;
    background: rgba(2, 8, 9, 0.88);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .mobile-demo-video {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background: #020809;
    object-fit: cover;
  }

  .mobile-video-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(100%, 340px);
  }

  .mobile-video-actions button {
    min-height: 44px;
    border: 1px solid rgba(179, 207, 184, 0.34);
    border-radius: 14px;
    background: rgba(240, 233, 216, 0.07);
    color: var(--ivory);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-video-section .mobile-section-store-cta {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .button.app-store-download {
    gap: 10px;
    min-height: 56px;
    padding-inline: 12px;
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .button.app-store-download .apple-mark {
    flex: 0 0 auto;
    font-size: 1.3em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .hero::before,
  .device-frame::after {
    opacity: 0;
  }
}
