:root {
  color-scheme: light;
  --bg: #f3f0e8;
  --bg-soft: #fbf9f4;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --text: #18231e;
  --muted: #5f6b65;
  --line: rgba(24, 35, 30, 0.11);
  --accent: #1f7a63;
  --accent-strong: #0e5442;
  --accent-soft: rgba(31, 122, 99, 0.1);
  --shadow: 0 24px 72px rgba(24, 35, 30, 0.1);
  --shadow-soft: 0 12px 34px rgba(24, 35, 30, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 122, 99, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 84, 66, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 35, 30, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 30, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 76%);
}

a {
  color: var(--accent-strong);
  text-decoration-color: rgba(14, 84, 66, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: rgba(14, 84, 66, 0.78);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(31, 122, 99, 0.25);
  outline-offset: 3px;
}

code {
  padding: 0.12em 0.38em;
  border-radius: 999px;
  background: rgba(24, 35, 30, 0.06);
  font-family: "SFMono-Regular", "Menlo", "Monaco", monospace;
  font-size: 0.92em;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 18px;
}

.site-shell,
.legal-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-shell {
  width: min(1200px, calc(100% - 32px));
  padding-bottom: 72px;
}

.page-enter {
  animation: page-enter 380ms ease-out both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  box-shadow: var(--shadow-soft);
}

.nav-chip:hover {
  border-color: rgba(31, 122, 99, 0.34);
  background: rgba(255, 255, 255, 0.98);
}

.hero-grid,
.hero-panel,
.hero-dossier,
.surface-card,
.document-card,
.summary-card,
.legal-hero,
.legal-surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.9fr);
  gap: 22px;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(31, 122, 99, 0.16), transparent 70%);
}

.hero-grid::after {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -70px;
  background: radial-gradient(circle, rgba(14, 84, 66, 0.12), transparent 72%);
}

.hero-panel,
.hero-dossier {
  position: relative;
  z-index: 1;
}

.hero-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.hero-dossier,
.summary-card {
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-kicker {
  margin: 18px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel h1,
.legal-hero h1 {
  margin: 14px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-panel h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero-copy,
.lede,
.legal-hero p,
.legal-surface p,
.document-card p {
  margin: 0;
  color: var(--muted);
}

.lede {
  max-width: 62ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, #20876d 0%, #0f5744 100%);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(24, 35, 30, 0.14);
  color: var(--text);
}

.section-title,
.meta-label,
.legal-meta-label {
  display: block;
  margin: 0 0 7px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-list,
.summary-list,
.link-list,
.legal-list,
.toc-list {
  margin: 0;
  padding-left: 1.1rem;
}

.fact-list li + li,
.summary-list li + li,
.link-list li + li,
.legal-list li + li,
.toc-list li + li {
  margin-top: 0.55rem;
}

.summary-list strong,
.link-list strong,
.legal-list strong {
  color: var(--text);
}

.dossier-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dossier-note p {
  margin: 0;
  font-weight: 700;
}

.trust-belt {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.trust-tile {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.trust-tile strong,
.trust-tile span {
  display: block;
}

.trust-tile strong {
  font-size: 1rem;
  line-height: 1.35;
}

.trust-tile span:last-child {
  margin-top: 6px;
  color: var(--muted);
}

.document-grid,
.overview-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.document-grid {
  margin-top: 0;
}

.document-grid > * {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.surface-card,
.document-card,
.legal-hero,
.legal-surface {
  padding: 28px;
}

.surface-card h2,
.document-card h2,
.summary-card h2,
.legal-surface h2 {
  margin: 0 0 14px;
  font-size: 1.32rem;
  line-height: 1.25;
}

.meta-grid,
.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 22px;
}

.compact-meta {
  margin-top: 18px;
}

.meta-item,
.legal-meta-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 35, 30, 0.08);
}

.meta-value,
.legal-meta-value {
  font-weight: 700;
  color: var(--text);
}

.address-card {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 35, 30, 0.08);
  background: rgba(31, 122, 99, 0.05);
}

.address-card p {
  margin: 0;
  color: var(--text);
}

.summary-stack {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.summary-stack .summary-card {
  margin-top: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 290px) minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-aside .summary-card {
  margin-top: 0;
}

.toc-link {
  display: inline-block;
  text-decoration-thickness: 1px;
}

.legal-section {
  scroll-margin-top: 28px;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-surface p,
.legal-surface li {
  max-width: 72ch;
  color: var(--muted);
}

.info-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .trust-belt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .document-grid > *,
  .span-5,
  .span-7 {
    grid-column: span 12;
  }

  .meta-grid,
  .legal-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .legal-shell {
    width: min(100% - 20px, 100%);
    padding-top: 18px;
  }

  .site-nav,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel h1 {
    max-width: none;
  }

  .hero-actions,
  .nav-links,
  .footer-links {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .trust-belt {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-enter {
    animation: none;
  }
}

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 5vw, 52px);
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(31, 122, 99, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 248, 0.88) 100%);
  box-shadow: var(--shadow);
}

.lp-copy h1 {
  margin: 14px 0;
  max-width: 11ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lp-lede {
  max-width: 58ch;
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.lp-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.lp-proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(24, 35, 30, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.lp-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(360px, 100%);
  padding: 16px;
  border: 1px solid rgba(24, 35, 30, 0.1);
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f1 100%);
  box-shadow: 0 22px 50px rgba(24, 35, 30, 0.16);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.phone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.phone-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.phone-board {
  display: grid;
  gap: 12px;
}

.preview-note,
.preview-widget {
  padding: 14px 14px 12px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.preview-note strong,
.preview-widget strong {
  display: block;
  margin-bottom: 4px;
}

.preview-note span,
.preview-widget span {
  display: block;
  color: rgba(24, 35, 30, 0.78);
  font-size: 0.93rem;
}

.note-mint {
  background: #dff3e9;
}

.note-sand {
  background: #f8f0d9;
}

.note-peach {
  background: #f9dfd5;
}

.preview-widget {
  background: #f4f5f4;
  border: 1px solid rgba(24, 35, 30, 0.08);
}

.widget-label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.lp-benefit-card,
.lp-feature-panel,
.lp-step,
.lp-premium-card,
.lp-trust-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.lp-benefit-card h2,
.lp-feature-copy h2,
.lp-premium-copy h2,
.lp-trust-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.lp-benefit-card p:last-child,
.lp-feature-copy p,
.feature-panel-card p,
.lp-step p,
.lp-premium-copy p,
.lp-trust-card p {
  margin: 0;
  color: var(--muted);
}

.lp-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 24px;
}

.lp-feature-copy {
  padding: 10px 0;
}

.lp-feature-panel {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 246, 0.92) 100%);
}

.feature-panel-card {
  padding: 16px;
  border: 1px solid rgba(24, 35, 30, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
}

.feature-panel-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.lp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.lp-step h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.lp-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 248, 245, 0.92) 100%);
  box-shadow: var(--shadow);
}

.lp-premium-card {
  background: rgba(255, 255, 255, 0.94);
}

.lp-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1040px) {
  .lp-hero,
  .lp-feature-split,
  .lp-premium {
    grid-template-columns: 1fr;
  }

  .lp-benefit-grid,
  .lp-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .lp-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-hero,
  .lp-premium {
    padding: 22px 18px;
  }

  .lp-copy h1 {
    max-width: none;
  }

  .lp-proof-row {
    flex-direction: column;
  }
}
