/* ============================================================
   Linktier v3 — core design system + sections
   (story + hero media live in linktier-v3-story.css)
   ============================================================ */

:root {
  --bg: #F7F6F3;
  --bg-white: #FFFFFF;
  --ink: #1B1F24;
  --ink-2: #3E444C;
  --mut: #787E87;
  --mut-2: #A2A7AE;
  --line: #E7E4DE;
  --line-soft: #EFEDE8;
  --accent: #24508F;
  --accent-soft: #EEF2F8;
  --navy: #0F1B2D;
  --navy-ink: #E8ECF3;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Instrument Sans", "Noto Sans JP", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-card: 0 1px 2px rgba(27, 31, 36, 0.04), 0 8px 32px rgba(27, 31, 36, 0.06);
  --shadow-float: 0 2px 6px rgba(27, 31, 36, 0.05), 0 24px 64px rgba(27, 31, 36, 0.10);

  --dur: 0.7s;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);

  --max-w: 1280px;
  --header-h: 88px; /* fixed header height incl. padding — keep in sync with .site-header */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* anchor jumps must land below the fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-motion="off"] *,
[data-motion="off"] *::before,
[data-motion="off"] *::after {
  transition-duration: 0.01s !important;
  animation-duration: 0.01s !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01s !important;
    animation-duration: 0.01s !important;
  }
}

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

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

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

.microlabel {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mut);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid rgba(231, 228, 222, 0.5);
  transition: border-color 0.4s var(--ease);
  padding: 20px 48px;
}

.is-scrolled .site-header {
  border-bottom-color: rgba(231, 228, 222, 0.9);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: none;
}

.brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  align-self: center;
}

.brand .brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-1px) rotate(45deg);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-center a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.nav-center a:hover { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mut-2);
}

.lang-switch .lang-on { color: var(--ink); }
.lang-switch .lang-sep { color: var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--accent), black 12%);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--mut-2); background: var(--bg-white); }

/* ============================================================
   Hero (copy column — media in story css)
   ============================================================ */
.hero {
  padding: 150px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) 1.22fr;
  gap: clamp(48px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 150px);
  padding-bottom: 84px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-white);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.eyebrow-tag {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.hero .hero-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-ctas .btn { padding: 14px 28px; font-size: 15px; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 64px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.section-head .sec-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 700px;
  text-wrap: pretty;
}

/* ============================================================
   Service lineup (3 engageable services)
   ============================================================ */
.service-structure {
  padding: 140px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.service-structure .section-head { margin-bottom: 56px; }

.svc-key {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.svc-key i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px 32px 30px;
}

.svc-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.svc-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}

.svc-role {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}

.svc-fits {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.svc-fits-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mut);
}

.svc-fits ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-fits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.svc-fits li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--mut-2);
  transform: rotate(45deg);
  flex: none;
  margin-top: 9px;
}

.svc-note {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 15px;
}

/* ============================================================
   Reasons — Why Linktier
   ============================================================ */
.reasons {
  padding: 140px 0;
}

.reason-rows {
  display: flex;
  flex-direction: column;
}

.reason-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) 1.1fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.reason-row:last-child { border-bottom: 1px solid var(--line); }

.reason-num {
  font-family: var(--font-en);
  font-size: clamp(44px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mut-2);
  line-height: 1;
  align-self: flex-start;
  padding-top: 6px;
}

.reason-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.reason-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 480px;
}

