:root {
  --cream: #f7efe2;
  --cream-deep: #eadcc6;
  --beige: #c9b99f;
  --beige-muted: #a9987d;
  --gold: #9a6f2e;
  --plum: #6b4a8a;
  --ink: #12100d;
  --ink-soft: #4d473d;
  --white: #fffaf1;
  --line: rgba(18, 16, 13, 0.16);
  --shadow: 0 24px 80px rgba(41, 32, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 16, 13, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 76%);
}

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

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

.site-header,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  gap: 44px;
  padding: 58px 0 42px;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}

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

h1,
h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 15vw, 6.2rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 10vw, 4.4rem);
}

h3 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.hero-text,
.intro-panel p,
.benefit-card p,
details p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 26px;
}

.cta-row {
  display: grid;
  gap: 14px;
  align-items: center;
}

.app-store-button {
  width: fit-content;
  min-width: 184px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  padding: 9px 18px 10px;
  box-shadow: var(--shadow);
}

.app-store-button span {
  font-size: 0.72rem;
}

.app-store-button strong {
  font-size: 1.32rem;
  line-height: 1;
}

.app-store-button.dark {
  background: var(--white);
  color: var(--ink);
}

.hero-visual {
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-wrap {
  width: min(86vw, 430px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}

.orb-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 111, 46, 0.18), transparent 68%);
  filter: blur(18px);
}

.orb-ring,
.orb-track {
  position: absolute;
  border-radius: 50%;
}

.orb-ring {
  border: 1px solid rgba(18, 16, 13, 0.1);
}

.ring-one {
  inset: 3%;
}

.ring-two {
  inset: 17%;
  border-color: rgba(154, 111, 46, 0.4);
}

.ring-three {
  inset: 31%;
  border-color: rgba(107, 74, 138, 0.24);
}

.orb-core {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(154, 111, 46, 0.55);
  background: rgba(255, 250, 241, 0.5);
  box-shadow: 0 0 44px rgba(154, 111, 46, 0.16);
}

.orb-track {
  inset: 9%;
  border: 1px dashed rgba(18, 16, 13, 0.08);
  animation: orb-spin 70s linear infinite;
}

.orb-track span {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
}

.track-two {
  inset: 25%;
  animation-duration: 48s;
  animation-direction: reverse;
}

.track-two span {
  width: 6px;
  background: var(--plum);
  opacity: 0.65;
}

@keyframes orb-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-track {
    animation: none;
  }
}

.intro-panel {
  width: min(940px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-panel p {
  max-width: 780px;
  margin-bottom: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 6vw, 2.4rem);
  line-height: 1.14;
}

.benefits,
.faq {
  padding: 72px 0 0;
}

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

.benefit-grid {
  display: grid;
  gap: 12px;
}

.benefit-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.44);
}

.benefit-card p {
  margin-bottom: 0;
}

figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--beige-muted);
  font-size: 0.92rem;
}

.download-panel {
  margin-top: 76px;
  padding: 34px 0;
  display: grid;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.download-panel .eyebrow {
  color: var(--beige);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

summary::marker {
  color: var(--beige-muted);
}

details p {
  margin: 14px 0 0;
  max-width: 680px;
}

footer {
  padding: 52px 0 34px;
}

.legal-page {
  min-height: calc(100svh - 124px);
  padding: 72px 0;
}

.legal-page h1 {
  font-size: clamp(3rem, 14vw, 5.4rem);
}

.legal-page p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-page h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.08;
}

.legal-page h3 {
  margin: 28px 0 10px;
}

.legal-page ul {
  max-width: 720px;
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.legal-page li {
  margin: 7px 0;
}

.legal-page a {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 680px) {
  .cta-row,
  .download-panel {
    grid-template-columns: auto 1fr;
  }

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

}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 650px;
  }

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

  .benefit-card {
    min-height: 240px;
  }

  .download-panel {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 520px) {
  nav {
    display: none;
  }

  .site-header,
  footer,
  .section-band,
  .intro-panel {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .footer-links {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }
}
