/* ============================================================
   Reminq LP — Cool Light Edition
   ============================================================ */

:root {
  /* Surfaces — cool light */
  --bg-base: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-soft: #ECF1F6;
  --bg-deep: #E2E8F0;

  /* Ink — cool slate */
  --ink-primary: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #94A3B8;
  --ink-on-dark: #F1F5F9;
  --ink-on-dark-2: #94A3B8;

  /* Dark inversion */
  --night-base: #0B1020;
  --night-elev: #11172B;

  /* Accent — single deep electric blue */
  --accent: #2563EB;
  --accent-soft: #60A5FA;
  --accent-deep: #1D4ED8;
  --accent-tint: rgba(37, 99, 235, 0.10);
  --accent-tint-strong: rgba(37, 99, 235, 0.18);

  /* Status (cool, no warm) */
  --status-todo: #6366F1;
  --status-progress: #0EA5E9;
  --status-done: #10B981;
  --status-blocked: #DC2626;

  /* Borders */
  --border-subtle: rgba(15, 23, 42, 0.06);
  --border-soft: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.18);

  /* Shadows — sharp cool */
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-2: 0 2px 6px rgba(15, 23, 42, 0.06), 0 16px 32px rgba(15, 23, 42, 0.08);
  --shadow-3: 0 4px 12px rgba(15, 23, 42, 0.08), 0 32px 64px rgba(15, 23, 42, 0.12);
  --shadow-accent: 0 12px 32px rgba(37, 99, 235, 0.25);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container-max: 1140px;
  --container-pad: 24px;

  /* Type */
  --font-sans: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-brand: "Rubik", var(--font-sans);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   Reset
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-feature-settings: "palt" 1;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--bg-base);
}

body {
  background: var(--bg-base);
  color: var(--ink-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: -0.005em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

::selection {
  background: var(--accent-tint-strong);
  color: var(--ink-primary);
}

/* ============================================================
   Typography
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  font-weight: 700;
}

:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 {
  letter-spacing: 0.005em;
  font-family: var(--font-sans);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
}

/* Signature bracket — encodes Reminq's "AI task breakdown" into every section marker */
.eyebrow .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 0.85;
  letter-spacing: 0;
  margin-right: 2px;
}

.eyebrow .dot::before {
  content: "└";
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 16px;
  letter-spacing: -0.02em;
}

:lang(ja) .section-title {
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.section-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-secondary);
  line-height: 1.85;
  max-width: 640px;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(245, 247, 250, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--ink-primary);
  background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
  transition: transform 0.18s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.btn-primary {
  color: #fff;
  background: var(--ink-primary);
  box-shadow: var(--shadow-2);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  color: var(--ink-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero-mesh {
  /* dropped: no atmospheric blob — sharp, object-forward */
  display: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.10) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: 0 0;
  mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 30%, transparent 75%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-eyebrow { margin-bottom: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin: 0 auto 20px;
  color: var(--ink-primary);
}

:lang(ja) .hero-title {
  line-height: 1.35;
  letter-spacing: 0.005em;
}

.hero-title .accent {
  color: var(--accent-deep);
  display: inline-block;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta-divider {
  width: 1px;
  height: 12px;
  background: var(--border-soft);
}

/* Hero device stage */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  perspective: 2400px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -10% -5% -30% -5%;
  background: radial-gradient(ellipse at 50% 60%, rgba(37, 99, 235, 0.20), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.hero-ipad {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-3);
  background: white;
}

.hero-iphone {
  position: absolute;
  bottom: -56px;
  right: -24px;
  width: 26%;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.22));
  transform: rotate(4deg);
  background: white;
}

@media (max-width: 960px) {
  .hero-iphone { width: 30%; right: -12px; bottom: -32px; }
}

@media (max-width: 720px) {
  .hero { padding: 120px 0 60px; }
  .hero-iphone { display: none; }
  .hero-stage::before { inset: -5%; }
}

/* ============================================================
   Section base
   ============================================================ */

section.section {
  position: relative;
  padding: var(--s-9) 0;
}

@media (min-width: 960px) {
  section.section { padding: var(--s-10) 0; }
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================================
   Problem
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-soft);
}

.problem-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-secondary);
  margin-bottom: 16px;
  font-size: 18px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 760px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AI Spotlight
   ============================================================ */

