:root {
  --bg: #030503;
  --line: rgba(226, 232, 224, 0.12);
  --line-soft: rgba(226, 232, 224, 0.08);
  --text: #f3efe5;
  --text-muted: rgba(232, 227, 214, 0.72);
  --text-quiet: rgba(232, 227, 214, 0.56);
  --accent: #2c6b3b;
  --accent-glow: rgba(44, 107, 59, 0.75);
  --thought: #4a90e2;
  --tarot: #2fb7a8;
  --spell: #ff8a3d;
  --ritual: #7b4dff;
  --prayer: #e0a93b;
  --meditation: #5fbf7a;
  --gratitude: #ff6fa5;
  --dream: #4b5bdc;
  --ai: #d9a441;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.2);
  --radius-card: 28px;
  --container: min(100% - 2rem, 72rem);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Instrument Sans", "Segoe UI", sans-serif;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-serif);
  color: var(--text);
  background: #000;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 1rem 0 1.5rem;
}

.hero__glow {
  position: absolute;
  inset: -10rem -20vw auto;
  height: 55rem;
  background:
    radial-gradient(circle at top center, var(--accent-glow) 0%, rgba(44, 107, 59, 0.34) 10%, rgba(44, 107, 59, 0.12) 42%, transparent 80%),
    linear-gradient(180deg, rgba(6, 18, 9, 0.94) 0%, rgba(4, 10, 5, 0.48) 40%, rgba(0, 0, 0, 0) 50%);
  opacity: 0.7;
  pointer-events: none;
  filter: blur(25px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 2rem;
  text-align: center;
  padding: 2rem 0 0;
}

.hero__logo {
  width: min(15rem, 54vw);
  margin-bottom: 0;
}

.hero__title {
  margin: -0.15rem 0 0;
  font-size: clamp(2.35rem, 8vw, 3.8rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero__description {
  max-width: 34rem;
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  line-height: 1.14;
}

.hero__description--primary {
  color: var(--text);
  margin-top: -1rem;
}

.hero__description--secondary {
  color: var(--text-muted);
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 13px;
  overflow: hidden;
  transition: transform 160ms ease, opacity 160ms ease;
}

.app-store-badge img {
  width: 180px;
  height: auto;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-1px);
  opacity: 0.96;
}

.app-store-badge:active {
  transform: translateY(0);
}

.section {
  padding: 1rem 0;
}

.band {
  display: grid;
  gap: 1rem;
}

.band__copy,
.band__visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(16, 24, 18, 0.88), rgba(8, 12, 9, 0.92));
  box-shadow: var(--shadow-soft);
}

.band__copy {
  padding: 1.4rem 1.2rem;
}

.band__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.15rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.band__copy p {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 1.18rem;
  line-height: 1.3;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--text-quiet);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band__visual {
  padding: 1rem;
}

.band__visual--phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.device {
  margin: 0;
}

.device__frame {
  position: relative;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(18, 26, 20, 0.94), rgba(6, 9, 7, 0.95));
}

.device__frame::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 50%;
  width: 34%;
  height: 1.2rem;
  border-radius: 0 0 1rem 1rem;
  background: #020302;
  transform: translateX(-50%);
}

.device__screen {
  aspect-ratio: 390 / 844;
  border-radius: 1.45rem;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top center, rgba(44, 107, 59, 0.42) 0%, rgba(44, 107, 59, 0.15) 26%, transparent 58%),
    linear-gradient(180deg, #111913 0%, #070a08 100%);
  display: grid;
  place-items: center;
  color: rgba(243, 239, 229, 0.82);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.device--offset {
  transform: translateY(1.5rem);
}

.entry-cloud,
.privacy-stack,
.premium-list {
  display: grid;
  gap: 0.85rem;
}

.entry-pill,
.info-card,
.premium-item,
.ai-callout {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 24, 18, 0.92), rgba(8, 11, 9, 0.96));
}

.entry-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
}

.entry-pill__icon {
  width: 2.25rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1;
}

.entry-pill__label {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  color: var(--text);
}

.entry-pill--thought .entry-pill__icon { color: var(--thought); }
.entry-pill--tarot .entry-pill__icon { color: var(--tarot); }
.entry-pill--spell .entry-pill__icon { color: var(--spell); }
.entry-pill--ritual .entry-pill__icon { color: var(--ritual); }
.entry-pill--prayer .entry-pill__icon { color: var(--prayer); }
.entry-pill--meditation .entry-pill__icon { color: var(--meditation); }
.entry-pill--gratitude .entry-pill__icon { color: var(--gratitude); }
.entry-pill--dream .entry-pill__icon { color: var(--dream); }

.info-card,
.premium-item,
.ai-callout {
  padding: 1rem 1rem 1.05rem;
}

.info-card h3,
.premium-item h3,
.ai-callout h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 500;
}

.info-card p,
.premium-item p,
.ai-callout p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.28;
}

.premium-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.premium-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-family: var(--font-sans);
}

.premium-item__icon--sync {
  color: #8db7ff;
  background: rgba(91, 139, 255, 0.14);
}

.premium-item__icon--themes {
  color: var(--accent);
  background: rgba(44, 107, 59, 0.16);
}

.premium-item__icon--calendar {
  color: #ff9a57;
  background: rgba(255, 138, 61, 0.14);
}

.premium-item__icon--ai {
  color: var(--ai);
  background: rgba(217, 164, 65, 0.14);
}

.ai-callout {
  margin-top: 1.15rem;
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.16) 0%, transparent 42%),
    linear-gradient(180deg, rgba(22, 20, 13, 0.96), rgba(10, 11, 8, 0.98));
}

.ai-callout__eyebrow {
  margin: 0;
  color: rgba(217, 164, 65, 0.84);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-callout__coming-soon {
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.3rem 0 2.5rem;
  margin-top: 0;
}

.footer__inner {
  display: flex;
  justify-content: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.7rem;
  align-items: center;
}

.footer__links a,
.footer__copy {
  color: var(--text-quiet);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer__separator {
  color: var(--text-quiet);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--text-muted);
}

.legal-page .hero {
  padding-bottom: 0.5rem;
}

.legal-page .hero__inner {
  padding-bottom: 2rem;
}

.legal {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
}

.legal__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(16, 24, 18, 0.9), rgba(8, 12, 9, 0.94));
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.2rem 1.5rem;
}

.legal__meta {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

.legal__title {
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 3.8rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-serif);
}

.legal__details {
  display: flex;
  justify-content: center;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.legal__section + .legal__section {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}

.legal__section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.02;
  font-weight: 500;
}

.legal__section p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

.legal__section ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

.legal__section li + li {
  margin-top: 0.45rem;
}

@media (min-width: 700px) {
  .hero {
    padding-top: 2.75rem;
  }

  .hero__inner {
    padding-bottom: 4.5rem;
  }

  .section {
    padding: 1.4rem 0;
  }

  .band {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
  }

  .band__copy,
  .band__visual {
    min-height: 100%;
  }

  .band__copy {
    padding: 1.8rem 1.6rem;
  }

  .band__visual {
    padding: 1.35rem;
  }

  .entry-cloud,
  .privacy-stack,
  .premium-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal__card {
    padding: 1.75rem 1.7rem 1.9rem;
  }
}
