:root {
  color-scheme: light;
  --ink: #1f2228;
  --ink-strong: #111317;
  --muted: #666b74;
  --soft: #858a94;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-strong: #fffefa;
  --cream: #fbf7ed;
  --line: rgba(36, 39, 46, 0.12);
  --line-strong: rgba(36, 39, 46, 0.2);
  --accent: #f4bd00;
  --accent-deep: #9a6a00;
  --accent-soft: #fff1ad;
  --accent-pale: #fff8d8;
  --accent-ink: #312400;
  --sky: #dff3ff;
  --mint: #dcf7e8;
  --peach: #ffe4d2;
  --lavender: #eee6ff;
  --danger-soft: #ffe4e3;
  --danger: #b62d25;
  --success-soft: #ddf7e9;
  --success: #127044;
  --shadow: 0 24px 70px rgba(43, 39, 27, 0.12);
  --shadow-soft: 0 12px 34px rgba(43, 39, 27, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

body[data-page="privacy"] {
  --accent: #22a879;
  --accent-deep: #096647;
  --accent-soft: #c8f3df;
  --accent-pale: #edfbf5;
  --accent-ink: #083d2d;
}

body[data-page="support"] {
  --accent: #3a83f7;
  --accent-deep: #174fa8;
  --accent-soft: #d8e8ff;
  --accent-pale: #eff6ff;
  --accent-ink: #102f63;
}

body[data-page="action"] {
  --accent: #f4bd00;
  --accent-deep: #8a6200;
  --accent-soft: #fff0a8;
  --accent-pale: #fff9de;
  --accent-ink: #312400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 9%, color-mix(in srgb, var(--accent-soft) 72%, white), transparent 28rem),
    radial-gradient(circle at 94% 4%, var(--sky), transparent 27rem),
    radial-gradient(circle at 86% 84%, var(--mint), transparent 25rem),
    radial-gradient(circle at 13% 90%, var(--peach), transparent 26rem),
    linear-gradient(145deg, #fffdf7 0%, #f8f5ec 54%, #f4f8f7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(49, 45, 35, 0.12) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 68%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -150px;
  top: 36%;
  border: 76px solid color-mix(in srgb, var(--accent) 11%, transparent);
  border-radius: 50%;
  transform: rotate(18deg);
  pointer-events: none;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink-strong);
}

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink-strong);
  text-decoration: none;
  font-weight: 800;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}

.page-frame {
  width: min(calc(100% - 36px), var(--page-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-strong);
  text-decoration: none;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 13px;
  background: #050505;
  box-shadow: 0 10px 26px rgba(76, 57, 0, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink-strong);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 7px 20px rgba(43, 39, 27, 0.06);
}

.site-nav .nav-app {
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--accent-soft);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  margin-top: 14px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    var(--accent-pale);
  box-shadow: var(--shadow);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -122px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: 108px;
  bottom: -126px;
  border: 42px solid color-mix(in srgb, var(--accent) 13%, transparent);
  border-radius: 50%;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-pale);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
}

.page-hero h1 {
  margin: 18px 0 0;
  color: var(--ink-strong);
  font-size: clamp(37px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.page-hero .lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
}

.hero-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 44px;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--accent-pale) 80%, white));
  box-shadow: 0 22px 54px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: rotate(4deg);
}

.hero-badge::before,
.hero-badge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-badge::before {
  width: 46px;
  height: 46px;
  top: -17px;
  right: -12px;
  background: var(--mint);
  border: 1px solid rgba(25, 90, 60, 0.08);
}

.hero-badge::after {
  width: 32px;
  height: 32px;
  left: -12px;
  bottom: 14px;
  background: var(--peach);
  border: 1px solid rgba(120, 55, 18, 0.08);
}

.hero-badge img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 12px 30px rgba(21, 19, 12, 0.18);
  transform: rotate(-4deg);
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.meta-chip strong {
  color: var(--ink-strong);
}

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

.summary-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.summary-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -32px;
  top: -40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.summary-card:nth-child(2)::after {
  background: color-mix(in srgb, #3a83f7 12%, transparent);
}

.summary-card:nth-child(3)::after {
  background: color-mix(in srgb, #22a879 13%, transparent);
}

.summary-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--ink-strong);
  font-size: 16px;
  letter-spacing: -0.025em;
}

.summary-card p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.content-area {
  padding: 26px 0 66px;
}

.document-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.toc-card h2 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.toc-card nav {
  display: grid;
  gap: 3px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding-right: 3px;
}

