:root {
  --ink: #082239;
  --blue: #005fea;
  --muted: #536577;
  --surface: #f2f6fb;
  --line: #d7e0ea;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a { color: var(--blue); text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

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

.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.reading-shell { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

.site-header { padding: 22px 0; }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand-lockup, .brand-support-lockup { gap: 8px; }
.brand-symbol { width: 40px; height: 24px; flex: 0 0 auto; object-fit: contain; }
.brand-wordmark { width: 120px; height: 27px; flex: 0 1 120px; object-fit: contain; }
.brand-support-name { color: var(--ink); font-size: 1.1rem; font-weight: 760; letter-spacing: -0.035em; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); padding: 10px 0; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.05em; line-height: 1.03; }
h1 { max-width: 710px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { margin-bottom: 28px; font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h3 { margin-bottom: 8px; font-size: 1.45rem; }
p { color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { color: var(--white); background: #004cc1; text-decoration: none; }
.status, .note { color: var(--muted); font-size: 0.95rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
  padding: clamp(28px, 3vw, 36px) 0 clamp(64px, 7vw, 80px);
}
.hero-copy > p { max-width: 570px; margin-bottom: 28px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.hero-action { display: grid; justify-items: start; gap: 14px; }
.phone-figure, .discovery-figure { width: min(100%, 276px); margin: 0; justify-self: center; }
.device-frame {
  padding: 7px;
  border: 1px solid #bdcad7;
  border-radius: 28px;
  background: #e8eff6;
  box-shadow: 0 16px 32px rgba(8, 34, 57, 0.14);
}
.device-frame img { width: 100%; border-radius: 21px; }
.phone-figure figcaption, .discovery-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 0.875rem; text-align: center; }

.section { padding: clamp(74px, 11vw, 150px) 0; }
.section-rule { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 70px); }
.step-number { margin-bottom: 30px; color: var(--blue); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 760; letter-spacing: -0.07em; line-height: 1; }
.step p { max-width: 280px; font-size: 1.1rem; }
.section-note { margin: 58px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }

.marketing-page { font-size: 18px; }
.marketing-page h1, .marketing-page h2, .marketing-page h3 { letter-spacing: -0.03em; text-wrap: balance; }
.marketing-page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.06; }
.marketing-page h2 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.marketing-page .section { padding: clamp(64px, 8vw, 104px) 0; }
.steps-intro { max-width: 650px; margin-bottom: 38px; font-size: 1.125rem; }
.marketing-page .step-number { margin-bottom: 22px; font-size: clamp(2.5rem, 4vw, 3rem); letter-spacing: -0.04em; }
.marketing-page .step p { font-size: 1.125rem; }
.marketing-page .hero-copy > p { font-size: 1.25rem; }
.marketing-page .editorial-row p, .marketing-page .member-lines { font-size: 1.125rem; }

.visits-heading { max-width: 650px; }
.visits-layout { display: grid; grid-template-columns: minmax(250px, 0.74fr) minmax(0, 1.25fr); align-items: center; gap: clamp(44px, 11vw, 150px); }
.editorial-rows { margin: 0; }
.editorial-row { padding: 30px 0; border-top: 1px solid var(--line); }
.editorial-row:last-child { border-bottom: 1px solid var(--line); }
.editorial-title { display: flex; align-items: center; gap: 11px; }
.editorial-icon { width: 28px; height: 28px; flex: 0 0 auto; color: var(--blue); }
.editorial-row p { margin-bottom: 0; font-size: 1.12rem; }
.members-band { color: var(--white); background: var(--ink); }
.members-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr); gap: clamp(48px, 10vw, 160px); }
.members-band h2 { color: var(--white); max-width: 520px; }
.members-band p, .members-band .note { color: #c4d0dd; }
.members-band h3 { color: var(--white); }
.member-intro p { max-width: 410px; }
.member-lines { display: grid; gap: 18px; font-size: 1.12rem; }
.member-lines p { margin: 0; }
.member-lines h3 { margin-bottom: 8px; }
.member-note { margin-top: 22px !important; font-size: 0.95rem; }

.faq-layout { display: grid; grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr); gap: clamp(40px, 8vw, 120px); }
.faq-layout h2 { max-width: 310px; }
.faq { margin: 0; }
.faq > div { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; }
.faq dd { margin: 0; color: var(--muted); }
.closing { background: var(--surface); text-align: center; }
.closing h2 { max-width: 700px; margin: 0 auto 28px; }
.closing p { max-width: 580px; margin: 0 auto 28px; }
.closing .hero-action { justify-items: center; }

.site-footer { padding: 28px 0 36px; }
.site-footer p { margin: 0; font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

.page-hero { padding: 52px 0 38px; }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.page-hero p { max-width: 630px; font-size: 1.15rem; }
.support-form { display: grid; gap: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; color: var(--ink); font-weight: 650; }
.field-help { color: var(--muted); font-size: 0.88rem; font-weight: 400; }
input, select, textarea {
  width: 100%;
  border: 1px solid #9cafc1;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}
textarea { min-height: 160px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ad1f2d; }
.field-error { min-height: 1.25em; color: #ad1f2d; font-size: 0.88rem; font-weight: 500; }
button.button { cursor: pointer; font-family: inherit; font-size: inherit; }
button.button:disabled { cursor: wait; opacity: 0.68; }
.notice { margin: 0; padding: 12px 14px; border-left: 4px solid; }
.notice[hidden] { display: none; }
.notice.error { border-color: #ad1f2d; color: #72151f; background: #fff2f3; }
.notice.success { border-color: #137542; color: #0d5430; background: #effaf4; }
.support-help { margin: 0 0 28px; }
.contact-block { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }

.legal { padding-bottom: 80px; }
.legal h2 { margin: 46px 0 14px; font-size: 1.48rem; }
.legal p, .legal li { max-width: 65ch; }
.legal li + li { margin-top: 8px; }
.effective-date { margin-bottom: 26px; font-weight: 650; }
.contents { margin: 30px 0 40px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contents h2 { margin: 0 0 12px; font-size: 1rem; letter-spacing: 0; }
.contents ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }

@media (max-width: 760px) {
  .shell, .reading-shell { width: min(100% - 32px, 1120px); }
  .site-header { padding: 14px 0; }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .site-nav { gap: 0 18px; }
  .site-nav a { padding: 8px 0; }
  .hero, .visits-layout, .members-grid, .faq-layout { grid-template-columns: 1fr; }
  .hero { gap: 48px; padding: 24px 0 64px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3rem); }
  .hero .phone-figure { grid-row: 2; }
  .steps { grid-template-columns: 1fr; gap: 38px; }
  .step-number { margin-bottom: 16px; }
  .editorial-rows { margin-top: 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .legal { padding: 0; }
  a { color: inherit; }
}
