/* Yagura LP — Origami / Paper aesthetic */
:root {
  --paper: #f5efe2;          /* warm cream bg */
  --paper-2: #efe6d3;        /* slightly darker */
  --paper-3: #e8dcc4;
  --paper-card: #faf5ea;     /* card cream, slightly lighter than bg */
  --ink: #1a1612;
  --ink-2: #2a221b;
  --ink-3: #3a302a;
  --line: rgba(26, 22, 18, 0.10);
  --line-strong: rgba(26, 22, 18, 0.18);
  --muted: rgba(26, 22, 18, 0.62);
  --muted-2: rgba(26, 22, 18, 0.45);
  --vermilion: #d4624a;       /* coral red, paper-flag color */
  --vermilion-2: #c8543d;
  --vermilion-deep: #b94a35;
  --vermilion-soft: #f7e4dc;
  --green: #4f8a5c;
  --green-soft: #d8e7d8;
  --terminal-bg: #1f1c19;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  --font-serif: "Newsreader", "Source Serif 4", Georgia, serif;

  --maxw: 1180px;
  --gutter: 32px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ───────────── Layout ───────────── */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; position: relative; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 16px; line-height: 1.35; letter-spacing: -0.005em; font-weight: 600; }
p { margin: 0; }

.lede { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 56ch; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--vermilion);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}
.eyebrow .num { color: var(--vermilion); font-weight: 600; }

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.sec-head h2 { max-width: none; }
.sec-head .right { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 70ch; padding-top: 0; }

.card-num {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--vermilion);
  letter-spacing: 0.04em;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

