/* The landing page and the legal pages: warm paper, soft cards, the pixel town as the picture. */

@font-face { font-family: "Geist"; src: url("/fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ink: #101c36;
  --ink-2: #44506a;
  --faint: #8a93a6;
  --paper: #f7f5ee;
  --card: #ffffff;
  --line: rgba(16, 28, 54, 0.09);
  --lime: #c6ff3d;
  --shadow: 0 2px 6px rgba(16, 28, 54, 0.05), 0 18px 44px rgba(16, 28, 54, 0.1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) linear-gradient(180deg, #eaf2fb 0, rgba(234, 242, 251, 0) 520px) no-repeat; color: var(--ink); font: 400 17px/1.6 "Geist", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
main { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.nav { max-width: 1120px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: block; height: 32px; image-rendering: pixelated; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--ink) !important; }

.soon { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; font-size: 16px; }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 255, 61, 0.3); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(198, 255, 61, 0.12); } }

.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 36px 0 72px; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: #4c7a00; }
h1 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
.mark { background: linear-gradient(180deg, transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 2px; }
.lede { margin: 22px 0 30px; font-size: 19px; color: var(--ink-2); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-town { margin: 0; }
.town-frame { position: relative; height: 470px; border-radius: 28px; overflow: hidden; background: #7aa65a; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
#town { display: block; width: 100%; height: 100%; image-rendering: pixelated; cursor: grab; touch-action: pan-y; }
figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--faint); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 20px 0 84px; }
.feature { background: var(--card); border-radius: 22px; padding: 22px 24px 26px; box-shadow: var(--shadow); }
.feature h2 { margin: 20px 0 8px; font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.mock { border-radius: 14px; background: #f6f5f0; padding: 14px; min-height: 190px; font-size: 13.5px; line-height: 1.45; }
.chat { display: grid; gap: 10px; align-content: start; }
.msg { padding: 9px 12px; border-radius: 14px; max-width: 92%; }
.msg.you { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.claude { background: #fff; color: var(--ink-2); border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(16, 28, 54, 0.08); }
.doc { display: grid; gap: 6px; align-content: start; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.d-title { font-weight: 600; font-size: 17px; }
.d-pin { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(224, 69, 59, 0.08); box-shadow: inset 3px 0 0 #e0453b; }
.d-pin i { width: 7px; height: 7px; border-radius: 50%; background: #e0453b; }
.d-h { font-weight: 600; margin-top: 4px; }
.d-check { position: relative; padding-left: 22px; color: var(--ink-2); }
.d-check::before { content: ""; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #9aa5bb; }
.d-check.on { color: var(--faint); text-decoration: line-through; }
.d-check.on::before { background: var(--ink); box-shadow: none; }
.hl { background: #fbf0bd; border-radius: 3px; padding: 0 2px; }
.d-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 6px; }
.d-bars i { flex: 1; background: #2a78d6; border-radius: 4px 4px 0 0; }
.life { display: grid; gap: 10px; align-content: center; }
.life .row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(16, 28, 54, 0.06); }
.life em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--faint); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.hot { background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.35); }
.dot.warm { background: #8fcf4a; }
.dot.calm { background: #b9c4a8; }
.dot.done { background: #2a78d6; }

.faq h2 { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.03em; line-height: 1.1; text-align: center; }
.faq { max-width: 720px; margin: 0 auto; padding: 0 0 90px; }
details { background: var(--card); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(16, 28, 54, 0.06); }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink-2); }

footer { max-width: 1120px; margin: 0 auto; padding: 26px 28px 40px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--faint); border-top: 1px solid var(--line); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 10px 28px 80px; }
.legal h1 { font-size: 40px; margin-bottom: 6px; }
.legal h2 { font-size: 21px; margin: 34px 0 6px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal .updated { color: var(--faint); font-size: 14px; }
.legal .fill { background: #fbf0bd; border-radius: 4px; padding: 0 4px; color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 10px; }
  .town-frame { height: 360px; }
  .features { grid-template-columns: 1fr; }
  .nav nav a:not(.pill) { display: none; }
}
