:root {
  --navy: #15283a;
  --navy-soft: #385064;
  --mint: #bfe8d7;
  --mint-deep: #18745e;
  --coral: #ff755f;
  --coral-text: #b9382a;
  --coral-soft: #ffe4de;
  --yellow: #ffd96b;
  --yellow-soft: #fff2bf;
  --ice: #eaf7fb;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #cbd7dd;
  --line-dark: #9eb2bd;
  --shadow: 0 24px 64px rgba(21, 40, 58, 0.12);
  --shell: min(1160px, calc(100% - 40px));
  --mobile-cta-space: calc(84px + 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
  line-break: strict;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
button {
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.3;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 8px;
  left: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  transform: translateY(0);
}

.internal-banner {
  display: flex;
  min-height: 42px;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  text-align: center;
}

.internal-banner strong {
  color: var(--yellow);
  white-space: nowrap;
}

.internal-banner span {
  overflow-wrap: normal;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
}

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

.concept-id {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 640px) {
  .internal-banner {
    flex-direction: column;
    gap: 2px;
    padding-block: 9px;
  }

  .internal-banner strong {
    white-space: normal;
  }

  .review-label {
    max-width: 15ch;
    line-height: 1.35;
    text-align: center;
  }
}

.concept-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 14px 14px 3px 14px;
  background: var(--mint);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
  animation: symbol-settle 440ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.concept-copy strong,
.concept-copy small {
  display: block;
}

.concept-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
}

.concept-copy small {
  color: var(--navy-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.review-label {
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 9vw, 118px) 0;
  background:
    linear-gradient(112deg, rgba(255, 253, 248, 0.96), rgba(234, 247, 251, 0.92)),
    var(--ice);
}

.hero::after {
  position: absolute;
  z-index: -2;
  right: -8%;
  bottom: -43%;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border: 2px solid rgba(21, 40, 58, 0.11);
  border-radius: 50%;
  content: "";
}

.hero-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.shape-one {
  top: 13%;
  right: 42%;
  width: 88px;
  height: 88px;
  border-radius: 50% 50% 8px 50%;
  background: var(--yellow);
  opacity: 0.62;
  transform: rotate(14deg);
  animation: soft-drift 13s ease-in-out infinite;
}

.shape-two {
  right: 5%;
  bottom: 8%;
  width: 126px;
  height: 44px;
  border-radius: 999px;
  background: var(--coral);
  opacity: 0.27;
  transform: rotate(-12deg);
  animation: soft-drift 16s 700ms ease-in-out infinite reverse;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.78fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--mint-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 12.5em;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

h1 .hero-title__accent {
  color: var(--coral-text);
}

.hero-title__line {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-lead {
  max-width: 44rem;
  margin: 0;
  color: var(--navy-soft);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.hero-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  max-width: 43rem;
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid rgba(24, 116, 94, 0.22);
  border-radius: 18px;
  background: rgba(191, 232, 215, 0.48);
}

.hero-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--mint-deep);
  font-weight: 900;
}

.hero-note p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.78rem;
}

.route-map {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border: 2px solid var(--navy);
  border-radius: 34px 8px 34px 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 12px 12px 0 var(--mint);
}

.route-map::before {
  position: absolute;
  top: -18px;
  right: 30px;
  width: 76px;
  height: 34px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--yellow);
  content: "";
  transform: rotate(-5deg);
}

.route-map-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--navy-soft);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.route-map-heading p {
  margin: 0;
}

.route-map-heading span {
  color: var(--coral-text);
}

.route-map ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-map li {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  min-height: 78px;
  align-items: center;
}

.route-map li:not(:last-child)::after {
  position: absolute;
  top: 59px;
  bottom: -19px;
  left: 22px;
  width: 2px;
  background: var(--line);
  content: "";
}

.route-number {
  display: grid;
  z-index: 1;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
}

.route-map li:nth-child(2) .route-number {
  background: var(--coral-soft);
}

.route-map li:nth-child(3) .route-number {
  background: var(--yellow-soft);
}

.route-map li:nth-child(4) .route-number {
  background: var(--mint);
}

.route-map strong,
.route-map small {
  display: block;
}

.route-map small {
  margin-top: 2px;
  color: var(--navy-soft);
}

.section {
  padding: clamp(76px, 9vw, 118px) 0;
}

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

.section-heading > p:last-child,
.compare-intro > p,
.precheck-copy > p {
  color: var(--navy-soft);
}

.purpose-section {
  background: var(--paper);
}

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

.purpose-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 2px solid var(--navy);
  border-radius: 8px 32px 8px 32px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.purpose-card-coral {
  background: var(--coral-soft);
}

.purpose-card-yellow {
  background: var(--yellow-soft);
}

.purpose-card-mint {
  background: var(--mint);
}

.card-index {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.purpose-card p {
  color: var(--navy-soft);
  font-size: 0.88rem;
}

.status-chip {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(21, 40, 58, 0.42);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
}

.compare-section {
  color: var(--white);
  background: var(--navy);
}

.compare-section .eyebrow {
  color: var(--mint);
}

.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 94px);
  align-items: start;
}

.compare-intro {
  position: sticky;
  top: 30px;
}

.compare-intro > p {
  color: #c6d3d9;
}

.boundary-note {
  display: grid;
  gap: 5px;
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.06);
  color: #d7e1e5;
  font-size: 0.78rem;
}

.boundary-note strong {
  color: var(--yellow);
}

.compare-table-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px 7px 24px 7px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table tr + tr {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.compare-table th,
.compare-table td {
  width: 33.333%;
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
}

.compare-table th + th,
.compare-table th + td,
.compare-table td + td {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.compare-table tbody th {
  color: var(--yellow);
}

.compare-table td {
  color: #dbe5e9;
}

.compare-table thead {
  background: rgba(191, 232, 215, 0.13);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.precheck-section {
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 117, 95, 0.17), transparent 24rem),
    var(--ice);
}

.precheck-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: center;
}