/* ───────────── Top nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-name { font-weight: 800; letter-spacing: 0.04em; }
.brand-icon {
  width: 36px; height: 36px;
  display: block;
  object-fit: contain;
}
.brand-icon--lg { width: 56px; height: 56px; }
.brand-ver {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--vermilion);
  font-weight: 500;
  margin-left: 4px;
}
.nav-links {
  display: flex; gap: 36px; font-size: 14px; color: var(--ink); font-weight: 500;
}
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--vermilion); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vermilion); color: white;
  padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--vermilion);
  transition: transform 0.15s ease, background 0.2s ease;
}
.nav-cta:hover { background: var(--vermilion-2); transform: translateY(-1px); }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn small {
  font-family: var(--font-sans); font-size: 11px; font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--vermilion); color: white;
  border-color: var(--vermilion);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--vermilion-2); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
  flex-direction: row;
  gap: 8px;
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-secondary .ext { font-size: 14px; opacity: 0.7; }

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  isolation: isolate;
  padding: 80px 0 110px;
  min-height: 560px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/hero_bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(248, 232, 217, 0.92) 0%,
      rgba(248, 232, 217, 0.78) 18%,
      rgba(248, 232, 217, 0.35) 38%,
      rgba(248, 232, 217, 0) 55%
    );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-left { max-width: 520px; }
.hero-subhead {
  margin: 18px 0 0;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.25;
  color: var(--vermilion);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero h1 { letter-spacing: -0.04em; font-weight: 700; }
.hero-lede { margin-top: 24px; font-size: 16px; max-width: 44ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 28px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--muted-2);
}
.hero-meta .dot { opacity: 0.4; }

/* (legacy hero-stage classes — no longer used; image is now a CSS background on .hero-bg) */
.mountains-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-tower {
  position: absolute;
  right: -4%;
  bottom: -2%;
  height: 92%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(80, 40, 20, 0.18));
}
.hero-window {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 1;
}
.hero-window-bar {
  height: 30px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-size: 12px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-window-bar .apple {
  width: 13px; height: 13px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.05 12.04c0-2.4 1.97-3.55 2.06-3.61-1.12-1.64-2.87-1.86-3.49-1.89-1.49-.15-2.91.88-3.66.88-.77 0-1.92-.86-3.16-.84-1.62.02-3.13.95-3.96 2.4-1.7 2.94-.43 7.28 1.21 9.66.81 1.16 1.78 2.46 3.05 2.42 1.23-.05 1.69-.79 3.18-.79 1.48 0 1.91.79 3.21.76 1.32-.02 2.16-1.18 2.96-2.35.94-1.35 1.32-2.66 1.34-2.73-.03-.01-2.57-.99-2.6-3.91zM14.7 4.27c.67-.81 1.12-1.94.99-3.07-.96.04-2.13.64-2.82 1.45-.62.71-1.16 1.86-1.02 2.96 1.07.08 2.17-.54 2.85-1.34z'/></svg>") center/contain no-repeat;
}
.hw-icons { display: flex; gap: 10px; }
.hw-i {
  width: 14px; height: 14px;
  border: 1.4px solid var(--ink);
  border-radius: 3px;
  opacity: 0.6;
}
.hw-i.active {
  background: var(--ink);
  opacity: 1;
}
.hw-clock { font-weight: 600; font-size: 12.5px; }

.hero-popup {
  position: absolute;
  left: 14%;
  right: 30%;
  top: 14%;
  background: var(--paper-card);
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 30px 60px -15px rgba(60, 30, 15, 0.35),
    0 12px 24px -8px rgba(60, 30, 15, 0.20);
  padding: 16px 18px;
  z-index: 2;
}
.hp-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.hp-head-left { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hp-head-left b { font-weight: 700; }
.hp-icon {
  width: 26px; height: 26px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  display: grid; place-items: center;
}
.hp-close {
  background: none; border: none;
  color: var(--muted-2);
  font-size: 16px; line-height: 1;
  padding: 4px;
}
.hp-sub { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.hp-cmd {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--terminal-bg);
  color: rgba(255,255,255,0.85);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0 0 12px 0;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow: hidden;
}
.hp-cmd .g { color: #88c9a1; }
.hp-cmd .d { color: rgba(255,255,255,0.65); }
.hp-meta {
  display: flex; gap: 16px;
  font-size: 11.5px; color: var(--muted);
  margin-bottom: 10px;
}
.hp-meta .k { color: var(--muted-2); }
.hp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.hpb {
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 500;
  background: white;
  display: inline-flex; align-items: center; gap: 5px;
  justify-content: center;
}
.hpb b { font-weight: 700; }
.hpb-allow { background: var(--green-soft); color: var(--green); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.hpb-deny { background: var(--vermilion-soft); color: var(--vermilion); border-color: color-mix(in srgb, var(--vermilion) 30%, transparent); }
.hp-keys {
  text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2);
  margin-top: 4px;
}

/* Floating chips */
.float-chip {
  position: absolute;
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 3;
  box-shadow: 0 8px 20px -6px rgba(60,30,15,0.18);
}
.float-chip .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79,138,92,0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,138,92,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(79,138,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,138,92,0); }
}
.float-chip.tl { bottom: 6%; left: 4%; }
.float-chip.br { bottom: 6%; right: 4%; }

/* ───────────── 01 Problem cards ───────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: transparent;
}
.problem-img-wrap {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
}
.problem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.problem-card h3 { margin-bottom: 8px; font-size: 18px; }
.problem-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ───────────── 02 Values ───────────── */
.section-values .values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.value-stat {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 14px;
}
.value-stat .big {
  font-size: 64px;
  line-height: 1;
  color: var(--vermilion);
  letter-spacing: -0.04em;
  font-weight: 700;
}
.value-stat .small {
  font-size: 14px;
  color: var(--muted);
}
.value h3 { margin-bottom: 8px; font-size: 17px; }
.value p { color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 32ch; }
.value-icon {
  position: absolute;
  right: 22px; bottom: 22px;
  width: 52px; height: 52px;
  color: var(--vermilion);
  opacity: 0.7;
}
.value-icon svg { width: 100%; height: 100%; }

/* ───────────── 03 Features ───────────── */
.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.surface-col {}
.surface-img-wrap {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-bottom: 18px;
  aspect-ratio: 1.05 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.surface-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* スクリーンショット画像のダイアログ周辺にあるデスクトップ背景
     (terminal 暗色 / 壁紙水色) を消す処理:
     - clip-path: inset(...) で四辺の細い帯を内側にクリップ
     - 角丸は inset の round 構文で同時に適用
     画像自体は非破壊、wrap の paper-card 背景に溶け込ませる。 */
  clip-path: inset(1.2% round 10px);
}
.surface-col h3 { margin-bottom: 8px; font-size: 18px; }
.surface-col > p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
.surface-keys { display: flex; gap: 8px; flex-wrap: wrap; }
.kbd {
  font-family: var(--font-sans); font-size: 11.5px;
  padding: 5px 10px; border-radius: 6px;
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 500;
}

/* Mock popup (small version) */
.mock-popup {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 24px -10px rgba(60,30,15,0.18);
}
.mp-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; font-size: 13px;
}
.mp-head b { font-weight: 700; }
.mp-icon {
  width: 22px; height: 22px;
  background: var(--ink);
  color: white;
  border-radius: 5px;
  display: grid; place-items: center;
}
.mp-cmd {
  font-family: var(--font-mono); font-size: 11px;
  background: var(--terminal-bg);
  color: rgba(255,255,255,0.85);
  padding: 8px 10px;
  border-radius: 6px;
  margin: 0 0 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-cmd .g { color: #88c9a1; }
.mp-actions {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mp-btn {
  flex: 1;
  font-size: 11px; padding: 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper-card);
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}
.mp-btn.allow { background: var(--green-soft); color: var(--green); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.mp-btn.deny { background: var(--vermilion-soft); color: var(--vermilion); border-color: color-mix(in srgb, var(--vermilion) 30%, transparent); }

/* Mock wizard */
.mock-wizard {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 24px -10px rgba(60,30,15,0.18);
}
.mw-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
}
.mw-tag {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--vermilion);
}
.mw-tag .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--vermilion-soft);
  border: 1.5px solid var(--vermilion);
}
.mw-step { color: var(--muted-2); font-size: 10.5px; }
.mw-q { font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.mw-opts { display: flex; flex-direction: column; gap: 5px; }
.mw-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 11px;
  background: var(--paper-card);
}
.mw-opt.selected {
  background: var(--vermilion-soft);
  border-color: var(--vermilion);
  color: var(--vermilion);
}
.mw-opt.selected .mw-r {
  border-color: var(--vermilion);
  background: var(--vermilion);
  box-shadow: inset 0 0 0 2px var(--vermilion-soft);
}
.mw-opt.input {
  flex-direction: column; align-items: stretch;
  gap: 4px;
}
.mw-r {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}
.mw-input {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

/* Mock nudge */
.mock-nudge {
  width: 100%;
  display: flex; flex-direction: column; gap: 14px;
  align-items: stretch;
}
.mn-head {
  font-size: 11px; color: var(--vermilion);
}
.mn-card {
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 24px -10px rgba(60,30,15,0.18);
}
.mn-icon {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.mn-body { flex: 1; }
.mn-t { font-weight: 700; font-size: 13.5px; line-height: 1.2; margin-bottom: 2px; }
.mn-s { font-size: 11.5px; color: var(--muted); }

/* ───────────── 04 Architecture ───────────── */
.section-arch .sec-head { margin-bottom: 56px; }
.arch-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.arch-node {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 16px 22px;
  text-align: center;
}
.arch-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 14px;
}
.arch-tile {
  width: 70px; height: 70px;
  display: grid; place-items: center;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--paper-card);
}
.arch-tile--dark {
  background: var(--terminal-bg);
}
.arch-tile img {
  width: 70px; height: 70px;
  object-fit: contain;
}
.arch-name { font-weight: 700; font-size: 16px; }
.arch-arrow {
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; color: var(--vermilion);
  font-weight: 500;
  gap: 4px;
}
.arch-arrow .arch-line {
  font-size: 22px;
  color: var(--vermilion);
  font-weight: 400;
  letter-spacing: -2px;
  margin-top: -4px;
}
.arch-notes {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
.arch-note { display: flex; gap: 14px; align-items: flex-start; }
.arch-note .arch-bullet {
  color: var(--vermilion);
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}
.arch-note p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.arch-note p code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
}
.arch-note p b { color: var(--ink); font-weight: 600; }

