:root {
  --bg: #fbfbfb;
  --ink: #111111;
  --muted: #626262;
  --line: #e7e7e7;
  --soft: #f0f0f0;
  --blue: #1d6ee5;
  --royal: #3d4adb;
  --navy: #221898;
  --lavender: #dbe2ff;
  --periwinkle: #b6c6ff;
  --amber: #e2a845;
  --green: #2fbf71;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }

.unofficial-bar {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 7px 16px;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(251, 251, 251, 0.85);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.links { display: flex; gap: 26px; font-size: 15px; color: #333; }
.links a:hover { color: var(--blue); }

/* pills, styled after clicky's glossy buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill.small { padding: 8px 16px; font-size: 14px; }
.pill-primary {
  background: linear-gradient(#d6e2ff, #a9bcff);
  border: 1.5px solid var(--royal);
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.45), 0 2px 8px rgba(61,74,219,.18);
  color: #111;
}
.pill-secondary {
  background: linear-gradient(#fff, #e9e8ea);
  border: 1.5px solid #b3b3b3;
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.7);
}

/* hero */
.hero { position: relative; text-align: center; padding: 70px 20px 40px; overflow: hidden; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 12vw, 148px); line-height: .95; letter-spacing: -0.02em;
  margin: 0;
}
.tagline { font-size: clamp(18px, 2.2vw, 22px); color: #333; margin: 14px 0 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.face {
  position: absolute; font-family: var(--mono); color: #b5b5b4; font-size: 18px;
  animation: float 6s ease-in-out infinite;
}
.f1 { top: 70px; left: 12%; }
.f2 { top: 150px; right: 11%; animation-delay: -2s; }
.f3 { top: 300px; left: 7%; animation-delay: -4s; }
.f4 { top: 290px; right: 7%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* demo stage */
.stage {
  position: relative; margin: 54px auto 0; max-width: 980px; height: 400px;
  border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 110%, #ffffff 0 12%, transparent 30%),
    radial-gradient(ellipse at 70% 105%, #ffffff 0 10%, transparent 26%),
    linear-gradient(#1747d6, #3f8dff 70%, #8cc3ff);
  box-shadow: 0 30px 60px -20px rgba(23, 71, 214, .45);
  text-align: left;
}
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 34px;
  display: flex; align-items: center; gap: 18px; padding: 0 16px;
  font-size: 13px; color: #fff; font-weight: 500;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
}
.apple { width: 13px; height: 15px; background: #fff; border-radius: 50% 50% 45% 45%; }
.notch {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 190px; height: 34px; background: #000; border-radius: 0 0 14px 14px;
}
.cc-pill {
  position: absolute; left: calc(50% + 100px); top: 0; height: 34px; padding: 0 11px;
  display: flex; align-items: center; gap: 7px;
  background: #000; color: #fff; border-radius: 0 0 12px 6px;
  font: 800 10.5px var(--sans); letter-spacing: .08em;
}
.cc-pill img { width: 17px; height: 17px; }
.cc-pill i { width: 6px; height: 6px; border-radius: 50%; background: #5ce08f; box-shadow: 0 0 6px #5ce08f; }
.tray { margin-left: auto; display: flex; gap: 12px; }
.tray span { width: 16px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.75); }

.prompt {
  position: absolute; left: 50%; top: 34px; width: min(560px, 92%);
  transform: translateX(-50%);
  background: #000; color: #fff; border-radius: 0 0 28px 28px;
  padding: 26px 30px 24px;
  animation: prompt 7s ease-in-out infinite;
  transform-origin: top center;
}
.prompt-row { display: flex; gap: 16px; align-items: flex-start; }
.clicky-tile {
  flex: none; width: 56px; height: 56px; border-radius: 15px;
  background: var(--lavender); border: 2px solid #6b78e6;
  display: grid; place-items: center; color: var(--navy); font-weight: 800; font-size: 17px;
}
.q { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.hint { margin: 6px 0 0; color: #8b8b8b; font-size: 14px; }
.stamp {
  display: inline-block; flex: none;
  font: 800 11px var(--sans); letter-spacing: .14em;
  border: 2px dashed currentColor; border-radius: 5px; padding: 3px 8px;
  transform: rotate(-3deg);
}
.stamp.you { color: var(--amber); }
.prompt-buttons { display: flex; gap: 14px; margin: 18px 0 0 72px; }
.btn {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; color: #111;
}
.btn.small { font-size: 14px; padding: 7px 16px; }
.btn.go { background: linear-gradient(#d6e2ff, #a9bcff); border: 2px solid var(--royal); }
.btn.no { background: linear-gradient(#fff, #dcdcde); border: 2px solid #9a9a9a; }
.prompt .btn.go { animation: press 7s infinite; }

.toast {
  position: absolute; left: 50%; top: 120px; transform: translateX(-50%);
  background: #000; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; white-space: nowrap; opacity: 0;
  animation: toast 7s infinite;
}
.cursor { position: absolute; left: 78%; top: 82%; animation: cursor 7s ease-in-out infinite; }
.dashboard-indicator {
  position: absolute; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px; border: 2px solid #388f58; border-radius: 999px;
  background: rgba(0,0,0,.88); color: #5ce08f;
  font: 700 16px var(--sans); letter-spacing: .1em;
  text-shadow: 0 0 12px rgba(92,224,143,.6);
}
.dashboard-indicator svg { filter: drop-shadow(0 0 5px rgba(92,224,143,.5)); }

@keyframes prompt {
  0%, 4% { opacity: 0; transform: translateX(-50%) scaleY(.2); }
  10%, 52% { opacity: 1; transform: translateX(-50%) scaleY(1); }
  58%, 100% { opacity: 0; transform: translateX(-50%) scaleY(.2); }
}
@keyframes cursor {
  0%, 18% { left: 78%; top: 82%; }
  42% { left: calc(50% - 150px); top: 196px; }
  46% { left: calc(50% - 150px); top: 199px; }
  50%, 70% { left: calc(50% - 150px); top: 196px; }
  100% { left: 78%; top: 82%; }
}
@keyframes press {
  0%, 44% { filter: none; transform: none; }
  46% { filter: brightness(.85); transform: scale(.96); }
  50%, 100% { filter: none; transform: none; }
}
@keyframes toast {
  0%, 58% { opacity: 0; }
  62%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* sections */
.section { max-width: 1040px; margin: 0 auto; padding: 90px 24px 10px; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 64px); line-height: 1; margin: 0 0 14px; }
.lede { font-size: 18px; color: #333; max-width: 620px; }
.lede.small { font-size: 15px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.card h3 { font-size: 21px; margin: 14px 0 6px; }
.card p { color: #444; margin: 0; }
.card .stamp { color: #777; }
.card .stamp.rest { color: var(--amber); }
.card .stamp.cruise { color: var(--green); }
.card.featured { background: #0b0b0d; color: #fff; border-color: #0b0b0d; }
.card.featured p { color: #bdbdbd; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.quote {
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25;
  border-left: 3px solid var(--periwinkle); padding-left: 16px; margin: 18px 0;
}
.chat {
  background: #1c1c1e; color: #fff; border-radius: 24px; padding: 22px;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 18px 18px;
}
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; }
.avatar { width: 30px; height: 30px; border-radius: 9px; background: #f3ead6; display: grid; place-items: center; font-size: 16px; }
.stamp.done { color: #3fcf7f; font-size: 10px; }
.time { color: #8b8b8b; font-weight: 400; font-size: 14px; }
.bubble { background: #3a3a3c; border-radius: 18px; padding: 12px 16px; margin: 8px 0; font-size: 15.5px; }
.bubble.me { background: linear-gradient(#cfdbff, #aebfff); color: #111; margin-left: 40px; }
.chat-actions { display: flex; gap: 10px; margin: 12px 0; }
.tapped { animation: tap 3.5s infinite; }
@keyframes tap { 0%, 30% { transform: none; } 34% { transform: scale(.94); filter: brightness(.85); } 40%, 100% { transform: none; } }
.sent-by { text-align: right; font-family: var(--mono); font-size: 12px; color: #9a9a9a; }

.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; min-width: 0; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.steps li > div { min-width: 0; flex: 1; }
.num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--lavender); color: var(--navy); border: 1.5px solid var(--royal);
}
.steps h3 { margin: 4px 0 8px; font-size: 19px; }
.steps p { margin: 8px 0 0; color: #444; }
pre {
  background: #0b0b0d; color: #e7e7e7; border-radius: 14px; padding: 14px 16px;
  font-size: 13.5px; overflow-x: auto; margin: 0;
}

.note {
  max-width: 640px; background: #fffef6; border: 1px solid #efe9cf; border-radius: 6px;
  padding: 28px 30px; transform: rotate(-.6deg);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.25);
  font-size: 17px; color: #333;
}
.note p { margin: 0 0 12px; }
.sig { font-family: var(--serif); font-style: italic; font-size: 21px; margin-top: 18px !important; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 760px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: #444; margin: 10px 0 0; }
details code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: 13.5px; }

.footer { max-width: 1040px; margin: 100px auto 0; padding: 30px 24px 60px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 760px; }

@media (max-width: 820px) {
  .links { display: none; }
  .cards, .split { grid-template-columns: 1fr; }
  .stage { height: 360px; }
  .cc-pill { display: none; }
  .prompt-buttons { margin-left: 0; }
  .face { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .prompt { opacity: 1; transform: translateX(-50%); }
}