.precheck-copy {
  padding: clamp(28px, 5vw, 52px);
  border: 2px solid var(--navy);
  border-radius: 56px 10px 56px 10px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
}

.precheck-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.precheck-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.precheck-list > li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50% 50% 8px 50%;
  color: var(--white);
  background: var(--mint-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

.precheck-list strong,
.precheck-list small {
  display: block;
}

.precheck-list small {
  margin-top: 2px;
  color: var(--navy-soft);
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
}

.flow-section {
  background: var(--paper);
}

.compact-heading {
  max-width: 680px;
}

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

.flow-grid li {
  position: relative;
  min-width: 0;
  padding: 25px 22px;
  border-top: 3px solid var(--navy);
  background: var(--white);
}

.flow-grid li:nth-child(2) {
  border-color: var(--coral);
}

.flow-grid li:nth-child(3) {
  border-color: #d2a900;
}

.flow-grid li:nth-child(4) {
  border-color: var(--mint-deep);
}

.flow-grid span,
.flow-grid strong,
.flow-grid small {
  display: block;
}

.flow-grid span {
  margin-bottom: 36px;
  color: var(--coral-text);
  font-size: 0.7rem;
  font-weight: 900;
}

.flow-grid small {
  margin-top: 8px;
  color: var(--navy-soft);
}

.action-section {
  background: var(--mint);
}

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

.action-card {
  min-width: 0;
  padding: clamp(27px, 4vw, 43px);
  border: 2px solid var(--navy);
  border-radius: 9px 36px 9px 36px;
  background: var(--white);
}

.action-primary {
  color: var(--white);
  background: var(--navy);
}

.action-label {
  color: var(--mint-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.action-primary .action-label {
  color: var(--yellow);
}

.action-card p {
  color: var(--navy-soft);
}

.action-primary p {
  color: #cbd7dc;
}

.action-card button,
.final-action button,
.mobile-cta button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  padding: 11px 17px;
  border: 2px solid var(--line-dark);
  border-radius: 999px;
  color: #687984;
  background: #e6edf0;
  cursor: not-allowed;
  font-weight: 800;
  line-height: 1.4;
}

.action-primary button {
  border-color: rgba(255, 255, 255, 0.26);
  color: #b6c4ca;
  background: rgba(255, 255, 255, 0.1);
}

.final-section {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(255, 117, 95, 0.22), transparent 44%),
    var(--navy);
}

.final-section .eyebrow {
  color: var(--yellow);
}

.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 44px;
  align-items: center;
}

.final-layout p {
  color: #cbd7dc;
}

.final-action button {
  margin-top: 0;
}

.final-action p {
  margin: 10px 0 0;
  font-size: 0.72rem;
  text-align: center;
}

.site-footer {
  padding: 32px 0 110px;
  color: #b9c7cd;
  background: #0d1b27;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-layout p {
  margin: 0;
  font-size: 0.74rem;
}

.mobile-cta {
  display: none;
}

.reveal {
  animation: reveal-up 560ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.reveal-delay {
  animation: reveal-up 680ms 100ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.purpose-card,
.action-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .purpose-card:hover,
  .action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}

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

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

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

@keyframes soft-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 10px;
  }
}

@keyframes symbol-settle {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}

@media (max-width: 899px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero-layout,
  .compare-layout,
  .precheck-layout,
  .final-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .compare-layout {
    gap: 48px;
  }

  .compare-intro {
    position: static;
  }

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

  .purpose-card:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 639px) {
  :root {
    --shell: min(100% - 28px, 560px);
  }

  body {
    padding-bottom: var(--mobile-cta-space);
  }

  .internal-banner {
    display: block;
    padding: 9px 14px;
    line-height: 1.55;
  }

  .internal-banner strong,
  .internal-banner span {
    display: block;
  }

  .internal-banner strong {
    white-space: normal;
  }

  .header-inner {
    min-height: 70px;
  }

  .review-label {
    display: none;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .shape-one {
    top: 9%;
    right: -20px;
    width: 68px;
    height: 68px;
  }

  h1 {
    font-size: clamp(1.95rem, 9vw, 2.95rem);
    line-height: 1.24;
    letter-spacing: -0.045em;
  }

  .hero-note {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px;
  }

  .route-map {
    padding: 25px 19px;
    border-radius: 26px 7px 26px 7px;
    box-shadow: 7px 7px 0 var(--mint);
  }

  .section {
    padding: 72px 0;
  }

  .purpose-grid,
  .flow-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card:last-child {
    grid-column: auto;
  }

  .purpose-card,
  .action-card {
    padding: 24px;
  }

  .card-index {
    margin-bottom: 22px;
  }

  .compare-table-frame {
    display: grid;
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .compare-table,
  .compare-table tbody {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px 5px 16px 5px;
    background: rgba(255, 255, 255, 0.06);
  }

  .compare-table tr + tr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .compare-table th + td,
  .compare-table td + td {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .compare-table td::before {
    display: inline;
    margin-right: 0.45em;
    color: var(--mint);
    font-size: 0.68rem;
    font-weight: 900;
    content: attr(data-label);
  }

  .precheck-copy {
    padding: 28px 22px;
    border-radius: 40px 8px 40px 8px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .precheck-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .precheck-list > li > span {
    width: 36px;
    height: 36px;
  }

  .footer-layout {
    display: grid;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    min-height: 84px;
    padding: 13px 14px;
    border-top: 2px solid var(--navy);
    background: rgba(255, 253, 248, 0.98);
  }

  .mobile-cta button {
    min-height: 56px;
    margin: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