/* compact founder credibility inside Reason 01 */
.reason-cred {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.cred-founder {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.cred-k {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
}

.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cred-tags .tag {
  padding: 5px 12px;
  font-size: 11.5px;
}

/* abstract line-motif panel for each reason */
.reason-visual {
  border-radius: var(--r-md);
  background: var(--bg-white);
  border: 1px solid var(--line);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* R1 — three layered bands converging */
.motif-stack { display: flex; flex-direction: column; gap: 10px; width: min(320px, 100%); }
.motif-stack .ms-band {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.motif-stack .ms-band i {
  width: 8px; height: 8px;
  border-radius: 2.5px;
  background: var(--mut-2);
  transform: rotate(45deg);
  flex: none;
}
.motif-stack .ms-band.acc { border-color: color-mix(in srgb, var(--accent) 35%, white); background: var(--accent-soft); color: var(--accent); }
.motif-stack .ms-band.acc i { background: var(--accent); }
.motif-stack .ms-merge {
  align-self: center;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mut);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.motif-stack .ms-merge::before,
.motif-stack .ms-merge::after { content: ""; width: 28px; height: 1px; background: var(--line); }

/* R2 — scattered dots to grid */
.motif-order { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.motif-order .mo-panel {
  width: 124px; height: 124px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.motif-order .mo-panel.scatter::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--mut-2) 1.6px, transparent 1.9px);
  background-size: 27px 23px;
  background-position: 4px 7px;
  transform: rotate(-8deg) scale(1.3);
  opacity: 0.85;
}
.motif-order .mo-panel.grid {
  border-color: color-mix(in srgb, var(--accent) 30%, white);
  background: var(--accent-soft);
}
.motif-order .mo-panel.grid::before {
  content: "";
  position: absolute; inset: 14px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 38%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 38%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 4px;
}
.motif-order .mo-arrow {
  width: clamp(28px, 4vw, 48px);
  height: 1.5px;
  background: var(--mut-2);
  position: relative;
  flex: none;
}
.motif-order .mo-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -2.8px;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--mut-2);
  border-right: 1.5px solid var(--mut-2);
  transform: rotate(45deg) scale(0.85);
}
.motif-order .mo-cap {
  position: absolute;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--mut);
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* R3 — accumulating records */
.motif-ledger { display: flex; flex-direction: column; gap: 9px; width: min(300px, 100%); }
.motif-ledger .ml-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 10px 14px;
}
.motif-ledger .ml-row i {
  width: 14px; height: 14px;
  border-radius: 5px;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  flex: none;
  position: relative;
}
.motif-ledger .ml-row i::after {
  content: "";
  position: absolute;
  left: 3px; top: 3.4px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.motif-ledger .ml-row .ml-line { flex: 1; height: 5px; border-radius: 3px; background: var(--line-soft); }
.motif-ledger .ml-row .ml-line.w70 { flex: none; width: 58%; }
.motif-ledger .ml-row .ml-tag {
  font-family: var(--font-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mut-2);
  white-space: nowrap;
}
.motif-ledger .ml-row.faded { opacity: 0.45; transform: scale(0.97); }
.motif-ledger .ml-row.faded2 { opacity: 0.22; transform: scale(0.94); }

/* ============================================================
   Use cases
   ============================================================ */
.use-cases {
  padding: 140px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uc-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #FCFBF9 0%, #F9F7F3 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.uc-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }

/* visual slot — compact mini-flow header */
.uc-visual {
  height: 128px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255,255,255,0.8), transparent 55%),
    linear-gradient(160deg, #EFF1F4 0%, #E9ECF0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-visual .ucv-chip {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  box-shadow: 0 2px 8px rgba(27,31,36,0.06);
  white-space: nowrap;
}
.uc-visual .ucv-chip.acc {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 28%, white);
  background: var(--accent-soft);
}

.uc-visual .ucv-flow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uc-visual .ucv-flow .uf-arrow {
  width: 22px; height: 1.5px;
  background: var(--mut-2);
  position: relative;
  flex: none;
}
.uc-visual .ucv-flow .uf-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -2.6px;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--mut-2);
  border-right: 1.5px solid var(--mut-2);
  transform: rotate(45deg) scale(0.8);
}
.uc-visual .ucv-flow .ucv-chip { position: static; }

.uc-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 28px 28px;
}

.uc-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  text-wrap: pretty;
}

.uc-rows { display: flex; flex-direction: column; gap: 0; }

.uc-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}

.uc-row .uc-k {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mut);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.uc-row .uc-v {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-2);
  text-wrap: pretty;
}

.uc-row.outcome .uc-k { color: var(--accent); }
.uc-row.outcome .uc-v { color: var(--ink); font-weight: 600; }

/* ============================================================
   Tag chip (shared — used in Reason 01 credibility)
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ============================================================
   Insights / news
   ============================================================ */
.insights-section {
  padding: 120px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.insights-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.insights-row .section-head { margin-bottom: 0; }

/* homepage teaser cards — latest 3 posts */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ins-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.ins-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.ins-meta { display: flex; align-items: center; gap: 12px; }

.ins-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 12px;
}

.ins-date {
  font-family: var(--font-en);
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: 0.04em;
}

.ins-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
  color: var(--ink);
  text-wrap: pretty;
}

.ins-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
  flex: 1;
}

.ins-read {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.ins-read::after { content: " →"; }

.insights-more { margin-top: 36px; display: flex; justify-content: center; }

.insights-more a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 32px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.insights-more a:hover { border-color: var(--accent); background: var(--accent-soft); }

.insights-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 12px 24px;
  white-space: nowrap;
}

.insights-note i {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background: var(--navy);
  color: var(--navy-ink);
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 80% -10%, rgba(64, 110, 180, 0.22), transparent 60%);
  pointer-events: none;
}