.ai-spotlight {
  position: relative;
  isolation: isolate;
}

.ai-spotlight::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.ai-text .section-title {
  font-size: clamp(32px, 3.6vw, 48px);
  margin-top: 16px;
}

.ai-text .accent {
  color: var(--accent-deep);
  display: inline-block;
}

.ai-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.85;
}

.ai-feature .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

/* AI Demo card — clean app preview */
.ai-demo {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.ai-demo::before {
  /* thin accent top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.ai-demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.ai-demo-header .traffic {
  display: flex;
  gap: 6px;
}

.ai-demo-header .traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-deep);
}

.ai-demo-header .label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ai-prompt {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-prompt::before {
  content: ">";
  color: var(--accent);
  font-weight: 700;
}

.ai-prompt .typed { color: var(--ink-primary); }

.ai-prompt .caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  margin-left: 2px;
  animation: caretBlink 1.1s steps(1, end) infinite;
}

@keyframes caretBlink { 50% { opacity: 0; } }

.ai-result-label {
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.ai-result-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-done);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.ai-result-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.ai-result-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  opacity: 0;
  transform: translateY(8px);
  animation: aiItemIn 0.5s var(--ease-out) forwards;
}

.ai-result-list li:nth-child(1) { animation-delay: 0.2s; }
.ai-result-list li:nth-child(2) { animation-delay: 0.6s; }
.ai-result-list li:nth-child(3) { animation-delay: 1.0s; }
.ai-result-list li:nth-child(4) { animation-delay: 1.4s; }
.ai-result-list li:nth-child(5) { animation-delay: 1.8s; }

@keyframes aiItemIn {
  to { opacity: 1; transform: translateY(0); }
}

.ai-result-list .checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--ink-muted);
  flex-shrink: 0;
  background: var(--bg-card);
}

.ai-result-list .priority {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.priority.high { background: rgba(220, 38, 38, 0.10); color: #B91C1C; }
.priority.med { background: var(--accent-tint); color: var(--accent-deep); }
.priority.low { background: rgba(99, 102, 241, 0.10); color: #4338CA; }

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Core Loop
   ============================================================ */

.core-loop {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.loop-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 32px 32px 36px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.loop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-soft);
}

.loop-card[data-accent="cyan"] { --accent-color: var(--accent); }
.loop-card[data-accent="violet"] { --accent-color: #6366F1; }
.loop-card[data-accent="pink"] { --accent-color: #0EA5E9; }

.loop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color, var(--accent));
}

.loop-card .step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  font-weight: 600;
}

.loop-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.loop-card p {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.85;
}

.loop-card .visual {
  margin-top: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
}

.kanban-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.kanban-col {
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
}

.kanban-col-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  margin-bottom: 4px;
  color: var(--ink-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-sans);
}

.kanban-col-head .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.kanban-col[data-status="todo"] .dot { background: var(--status-todo); }
.kanban-col[data-status="progress"] .dot { background: var(--status-progress); }
.kanban-col[data-status="done"] .dot { background: var(--status-done); }

.kanban-card {
  background: var(--bg-soft);
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--ink-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
}

.kanban-col[data-status="progress"] .kanban-card {
  background: var(--accent-tint);
  border-color: rgba(37, 99, 235, 0.20);
  color: var(--accent-deep);
}

.kanban-col[data-status="done"] .kanban-card {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(15, 23, 42, 0.30);
}

@media (max-width: 900px) { .loop-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Sync
   ============================================================ */

.sync {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.sync::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--accent-tint), transparent 60%);
  pointer-events: none;
}

.sync .container { position: relative; }

.sync-stage {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}

.sync-device {
  flex-shrink: 0;
  border-radius: var(--r-lg);
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sync-device i {
  font-size: 36px;
  color: var(--ink-primary);
}

.sync-device span {
  font-size: 12px;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.sync-line {
  height: 1px;
  flex: 1;
  min-width: 60px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}

.sync-line::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.65);
  animation: syncDot 2.4s linear infinite;
}