/* ───────────── 05 Privacy ───────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.privacy-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.privacy-icon {
  width: 36px; height: 36px;
  color: var(--ink);
  margin-bottom: 18px;
}
.privacy-icon svg { width: 100%; height: 100%; }
.privacy-card h4 { font-size: 15px; margin-bottom: 8px; }
.privacy-card p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* ───────────── 07 FAQ ───────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0;
  background: none; border: none;
  text-align: left;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q .faq-n {
  color: var(--vermilion);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  width: 12px;
  margin-top: 2px;
}
.faq-q .faq-text { flex: 1; line-height: 1.4; }
.faq-q .plus {
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 14px;
  transition: transform 0.25s ease;
  margin-top: 2px;
}
.faq-item.open .faq-q .plus { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--muted); font-size: 13.5px; line-height: 1.65;
  padding-left: 26px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 26px 18px 26px;
}

/* ───────────── 08 Final CTA ───────────── */
.section-cta { padding: 70px 0 90px; }
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-left h2 { max-width: none; }
.cta-right { padding-bottom: 0; }
.cta-copy { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 20px; max-width: 70ch; }
.cta-right .hero-cta { margin-top: 0; }

/* ───────────── Footer ───────────── */
.footer {
  position: relative;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  overflow: hidden;
}
.footer-mountains {
  position: absolute;
  left: -2%;
  bottom: 0;
  width: 30%;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-name { font-size: 22px; font-weight: 700; }
.tagline {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 32ch;
}
.footer h5 {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 12px 0;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--muted); font-size: 13px; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ───────────── Responsive ───────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 80px; min-height: 480px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { max-width: 100%; }
  .hero-bg { background-position: 70% center; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(248,232,217,0.92) 0%, rgba(248,232,217,0.55) 60%, rgba(248,232,217,0.2) 100%);
  }
  .problem-grid,
  .section-values .values-row,
  .surface-grid,
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 16px; }
  .arch-arrow { transform: rotate(90deg); }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .problem-grid,
  .section-values .values-row,
  .surface-grid,
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