.toc-card a {
  display: block;
  padding: 8px 9px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.toc-card a:hover {
  color: var(--accent-deep);
  background: var(--accent-pale);
}

.document-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.document-intro {
  padding: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-pale) 75%, white), rgba(255, 255, 255, 0.72));
}

.document-intro h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 22px;
  letter-spacing: -0.035em;
}

.document-intro p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.info-item {
  padding: 12px 14px;
  border: 1px solid rgba(36, 39, 46, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.info-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-strong);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.legal-section {
  position: relative;
  padding: clamp(25px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-section:last-child {
  border-bottom: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-pale);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.legal-section h2 {
  margin: 0 0 17px;
  color: var(--ink-strong);
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.legal-section h3 {
  margin: 24px 0 10px;
  color: var(--ink-strong);
  font-size: 17px;
  letter-spacing: -0.025em;
}

.legal-section p,
.legal-section li {
  color: #50555e;
  font-size: 15px;
  line-height: 1.95;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 18px;
  padding-left: 1.35em;
}

.legal-section li + li {
  margin-top: 7px;
}

.legal-section strong {
  color: var(--ink-strong);
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 18px;
  background: var(--accent-pale);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-ink);
  font-size: 14px;
}

.callout p {
  margin: 0;
  color: color-mix(in srgb, var(--accent-ink) 74%, #666);
  font-size: 13px;
  line-height: 1.75;
}

.support-hero-actions,
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 24%, transparent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button.secondary {
  color: var(--ink-strong);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.button.danger {
  color: #7f211b;
  border-color: rgba(182, 45, 37, 0.22);
  background: var(--danger-soft);
  box-shadow: none;
}

.support-section {
  margin-top: 24px;
}

.support-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
}

.support-section-title h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.05em;
}

.support-section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.support-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.support-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(255,255,255,.88), #fff9df);
}

.support-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(255,255,255,.88), #eef9f4);
}

.support-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 22px;
  font-weight: 950;
}

.support-card:nth-child(2) .support-icon {
  color: #8a5b00;
  background: #fff0a8;
}

.support-card:nth-child(3) .support-icon {
  color: #116744;
  background: #d7f5e5;
}

.support-card h3 {
  margin: 18px 0 10px;
  color: var(--ink-strong);
  font-size: 20px;
  letter-spacing: -0.035em;
}

.support-card p,
.support-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.support-card p {
  margin: 0;
}

.support-card ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.74)),
    var(--accent-pale);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.05em;
}

.contact-panel p {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(43, 39, 27, 0.05);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 900;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--accent-deep);
  background: var(--accent-pale);
  font-size: 18px;
}

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

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.center-stage {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 96px);
  padding: 28px 0 56px;
}

.action-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.action-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  top: -110px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.action-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink-strong);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.action-brand .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.action-card h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.action-card > p,
.action-description {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.status-illustration {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 0 22px;
  border-radius: 26px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 18%, transparent);
}

.message {
  display: none;
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: rgba(247, 247, 244, 0.86);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.message.show {
  display: block;
}

.message.ok {
  color: var(--success);
  border-color: rgba(18, 112, 68, 0.2);
  background: var(--success-soft);
}

.message.error {
  color: var(--danger);
  border-color: rgba(182, 45, 37, 0.2);
  background: var(--danger-soft);
}

.form {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.form.show {
  display: block;
}

.action-card label {
  display: block;
  margin: 14px 0 7px;
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 900;
}

.action-card input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.action-card input:focus {
  border-color: color-mix(in srgb, var(--accent) 70%, #666);
  outline: 3px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.action-card button,
.action-card a.button {
  width: 100%;
  margin-top: 12px;
}

.action-card button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.small-note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .summary-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-card:last-child,
  .support-card:last-child {
    grid-column: 1 / -1;
  }

  .document-layout {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
  }

  .toc-card nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-frame {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .site-header {
    align-items: flex-start;
    padding-top: 14px;
  }

  .brand > span:not(.brand-mark) {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }

  .site-nav .nav-app {
    display: none;
  }

  .page-hero {
    margin-top: 4px;
    padding: 28px 22px;
    border-radius: 26px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .summary-grid,
  .support-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .summary-card:last-child,
  .support-card:last-child {
    grid-column: auto;
  }

  .toc-card nav {
    grid-template-columns: 1fr;
    max-height: 250px;
    overflow: auto;
  }

  .document-card,
  .contact-panel,
  .action-card {
    border-radius: 26px;
  }

  .document-intro,
  .legal-section {
    padding: 24px 20px;
  }

  .support-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel {
    padding: 26px 22px;
  }

  .support-hero-actions,
  .action-buttons {
    flex-direction: column;
  }

  .support-hero-actions .button,
  .action-buttons .button {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
