:root {
  color-scheme: dark;
  --bg: #0e0d0b;
  --bg-raise: #1c1b18;
  --ink: #f7f2e8;
  --muted: #a3a3a3;
  --peach: #f6c9a0;
  --orange: #f0a050;
  --cta: #ffb463;
  --cream: #f5e6c8;
  --line: rgba(247, 242, 232, 0.1);
  --radius: 24px;
  --max: 68rem;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--peach);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--cta);
  color: #1a1208;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: rgba(14, 13, 11, 0.72);
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-text {
  display: block;
  line-height: 1;
  translate: 0 0.04em;
}

.wordmark:hover {
  color: inherit;
}

.logo {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a:not(.as-badge) {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
}

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

.as-badge {
  display: inline-block;
  line-height: 0;
  padding: 10px;
}

.as-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.as-badge-nav {
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 0;
}

.as-badge-nav img {
  display: block;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #1a1208;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.btn:hover {
  color: #1a1208;
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--peach);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  line-height: 0.9;
  max-width: 12ch;
}

h1 em {
  font-style: normal;
  color: var(--orange);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: #d8d0c4;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.6rem -10px;
}

.hero-art {
  position: relative;
  min-height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(36rem, 130%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 166, 83, 0.2), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.halo {
  position: absolute;
  width: min(36rem, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 166, 83, 0.22), rgba(239, 166, 83, 0.05) 43%, transparent 69%);
  filter: blur(8px);
}

.animal {
  position: absolute;
  z-index: 5;
  width: 11.5rem;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
  animation: float 6s ease-in-out infinite;
}

.animal.owl {
  width: 10.75rem;
  left: 1.5rem;
  top: 2.4rem;
}

.animal.fox {
  width: 12.25rem;
  right: -0.6rem;
  top: 8rem;
  animation-delay: -2s;
}

.animal.turtle {
  width: 11.5rem;
  left: -0.2rem;
  bottom: 9.4rem;
  animation-delay: -4s;
}

.sticker {
  position: absolute;
  z-index: 6;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(18, 19, 17, 0.82);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.sticker small {
  color: #88857d;
}

.sticker.s1 {
  right: 0.4rem;
  top: 2.4rem;
  transform: rotate(5deg);
}

.sticker.s2 {
  left: 0;
  bottom: 4.6rem;
  transform: rotate(-6deg);
}

.device {
  position: relative;
  z-index: 4;
  margin: 0;
  width: min(18rem, 50%);
  border-radius: 2.4rem;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 8px #181918,
    0 0 0 9px rgba(255, 255, 255, 0.13),
    0 35px 110px rgba(0, 0, 0, 0.82);
}

.app {
  transform: rotate(2deg);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.story-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 1.5rem 2rem;
  margin: 0 0 2.2rem;
}

.story-phones .device {
  width: min(18.5rem, 100%);
}

.steps {
  max-width: 36rem;
}

@keyframes float {
  0%,
  100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes card-glow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.14);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animal,
  .light-card::before {
    animation: none;
  }

  .light-card::before {
    transform: translate(-50%, -50%);
    opacity: 0.72;
  }
}

#main,
#features,
#how,
#lights,
#support {
  scroll-margin-top: 5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #100f0d;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.35rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: #73716b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.strip-in {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.lights-head {
  max-width: 40rem;
}

.lights-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.92;
}

.light-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.light-card {
  --glow: #ffe8c4;
  position: relative;
  height: 28rem;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #070706;
}

.light-card-owl {
  --glow: #ffe4b8;
}

.light-card-turtle {
  --glow: #3aefb4;
  background: #070b0a;
}

.light-card-fox {
  --glow: #ff8a28;
  background: #0b0806;
}

.light-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 42%;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, color-mix(in srgb, var(--glow) 42%, transparent) 42%, transparent 72%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  animation: card-glow 3.6s ease-in-out infinite;
  pointer-events: none;
}

.light-card img {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  width: 58%;
  max-width: 13.5rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4));
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease;
}

