/* ============================================================
   OPEN GROUND — marketing landing
   Dark, editorial, high-end. No build step.
   ============================================================ */

:root {
  /* surfaces */
  --bg:            #07070a;
  --bg-2:          #0b0b10;
  --surface:       #111118;
  --surface-2:     #16161f;
  --card:          rgba(255, 255, 255, 0.025);
  --card-hover:    rgba(255, 255, 255, 0.05);

  /* lines + text */
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);
  --text:          #f3f3f6;
  --text-2:        rgba(243, 243, 246, 0.66);
  --text-3:        rgba(243, 243, 246, 0.42);

  /* accent — indigo/periwinkle, the "card" blue from the app mark */
  --accent:        #7c8cff;
  --accent-2:      #9aa6ff;
  --accent-soft:   rgba(124, 140, 255, 0.14);
  --accent-line:   rgba(124, 140, 255, 0.4);

  /* status */
  --run:           #ffd23f;
  --done:          #4ade80;
  --block:         #ff6b6b;

  /* type */
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-jp: "Zen Kaku Gothic New", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ja"] body { font-family: var(--font-jp); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(124, 140, 255, 0.1);
  color: var(--accent-2);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  letter-spacing: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- i18n visibility ---------- */
[data-lang="en"] { display: none; }
[data-lang="ja"] { display: none; }
html[lang="en"] [data-lang="en"] { display: block; }
html[lang="ja"] [data-lang="ja"] { display: block; }
/* inline contexts */
html[lang="en"] span[data-lang="en"],
html[lang="en"] a[data-lang="en"] { display: inline; }
html[lang="ja"] span[data-lang="ja"],
html[lang="ja"] a[data-lang="ja"] { display: inline; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding: 112px 0; }
.section + .section { padding-top: 0; }

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
}
.bg-glow {
  position: fixed; z-index: -1; pointer-events: none; border-radius: 50%;
  filter: blur(130px); opacity: 0.5;
}
.bg-glow--1 { top: -240px; left: 50%; width: 760px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,140,255,0.5), transparent 70%); }
.bg-glow--2 { top: 38%; right: -200px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124,140,255,0.18), transparent 70%); opacity: 0.4; }

/* ============================================================
   BUTTONS  (5 states: default/hover/active/disabled/focus)
   ============================================================ */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-en);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
html[lang="ja"] .btn { font-family: var(--font-jp); font-weight: 700; }
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 13.5px; }

.btn--primary {
  background: linear-gradient(180deg, #ffffff, #ededf2);
  color: #0a0a0e;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px rgba(124,140,255,0.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 14px 36px rgba(124,140,255,0.32); }
.btn--primary:active { transform: translateY(0); background: #e6e6ec; }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: var(--accent-line); }
.btn--ghost:active { background: rgba(255,255,255,0.12); }
.btn--ghost svg { transition: transform .18s var(--ease); }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: rgba(7,7,10,0.62);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark { border-radius: 8px; flex: none; }
.brand-word { font-size: 15.5px; letter-spacing: 0.04em; font-family: var(--font-en); }

.site-nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.site-nav a {
  padding: 8px 13px; border-radius: 8px;
  font-size: 14px; color: var(--text-2); font-weight: 500;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  color: var(--text-3); font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s var(--ease);
}
.lang-toggle:hover { background: rgba(255,255,255,0.08); border-color: var(--accent-line); }
.lang-toggle .divider { color: var(--text-3); opacity: 0.5; }
.lang-toggle span.active { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 86px 0 96px; position: relative; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-2); font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,140,255,0.2); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.04; font-weight: 800; letter-spacing: -0.035em;
  max-width: 16ch;
}
html[lang="ja"] .hero-title { font-family: var(--font-jp); font-weight: 900; letter-spacing: -0.02em; line-height: 1.18; max-width: 22ch; }
.grad {
  background: linear-gradient(110deg, #fff 10%, var(--accent-2) 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  margin: 0 0 34px; max-width: 64ch;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.66; color: var(--text-2);
}
html[lang="ja"] .hero-sub { max-width: 50ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin: 22px 0 0; font-size: 13.5px; color: var(--text-3); }
.hero-note strong { color: var(--text-2); font-weight: 600; }

/* ----- hero product mock ----- */
.hero-mock { width: 100%; max-width: 1000px; margin-top: 64px; perspective: 1800px; }
.mock-window {
  border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: rotateX(7deg); transform-origin: center top;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.mock-dot:nth-child(1) { background: #ff5f57; } .mock-dot:nth-child(2) { background: #febc2e; } .mock-dot:nth-child(3) { background: #28c840; }
.mock-bar-title { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.mock-bar-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255,210,63,0.12); border: 1px solid rgba(255,210,63,0.3);
  font-size: 11.5px; font-weight: 600; color: var(--run);
}
.mock-canvas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 26px;
  background-image:
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* project card (mock + reused below) */
.pcard {
  text-align: left; padding: 14px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px; min-height: 116px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-name { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--text); }
.pcard-hero { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); flex: 1; }
.pcard-hero--muted { color: var(--text-3); font-style: italic; }
.pcard-foot { display: flex; gap: 6px; }
.tag {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3);
  padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.pcard--run { border-color: rgba(255,210,63,0.28); box-shadow: 0 0 0 1px rgba(255,210,63,0.06); }
.pcard--done { border-left: 2px solid rgba(74,222,128,0.45); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  white-space: nowrap;
}
.badge--done { background: rgba(74,222,128,0.12); color: var(--done); border: 1px solid rgba(74,222,128,0.28); }
.badge--run  { background: rgba(255,210,63,0.12); color: var(--run); border: 1px solid rgba(255,210,63,0.3); }
.badge--idle { background: rgba(255,255,255,0.05); color: var(--text-3); border: 1px solid var(--line-strong); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s var(--ease) infinite; }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px;
}
.section-title {
  margin: 0 0 18px; font-family: var(--font-en);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem); line-height: 1.12;
  font-weight: 800; letter-spacing: -0.03em;
}
html[lang="ja"] .section-title { font-family: var(--font-jp); font-weight: 900; letter-spacing: -0.015em; line-height: 1.3; }
.section-title em { font-style: normal; color: var(--accent-2); }
.section-lead { margin: 0; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.66; color: var(--text-2); }

