/* Cloudflare Safe Setup LP — clean, high-contrast, minimal motion */

:root {
  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --surface: #ffffff;
  --text: #111318;
  --muted: #5c6470;
  --border: #d5dae3;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: rgba(194, 65, 12, 0.08);
  --cta-text: #ffffff;
  --danger: #b91c1c;
  --ok: #15803d;
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  --shadow: 0 1px 2px rgba(17, 19, 24, 0.06), 0 8px 24px rgba(17, 19, 24, 0.06);
  --shadow-card: 0 2px 8px rgba(17, 19, 24, 0.08);
  /* Early Access フローティング（cscart LP と同構造） */
  --ea-float-size: min(200px, calc(100vw - 2.5rem));
  --ea-float-height: min(200px, calc(100vh - 2.5rem));
  --ea-card-bg: linear-gradient(165deg, #ffffff 0%, #f4f4f6 52%, #ececef 100%);
  --ea-card-border: rgba(26, 26, 28, 0.09);
  --ea-card-shade: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
  --ea-btn-bg: #ffe500;
  --ea-btn-fg: #622700;
  --ea-btn-bg-hover: #f0d900;
  --ea-mobile-dock-h: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Early Access — フローティング（右下 / モバイルは下部ドック） */
.early-access-banner--floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  box-sizing: border-box;
  width: var(--ea-float-size);
  height: var(--ea-float-height);
  max-height: var(--ea-float-height);
  background: var(--ea-card-bg);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--ea-card-border);
  border-radius: 0;
  box-shadow: var(--ea-card-shade), 0 4px 6px -1px rgba(26, 26, 28, 0.06),
    0 14px 28px -6px rgba(26, 26, 28, 0.12);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}

.early-access-banner--floating.is-ea-revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0s;
}

.early-access-banner--floating::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(17, 19, 24, 0.35) 40%,
    rgba(17, 19, 24, 0.35) 60%,
    transparent
  );
  pointer-events: none;
}

.early-access-banner__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.65rem 0.75rem;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.38;
  color: var(--text);
  overflow-y: auto;
}

.early-access-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  width: 100%;
}

.early-access-banner__line {
  margin: 0;
  max-width: 100%;
}

.early-access-banner__line:not(.early-access-banner__line--title) {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.early-access-banner__line--title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.92;
}

.early-access-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  max-width: 70%;
  margin-top: 0;
  min-height: 34px;
  padding: 0.4rem 0.75rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  font-family: inherit;
  color: var(--ea-btn-fg);
  background: var(--ea-btn-bg);
  text-decoration: none;
  border: 1px solid rgba(98, 39, 0, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 2px 6px rgba(98, 39, 0, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.early-access-banner__cta:hover {
  color: var(--ea-btn-fg);
  background: var(--ea-btn-bg-hover);
  border-color: rgba(98, 39, 0, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 4px 12px rgba(98, 39, 0, 0.18);
  transform: translateY(-1px);
}

.early-access-banner__cta:active {
  transform: translateY(0);
  color: var(--ea-btn-fg);
  background: var(--ea-btn-bg-hover);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 1px 3px rgba(98, 39, 0, 0.2);
}

.early-access-banner__cta:focus-visible {
  outline: 2px solid #622700;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .early-access-banner--floating {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    border-radius: 0;
    box-shadow: var(--ea-card-shade), 0 -6px 28px rgba(26, 26, 28, 0.12);
  }

  .early-access-banner--floating::before {
    left: 8%;
    right: 8%;
  }

  .early-access-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 0;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    text-align: left;
    font-size: 0.65rem;
    line-height: 1.3;
    overflow: visible;
  }

  .early-access-banner__copy {
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.12rem;
  }

  .early-access-banner__line--title {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .early-access-banner__cta {
    width: auto;
    min-width: 5.5rem;
    margin-top: 0;
    min-height: 36px;
    padding: 0.38rem 0.65rem;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }

  .early-access-banner__cta:hover {
    transform: none;
  }

  html.has-ea-dock.has-ea-banner-revealed {
    scroll-padding-bottom: calc(var(--ea-mobile-dock-h) + env(safe-area-inset-bottom, 0px));
  }

  body.has-ea-dock.has-ea-banner-revealed {
    padding-bottom: calc(var(--ea-mobile-dock-h) + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .early-access-banner--floating {
    transform: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .early-access-banner--floating.is-ea-revealed {
    transition: opacity 0.2s ease, visibility 0s linear 0s;
  }

  .early-access-banner__cta {
    transition: none;
  }

  .early-access-banner__cta:hover {
    transform: none;
  }
}

.ea-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.ea-modal[hidden] {
  display: none !important;
}

.ea-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.5);
  cursor: pointer;
}

.ea-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17, 19, 24, 0.18);
}

.ea-modal__title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.ea-modal__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-line;
}

.ea-modal__ok {
  width: 100%;
  margin-top: 1.15rem;
  min-height: 44px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo__text {
  font-weight: 700;
  font-size: 1.05rem;
}

.logo__sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
    gap: 0.25rem 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(52rem, 100%);
  }

  .nav__link {
    font-size: 0.78rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--cta-text);
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--cta-text);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--text);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--bg-alt);
}

