:root {
  --ink: #17211f;
  --ink-soft: #3d4d48;
  --muted: #66736f;
  --paper: #f4f7f6;
  --surface: #ffffff;
  --surface-strong: #e9f0ee;
  --line: #d9e2df;
  --primary: #0f766e;
  --primary-strong: #095e58;
  --primary-soft: #d9eeeb;
  --accent: #0369a1;
  --accent-strong: #075985;
  --accent-soft: #e0f2fe;
  --danger: #b42318;
  --focus: #0f766e;
  --shadow: 0 18px 44px rgba(23, 33, 31, 0.13);
  --max: 1160px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 246, 0.92);
  border-bottom: 1px solid rgba(217, 226, 223, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 34px;
  padding: 2px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.nav-menu .nav-cta {
  color: #ffffff;
  background: var(--accent);
}

.nav-menu .nav-cta:hover {
  color: #ffffff;
  background: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 7px;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(3, 105, 161, 0.28);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72dvh;
  overflow: hidden;
  color: #ffffff;
  background: #17211f;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 28, 25, 0.9) 0%, rgba(9, 28, 25, 0.76) 43%, rgba(9, 28, 25, 0.24) 100%),
    linear-gradient(0deg, rgba(9, 28, 25, 0.72) 0%, rgba(9, 28, 25, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #bae6fd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  line-height: 1.18;
}

h1 {
  max-width: 1040px;
  font-size: 52px;
  font-weight: 800;
}

h2 {
  font-size: 38px;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

.hero-copy {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-positioning {
  display: grid;
  gap: 8px;
  max-width: 800px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-positioning li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
}

.hero-positioning li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bae6fd;
  content: "";
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 170px));
  gap: 12px;
  max-width: 740px;
  margin: 28px 0 0;
}

.hero-stats div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.two-column,
.split-layout,
.quick-fit-layout,
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.quick-fit,
.decision-band,
.intro-band,
.pricing-band {
  background: var(--surface);
}

.quick-fit {
  padding-top: 44px;
}

.split-band,
.sample-band,
.evidence-band,
.apply-band {
  background: var(--surface-strong);
}

.trust-band {
  background: #f8fbfa;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p,
.section-lede p,
.copy-block p,
.apply-copy p {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.copy-block h2,
.apply-copy h2 {
  max-width: 620px;
}

.feature-grid,
.evidence-grid,
.pricing-grid,
.condition-grid,
.quick-fit-grid,
.sample-grid,
.decision-grid,
.decision-summary-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

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

.quick-fit-grid article {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.quick-fit-grid span,
.sample-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.quick-fit-grid p,
.sample-card p,
.trust-card p,
.trust-card li,
.custom-note p,
.term-grid dd {
  color: var(--ink-soft);
}

.visual-proof {
  background: #f8fbfa;
}

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

.fit-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.fit-signal-strip article {
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.fit-signal-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.fit-signal-strip p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.fit-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: center;
}

.fit-proof-preview,
.beta-preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.fit-proof-preview img,
.beta-preview-card img,
.sample-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.fit-proof-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.fit-proof-copy h3 {
  font-size: 28px;
}

.fit-proof-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fit-proof-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 800;
}

.fit-proof-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.fit-proof-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
}

.beta-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.beta-preview-card {
  background: #ffffff;
}

.beta-preview-card figcaption {
  padding: 14px 16px 16px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.evidence-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.evidence-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-weight: 700;
}

.evidence-card li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.evidence-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.conversion-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.conversion-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.conversion-card-strong {
  border-color: rgba(3, 105, 161, 0.32);
  background: #f6fbff;
}

.conversion-card p {
  color: var(--ink-soft);
}

.conversion-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.lead-cloud,
.lead-funnel {
  margin: 24px 0;
}

.lead-cloud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lead-cloud span {
  display: block;
  height: 52px;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, var(--surface-strong));
}

.lead-cloud span:nth-child(2),
.lead-cloud span:nth-child(5) {
  border-color: #f0c7c7;
  background: #fff7f7;
}

.lead-funnel {
  display: grid;
  gap: 10px;
}

.lead-funnel span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  color: var(--primary-strong);
  background: #ffffff;
  font-weight: 800;
}

.lead-funnel span:nth-child(2) {
  width: 78%;
}

.lead-funnel span:nth-child(3) {
  width: 58%;
  color: #ffffff;
  background: var(--primary);
}

.conversion-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.conversion-arrow svg {
  width: 80px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

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

.feature-card,
.condition-list,
.pricing-card,
.apply-card,
.process-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
}

.feature-card p,
.condition-list li,
.pricing-card p {
  color: var(--ink-soft);
}

.feature-card p {
  margin: 14px 0 0;
}

.term-note {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.term-note-title {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-weight: 800;
}

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

.term-grid dt {
  color: var(--ink);
  font-weight: 800;
}

.term-grid dd {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--accent);
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.process-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: #17211f;
}

.process-step {
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #bae6fd;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  color: #ffffff;
  font-size: 18px;
}

.process-step p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.condition-list {
  padding: 26px;
  box-shadow: none;
}

.condition-list.blocked {
  border-color: #c8dcea;
  background: #f6fbff;
}

.condition-list ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.condition-list li {
  position: relative;
  padding-left: 24px;
}

.condition-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.condition-list.blocked li::before {
  background: var(--accent);
}

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

.pricing-card {
  padding: 30px;
  box-shadow: none;
}

.pricing-card.featured {
  border-color: rgba(15, 118, 110, 0.45);
  background: #f7fffd;
}

.plan-label {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.price {
  margin: 18px 0 14px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.pricing-card .button {
  margin-top: 16px;
}

.note {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary-strong);
  background: var(--primary-soft);
  font-size: 14px;
  font-weight: 800;
}

.custom-note {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid #c8dcea;
  border-radius: 8px;
  background: #f6fbff;
}

.custom-note p {
  margin: 12px 0 0;
}

.plan-matrix {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-matrix h3 {
  margin-bottom: 16px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.plan-matrix table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  background: #ffffff;
}

.plan-matrix th,
.plan-matrix td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
}

.plan-matrix th {
  color: var(--ink);
  background: #f8fbfa;
  font-weight: 800;
}

.plan-matrix tbody tr:last-child th,
.plan-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 700;
}

.flow-list span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary);
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.decision-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.decision-summary,
.decision-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.decision-summary span,
.decision-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.decision-summary h3,
.decision-card h3 {
  font-size: 18px;
}

