/* Comiku static site — comic-sticker look, matches the app */
:root {
  --paper: #fff6ec;
  --ink: #26203a;
  --ink-muted: #6e677f;
  --ink-gray: #8a8398;
  --coral: #ff5c8a;
  --coral-dark: #e84875;
  --coral-light: #ffe3ec;
  --violet: #7c5cff;
  --violet-pale: #eae3ff;
  --gem: #3bc8e3;
  --gem-pale: #dff5fa;
  --amber: #ffb937;
  --amber-pale: #fff1d6;
  --mint: #dff7ea;
  --mint-dark: #1fa97c;
  --head: 'Baloo 2', 'Segoe UI', system-ui, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* anchor jumps land below the sticky header — headings never hide under it */
  scroll-padding-top: 92px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.6;
}

/* subtle halftone paper texture */
.halftone {
  background-image: radial-gradient(rgba(38, 32, 58, 0.05) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

a { color: var(--coral-dark); }
h1, h2, h3, .font-head { font-family: var(--head); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

.lucide { width: 1em; height: 1em; stroke-width: 2.4; vertical-align: -0.12em; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.nav { display: flex; align-items: center; gap: 20px; padding: 13px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-badge {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--coral); color: #fff; font-weight: 800; font-size: 16px; font-family: var(--head);
  border: 2px solid var(--ink); border-radius: 13px 13px 13px 4px;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-4deg);
}
.logo b { font-size: 22px; font-weight: 800; font-family: var(--head); letter-spacing: -0.3px; }
.nav a.item { text-decoration: none; color: var(--ink-muted); font-weight: 800; font-size: 14.5px; }
.nav a.item:hover, .nav a.item.active { color: var(--coral-dark); }
.nav .cta {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; background: var(--coral); color: #fff; font-weight: 800; font-size: 14.5px;
  font-family: var(--head);
  border: 2px solid var(--ink); border-radius: 999px; padding: 8px 18px;
  box-shadow: 2px 2px 0 var(--ink); transition: transform 0.12s;
}
.nav .cta:hover { transform: translate(-1px, -1px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 52px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.hero h1 .pink { color: var(--coral); }
.hero h1 .violet { color: var(--violet); }
.hero p.sub { margin-top: 18px; font-size: 17.5px; font-weight: 700; color: var(--ink-muted); max-width: 480px; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; z-index: -1; }
.blob.b1 { width: 380px; height: 380px; background: var(--coral-light); top: -100px; left: -90px; }
.blob.b2 { width: 320px; height: 320px; background: var(--violet-pale); bottom: -120px; right: -70px; }
.hero-art { display: grid; place-items: center; position: relative; }
.hero-frame {
  position: relative; transform: rotate(-2deg); max-width: 440px; width: 100%;
  border: 4px solid var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 8px 8px 0 var(--coral-light), 8px 8px 0 2px var(--ink);
  background: #fff;
}
.hero-frame img { display: block; width: 100%; height: auto; }
.sticker {
  position: absolute; font-family: var(--head); font-weight: 800;
  border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 16px;
  box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; z-index: 2;
}
.sticker.s1 { top: -12px; right: 2px; background: var(--amber); transform: rotate(6deg); font-size: 15px; }
.sticker.s2 { bottom: 12px; left: -10px; background: #fff; color: var(--coral-dark); transform: rotate(-5deg); font-size: 14px; }

.store-badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.store-badge {
  position: relative;
  display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(38, 32, 58, 0.25);
  transition: transform 0.12s;
}
.store-badge:hover { transform: translate(-1px, -1px); }
.store-badge span { display: block; text-align: left; line-height: 1.15; }
.store-badge .small { font-size: 10.5px; opacity: 0.75; font-weight: 700; }
.store-badge .big { font-size: 16.5px; font-weight: 800; font-family: var(--head); }
.store-badge .icon { display: grid; place-items: center; }
.store-badge .icon svg { width: 27px; height: 27px; display: block; }
.soon-pop {
  position: absolute; left: 50%; top: -40px; transform: translateX(-50%) scale(0);
  background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 800;
  font-family: var(--head); white-space: nowrap;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.store-badge.show-soon .soon-pop { transform: translateX(-50%) scale(1); }

/* ---------- sections ---------- */
section { padding: 44px 0; scroll-margin-top: 92px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--violet-pale); border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--head); font-weight: 800; font-size: 12.5px; padding: 4px 14px;
}
h2.title { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.6px; margin-top: 12px; }
.center { text-align: center; }
p.lead { color: var(--ink-muted); font-weight: 700; max-width: 660px; margin-top: 10px; }
.center p.lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 18px; margin-top: 34px; }
.grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid.cols4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.card {
  background: #fff; border: 2px solid var(--ink); border-radius: 18px;
  padding: 22px; box-shadow: 3px 3px 0 rgba(38, 32, 58, 0.12);
}
.icon-chip {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 2px 2px 0 rgba(38, 32, 58, 0.18);
}
.icon-chip .lucide { width: 22px; height: 22px; }
.card h3 { margin-top: 14px; font-size: 17.5px; font-weight: 800; }
.card p { margin-top: 6px; font-size: 14.5px; color: var(--ink-muted); font-weight: 600; }

/* ---------- model gallery (comic panels) ---------- */
.models-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 34px; }
.model-panel {
  border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 3px 3px 0 rgba(38, 32, 58, 0.14);
  transition: transform 0.15s;
}
.model-panel:hover { transform: translateY(-4px) rotate(-1deg); }
.model-panel svg { display: block; width: 100%; height: auto; }
.model-panel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.model-panel .label { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-top: 2px solid var(--ink); }
.model-panel .label b { font-family: var(--head); font-size: 14.5px; }
.model-panel .label .cost { font-size: 12px; font-weight: 800; color: var(--gem); }

/* ---------- packs ---------- */
.pack { position: relative; text-align: center; padding-top: 32px; }
.pack .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 800; font-family: var(--head);
  border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.pack .gem-art { margin-bottom: 6px; }
.pack .gems { font-size: 32px; font-weight: 800; font-family: var(--head); }
.pack .bonus { color: var(--mint-dark); font-weight: 800; font-size: 13px; min-height: 20px; }
.pack .price { margin-top: 8px; font-size: 24px; font-weight: 800; font-family: var(--head); color: var(--coral-dark); }
.pack .per { font-size: 12px; color: var(--ink-gray); font-weight: 700; }
.pack.popular { border-color: var(--coral); box-shadow: 4px 4px 0 var(--coral-light); }

.costs-table { width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; background: #fff; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.costs-table th, .costs-table td { padding: 13px 18px; text-align: left; font-size: 14.5px; }
.costs-table th { background: var(--coral-light); font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; border-bottom: 2px solid var(--ink); }
.costs-table tr + tr td { border-top: 1.5px solid #f1e7da; }
.costs-table td b { font-weight: 800; }
.costs-table td .lucide { color: var(--coral); margin-right: 6px; }
.note { font-size: 13px; color: var(--ink-gray); font-weight: 700; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-cat { display: flex; align-items: center; gap: 9px; font-family: var(--head); font-size: 18px; font-weight: 800; margin-top: 38px; }
.faq-cat .lucide { color: var(--coral); }
details {
  background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  padding: 15px 20px; margin-top: 12px; box-shadow: 2px 2px 0 rgba(38, 32, 58, 0.1);
}
details summary { cursor: pointer; font-weight: 800; font-size: 15.5px; list-style: none; display: flex; align-items: center; gap: 10px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '▸'; color: var(--coral); transition: transform 0.15s; }
details[open] summary::before { transform: rotate(90deg); }
details .a { margin-top: 10px; color: var(--ink-muted); font-weight: 600; font-size: 14.5px; }
details .a a { font-weight: 800; }

/* ---------- contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; margin-top: 34px; align-items: start; }
.form-card { padding: 26px; }
.field { margin-top: 16px; }
.field label { display: block; font-family: var(--head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; margin-top: 7px; padding: 11px 14px;
  border: 2px solid var(--ink); border-radius: 12px; background: #fff;
  font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--ink);
  outline: none; transition: box-shadow 0.12s;
}
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 3px 3px 0 var(--coral-light); border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--coral); color: #fff; font-family: var(--head); font-weight: 800; font-size: 15.5px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 11px 26px; margin-top: 20px;
  box-shadow: 2px 2px 0 var(--ink); transition: transform 0.12s;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.form-msg { margin-top: 14px; font-weight: 800; font-size: 14px; display: none; }
.form-msg.ok { display: block; color: var(--mint-dark); }
.form-msg.err { display: block; color: var(--coral-dark); }
.side-card p { font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; }
.side-card .mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--head); font-weight: 800; font-size: 16.5px;
}

/* ---------- prose pages ---------- */
.prose { max-width: 780px; margin: 0 auto; padding: 44px 20px 64px; }
.prose h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.prose .updated { color: var(--ink-gray); font-weight: 800; font-size: 13px; margin-top: 6px; }
.prose h2 { font-size: 21px; font-weight: 800; margin-top: 34px; }
.prose p, .prose li { color: var(--ink-muted); font-weight: 600; font-size: 15px; margin-top: 10px; }
.prose ul { padding-left: 22px; }
.prose .box { background: var(--violet-pale); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 20px; margin-top: 16px; }

/* ---------- footer ---------- */
footer { border-top: 2px solid var(--ink); margin-top: 40px; background: #fff; }
.foot { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 26px 0 34px; }
.foot .copy { margin-right: auto; color: var(--ink-gray); font-weight: 800; font-size: 13px; }
.foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); font-weight: 800; font-size: 13.5px; text-decoration: none; }
.foot a:hover { color: var(--coral-dark); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-frame { max-width: 340px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav a.item { display: none; }
  .nav a.item.always { display: inline; }
}