.light-card:hover img {
  transform: translate(-50%, calc(-50% - 8px)) scale(1.06);
}

.light-info {
  position: absolute;
  z-index: 2;
  left: 1.35rem;
  bottom: 1.3rem;
}

.light-info span {
  color: #99968e;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.light-info h3 {
  margin: 0.25rem 0 0;
  font-size: 1.7rem;
}

.letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.letter-card {
  width: min(36rem, 100%);
  text-align: left;
  padding: 2.1rem 1.9rem 2rem;
  border-radius: 28px;
  background: rgba(28, 24, 20, 0.72);
  box-shadow: inset 0 0 0 1px rgba(245, 230, 200, 0.12);
  backdrop-filter: blur(18px);
  font-family: "Playwrite MX", "Segoe Script", "Bradley Hand", cursive;
  font-weight: 280;
  font-size: 1.12rem;
  line-height: 1.85;
}

.letter-card p {
  margin: 0 0 1.15rem;
  color: #f3eadc;
}

.letter-card .sign {
  margin: 1.6rem 0 0;
}

.split-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.split-list li {
  padding-left: 1.15rem;
  position: relative;
  color: #d4cdc2;
}

.split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--orange);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-card {
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.price-card.is-featured {
  border-color: rgba(255, 180, 99, 0.55);
  background: #17140f;
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.price-card .tag {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-owl {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.cta-band {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 30rem;
  color: var(--muted);
}

.cta-band .as-badge {
  margin-top: 0.2rem;
}

.lost {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 10rem);
  padding: 4rem 0;
  text-align: center;
}

.lost .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lost h1 {
  max-width: none;
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.lost p {
  margin: 0 auto 1.6rem;
  max-width: 28rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row nav {
  display: flex;
  gap: 1.1rem;
}

.footer-row a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-row a:hover {
  color: var(--ink);
}

.legal {
  padding: 3.5rem 0 5rem;
}

.legal .wrap {
  width: min(var(--measure), calc(100% - 2.5rem));
}

.legal .meta {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

.legal h2 {
  margin: 2.1rem 0 0.55rem;
  font-size: 1.35rem;
}

.legal p {
  margin: 0 0 0.9rem;
  color: #d9d2c6;
}

@media (max-width: 860px) {
  .hero-grid,
  .story-phones,
  .pricing,
  .features,
  .light-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    overflow: hidden;
    padding-top: 1.6rem;
    padding-bottom: 2.4rem;
  }

  .hero-art {
    min-height: 0;
    height: auto;
    order: -1;
    overflow: visible;
    padding: 2.8rem 0 2.2rem;
  }

  .sticker {
    display: none;
  }

  .animal.owl,
  .animal.fox,
  .animal.turtle {
    width: 5.75rem;
  }

  .animal.owl {
    left: 0.2rem;
    top: 1.4rem;
  }

  .animal.fox {
    right: 0.15rem;
    top: 7.2rem;
  }

  .animal.turtle {
    left: 0.15rem;
    bottom: 1.8rem;
  }

  .device {
    width: min(13rem, 52%);
    border-radius: 1.2rem;
    box-shadow:
      0 0 0 5px #181918,
      0 0 0 6px rgba(255, 255, 255, 0.13),
      0 24px 70px rgba(0, 0, 0, 0.75);
  }

  .app {
    transform: none;
  }

  .strip {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .strip-in {
    justify-content: center;
    gap: 0.55rem 1.15rem;
  }

  .light-card {
    height: 22rem;
  }

  .letter-card {
    padding: 1.5rem 1.25rem 1.4rem;
    font-size: 1.02rem;
  }

  .section {
    padding: 3.4rem 0;
  }
}

@media (min-width: 560px) and (max-width: 860px) {
  .light-grid,
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .wrap {
    width: calc(100% - 1.5rem);
  }

  .nav-links {
    gap: 0.65rem;
  }

  .wordmark-text {
    font-size: 1.08rem;
  }
}
