:root {
  color-scheme: light;
  --navy: #142640;
  --ink: #23334a;
  --muted: #45566d;
  --link: #224d7e;
  --line: #d8e1ec;
  --tint: #f3f6fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
p + p { margin-top: .6rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.4; }
h1 { font-size: clamp(1.85rem, 4vw, 3.4rem); line-height: 1.3; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.15rem; margin-bottom: .45rem; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid #407cc0; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(calc(100% - 2rem), 70rem); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-block: .65rem;
}
.logo { width: clamp(7.5rem, 20vw, 10rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.primary { background: var(--navy); color: #fff; }
.primary:hover { background: #284567; }
.outline { border-color: var(--line); color: var(--navy); background: #fff; }
.outline:hover { border-color: var(--link); }

.hero { padding-block: clamp(2.8rem, 8vw, 6.5rem); background: var(--tint); }
.hero-grid, .sample-grid { display: grid; gap: 1.75rem; }
.lead { margin-top: 1rem; max-width: 39rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.demo {
  align-self: center;
  padding: clamp(.9rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
}
.sample-label { color: var(--link); font-size: .875rem; font-weight: 700; }
.demo caption { text-align: left; color: var(--navy); font-weight: 700; margin-bottom: .55rem; }
.demo table { margin-top: .3rem; }
.demo thead { font-size: .875rem; }

.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.tinted { background: var(--tint); }
.grid { display: grid; gap: .8rem; }
.concerns { list-style: none; padding: 0; margin: 0; }
.concerns li { padding: .8rem 1rem; border-inline-start: 3px solid var(--link); background: var(--tint); }
.card { background: #fff; border: 1px solid var(--line); border-radius: .6rem; padding: 1.15rem; }
.sample-grid { margin-top: 1.25rem; }
.research { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.research a { display: block; padding: .75rem .2rem; border-bottom: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .55rem .65rem; border-bottom: 1px solid var(--line); }
thead { background: var(--tint); color: var(--navy); }
.sample-table th[scope="row"] { font-weight: 500; }
.sample-table td:first-child { width: 3.5rem; color: var(--muted); }
.sample-table + p, #pricing-note { margin-top: .75rem; }

.steps {
  display: grid;
  gap: .55rem;
  margin: 0 0 .8rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding: .65rem .75rem;
}
.steps li::before {
  content: counter(step);
  flex: 0 0 1.65rem;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: .875rem;
  font-weight: 700;
}

.prices thead { background: var(--navy); color: #fff; }
.prices th, .prices td { padding: .75rem .35rem; }
.prices th[scope="row"] { color: var(--navy); width: 46%; }
.prices th span { display: block; margin-top: .2rem; font-size: .875rem; color: var(--muted); font-weight: 400; }
.price { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.prices a { display: inline-block; padding-block: .4rem; font-size: .875rem; font-weight: 700; }
#pricing-note { font-size: .9rem; color: var(--muted); }

.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.profile img { width: 9rem; border-radius: .6rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: .85rem 0; color: var(--navy); font-weight: 700; cursor: pointer; }
.faq p { padding-bottom: .85rem; }

.footer { background: var(--navy); color: #fff; padding-block: 2rem; }
.footer-inner, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.footer-inner { justify-content: space-between; }
.footer nav a { color: #fff; }
.footer-button { background: #fff; color: var(--navy); }
.footer-button:hover { background: var(--line); }

@media (min-width: 44rem) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-grid { grid-template-columns: 1.05fr 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prices th, .prices td { padding-inline: 1rem; }
}
@media (min-width: 55rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(.45rem); }
  .reveal-active { transition: opacity .35s ease, transform .35s ease; }
  .reveal-pending:focus-within { opacity: 1; transform: none; }
  .demo tr[data-pending] > * { color: transparent; }
}