@keyframes syncDot {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 720px) {
  .sync-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
  }
  .sync-line::after {
    left: 50%;
    transform: translateX(-50%);
    animation: syncDotV 2.4s linear infinite;
  }
  @keyframes syncDotV {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
}

/* ============================================================
   Pro Tools
   ============================================================ */

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pro-card {
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.pro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-soft);
}

.pro-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pro-card h3 {
  font-size: 17px;
  font-weight: 700;
}

.pro-card p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.pro-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-tint-strong);
  color: var(--accent-deep);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 760px) { .pro-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Privacy
   ============================================================ */

.privacy {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.privacy-point i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.privacy-point h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.privacy-point p {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Roadmap
   ============================================================ */

.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  font-size: 15px;
}

.roadmap-item .stage {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.roadmap-item .title {
  font-weight: 600;
}

.roadmap-item .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-shipped { background: rgba(16, 185, 129, 0.12); color: #059669; }
.badge-soon { background: var(--accent-tint-strong); color: var(--accent-deep); }
.badge-research { background: rgba(99, 102, 241, 0.12); color: #4338CA; }

@media (max-width: 720px) {
  .roadmap-item {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }
  .roadmap-item .stage { grid-column: 1 / -1; }
}

/* ============================================================
   Final CTA — Dark Inversion
   ============================================================ */

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--r-xl);
  background: var(--night-base);
  color: var(--ink-on-dark);
  border: 1px solid var(--night-elev);
  isolation: isolate;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}

.final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 0%, rgba(96, 165, 250, 0.30), transparent 55%),
    radial-gradient(circle at 72% 100%, rgba(37, 99, 235, 0.25), transparent 55%);
  z-index: -1;
}

.final-cta-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--ink-on-dark);
}

.final-cta-card p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-on-dark-2);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.85;
}

.final-cta-card .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.final-cta-card .btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.final-cta .hero-actions {
  margin: 0 auto;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
  background: var(--bg-soft);
  color: var(--ink-secondary);
}

.footer .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-primary);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 280px;
  color: var(--ink-secondary);
}

.footer-section h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  font-size: 14px;
  color: var(--ink-secondary);
  transition: color 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .container { display: contents; }

@media (max-width: 900px) {
  .footer .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 540px) {
  .footer .container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Lang switcher
   ============================================================ */

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  font-family: var(--font-sans);
  background: var(--bg-card);
}

.lang-toggle button {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-toggle button.active {
  background: var(--ink-primary);
  color: #fff;
}

/* ============================================================
   Animations
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Legal pages (Privacy Policy / Terms of Service)
   ============================================================ */

.nav-back {
  font-size: 13px;
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-back:hover {
  color: var(--ink-primary);
  background: rgba(15, 23, 42, 0.05);
}

.legal-page {
  padding: 140px 0 96px;
}

.legal-page .container {
  max-width: 780px;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header .eyebrow {
  margin-bottom: 18px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

:lang(ja) .legal-header h1 {
  letter-spacing: 0.005em;
  font-family: var(--font-sans);
  line-height: 1.35;
}

.legal-last-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.legal-article {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  box-shadow: var(--shadow-1);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-secondary);
}

.legal-article > * + * {
  margin-top: 18px;
}

.legal-article h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 36px;
  letter-spacing: -0.01em;
}

:lang(ja) .legal-article h2 {
  letter-spacing: 0.005em;
  font-family: var(--font-sans);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article ul,
.legal-article ol {
  padding-left: 22px;
}

.legal-article li {
  margin-bottom: 6px;
}

.legal-article li::marker {
  color: var(--ink-muted);
}

.legal-article strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.legal-article a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(37, 99, 235, 0.30);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.legal-article a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 720px) {
  .legal-page {
    padding: 100px 0 64px;
  }
  .legal-article {
    padding: 28px 22px;
    font-size: 15px;
  }
  .legal-article h2 {
    font-size: 18px;
  }
}
