/* Garuda Twin · "Living light": warm cream and gold, calm, light and dark. */
:root {
  --bg: #F7F5F0;
  --bg-2: #EFEBE2;
  --card: rgba(255, 255, 255, .72);
  --text: #1A1C22;
  --muted: #62646C;
  --line: rgba(26, 28, 34, .10);
  --gold: #936810;
  --gold-soft: rgba(147, 104, 16, .14);
  --emerald: #0C7A43;
  --sapphire: #2758B5;
  --rose: #F43F5E;
  --btn-text: #FFFDF8;
  --shadow: 0 1px 2px rgba(60, 45, 10, .06), 0 12px 40px rgba(60, 45, 10, .10);
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090F;
    --bg-2: #0E1119;
    --card: rgba(255, 255, 255, .045);
    --text: #F2EFE8;
    --muted: #9A9CA6;
    --line: rgba(255, 255, 255, .10);
    --gold: #E6B863;
    --gold-soft: rgba(230, 184, 99, .14);
    --emerald: #4ADE80;
    --sapphire: #93B8F5;
    --btn-text: #14110A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 48px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--gold-soft), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem;
  font-weight: 600; color: var(--gold); margin-bottom: 14px;
}
.sub { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--btn-text);
  font: inherit; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 20px var(--gold-soft);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sapphire); outline-offset: 3px;
}
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.brand sup, .foot sup { font-size: .55em; color: var(--muted); margin-left: 1px; }
.brand.small { font-size: .92rem; gap: 8px; }
.brand.small img { border-radius: 5px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; text-align: center; }
.arc { position: absolute; inset: 40px 0 auto 0; width: 100%; height: 420px; pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.orb {
  width: 152px; height: 152px; border-radius: 50%;
  display: grid; place-items: center; margin: 120px 0 36px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 0 80px var(--gold-soft);
  animation: breathe 6s ease-in-out infinite;
}
.orb img { border-radius: 26px; box-shadow: var(--shadow); }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px var(--gold-soft), 0 0 120px var(--gold-soft); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--muted); margin: 18px 0 32px; }

/* Sections */
.section { padding: 88px 0; }
.tint { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }

.hooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 56px; }
.hook {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.hook p { color: var(--muted); margin-top: 6px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-bottom: 14px; }
.dot.gold { background: var(--gold); }
.dot.emerald { background: var(--emerald); }
.dot.rose { background: var(--rose); }

.shot { margin: 0; }
.shot img {
  border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* Form */
.form {
  display: grid; gap: 10px; margin-top: 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.form label { font-weight: 600; font-size: .92rem; margin-top: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form select {
  font: inherit; color: var(--text); width: 100%;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg);
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form .btn { margin-top: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; font-size: .95rem; text-align: center; }
.status.ok { color: var(--emerald); }
.status.err { color: var(--rose); }

.note { margin-top: 22px; color: var(--muted); font-size: .9rem; }
.note summary { cursor: pointer; text-align: center; color: var(--muted); }
.note p { margin-top: 10px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: .88rem; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  .hooks { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .orb { margin-top: 90px; }
  .section { padding: 64px 0; }
}

.s-sap { stop-color: var(--sapphire); }
.s-gold { stop-color: var(--gold); }

/* Feature tiles */
.hooks { margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 0 56px; }
.tile { padding: 10px 10px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.tile .thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 14px; }
.thumb.pos-top { object-position: top; }
.thumb.pos-bottom { object-position: bottom; }
.tile h3, .tile p { padding: 0 8px; }
.tile h3 { font-size: 1rem; }
.tile p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }

/* Living brain background */
.brain-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .55; }
@media (prefers-color-scheme: dark) { .brain-bg { opacity: .7; } }

/* Stand-in example (drawn, not a screenshot) */
.thumb.swap { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 18px; background: var(--bg); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(.72rem, 1.4vw, .92rem); }
.swap-head, .swap-row { display: grid; grid-template-columns: 1fr 22px 1fr; align-items: center; }
.swap-head { grid-template-columns: 1fr 1fr; gap: 22px; font-family: inherit; text-transform: uppercase; letter-spacing: .12em; font-size: .68em; font-weight: 600; margin-bottom: 6px; }
.swap-head span:first-child { color: var(--gold); text-align: right; }
.swap-head span:last-child { color: var(--sapphire); }
.swap-row { padding: 7px 0; border-top: 1px solid var(--line); }
.swap-row .real { color: var(--gold); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap-row .fake { color: var(--sapphire); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap-row i { justify-self: center; width: 7px; height: 7px; transform: rotate(45deg); background: var(--emerald); }

/* Drawn brain maps */
svg.thumb.map { display: block; height: auto; background: #0a0d15; }
.map .pulse { animation: glow 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map .core { animation: core 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map .d1 { animation-delay: -1.1s; } .map .d2 { animation-delay: -2.3s; } .map .d3 { animation-delay: -3.4s; }
@keyframes glow { 50% { opacity: .45; transform: scale(.8); } }
@keyframes core { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .map .pulse, .map .core { animation: none; } }
.thumb.pos-left { object-position: left top; }
