/* A-IKIRA — shares the DREA-IM "Aurora" system: white paper, hairline cards,
   two-tone Inter Tight headings, black pill actions, violet only for AI/focus. */

:root {
  --paper: #ffffff;
  --sheet: #ffffff;
  --sheet-2: #f1f1f4;
  --sheet-3: #e9e9ee;
  --ink: #1f2328;
  --ink-2: #565b67;
  --ink-3: #646a75;
  --ink-faint: #717882;
  --rule: rgb(0 0 0 / 0.06);
  --rule-strong: rgb(0 0 0 / 0.1);
  --blue: #171717;
  --on-blue: #ffffff;
  --violet: #8b5cf6;
  --violet-text: #6d28d9;
  --green-text: #166534;
  --red-text: #b91c1c;
  --focus: #8b5cf6;
  --cta-gradient: linear-gradient(90deg, #7c3aed 0%, #3f5a58 48%, #8f5aa0 100%);
  --hero-gradient: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 45%, #ffffff 100%);
  --aurora-1: #f9a8d4;
  --aurora-2: #c4b5fd;
  --aurora-3: #fdba74;
  --aurora-4: #bae6fd;
  --aurora-opacity: 0.55;
  --tint: #fafafb;
  --shadow-xs: 0 2px 1px rgb(29 39 59 / 0.06);
  --shadow-sheet: 0 4px 7px rgb(0 0 0 / 0.04);
  --shadow-float: 0 12px 40px -12px rgb(29 39 59 / 0.2), 0 2px 6px rgb(29 39 59 / 0.05);
  --ninja-body: #1b1c20;
  --ninja-face: #ffffff;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0f11; --sheet: #15161a; --sheet-2: #1d1f24; --sheet-3: #262930;
    --ink: #f4f4f5; --ink-2: #b4b8c0; --ink-3: #979ca6; --ink-faint: #7c818b;
    --rule: rgb(255 255 255 / 0.07); --rule-strong: rgb(255 255 255 / 0.13);
    --blue: #f4f4f5; --on-blue: #0e0f11;
    --violet-text: #c4b5fd; --green-text: #86efac; --red-text: #fca5a5; --focus: #c4b5fd;
    --hero-gradient: linear-gradient(135deg, #2a1d2b 0%, #1f1b2e 45%, #15161a 100%);
    --aurora-opacity: 0.22; --tint: #121316;
    --shadow-xs: 0 2px 1px rgb(0 0 0 / 0.3);
    --shadow-sheet: 0 4px 10px rgb(0 0 0 / 0.35);
    --shadow-float: 0 16px 48px -12px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.4);
    --ninja-body: #24262c; --ninja-face: #f4f4f5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e0f11; --sheet: #15161a; --sheet-2: #1d1f24; --sheet-3: #262930;
  --ink: #f4f4f5; --ink-2: #b4b8c0; --ink-3: #979ca6; --ink-faint: #7c818b;
  --rule: rgb(255 255 255 / 0.07); --rule-strong: rgb(255 255 255 / 0.13);
  --blue: #f4f4f5; --on-blue: #0e0f11;
  --violet-text: #c4b5fd; --green-text: #86efac; --red-text: #fca5a5; --focus: #c4b5fd;
  --hero-gradient: linear-gradient(135deg, #2a1d2b 0%, #1f1b2e 45%, #15161a 100%);
  --aurora-opacity: 0.22; --tint: #121316;
  --shadow-xs: 0 2px 1px rgb(0 0 0 / 0.3);
  --shadow-sheet: 0 4px 10px rgb(0 0 0 / 0.35);
  --shadow-float: 0 16px 48px -12px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.4);
  --ninja-body: #24262c; --ninja-face: #f4f4f5;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgb(139 92 246 / 0.22); }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--on-blue); padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.mega {
  font: 400 clamp(2.5rem, 1.2rem + 5.2vw, 5rem)/1.0 var(--font-display);
  letter-spacing: -0.05em; max-width: 20ch; text-wrap: balance;
}
.big {
  font: 400 clamp(2rem, 1.2rem + 3.4vw, 4rem)/1.04 var(--font-display);
  letter-spacing: -0.045em; text-wrap: balance;
}
.big.center { margin-inline: auto; max-width: 22ch; }
.tone { color: var(--ink-faint); }
.center { text-align: center; margin-inline: auto; }
.lede { color: var(--ink-3); font-size: 1.125rem; line-height: 1.6; max-width: 54ch; margin-top: 24px; }
h3 { font: 500 1.0625rem/1.4 var(--font-display); letter-spacing: -0.015em; }
@media (max-width: 899px) { .br-lg { display: none; } }

/* scroll reveal (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: 999px; border: 0;
  font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s, transform .15s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { opacity: .88; }
.btn-secondary { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-xs); }
.btn-secondary:hover { background: var(--sheet-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--sheet-2); color: var(--ink); }
.btn-ai { background: var(--cta-gradient); color: #fff; box-shadow: 0 8px 24px -10px rgb(124 58 237 / .55); }
.btn-ai:hover { filter: brightness(1.08); }
.btn-ai[disabled] { opacity: .6; cursor: progress; }
.btn-white { background: #fff; color: #171717; }
.btn-white:hover { background: #f1f1f4; }
.btn-glass { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.btn-outline-night { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); }
.btn-outline-night:hover { background: rgb(255 255 255 / .08); }
.btn-glass:hover { background: rgb(255 255 255 / .2); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 0; display: grid; place-items: center;
  background: var(--sheet); color: var(--ink-2); box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-xs); cursor: pointer;
}
.icon-btn:hover { background: var(--sheet-2); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; }
.bm-c { fill: var(--blue); }
.bm-m { fill: var(--on-blue); }
.wordmark { width: 104px; height: auto; aspect-ratio: 203 / 47; fill: var(--ink); }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--sheet-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: grid; }
.mobile-menu { border-top: 1px solid var(--rule); padding: 8px 16px 16px; display: grid; gap: 2px; background: var(--paper); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 12px 8px; text-decoration: none; font-weight: 500; border-radius: 10px; }
.mobile-menu > a:hover { background: var(--sheet-2); }
.mobile-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mobile-menu-cta .btn { height: 44px; }
.hide-sm { display: none; }
@media (min-width: 420px) { .hide-xs { display: inline-flex; } }
@media (max-width: 419px) { .hide-xs { display: none; } }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .hide-sm { display: inline-flex; }
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; isolation: isolate; overflow: hidden; }
.aurora { position: absolute; inset: -80px 0 auto; height: 900px; z-index: -1; opacity: var(--aurora-opacity); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(110px); animation: drift 24s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 600px; height: 600px; left: -140px; top: -40px; background: var(--aurora-1); }
.aurora i:nth-child(2) { width: 460px; height: 460px; left: 24%; top: 120px; background: var(--aurora-4); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 50%; top: -40px; background: var(--aurora-2); animation-delay: -12s; }
.aurora i:nth-child(4) { width: 560px; height: 560px; right: -180px; top: 80px; background: var(--aurora-3); animation-delay: -18s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }

.shuri { position: absolute; color: var(--ink); opacity: .08; z-index: -1; pointer-events: none; animation: spin 40s linear infinite; }
.s1 { width: 46px; height: 46px; left: 7%; top: 30%; }
.s2 { width: 26px; height: 26px; right: 14%; top: 14%; animation-duration: 28s; animation-direction: reverse; }
.s3 { width: 70px; height: 70px; right: 5%; top: 46%; animation-duration: 60s; }
@media (max-width: 639px) { .s1, .s2, .s3 { display: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1024px) { .hero { padding-top: 88px; } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; margin-bottom: 28px;
  border-radius: 999px; background: color-mix(in srgb, var(--sheet) 75%, transparent); box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-xs);
  font-size: 13px; font-weight: 500; color: var(--ink-2); backdrop-filter: blur(8px);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta-gradient); box-shadow: 0 0 0 3px rgb(139 92 246 / .15); }
.ask {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 580px; margin-top: 36px; padding: 6px 6px 6px 22px;
  border-radius: 999px; background: color-mix(in srgb, var(--sheet) 88%, transparent);
  box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-float); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .2s;
}
.ask:focus-within { box-shadow: 0 0 0 1px var(--rule-strong), 0 0 0 5px rgb(139 92 246 / .15), var(--shadow-float); }
.ask input { flex: 1; min-width: 0; border: 0; background: none; font: 400 16px var(--font); color: var(--ink); height: 46px; outline: none; }
.ask input::placeholder { color: var(--ink-faint); }
.ask .btn { flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.fine a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

/* stage + product mock */
.stage-wrap { max-width: 1120px; }
.stage { position: relative; margin: 72px auto 0; perspective: 1600px; padding-bottom: 72px; }
.stage .mock { transform: rotateX(8deg); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.stage.in .mock { transform: rotateX(0); }
.stage-ninja { position: absolute; width: 84px; height: 92px; left: 8%; top: -66px; z-index: 0; animation: peek 7s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translateY(18px); } 30%, 70% { transform: translateY(0); } }
.mock {
  position: relative; z-index: 1; border-radius: var(--r-xl); background: var(--sheet);
  box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgb(29 39 59 / .35), 0 2px 6px rgb(29 39 59 / .05); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--rule); background: var(--sheet); }