/* ============================================================
   PAIN
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain-card {
  padding: 26px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.pain-card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: var(--line-strong); }
.pain-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 22px; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.pain-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.pain-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ============================================================
   WEDGE
   ============================================================ */
.section--wedge { padding-top: 48px; }
.wedge-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.wedge-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 13px; }
.wedge-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.wedge-list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--accent); }

.wedge-compare {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  padding: 36px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
}
.compare-col { flex: 1; text-align: center; }
.compare-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.compare-col p { margin: 14px 0 0; font-size: 12.5px; color: var(--text-2); line-height: 1.45; }
.compare-stack { display: grid; place-items: center; height: 96px; }
.compare-stack span { width: 64px; height: 44px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; height: 96px; align-content: center; }
.compare-grid span { height: 27px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.compare-grid span:nth-child(2) { background: rgba(255,210,63,0.14); border-color: rgba(255,210,63,0.3); }
.compare-grid span:nth-child(5) { background: rgba(74,222,128,0.14); border-color: rgba(74,222,128,0.3); }
.compare-arrow { font-size: 26px; color: var(--accent); flex: none; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--card-hover); }
.feature--wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.feature--wide.feature--flip { flex-direction: row-reverse; }
.feature-body { padding: 34px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.feature--wide .feature-body { justify-content: center; max-width: 52%; }
.feature-num { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-2); font-weight: 600; letter-spacing: 0.1em; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 11px; margin: 6px 0 8px;
  display: grid; place-items: center; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 6px 0 6px; font-size: clamp(1.1rem, 1.6vw, 1.32rem); font-weight: 700; line-height: 1.28; letter-spacing: -0.015em; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--text-2); }
.feature em { font-style: normal; color: var(--text); font-weight: 600; }

/* feature visuals */
.feature-visual {
  flex: 1; position: relative; min-height: 280px;
  background:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border-left: 1px solid var(--line);
  display: grid; place-content: center; padding: 30px;
}
.feature--flip .feature-visual { border-left: none; border-right: 1px solid var(--line); }
.feature-visual--canvas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: center; }
.mini-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 11px;
  display: flex; flex-direction: column; gap: 7px;
}
.mini-card--run { border-color: rgba(255,210,63,0.3); }
.mini-card--done { border-left: 2px solid rgba(74,222,128,0.5); }
.mini-name { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.mini-sum { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.mini-sum--short { width: 60%; }
.mini-card--run .mini-sum { background: rgba(255,210,63,0.28); }
.mini-card--done .mini-sum { background: rgba(74,222,128,0.26); }

.feature-visual--summary { display: flex; flex-direction: column; gap: 14px; align-content: center; }
.summary-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; min-width: 280px;
}
.summary-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.12); flex: 1; }
.summary-line--short { flex: 0 0 38%; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section--how { padding-top: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.step:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 12px; font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: #0a0a0e;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 20px rgba(124,140,255,0.3);
}
.step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--text-2); }
.step::after { content: ""; }

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card {
  padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--card-hover), var(--card));
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.who-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.who-emoji { font-size: 34px; margin-bottom: 16px; line-height: 1; }
.who-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.who-card p { margin: 0; font-size: 14.5px; line-height: 1.64; color: var(--text-2); }

