:root {
  --paper: #ffffff;
  --wash: #f6f7f4;
  --ink: #1d2420;
  --soft-ink: #48524c;
  --muted: #717b75;
  --line: #dfe5df;
  --accent: #286451;
  --accent-dark: #1f4d3f;
  --accent-soft: #e8f1ed;
  --cta: #d96f22;
  --cta-dark: #b85715;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(30, 45, 38, .08);
}

/* Existing kaitai-lp article mappings */
.tracking-pixel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.site-logo { font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.hero-badges span { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--accent-dark); font-size: .84rem; font-weight: 800; }
.cta-box { display: inline-flex; flex-direction: column; align-items: flex-start; }
.hero-visual { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--accent-soft); }
.visual-message { margin-top: 16px; color: var(--soft-ink); font-size: .92rem; font-weight: 700; }
.visual-message strong, .visual-message span { display: block; }
.visual-message span { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.section-head.compact { max-width: 760px; }
.section-head.compact .eyebrow.light, .decision .eyebrow.light, .mid-cta .eyebrow.light { color: rgba(255, 255, 255, .78); }
.concern-band { padding: clamp(44px, 6vw, 72px) 0; background: var(--accent-dark); color: #fff; }
.concern-band h2, .concern-band .section-head p:not(.eyebrow) { color: #fff; }
.concern-band .section-head p:not(.eyebrow) { opacity: .82; }
.concern-grid, .quick-grid, .check-grid, .cost-grid, .flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-grid { grid-template-columns: repeat(5, 1fr); }
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.concern-card, .quick-grid article, .check-card, .point-card, .cost-grid article, .flow-grid article, .mini-story, .reason-item, .legal-points article { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.concern-card { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); }
.concern-card h3, .concern-card p { color: #fff; }
.concern-card p { opacity: .78; }
.num, .point-num, .mini-icon, .flow-grid span, .prep-list span { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .82rem; font-weight: 900; }
.concern-card .num { background: rgba(255, 255, 255, .14); color: #fff; }
.quick-grid p, .check-card p, .point-card p, .cost-grid p, .flow-grid p, .mini-story p, .reason-item p, .legal-points p { margin-bottom: 0; color: var(--soft-ink); font-size: .94rem; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.inline-cta p { margin: 0; color: var(--soft-ink); font-weight: 700; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.story-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-copy { padding: 18px; }
.story-copy .eyebrow.light { color: var(--accent); }
.story-stack { display: grid; gap: 14px; }
.mini-story.accent { background: var(--accent-dark); color: #fff; }
.mini-story.accent p, .mini-story.accent h3 { color: #fff; }
.check-label { display: inline-flex; margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 900; }
.decision { padding: clamp(44px, 6vw, 72px) 0; background: var(--accent-dark); color: #fff; }
.decision-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.decision h2, .decision p, .decision .reason-item h3, .decision .reason-item p { color: #fff; }
.decision p, .decision .reason-item p { opacity: .82; }
.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.reason-item { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); }
.prep-layout, .legal-check-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.prep-copy img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.prep-list, .legal-points { display: grid; gap: 12px; }
.prep-list article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prep-list span { margin-bottom: 0; }
.source-note { color: var(--muted); font-size: .82rem; }
.source-note a { color: var(--accent-dark); font-weight: 800; }
.mid-cta-box, .final-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.mid-cta h2, .mid-cta p, .final-cta h2, .final-cta p { color: #fff; }
.mid-cta p, .final-cta p { opacity: .84; }
.mid-cta-action { flex: 0 0 auto; }
.faq-a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.faq-a span { color: var(--cta); font-weight: 900; }
.legal-footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; text-align: center; }
.legal-footer a { font-weight: 800; }
.floating-cta { display: none; }

@media (max-width: 860px) {
  .hero-layout, .story-grid, .decision-layout, .prep-layout, .legal-check-box { grid-template-columns: 1fr; }
  .mid-cta-box, .final-cta-box, .inline-cta { display: grid; }
  .concern-grid, .quick-grid, .check-grid, .point-grid, .cost-grid, .flow-grid, .reason-list { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { padding: 14px; }
}

@media (max-width: 560px) {
  .concern-grid, .quick-grid, .check-grid, .point-grid, .cost-grid, .flow-grid, .reason-list { grid-template-columns: 1fr; }
}

/* Last-mile CTA normalization for desktop and mobile. */
.final-cta .final-cta-box { display: block; max-width: 880px; margin: 0 auto; text-align: left; }
.final-cta .final-cta-box .cta { width: fit-content; max-width: 100%; margin-top: 18px; }
.final-cta .final-cta-box .final-note { margin-top: 12px; }
@media (max-width: 560px) {
  .final-cta .final-cta-box .cta { width: 100%; min-height: 58px; padding: 0 14px; white-space: normal; line-height: 1.45; }
}

.hero-intent-card,
.hero-check-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.hero-intent-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-intent-card span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
}

.hero-intent-card strong {
  color: var(--soft-ink);
}

.hero-check-strip span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 800;
}

.hero-title-safe span {
  display: block;
}

.final-cta {
  padding: clamp(48px, 7vw, 72px) 0;
}

.final-cta-box {
  display: block;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.final-cta-box .cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
}

.final-cta-box .final-note {
  margin-top: 12px;
}

@media (max-width: 560px) {
  .final-cta-box .cta {
    width: 100%;
    min-height: 58px;
    padding: 0 14px;
    white-space: normal;
    line-height: 1.45;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.78;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  padding: clamp(44px, 7vw, 76px) 0 38px;
  background: linear-gradient(180deg, var(--wash), #fff 84%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.45;
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--soft-ink);
  font-size: 1.04rem;
  font-weight: 600;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 800;
}

.cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: var(--radius);
  background: var(--cta);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217, 111, 34, .22);
}

.cta:hover {
  background: var(--cta-dark);
}

.cta-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--accent-soft);
}

.panel-caption {
  margin: 16px 0 0;
  color: var(--soft-ink);
  font-size: .92rem;
  font-weight: 700;
}

.section {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section.alt {
  background: var(--wash);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head p:not(.eyebrow) {
  color: var(--soft-ink);
  font-weight: 600;
}

.grid-4,
.grid-3,
.faq-list {
  display: grid;
  gap: 14px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.faq-item,
.check-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card {
  padding: 18px;
}

.card-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 900;
}

.card p,
.check-item p,
.faq-item p {
  margin-bottom: 0;
  color: var(--soft-ink);
  font-size: .94rem;
}

.argument-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: #fff;
}

.argument-box p {
  color: rgba(255, 255, 255, .84);
}

.argument-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.argument-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
}

.check-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.mid-cta,
.final-cta {
  padding: clamp(34px, 5vw, 52px) 0;
  background: var(--accent-dark);
  color: #fff;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-band p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .84);
}

.faq-list {
  grid-template-columns: 1fr;
}

.faq-item {
  padding: 18px;
}

.faq-q {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.faq-q span {
  color: var(--accent);
  font-weight: 900;
}

.faq-q h3 {
  margin-bottom: 6px;
}

.disclaimer {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: .82rem;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}

.footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .header-nav,
  .header-cta {
    display: none;
  }

  .hero-grid,
  .argument-box,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 14px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    display: grid;
  }

}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1040px);
  }

  .hero {
    padding-top: 34px;
  }

  .grid-4,
  .grid-3,
  .check-list {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
    padding: 0 18px;
    text-align: center;
  }

  .trust-list li {
    width: calc(50% - 4px);
    text-align: center;
  }
}

/* Final overrides for the existing kaitai-lp HTML structure. */
.site-logo { font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.hero-badges span { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--accent-dark); font-size: .84rem; font-weight: 800; }
.cta-box { display: inline-flex; flex-direction: column; align-items: flex-start; }
.hero-visual { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.visual-message { margin-top: 16px; color: var(--soft-ink); font-size: .92rem; font-weight: 700; }
.visual-message strong, .visual-message span { display: block; }
.visual-message span { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.concern-band { padding: clamp(44px, 6vw, 72px) 0; background: var(--accent-dark); color: #fff; }
.concern-band h2, .concern-band .section-head p:not(.eyebrow), .concern-card h3, .concern-card p { color: #fff; }
.concern-grid, .quick-grid, .check-grid, .cost-grid, .flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-grid { grid-template-columns: repeat(5, 1fr); }
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.concern-card, .quick-grid article, .check-card, .point-card, .cost-grid article, .flow-grid article, .mini-story, .reason-item, .legal-points article { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.concern-card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.num, .point-num, .mini-icon, .flow-grid span, .prep-list span { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .82rem; font-weight: 900; }
.concern-card .num { background: rgba(255,255,255,.14); color: #fff; }
.quick-grid p, .check-card p, .point-card p, .cost-grid p, .flow-grid p, .mini-story p, .reason-item p, .legal-points p { margin-bottom: 0; color: var(--soft-ink); font-size: .94rem; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.inline-cta p { margin: 0; color: var(--soft-ink); font-weight: 700; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.story-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-copy { padding: 18px; }
.story-copy .eyebrow.light { color: var(--accent); }
.story-stack, .prep-list, .legal-points { display: grid; gap: 14px; }
.mini-story.accent, .decision { background: var(--accent-dark); color: #fff; }
.mini-story.accent p, .mini-story.accent h3, .decision h2, .decision p, .decision .reason-item h3, .decision .reason-item p { color: #fff; }
.check-label { display: inline-flex; margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 900; }
.decision { padding: clamp(44px, 6vw, 72px) 0; }
.decision-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.reason-item { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.prep-layout, .legal-check-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.prep-copy img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.prep-list article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prep-list span { margin-bottom: 0; }
.source-note { color: var(--muted); font-size: .82rem; }
.source-note a { color: var(--accent-dark); font-weight: 800; }
.mid-cta-box, .final-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.mid-cta h2, .mid-cta p, .final-cta h2, .final-cta p { color: #fff; }
.mid-cta p, .final-cta p { opacity: .84; }
.mid-cta-action { flex: 0 0 auto; }
.faq-a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.faq-a span { color: var(--cta); font-weight: 900; }
.legal-footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; text-align: center; }
.legal-footer a { font-weight: 800; }
.floating-cta { display: none; }

@media (max-width: 860px) {
  .hero-layout, .story-grid, .decision-layout, .prep-layout, .legal-check-box { grid-template-columns: 1fr; }
  .mid-cta-box, .final-cta-box, .inline-cta { display: grid; }
  .concern-grid, .quick-grid, .check-grid, .point-grid, .cost-grid, .flow-grid, .reason-list { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { padding: 14px; }
}

@media (max-width: 560px) {
  .concern-grid, .quick-grid, .check-grid, .point-grid, .cost-grid, .flow-grid, .reason-list { grid-template-columns: 1fr; }
}
