:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #536075;
  --brand: #536987;
  --brand-dark: #3f526e;
  --brand-pale: #eef3f8;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --border: #dce3eb;
  --success: #19724a;
  --success-pale: #eaf7f0;
  --shadow: 0 14px 38px rgba(31, 46, 70, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --content-width: 1120px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.65; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #243752; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px max(22px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(220, 227, 235, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 760; text-decoration: none; }
.brand img { display: block; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 20px; }
.site-header nav a, footer nav a { font-size: 14px; font-weight: 650; text-decoration: none; }
.site-header .header-action { padding: 9px 14px; border-radius: 10px; color: #fff; background: var(--brand); }
.site-header .header-action:hover { color: #fff; background: var(--brand-dark); }

main { width: min(calc(100% - 32px), var(--content-width)); margin: 0 auto; }
.hero {
  position: relative;
  overflow: hidden;
  margin: 34px 0 18px;
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid #cdd9e7;
  border-radius: 28px;
  background: linear-gradient(135deg, #f4f8fc 0%, #e8f0f8 56%, #dce8f3 100%);
  box-shadow: var(--shadow);
}
.hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border: 52px solid rgba(83, 105, 135, 0.09); border-radius: 50%; }
.eyebrow, .kicker { margin: 0 0 8px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { position: relative; z-index: 1; max-width: 790px; margin: 0; font-size: clamp(34px, 6vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
.hero-copy { position: relative; z-index: 1; max-width: 760px; margin: 20px 0 0; color: #425069; font-size: clamp(17px, 2.2vw, 20px); }
.policy-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.compact-hero { padding-top: clamp(28px, 4.5vw, 48px); padding-bottom: clamp(28px, 4.5vw, 48px); }
.compact-hero h1 { font-size: clamp(34px, 5vw, 50px); }
.concise-grid { grid-template-columns: 205px minmax(0, 1fr); }
.compact-list { margin-top: 18px; }
.short-flow li { padding-bottom: 18px; }
.subtle-callout { border-left-color: var(--brand); color: var(--ink-soft); background: #f6f8fb; }
.subtle-callout strong { color: var(--ink); }

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 30px; }
.summary-grid article { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 6px 20px rgba(31, 46, 70, .04); }
.summary-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 11px; color: var(--brand-dark); background: var(--brand-pale); font-size: 20px; font-weight: 800; }
.summary-grid h2, .summary-grid p { margin: 0; }
.summary-grid h2 { font-size: 16px; line-height: 1.25; }
.summary-grid p { margin-top: 5px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

.page-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 56px; }
.contents { position: sticky; top: 88px; display: grid; gap: 3px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 8px 25px rgba(31, 46, 70, .04); }
.contents strong { margin-bottom: 7px; font-size: 13px; }
.contents a { padding: 7px 9px; border-radius: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.contents a:hover { color: var(--brand-dark); background: var(--brand-pale); }
.policy-content { display: grid; gap: 18px; min-width: 0; }
.policy-section { scroll-margin-top: 88px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 8px 28px rgba(31, 46, 70, .045); }
.policy-section h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 31px); line-height: 1.18; letter-spacing: -.02em; }
.policy-section h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.35; }
.policy-section > p:not(.kicker) { color: var(--ink-soft); }
.policy-section p { margin: 10px 0 0; }

.callout { display: grid; gap: 5px; margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--success); border-radius: 10px; color: #24573f; background: var(--success-pale); }
.callout strong { color: #165c3b; }
.callout.muted { border-left-color: var(--brand); color: var(--ink-soft); background: var(--brand-pale); }
.callout.muted strong { color: var(--ink); }

.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.data-list article, .retention-grid article { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fbfcfe; }
.data-list p, .retention-grid p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; }
.storage-label { display: inline-block; margin-top: 14px; padding: 4px 8px; border-radius: 999px; color: var(--brand-dark); background: var(--brand-pale); font-size: 11px; font-weight: 750; }

.flow-list { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.flow-list li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding-bottom: 22px; }
.flow-list li:last-child { padding-bottom: 0; }
.flow-list li::after { content: ""; position: absolute; top: 38px; bottom: 4px; left: 18px; width: 2px; background: #d8e1eb; }
.flow-list li:last-child::after { display: none; }
.flow-list li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 800; }
.flow-list p { margin: 4px 0 0; color: var(--ink-soft); }

.permission-table { margin-top: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; }
.permission-row { display: grid; grid-template-columns: minmax(150px, .65fr) 1.7fr; gap: 20px; padding: 14px 16px; border-top: 1px solid var(--border); }
.permission-row:first-child { border-top: 0; }
.permission-row span { color: var(--ink-soft); }
.permission-row.table-head { color: var(--brand-dark); background: var(--brand-pale); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.permission-row.table-head span { color: inherit; }

.plain-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.plain-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.plain-list strong { color: var(--ink); }
.retention-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 22px; }

.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-color: #cbd8e5; background: linear-gradient(135deg, #fff 0%, #f0f5fa 100%); }
.contact-card > div { max-width: 620px; }
.contact-action { flex: 0 0 auto; padding: 11px 16px; border-radius: 10px; color: #fff; background: var(--brand); font-size: 14px; font-weight: 750; text-decoration: none; }
.contact-action:hover { color: #fff; background: var(--brand-dark); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px max(22px, calc((100vw - var(--content-width)) / 2)); border-top: 1px solid var(--border); color: var(--ink-soft); background: #fff; font-size: 13px; }

@media (max-width: 820px) {
  .summary-grid { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .contents { position: static; display: flex; gap: 5px; overflow-x: auto; white-space: nowrap; }
  .contents strong { display: none; }
}

@media (max-width: 620px) {
  .site-header { min-height: 60px; padding: 9px 16px; }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .site-header nav > a:not(.header-action) { display: none; }
  .site-header .header-action { padding: 8px 11px; font-size: 12px; }
  main { width: min(calc(100% - 20px), var(--content-width)); }
  .hero { margin-top: 16px; padding: 25px 21px; border-radius: 20px; }
  .hero h1 { font-size: 34px; }
  .hero-copy { font-size: 16px; }
  .policy-meta { display: grid; gap: 3px; }
  .summary-grid { margin-bottom: 18px; }
  .policy-section { padding: 22px 18px; border-radius: 16px; }
  .data-list, .retention-grid { grid-template-columns: 1fr; }
  .permission-row { grid-template-columns: 1fr; gap: 5px; }
  .permission-row.table-head { display: none; }
  .contact-card { align-items: stretch; flex-direction: column; }
  .contact-action { text-align: center; }
  footer { align-items: flex-start; flex-direction: column; padding: 20px; }
}

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

:focus-visible { outline: 3px solid rgba(83, 105, 135, .35); outline-offset: 3px; }