.mock-bar > span:not(.mock-live) { width: 10px; height: 10px; border-radius: 50%; background: var(--sheet-3); }
.mock-url { margin: 0 auto; font-size: 12px; color: var(--ink-3); background: var(--sheet-2); padding: 5px 16px; border-radius: 999px; }
.mock-live { font-size: 11px; font-weight: 600; color: var(--green-text); background: rgb(34 197 94 / .14); padding: 3px 9px; border-radius: 999px; }
.mock-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .mock-body { grid-template-columns: 0.8fr 1.2fr; } }
.mock-chat { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-right: 1px solid var(--rule); font-size: 13px; line-height: 1.5; text-align: left; }
.msg { padding: 10px 12px; border-radius: 14px; }
.msg-user { background: var(--sheet-2); border-bottom-right-radius: 4px; margin-left: 18px; color: var(--ink); }
.msg-ai { background: var(--sheet); box-shadow: 0 0 0 1px var(--rule); border-bottom-left-radius: 4px; margin-right: 10px; color: var(--ink-2); }
.ai-tag { font: 600 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--violet-text); margin-bottom: 6px; display: block; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.ticks li { padding-left: 20px; position: relative; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--green-text); border-bottom: 2px solid var(--green-text); transform: rotate(-45deg); }
.mock-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--sheet-2); color: var(--ink-faint); }
.mock-input b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cta-gradient); color: #fff; font-size: 14px; }
.mock-site { padding: 16px; background: var(--sheet-2); }
.site-nav { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #5b4636; background: #fff8f1; padding: 12px 14px; border-radius: 12px 12px 0 0; }
.site-nav b { margin-right: auto; font: 600 13px var(--font-display); color: #3a2a1f; }
.site-pill { background: #3a2a1f; color: #fff8f1; padding: 3px 10px; border-radius: 999px; }
.site-hero { padding: 40px 22px 34px; background: linear-gradient(140deg, #f7d9bd, #f3b98d 55%, #e9967a); color: #3a2a1f; text-align: left; }
.site-kicker { font-size: 11px; font-weight: 500; opacity: .8; }
.site-h { font: 500 clamp(1.4rem, 1rem + 1.4vw, 2rem)/1.08 var(--font-display); letter-spacing: -0.03em; margin: 8px 0 16px; max-width: 15ch; }
.site-btn { display: inline-block; font-size: 11px; font-weight: 500; background: #3a2a1f; color: #fff8f1; padding: 8px 14px; border-radius: 999px; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; background: #fff8f1; border-radius: 0 0 12px 12px; }
.site-cards i { height: 64px; border-radius: 8px; background: linear-gradient(160deg, #f4e3d2, #e8c9a9); }
.site-cards i:nth-child(2) { background: linear-gradient(160deg, #efd7c0, #d9a77e); }
.site-cards i:nth-child(3) { background: linear-gradient(160deg, #f6e8da, #e3bc96); }
.float-card {
  position: absolute; z-index: 2; display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: var(--sheet); box-shadow: 0 0 0 1px var(--rule), var(--shadow-float); font-size: 13px; font-weight: 500; animation: bob 5s ease-in-out infinite;
}
@media (min-width: 900px) { .float-card { display: inline-flex; } }
.fc-1 { right: -28px; top: 34%; }
.fc-2 { left: -36px; bottom: 120px; animation-delay: -2.5s; }
.fc-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .18); }
.fc-ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgb(139 92 246 / .12); color: var(--violet-text); }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--rule); padding: 20px 0; overflow: hidden; background: var(--paper); }
.marquee { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee-track { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee-track li { display: inline-flex; align-items: center; padding: 0 18px; white-space: nowrap; color: var(--ink-2); font: 500 15px var(--font-display); }
.marquee-track li::after { content: ""; width: 12px; height: 12px; margin-left: 36px; opacity: .35; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(90)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(180)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(270)'/%3E%3C/g%3E%3Ccircle r='2.3' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(90)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(180)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(270)'/%3E%3C/g%3E%3Ccircle r='2.3' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; overflow: hidden; }
@media (min-width: 1024px) { .section { padding: 140px 0; } }
.section-tint { background: var(--tint); }
.night { background: #050506; color: #f4f4f5; --ink-faint: #8a8f99; --rule: rgb(255 255 255 / .09); }
:root[data-theme="dark"] .night { background: #08080a; border-block: 1px solid rgb(255 255 255 / .06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .night { background: #08080a; border-block: 1px solid rgb(255 255 255 / .06); } }
.night .big .tone { color: #8a8f99; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); }

/* two ways */
.duo { display: grid; gap: 20px; margin-top: 64px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.night-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 440px; padding: 32px; border-radius: 28px; background: #0b0b0d; color: #f4f4f5; text-align: center;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.night-card::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgb(139 92 246 / .28), transparent); pointer-events: none; }
.night-card h3 { font: 500 1.25rem/1.3 var(--font-display); }
.night-card p { color: #a1a6b0; font-size: 15px; margin: 8px auto 22px; max-width: 38ch; }
.nc-copy { position: relative; }
.type-box { margin: 48px auto 0; width: 100%; max-width: 420px; height: 52px; display: flex; align-items: center; padding: 0 20px; border-radius: 999px; background: #17171a; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-size: 16px; text-align: left; }
.caret { width: 2px; height: 20px; background: #c4b5fd; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.thumbs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs i { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: block; }
.thumbs b, .thumbs s { position: absolute; left: 10%; border-radius: 3px; background: currentColor; }
.thumbs b { top: 26%; width: 60%; height: 12%; }
.thumbs s { top: 46%; width: 38%; height: 6%; opacity: .6; }
.t1 { background: linear-gradient(150deg, #1f1b2e, #3b2f5c); color: #f5f3ff; }
.t2 { background: linear-gradient(150deg, #fdf2f8, #f9a8d4); color: #831843; }
.t3 { background: linear-gradient(150deg, #f5f5f4, #e7e5e4); color: #292524; }
.t4 { background: linear-gradient(150deg, #0c4a6e, #7dd3fc); color: #f0f9ff; }
.t5 { background: linear-gradient(150deg, #fff7ed, #fdba74); color: #7c2d12; }
.t6 { background: linear-gradient(150deg, #171717, #3f5a58); color: #ecfdf5; }

/* features */
.features { display: grid; gap: 16px; margin-top: 64px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feat { padding: 28px; transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.feat p { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sheet-2); color: var(--ink); margin-bottom: 22px; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-ai { background: rgb(139 92 246 / .12); color: var(--violet-text); }

/* steps (night) */
.night-shuri { position: absolute; width: 520px; height: 520px; right: -160px; top: -120px; color: #fff; opacity: .035; animation: spin 90s linear infinite; pointer-events: none; }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 1px; background: rgb(255 255 255 / .08); border-radius: 24px; overflow: hidden; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 32px 28px 36px; background: #0b0b0d; }
.step-n { display: block; font: 400 3rem/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: 40px; background: linear-gradient(90deg, #c4b5fd, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.125rem; }
.step p { color: #a1a6b0; font-size: 14px; margin-top: 8px; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }

/* chat-to-edit */
.showcase { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .showcase { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.prompts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 32px; }
.prompt {
  font: 500 15px/1.3 var(--font); color: var(--ink-2); background: var(--sheet); border: 0; text-align: left;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-xs); cursor: pointer; transition: all .15s;
}
.prompt:hover { color: var(--ink); background: var(--sheet-2); }
.prompt[aria-selected="true"] { background: var(--blue); color: var(--on-blue); box-shadow: none; }
.edit-demo { padding: 18px; border-radius: var(--r-xl); box-shadow: var(--shadow-float); }
.edit-chat { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--sheet-2); font-size: 14px; margin-bottom: 14px; }
.edit-chat .ai-tag { margin: 0; color: var(--ink-3); }
.edit-site { border-radius: 16px; padding: 22px 24px 28px; color: #3a2a1f; background: linear-gradient(140deg, #fbe3cc, #f4b98e 60%, #e8957a); transition: opacity .3s, filter .3s; }
.es-nav { display: flex; gap: 8px; align-items: center; font: 600 13px var(--font-display); margin-bottom: 36px; }
.es-nav b { margin-right: auto; }
.es-nav span { width: 36px; height: 6px; border-radius: 4px; background: currentColor; opacity: .2; }
.es-h { font: 500 clamp(1.4rem, 1rem + 1.4vw, 2rem)/1.08 var(--font-display); letter-spacing: -0.03em; max-width: 16ch; transition: font-size .4s; }
.es-sub { margin-top: 10px; font-size: 14px; opacity: .75; }
.es-hours { display: none; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgb(255 255 255 / .55); }
.es-btn { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: #3a2a1f; color: #fff8f1; }
.edit-demo[data-v="1"] .es-hours, .edit-demo[data-v="2"] .es-hours { display: flex; }
.edit-demo[data-v="2"] .es-h { font-weight: 700; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); letter-spacing: -0.04em; }
.edit-demo.is-working .edit-site { opacity: .5; filter: saturate(.5) blur(1px); }
.edit-status { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / .18); }
.edit-demo.is-working .pulse { background: var(--violet); box-shadow: 0 0 0 3px rgb(139 92 246 / .2); animation: blinkdot 1s infinite; }
@keyframes blinkdot { 50% { opacity: .3; } }

/* booking */
.booking { margin: 56px auto 0; max-width: 1040px; display: grid; position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-float); }
@media (min-width: 900px) { .booking { grid-template-columns: 1.25fr 1fr; } }
.book-pick, .book-form { padding: 24px; }
@media (min-width: 640px) { .book-pick, .book-form { padding: 36px; } }
.book-pick { border-bottom: 1px solid var(--rule); min-width: 0; }
@media (min-width: 900px) { .book-pick { border-bottom: 0; border-right: 1px solid var(--rule); } }
.book-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.tz-note { font-size: 13px; color: var(--ink-3); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: 0 0 auto; scroll-snap-align: start; width: 68px; padding: 10px 0; border-radius: 14px; border: 0; cursor: pointer; background: var(--sheet-2); color: var(--ink-2); font: 500 12px/1.3 var(--font); text-align: center; }
.day b { display: block; font: 500 20px/1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.day:hover { background: var(--sheet-3); }
.day[aria-checked="true"] { background: var(--blue); color: var(--on-blue); }
.day[aria-checked="true"] b { color: var(--on-blue); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { height: 40px; border: 0; border-radius: 999px; background: var(--sheet); color: var(--ink); cursor: pointer; box-shadow: 0 0 0 1px var(--rule-strong); font: 500 14px var(--font); font-variant-numeric: tabular-nums; }
.slot:hover { background: var(--sheet-2); }
.slot[aria-checked="true"] { background: var(--blue); color: var(--on-blue); box-shadow: none; }
.slots-empty { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; padding: 12px 0; }
.book-form { display: grid; gap: 14px; align-content: start; }
.book-form h3 { margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink); background: var(--sheet-2); border: 1px solid transparent; border-radius: var(--r-sm); padding: 0 14px; height: 44px; transition: background .15s, box-shadow .15s, border-color .15s; }
.field textarea { height: auto; padding: 10px 14px; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--sheet-3); }
.field input:focus, .field textarea:focus { outline: none; background: var(--sheet); border-color: var(--rule-strong); box-shadow: 0 0 0 3px rgb(139 92 246 / .15); }
.field input[aria-invalid="true"] { border-color: color-mix(in srgb, var(--red-text) 55%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.picked { font-size: 14px; color: var(--ink-3); padding: 12px 14px; border-radius: var(--r-sm); background: var(--sheet-2); }
.picked.has { color: var(--ink); background: rgb(139 92 246 / .1); }
.picked small { display: block; color: var(--ink-3); font-size: 12px; }
.form-msg { font-size: 14px; color: var(--red-text); }
.form-msg:empty { display: none; }
.form-msg a { color: inherit; font-weight: 600; }
.book-done { grid-column: 1 / -1; padding: 64px 24px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.book-done[hidden] { display: none; }
.book-done p { color: var(--ink-3); max-width: 46ch; }
.book-done h3 { font-size: 1.75rem; }
.done-ninja { width: 84px; height: 92px; animation: bob 3.2s ease-in-out infinite; }

/* faq (night) */
.faq-wrap { max-width: 920px; }
.faq { margin-top: 56px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 4px; font: 400 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.3 var(--font-display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 18px; height: 18px; transition: transform .25s;
  background: linear-gradient(currentColor, currentColor) center / 18px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 18px no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #a1a6b0; padding: 0 4px 26px; max-width: 64ch; font-size: 16px; }
.faq-more { text-align: center; margin-top: 40px; color: #8a8f99; }
.faq-more a { color: #fff; font-weight: 500; text-decoration: none; }
.faq-more a:hover { text-decoration: underline; }

/* final CTA */
.final { padding: 96px 0; }
.final-band { position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--cta-gradient); color: #fff; border-radius: 32px; padding: 72px 24px; }
@media (min-width: 900px) { .final-band { padding: 96px 48px; } }
.final-h { font: 400 clamp(2rem, 1.2rem + 3vw, 3.5rem)/1.04 var(--font-display); letter-spacing: -0.045em; max-width: 18ch; }
.final-band p { color: rgb(255 255 255 / .85); margin-top: 14px; font-size: 1.0625rem; }
.final-band .cta-row { justify-content: center; }
.final-shuri { position: absolute; width: 300px; height: 300px; left: -80px; bottom: -110px; color: #fff; opacity: .1; animation: spin 60s linear infinite; pointer-events: none; }
.final-ninja { width: 72px; height: 80px; margin-bottom: 20px; animation: bob 3.2s ease-in-out infinite; --ninja-body: #111214; --ninja-face: #fff; }

/* footer */
.footer { background: #050506; color: #f4f4f5; padding: 80px 0 0; overflow: hidden; }
.foot-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.1fr 1fr; } }
.foot-h { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.25rem)/1.05 var(--font-display); letter-spacing: -0.045em; }
.foot-sub { color: #a1a6b0; margin-top: 18px; max-width: 42ch; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-label { font-size: 13px; color: #8a8f99; margin-bottom: 4px; }
.foot-cols a, .foot-bottom a { color: #d4d4d8; text-decoration: none; font-size: 14px; }
.foot-cols a:hover, .foot-bottom a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; color: #8a8f99; }
.foot-giant { position: relative; margin-top: 56px; padding: 0 16px 0; }
.foot-pattern { position: absolute; inset: 0; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='%23c4b5fd' transform='translate(30 30) scale(.55)'%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(90)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(180)'/%3E%3Cpath d='M0-11.5 2.3-3.6 0-2.7-2.3-3.6Z' transform='rotate(270)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 70%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 70%, #000 20%, transparent 70%); }
.giant-word { position: relative; width: min(1100px, 100%); height: auto; aspect-ratio: 203 / 47; margin: 0 auto; fill: #fff; transform: translateY(14%); }

/* ---------- ninja ---------- */
.n-lids rect { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: blink 5.5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
.n-tails { transform-box: fill-box; transform-origin: 0 50%; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(-9deg); } }
.n-hand-r { transform-box: fill-box; transform-origin: 30% 80%; transition: transform .3s; }

.buddy { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.buddy.gone { display: none; }
.buddy { transition: transform .35s, opacity .35s; }
.buddy.tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.buddy-btn { width: 76px; height: 84px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 24px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgb(29 39 59 / .22)); }
.buddy-svg { width: 100%; height: 100%; overflow: visible; }
.buddy-btn:hover .n-hand-r, .buddy-btn:focus-visible .n-hand-r { animation: wave .9s ease-in-out 2; }
@keyframes wave { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(4px, -20px) rotate(-20deg); } 50% { transform: translate(6px, -24px) rotate(16deg); } 75% { transform: translate(4px, -20px) rotate(-14deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.bubble {
  position: relative; background: var(--sheet); color: var(--ink); border-radius: 18px; padding: 14px 40px 14px 16px;
  box-shadow: 0 0 0 1px var(--rule), var(--shadow-float); font-size: 14px; max-width: 240px; transform-origin: 85% 100%;
  animation: pop .25s cubic-bezier(.2, .9, .3, 1.3);
}
.bubble[hidden] { display: none; }
.bubble::after { content: ""; position: absolute; right: 30px; bottom: -6px; width: 12px; height: 12px; background: var(--sheet); transform: rotate(45deg); box-shadow: 1px 1px 0 var(--rule); }
.bubble p { font-weight: 500; }
.bubble-link { display: inline-block; margin-top: 4px; color: var(--violet-text); font-weight: 600; text-decoration: none; }
.bubble-link:hover { text-decoration: underline; }
.bubble-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--sheet-2); color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
@media (max-width: 639px) {
  .buddy { right: 10px; bottom: 10px; }
  .buddy-btn { width: 56px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .marquee { flex-wrap: wrap; width: auto; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}

/* ---- audit fixes 2026-10-05 ---- */
/* Floating ninja: only after the hero, never on small screens, never over the footer. */
.buddy { opacity: 0; transform: translateY(24px); pointer-events: none; }
.buddy.show { opacity: 1; transform: none; pointer-events: auto; }
.buddy.show.tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.buddy-btn:hover, .buddy-btn:focus-visible, .buddy-btn[aria-expanded="true"] { animation: none; }
@media (max-width: 767px) { .buddy { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .buddy-btn { animation: none; } }
/* Day picker wraps into a grid instead of a cut-off scroller. */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); overflow: visible; padding: 2px 0 4px; scroll-snap-type: none; }
.day { width: auto; min-width: 0; }
.day-hint { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.slot[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; background: var(--sheet-2); box-shadow: none; }

/* ---- real product imagery 2026-10-05 ---- */
.mock-shot { width: 100%; height: auto; aspect-ratio: 1600 / 1000; display: block; background: var(--sheet-2); }
.thumbs-real img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 8px 20px -10px rgb(0 0 0 / .6); }
.gallery { padding-bottom: 72px; }
@media (min-width: 1024px) { .gallery { padding-bottom: 110px; } }
.dmarquee { display: flex; width: max-content; margin-top: 56px; animation: marquee 70s linear infinite; }
.dmarquee:hover { animation-play-state: paused; }
.dtrack { list-style: none; display: flex; gap: 20px; margin: 0; padding: 8px 10px 28px; }
.dcard { margin: 0; width: 320px; border-radius: var(--r-lg); overflow: hidden; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule-strong), var(--shadow-float); }
@media (min-width: 900px) { .dcard { width: 400px; } }
.dcard-bar { display: flex; gap: 5px; height: 26px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--rule); }
.dcard-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--sheet-3); }
.dcard img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; display: block; }
.dcard figcaption { padding: 12px 16px; font: 500 14px var(--font-display); color: var(--ink-2); border-top: 1px solid var(--rule); }
.shot-wide { margin: 56px auto 0; max-width: 1040px; border-radius: var(--r-xl); overflow: hidden; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule), var(--shadow-float); }
.shot-wide img { width: 100%; height: auto; aspect-ratio: 1600 / 911; display: block; background: #1a1b1f; }
@media (prefers-reduced-motion: reduce) {
  .dmarquee { width: auto; flex-wrap: wrap; justify-content: center; }
  .dtrack[aria-hidden="true"] { display: none; }
  .dtrack { flex-wrap: wrap; justify-content: center; }
}