/* ============================================================
   CTA / WAITLIST
   ============================================================ */
.section--cta { padding-bottom: 120px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 32px; border-radius: 28px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
}
.cta-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 360px; border-radius: 50%; filter: blur(110px);
  background: radial-gradient(circle, rgba(124,140,255,0.5), transparent 70%); opacity: 0.7; pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-title { margin: 6px 0 14px; font-family: var(--font-en); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
html[lang="ja"] .cta-title { font-family: var(--font-jp); font-weight: 900; letter-spacing: -0.015em; }
.cta-sub { margin: 0 auto 32px; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--text-2); line-height: 1.62; }

.waitlist-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.waitlist-form input {
  flex: 1; min-width: 240px; padding: 13px 18px; font-size: 15px; font-family: var(--font-en);
  color: var(--text); background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
  border-radius: 999px; transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.waitlist-form input::placeholder { color: var(--text-3); }
.waitlist-form input:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.07); }
.waitlist-form input:focus-visible { outline: none; border-color: var(--accent); background: rgba(124,140,255,0.06); box-shadow: 0 0 0 3px rgba(124,140,255,0.18); }
.waitlist-ok { margin: 16px 0 0; color: var(--done); font-weight: 600; font-size: 14.5px; }
.cta-fineprint { margin: 22px 0 0; font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-tag { margin: 16px 0 0; max-width: 38ch; font-size: 14px; color: var(--text-3); line-height: 1.55; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-col h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; font-family: var(--font-mono); }
html[lang="ja"] .footer-col h4 { font-family: var(--font-jp); letter-spacing: 0.06em; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--text-2); transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; border-top: 1px solid var(--line);
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-copy span[data-lang] { display: inline; }
html[lang="en"] .footer-copy span[data-lang="ja"], html[lang="ja"] .footer-copy span[data-lang="en"] { display: none; }

.coffee-wink {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  font-size: 13px; color: var(--text-3);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.coffee-wink:hover { color: #e7b48a; border-color: rgba(231,180,138,0.4); background: rgba(231,180,138,0.08); }
.coffee-cup { font-size: 15px; transition: transform .3s var(--ease); }
.coffee-wink:hover .coffee-cup { transform: rotate(-12deg) translateY(-1px); }
.coffee-wink span[data-lang] { display: inline; }
html[lang="en"] .coffee-wink span[data-lang="ja"], html[lang="ja"] .coffee-wink span[data-lang="en"] { display: none; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
/* Only hide when JS has confirmed it can reveal (html.js-reveal).
   Without JS, or if the observer never fires, content stays visible. */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.feature.reveal:nth-child(2) { transition-delay: .06s; }
.feature.reveal:nth-child(3) { transition-delay: .12s; }
.pain-card.reveal:nth-child(2), .who-card.reveal:nth-child(2), .step.reveal:nth-child(2) { transition-delay: .08s; }
.pain-card.reveal:nth-child(3), .who-card.reveal:nth-child(3), .step.reveal:nth-child(3) { transition-delay: .16s; }
.pain-card.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-window { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .site-nav { display: none; }
  .wedge-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature--wide, .feature--wide.feature--flip { flex-direction: column; }
  .feature--wide .feature-body { max-width: 100%; }
  .feature-visual { border-left: none; border-top: 1px solid var(--line); min-height: 220px; }
  .feature--flip .feature-visual { border-right: none; border-top: 1px solid var(--line); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-canvas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .steps, .who-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .mock-window { transform: none; }
  .hero-mock { margin-top: 44px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .pain-grid { grid-template-columns: 1fr; }
  .mock-canvas { grid-template-columns: 1fr; padding: 18px; }
  .brand-word { display: none; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 48px 22px; }
}
