:root {
  --paper: #f7f1e8;
  --ink: #17231f;
  --muted: #5e6964;
  --green: #194f3e;
  --mint: #b8dccb;
  --coral: #eb765f;
  --yellow: #f3c96b;
  --line: rgba(23, 35, 31, 0.16);
  --shadow: 0 24px 70px rgba(47, 57, 51, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 90px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--green); border-radius: 50% 50% 45% 55%; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }

main { overflow: hidden; }
.hero,
.prompt-section,
.features,
.closing,
.legal {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 70px 0 90px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: .74rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 7vw, 7.2rem); font-weight: 400; letter-spacing: -.065em; line-height: .92; }
h1 em { color: var(--coral); font-weight: 400; }
.lead { max-width: 610px; margin: 30px 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; color: white; background: var(--green); border-radius: 999px; font-weight: 750; text-decoration: none; box-shadow: 0 12px 30px rgba(25, 79, 62, .18); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(25, 79, 62, .25); }

.hero-art { position: relative; min-height: 480px; }
.bubble { position: absolute; max-width: 270px; padding: 24px 28px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.25; box-shadow: var(--shadow); }
.bubble::after { content: ""; position: absolute; bottom: -20px; width: 38px; height: 32px; background: inherit; clip-path: polygon(0 0, 100% 0, 10% 100%); }
.bubble-one { top: 50px; left: 10px; background: var(--mint); border-radius: 38px 38px 38px 8px; transform: rotate(-4deg); }
.bubble-one::after { left: 26px; }
.bubble-two { right: 8px; bottom: 72px; color: white; background: var(--green); border-radius: 38px 38px 8px 38px; transform: rotate(5deg); }
.bubble-two::after { right: 26px; transform: scaleX(-1); }
.orbit { position: absolute; inset: 8% 2% 4% 5%; border: 1px dashed rgba(25, 79, 62, .33); border-radius: 48% 52% 55% 45%; transform: rotate(12deg); }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; }
.orbit::before { top: 10%; right: 8%; background: var(--yellow); }
.orbit::after { bottom: 10%; left: 9%; background: var(--coral); }

.prompt-section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.mood-picker { display: flex; gap: 8px; padding: 5px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 999px; }
.mood { padding: 9px 16px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; }
.mood.is-active { color: white; background: var(--green); }
.prompt-card { position: relative; min-height: 360px; padding: clamp(36px, 7vw, 84px); display: flex; flex-direction: column; justify-content: space-between; background: var(--yellow); border-radius: 42px 42px 42px 10px; box-shadow: var(--shadow); overflow: hidden; }
.prompt-card::after { content: "?"; position: absolute; right: 3%; bottom: -44%; color: rgba(255,255,255,.3); font-family: Georgia, serif; font-size: 28rem; line-height: 1; pointer-events: none; }
.prompt-number { position: relative; z-index: 1; font-size: .82rem; font-weight: 850; letter-spacing: .14em; }
.prompt-card p { position: relative; z-index: 1; max-width: 850px; margin: 35px 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.045em; }
.shuffle { position: relative; z-index: 1; align-self: flex-start; padding: 12px 18px; color: var(--ink); background: rgba(255,255,255,.45); border: 1px solid rgba(23,35,31,.18); border-radius: 999px; cursor: pointer; font-weight: 750; }
.shuffle:hover { background: rgba(255,255,255,.7); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 110px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.features article { padding: 42px; background: var(--paper); }
.feature-index { color: var(--coral); font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
h3 { margin: 54px 0 12px; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.features p, .closing p, .legal p { color: var(--muted); }
.closing { margin-bottom: 110px; padding: 80px; text-align: center; background: var(--mint); border-radius: 34px; }
.closing p:last-child { max-width: 650px; margin: 25px auto 0; font-size: 1.1rem; }

footer { min-height: 100px; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
.legal { max-width: 780px; padding: 90px 0 130px; }
.legal h1 { max-width: 750px; margin-bottom: 50px; font-size: clamp(3.4rem, 7vw, 6rem); }
.legal h2 { margin-top: 44px; font-family: Georgia, serif; font-size: 2rem; }
.legal p { font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 42px; color: var(--green); font-weight: 800; }
.not-found { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.not-found main { max-width: 760px; text-align: center; }
.not-found h1 { margin-bottom: 24px; }
.not-found p:not(.eyebrow) { margin-bottom: 32px; color: var(--muted); font-size: 1.1rem; }

@media (max-width: 820px) {
  .site-header, footer, .hero, .prompt-section, .features, .closing, .legal { width: min(100% - 30px, 1180px); }
  nav { gap: 16px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding-top: 60px; }
  .hero-art { min-height: 390px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .features { grid-template-columns: 1fr; }
  .features article { padding: 32px; }
  h3 { margin-top: 30px; }
  .closing { padding: 55px 25px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
