/* The page at gethikomi.com. Shares the app's palette, but it is a document
   rather than a stage: it scrolls, it reflows on a phone, and nothing here is
   positioned against a 3D canvas. */
:root {
  --bg-top: #1a1726;
  --bg-bottom: #2b2440;
  --accent: #ff7aa8;
  --accent-soft: #ffb3cb;
  --text: #f4f0ff;
  --muted: #a99ec9;
  --panel: rgba(20, 17, 33, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(170deg, var(--bg-top), var(--bg-bottom)) fixed;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The same glow the app has behind the character, here as page atmosphere. */
body::before {
  content: "";
  position: fixed;
  left: 50%;
  top: -20vh;
  width: 90vh;
  height: 90vh;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 122, 168, 0.18), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

/* ---- header ---- */
header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
}
.wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}
header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}
header nav a:hover { color: var(--text); }
header nav a.ghost {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--panel);
}
header nav a.ghost:hover { border-color: var(--accent-soft); }

/* ---- hero ---- */
main { padding: 0 var(--gutter) 40px; }

.hero {
  max-width: 760px;
  margin: clamp(32px, 9vh, 96px) auto clamp(56px, 12vh, 120px);
  text-align: center;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 6.2vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lede {
  margin: 0 auto 32px;
  max-width: 44ch;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent-soft); }
.btn.primary {
  background: linear-gradient(180deg, var(--accent), #e8558c);
  border-color: transparent;
  color: #2a0f1c;
  box-shadow: 0 10px 30px rgba(255, 122, 168, 0.28);
}
.btn.primary:hover { box-shadow: 0 14px 38px rgba(255, 122, 168, 0.38); }
.btn.wide { display: flex; margin-top: 22px; }
.btn .sub {
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.2;
}
.btn.primary .sub { color: rgba(42, 15, 28, 0.72); }
/* No build to hand out yet: still readable, clearly not a button to press. */
.btn[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
  transform: none;
}

.fineprint {
  margin: 18px auto 0;
  max-width: 48ch;
  font-size: .85rem;
  color: var(--muted);
}

/* ---- sections ---- */
section { margin: 0 auto clamp(56px, 11vh, 110px); max-width: 1040px; }
section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -0.01em;
}
.section-lede {
  margin: 0 0 30px;
  max-width: 54ch;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.features article {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}
.features h3 { margin: 0 0 8px; font-size: 1.06rem; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- characters ---- */
.cast {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.cast li {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}
.cast .who { font-weight: 600; font-size: 1.06rem; }
.cast .what { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.cast .loading { color: var(--muted); }

/* ---- desktop section ---- */
.desktop {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}
.split {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.split h3 { margin: 0 0 12px; font-size: 1.05rem; }
.ticks { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.ticks.plain li::before { background: var(--muted); }

/* ---- footer ---- */
footer {
  padding: 30px var(--gutter) 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
footer a { color: var(--accent-soft); }
footer p { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