.btn--link {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.btn--link:hover,
.btn--link:focus-visible {
  color: var(--text);
  background: transparent;
}

.btn--header {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
}

.lang {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.lang__btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
}

.lang__btn:hover,
.lang__btn:focus-visible {
  color: var(--text);
  border-color: var(--border);
}

.lang__btn.is-active {
  color: var(--text);
  border-color: var(--text);
  font-weight: 600;
}

.lang__label--abbr {
  display: none;
}

@media (max-width: 880px) {
  .site-header__inner .lang {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: 0.5rem;
  }

  .lang {
    flex-shrink: 0;
    gap: 0.12rem;
  }

  .lang__btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.65rem;
  }

  .lang__label--full {
    display: none;
  }

  .lang__label--abbr {
    display: inline;
  }
}

.btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}

.btn--small {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
  margin-top: auto;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #fff 0%, var(--bg-alt) 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.hero__head {
  margin-bottom: 1.35rem;
}

.hero__head .eyebrow {
  margin-bottom: 0.65rem;
}

.hero__head .hero__title {
  max-width: min(52ch, 100%);
  margin-bottom: 0;
}

.hero__grid {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  }
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
}

.hero-visual-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  vertical-align: middle;
  filter: drop-shadow(0 12px 32px rgba(15, 23, 42, 0.08));
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 1rem;
}

.hero__premise {
  margin: 0 0 1.1rem;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 600;
}

.hero__subnote {
  margin: 0 0 1.35rem;
  max-width: 52ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section__title {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.section__intro {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.section__intro--tight {
  margin-top: 0.5rem;
}

.section__intro--docs {
  font-size: 0.95rem;
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  margin-top: 0.75rem;
}

.section__intro--docs a {
  color: var(--accent);
}

.punchline--cscart {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.subhead {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.bullet-list,
.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.bullet-list li,
.check-list li {
  margin-bottom: 0.45rem;
}

.bullet-list--warn li::marker {
  color: var(--danger);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--ok);
}

.note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.note--design-a {
  color: var(--muted);
}

.punchline {
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.punchline--problem {
  border-left: 4px solid var(--text);
}

.kicker {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.kicker--problem {
  border-left-color: var(--danger);
}

.kicker--repro {
  border-left-color: var(--muted);
  font-weight: 600;
}

.subhead--why-hard {
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  color: var(--text);
}

.subhead--section {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.subhead--compare-outcome {
  margin-top: 2rem;
  margin-bottom: 0.35rem;
}

.subhead--inset,
.subhead--outcome {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.section--details .scope-lead {
  font-size: 1.05rem;
}

.section--details > .container > h3.subhead {
  margin-top: 2rem;
}

.section--details > .container > h3.subhead:first-of-type {
  margin-top: 0.75rem;
}

#service .subhead {
  margin-top: 1.65rem;
}

#service > .container > .section__intro + .subhead {
  margin-top: 0.6rem;
}

.punchline--interference {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.kicker--bridge {
  margin-top: 1rem;
}

.section__outro {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.88rem;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:last-child {
  background: var(--accent-soft);
  font-weight: 600;
}

.two-col--outcome {
  align-items: stretch;
}

.outcome-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.outcome-card--before {
  border-color: rgba(185, 28, 28, 0.25);
}

.outcome-card--after {
  border-color: rgba(21, 128, 61, 0.28);
}

.section--bridge .section__intro {
  max-width: 62ch;
}

/* Pricing */
.section--pricing {
  background: var(--surface);
}

.pricing {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.price-card--recommended {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  box-shadow: var(--shadow);
}

.price-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
}

.price-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.price-card__price {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card__currency {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: top;
}

.price-card__features {
  flex: 1;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.price-card__features li {
  margin-bottom: 0.4rem;
}

.price-card__warn {
  color: var(--danger);
  font-weight: 600;
}

.price-card__ok {
  color: var(--ok);
  font-weight: 600;
}

.pricing-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

a.safecache-lp {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a.safecache-lp:hover {
  color: var(--accent-hover);
}

/* Steps */
.steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.steps__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}

.steps__heading {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Scope */
.section--scope .scope-lead {
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-note {
  margin: 1.75rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  font-size: 0.95rem;
}

/* Final CTA */
.section--cta {
  background: var(--text);
  color: #e8eaef;
}

.cta-block {
  text-align: center;
  padding: 2rem 0;
}

.cta-block__title {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  color: #fff;
}

.cta-block__text {
  margin: 0 0 1.25rem;
  color: #b8c0cc;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.section--cta .cta-block__btn-ghost {
  color: #e8eaef;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.section--cta .cta-block__btn-ghost:hover,
.section--cta .cta-block__btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.section--cta .btn--primary {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

.section--cta .btn--primary:hover,
.section--cta .btn--primary:focus-visible {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.site-footer__links {
  margin: 0 0 0.75rem;
}

.site-footer__links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
}

.site-footer__fine {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* FAQ page */
.faq-main {
  padding-bottom: 2rem;
}

.faq-header-block {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.faq-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.faq-page-lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.faq-page-lead a {
  color: var(--accent);
  font-weight: 600;
}

.faq-content {
  padding-top: 1.5rem;
}

.faq-section {
  margin-bottom: 2rem;
}

.faq-section__title {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item__body p:first-child {
  margin-top: 0;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.faq-item__body .bullet-list {
  color: var(--muted);
}

.faq-footer-cta {
  text-align: center;
  padding: 2rem 0 3rem;
}

.page-faq {
  padding-bottom: 0;
}