.decision-summary p,
.decision-card p,
.decision-output-body p,
.decision-output-body li,
.decision-check li {
  color: var(--ink-soft);
}

.decision-summary p,
.decision-card p {
  margin: 12px 0 0;
}

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

.decision-card {
  appearance: none;
  width: 100%;
  min-height: 188px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.decision-card:hover {
  border-color: rgba(3, 105, 161, 0.44);
  background: #ffffff;
  transform: translateY(-1px);
}

.decision-card.is-active {
  border-color: rgba(15, 118, 110, 0.45);
  background: #f7fffd;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.14);
}

.decision-output,
.decision-check {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.decision-output-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.decision-output-label,
.decision-check-label {
  margin: 0;
  color: var(--primary-strong);
  font-weight: 800;
}

.decision-output-body {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.decision-output-body h3 {
  font-size: 22px;
}

.decision-output-body h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.decision-output-body p {
  margin: 0;
}

.decision-output-body ul,
.decision-check ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.decision-output-body li,
.decision-check li {
  position: relative;
  padding-left: 22px;
}

.decision-output-body li::before,
.decision-check li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.decision-check h3 {
  margin-top: 10px;
}

.decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.decision-band .button-secondary {
  border-color: var(--line);
}

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

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

.sample-card,
.trust-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sample-card {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

.sample-card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: top left;
}

.sample-toggle {
  appearance: none;
  width: 100%;
  min-height: 184px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.sample-toggle:hover {
  border-color: rgba(3, 105, 161, 0.44);
  background: #ffffff;
  transform: translateY(-1px);
}

.sample-toggle.is-active {
  border-style: solid;
  border-color: rgba(15, 118, 110, 0.45);
  background: #f7fffd;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.14);
}

.sample-toggle h3 {
  margin: 0;
}

.sample-card p,
.trust-card p {
  margin: 14px 0 0;
}

.sample-output {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sample-output-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sample-output-label {
  margin: 0;
  color: var(--primary-strong);
  font-weight: 800;
}

.sample-output-actions {
  display: inline-flex;
  gap: 10px;
}

.sample-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.sample-action:hover {
  border-color: rgba(3, 105, 161, 0.34);
  color: var(--ink);
  background: var(--surface-strong);
}

.sample-output-body {
  margin: 14px 0 0;
  max-height: 520px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.sample-output-body code {
  display: block;
  margin: 0;
  color: #1f2f2b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Noto Sans Mono CJK JP", monospace;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.sample-output-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.trust-card li {
  position: relative;
  padding-left: 22px;
}

.trust-card li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.trust-card a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply-layout {
  align-items: start;
}

.privacy-note {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.privacy-note strong {
  color: var(--ink);
}

.privacy-note span {
  color: var(--ink-soft);
}

.apply-card {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.apply-card-label {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.apply-card p {
  margin: 0;
  color: var(--ink-soft);
}

.form-helper {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.fit-scan-form {
  display: grid;
  gap: 16px;
}

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

.form-grid label,
.form-consent {
  display: grid;
  gap: 7px;
}

.form-grid span,
.form-consent span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(15, 118, 110, 0.2);
}

.form-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.form-consent input {
  margin-top: 7px;
}

.form-consent a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-status-tone="pending"] {
  color: var(--accent-strong);
}

.form-status[data-status-tone="success"] {
  color: var(--primary-strong);
}

.form-status[data-status-tone="error"] {
  color: var(--danger);
}

.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

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

.apply-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-weight: 700;
}

.apply-card li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.form-link {
  width: 100%;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #17211f;
}

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

.footer-branding {
  display: grid;
  gap: 4px;
}

.footer-branding p {
  margin: 0;
}

.footer-branding p:first-child {
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.footer-links,
.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-links a,
.legal-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.legal-nav-links a {
  color: var(--ink-soft);
}

.legal-nav-links a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.legal-main {
  background: var(--paper);
}

.legal-hero {
  padding: 96px 0 56px;
  background: var(--surface);
}

.legal-hero h1 {
  max-width: 980px;
  font-size: 44px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.legal-section {
  padding: 48px 0;
}

.legal-document {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-document h2 {
  margin-bottom: 22px;
  font-size: 28px;
}

.legal-document pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

.legal-document code {
  color: var(--ink-soft);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.85;
}

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .feature-grid,
  .evidence-grid,
  .condition-grid,
  .flow-list,
  .conversion-map,
  .fit-signal-strip,
  .process-map,
  .decision-grid,
  .decision-summary-grid,
  .sample-grid,
  .trust-grid,
  .term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-arrow {
    display: none;
  }

  .two-column,
  .split-layout,
  .quick-fit-layout,
  .fit-proof-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.nav-open .nav-menu {
    display: grid;
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    width: 100%;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(244, 247, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu a {
    justify-content: center;
    min-height: 48px;
  }

  .hero {
    min-height: 70dvh;
  }

  .hero-content {
    padding: 34px 0 30px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 16px;
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 10px 8px;
  }

  .hero-stats dt {
    font-size: 12px;
  }

  .hero-stats dd {
    font-size: 16px;
  }

  .feature-grid,
  .evidence-grid,
  .beta-preview-grid,
  .condition-grid,
  .pricing-grid,
  .flow-list,
  .conversion-map,
  .fit-signal-strip,
  .process-map,
  .quick-fit-grid,
  .decision-grid,
  .decision-summary-grid,
  .sample-grid,
  .trust-grid,
  .form-grid,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .quick-fit {
    padding-top: 24px;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-links a,
  .legal-nav-links a {
    padding: 0 10px;
  }

  .legal-hero {
    padding: 72px 0 42px;
  }

  .legal-hero h1 {
    font-size: 32px;
  }

  .sample-output-head {
    align-items: stretch;
    flex-direction: column;
  }

  .decision-output-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sample-output-actions {
    width: 100%;
  }

  .sample-action {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .nav,
  .container,
  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .feature-card,
  .evidence-card,
  .condition-list,
  .pricing-card,
  .plan-matrix,
  .decision-card,
  .decision-summary,
  .decision-output,
  .decision-check,
  .sample-card,
  .fit-proof-copy,
  .trust-card,
  .legal-document,
  .apply-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .button:hover {
    transform: none;
  }

  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
