:root {
  color-scheme: light;
  --page: #f4f6fb;
  --surface: #fbfcff;
  --surface-strong: #ffffff;
  --surface-accent: #fff1ee;
  --text: #111827;
  --text-soft: #4b5563;
  --text-muted: #748094;
  --border: #dde3ed;
  --border-strong: #cdd5e2;
  --accent: #df301c;
  --accent-strong: #a91f12;
  --accent-border: #f3b6ac;
  --success: #047857;
  --success-soft: #ecfdf5;
  --success-border: #a7f3d0;
  --shadow: 0 18px 50px rgba(36, 43, 75, 0.1);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--accent);
  color: #f8f9ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: none;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.brand-accent { color: var(--accent); }

.brand small {
  color: var(--text-muted);
  font-size: 11px;
}

.dashboard-link,
.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.dashboard-link:hover,
.contact-action:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dashboard-link:active,
.contact-action:active {
  transform: translateY(1px);
}

.dashboard-link:focus-visible,
.contact-action:focus-visible,
.policy-nav a:focus-visible,
.brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 26%, transparent);
  outline-offset: 3px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: end;
  padding: clamp(54px, 8vw, 94px) 0 clamp(48px, 7vw, 78px);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-summary {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.policy-meta {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
}

.policy-meta div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.policy-meta dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.policy-meta dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
  padding-bottom: 96px;
}

.policy-nav {
  position: sticky;
  top: 102px;
}

.policy-nav > p {
  margin-bottom: 13px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.policy-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-nav a {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.policy-nav a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.policy-document {
  min-width: 0;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.policy-notice {
  margin-bottom: 42px;
  padding: 22px 24px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--surface-accent);
}

.notice-label {
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.policy-notice p {
  margin-bottom: 0;
  color: var(--accent-strong);
  font-size: 15px;
  line-height: 1.65;
}

.policy-section {
  scroll-margin-top: 100px;
  padding: 8px 0 34px;
}

.policy-section + .policy-section {
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.policy-section h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(21px, 2.5vw, 26px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.policy-section p {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.commitment {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--success);
  border-radius: 0 10px 10px 0;
  background: var(--success-soft);
  color: var(--success);
}

.commitment strong,
.commitment span {
  display: block;
}

.commitment strong {
  margin-bottom: 2px;
  font-size: 12px;
}

.commitment span {
  font-size: 13px;
}

.contact-section {
  padding-bottom: 0;
}

.contact-action {
  margin-top: 22px;
  background: var(--accent);
  border-color: var(--accent);
  color: #f8f9ff;
}

.contact-action:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #f8f9ff;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 38px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  font-size: 12px;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-weight: 750;
}
.site-footer-brand img { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .policy-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .policy-meta {
    max-width: 520px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 64px;
  }

  .policy-nav {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-strong);
  }

  .policy-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    height: 64px;
  }

  .brand small {
    display: none;
  }

  .dashboard-link {
    min-height: 36px;
    padding: 7px 11px;
  }

  .policy-hero {
    padding: 44px 0 42px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .policy-meta div {
    grid-template-columns: 96px 1fr;
  }

  .policy-nav nav {
    grid-template-columns: 1fr;
  }

  .policy-document {
    padding: 22px 18px;
  }

  .policy-notice {
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #10131b;
    --surface: #151923;
    --surface-strong: #181d28;
    --surface-accent: #351b19;
    --text: #f1f3f8;
    --text-soft: #c2c8d3;
    --text-muted: #929bac;
    --border: #2a3140;
    --border-strong: #3a4354;
    --accent: #df301c;
    --accent-strong: #ffb4a9;
    --accent-border: #7c332a;
    --success: #6ee7b7;
    --success-soft: #143129;
    --success-border: #246b53;
    --shadow: 0 22px 58px rgba(4, 7, 14, 0.34);
  }

  .contact-action,
  .skip-link {
    color: #11131c;
  }

  .contact-action:hover {
    color: #f8f9ff;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .policy-nav,
  .site-footer,
  .contact-action,
  .skip-link {
    display: none;
  }

  body {
    background: #ffffff;
    color: #111827;
  }

  main {
    width: 100%;
  }

  .policy-hero,
  .policy-layout {
    display: block;
  }

  .policy-meta {
    margin: 28px 0;
  }

  .policy-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