.final-cta .container { position: relative; z-index: 2; }

.final-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #fff;
  max-width: 820px;
  text-wrap: pretty;
}

.final-cta p {
  margin: 0 0 36px;
  font-size: 16px;
  color: rgba(232, 236, 243, 0.66);
  max-width: 600px;
  line-height: 1.9;
}

.final-cta .hero-ctas { gap: 14px; }

.final-cta .cta-paths {
  margin: 26px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(232, 236, 243, 0.55);
  max-width: none;
}

.final-cta .btn-primary { background: #fff; color: var(--navy); }
.final-cta .btn-primary:hover { background: #E8ECF3; box-shadow: 0 8px 28px rgba(0,0,0,0.3); }

.final-cta .btn-ghost { border-color: rgba(232, 236, 243, 0.28); color: #fff; }
.final-cta .btn-ghost:hover { border-color: rgba(232, 236, 243, 0.6); background: rgba(255,255,255,0.06); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(232, 236, 243, 0.55);
  border-top: 1px solid rgba(232, 236, 243, 0.1);
  padding: 48px 0 56px;
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { font-family: var(--font-en); font-weight: 650; font-size: 16px; color: #fff; display: flex; align-items: baseline; gap: 8px; }
.footer-brand .brand-mark { width: 22px; height: 22px; margin-right: 2px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(232,236,243,0.18); }
.footer-brand .brand-dot { width: 7px; height: 7px; border-radius: 2px; background: #5B83C2; transform: rotate(45deg); }
.footer-brand .footer-co { font-family: var(--font-jp); font-size: 11px; font-weight: 400; opacity: 0.6; }

.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .hero .hero-sub { max-width: 640px; }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-card { padding: 30px 28px 28px; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .uc-card:last-child { grid-column: 1 / -1; }
  /* tablet: keep copy + visual side by side, number rides above the copy */
  .reason-row { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
  .reason-num { grid-column: 1 / -1; padding-top: 0; }
  .insights-row { grid-template-columns: 1fr; }
  .insights-note { width: fit-content; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .ins-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .uc-grid { grid-template-columns: 1fr; }
  .uc-card:last-child { grid-column: auto; }
  .reason-row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 960px) {
  :root { --header-h: 112px; } /* wrapped two-row header */
  .container { padding: 0 24px; }
  .site-header { padding: 14px 24px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-center { display: none; }
  .hero { padding-top: 144px; }
  .hero-grid { padding-bottom: 64px; }
  .nav-right { width: 100%; justify-content: space-between; }
  .service-structure, .reasons, .use-cases { padding: 96px 0; }
  .insights-section { padding: 80px 0; }
  .insights-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .ins-card:first-child { grid-column: auto; }
  .final-cta { padding: 110px 0; }
  .uc-body { padding: 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .site-header { padding: 12px 20px; }
  .hero { padding-top: 136px; }
  /* full-width, easy-to-tap CTAs (hero + final CTA share .hero-ctas) */
  .hero-ctas { width: 100%; gap: 12px; }
  .hero-ctas .btn { flex: 1 1 100%; min-height: 50px; }
  .section-head { margin-bottom: 48px; }
}


/* Homepage final copy additions */
.hero .hero-line,
.copy-line,
.final-cta .final-line {
  display: block;
}

.hero .hero-phrase {
  display: inline-block;
  white-space: nowrap;
}

.copy-phrase {
  display: inline-block;
  white-space: nowrap;
}

.desktop-copy-break {
  display: none;
}

.lang-switch a {
  color: var(--mut-2);
  transition: color 0.25s var(--ease);
}

.lang-switch a:hover {
  color: var(--accent);
}

.en-page {
  font-family: var(--font-en);
}

.en-page .btn,
.en-page .hero-eyebrow,
.en-page .microlabel,
.en-page .svc-num,
.en-page .reason-num {
  font-family: var(--font-en);
}

.en-page .nav-center {
  gap: 26px;
}

.en-page .nav-center a {
  font-size: 13px;
}

.en-page .nav-right {
  gap: 16px;
}

.en-page .hero-eyebrow .eyebrow-tag {
  white-space: nowrap;
}

.en-page .hero h1,
.en-page .section-head h2,
.en-page .story-intro h2,
.en-page .story-step h3,
.en-page .reason-copy h3,
.en-page .uc-card h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

.en-page .hero-sub,
.en-page .sec-desc,
.en-page .svc-role,
.en-page .reason-copy p,
.en-page .uc-text p,
.en-page .ins-card p,
.en-page .faq-answer,
.en-page .final-cta p {
  line-height: 1.75;
}

.en-page .svc-card h3 {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.35;
}

.en-page .svc-fits li {
  line-height: 1.65;
}

.en-page .svc-note {
  line-height: 1.4;
}

.en-page .founder-stack .ms-band {
  line-height: 1.45;
}

@media (min-width: 1201px) {
  .en-page .hero-grid {
    grid-template-columns: minmax(520px, 0.78fr) minmax(620px, 1fr);
    gap: 44px;
  }

  .en-page .hero h1 {
    font-size: 38px;
  }

  .en-page .hero-stage {
    transform: translateY(30px);
  }

  .en-page .hero-stage .hero-img {
    width: 112%;
    max-width: 820px;
    margin-right: -42px;
  }
}

.en-page .motif-order .mo-cap,
.en-page .motif-ledger .ml-tag {
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
}

.en-page .footer-links {
  gap: 20px;
  flex-wrap: wrap;
}

.en-page .final-cta p {
  color: rgba(232, 236, 243, 0.78);
}

.en-page .final-cta .cta-paths {
  color: rgba(232, 236, 243, 0.68);
}

.founder-stack {
  width: min(480px, 100%);
  gap: 12px;
}

.founder-stack .ms-band {
  border-color: color-mix(in srgb, var(--accent) 35%, white);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  line-height: 1.65;
  padding: 13px 16px;
}

.founder-stack .ms-band i {
  background: var(--accent);
}

.founder-stack .ms-band span {
  display: block;
}

.founder-stack .ms-merge {
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin: 0 0 4px;
}

@media (min-width: 1201px) {
  .reason-row {
    grid-template-columns: minmax(88px, 0.2fr) minmax(420px, 1fr) minmax(430px, 0.9fr);
    gap: clamp(32px, 4vw, 56px);
    min-height: 316px;
    padding: clamp(38px, 3.4vw, 48px) 0;
  }

  .reason-num {
    align-self: center;
    padding-top: 0;
  }

  .reason-copy p {
    max-width: 560px;
    line-height: 1.9;
  }

  .reason-visual {
    width: min(560px, 100%);
    min-height: 228px;
    margin-left: auto;
    padding: 30px;
  }

  .reason-row:first-child .reason-visual {
    min-height: 250px;
  }

  .founder-stack {
    width: min(456px, 100%);
    gap: 10px;
  }

  .founder-stack .ms-band {
    padding: 11px 14px;
  }

  .motif-order .mo-panel {
    width: 128px;
    height: 128px;
  }

  .motif-ledger {
    width: min(380px, 100%);
  }
}

@media (min-width: 1201px) {
  .hero-grid {
    grid-template-columns: minmax(560px, 0.95fr) minmax(560px, 1fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.36;
  }

  .hero .hero-line {
    white-space: nowrap;
  }

  .hero .hero-sub {
    max-width: 650px;
  }

  .desktop-copy-break {
    display: block;
  }
}

.service-structure .svc-card,
.use-cases .uc-card {
  min-height: 100%;
}

.use-cases .uc-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-cases .uc-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.82;
  color: var(--ink-2);
  text-wrap: pretty;
}

.faq-section {
  padding: 120px 0;
  background: var(--bg);
}

.faq-section .section-head {
  margin-bottom: 44px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent);
  outline-offset: -3px;
}

.faq-answer {
  border-top: 1px solid var(--line-soft);
  padding: 20px 26px 24px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.95;
}

.faq-answer p {
  margin: 0;
}

.ins-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.ins-card-media {
  width: 100%;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ins-card-media.is-logo {
  padding: 22px;
}

.ins-card-media.is-banner {
  padding: 0;
  background: #fff;
}

.ins-card-media.is-dark {
  background: #050505;
}

.ins-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.ins-card:hover .ins-card-media img {
  transform: scale(1.02);
}

.ins-card-body {
  min-height: 260px;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ins-card-body .ins-read {
  margin-top: auto;
  padding-top: 2px;
}

@media (max-width: 1200px) {
  .ins-card-media {
    height: 145px;
  }
}

@media (max-width: 680px) {
  .faq-section {
    padding: 88px 0;
  }

  .faq-item summary {
    padding: 19px 20px;
    align-items: flex-start;
  }

  .faq-answer {
    padding: 18px 20px 22px;
  }
}

@media (max-width: 600px) {
  .ins-card-media {
    height: 168px;
  }

  .ins-card-body {
    min-height: auto;
    padding: 20px;
  }
}
