:root {
  --ink: #171316;
  --ink-soft: #30272b;
  --charcoal: #111012;
  --paper: #f4eee6;
  --paper-bright: #fffaf4;
  --cherry: #8c1538;
  --cherry-bright: #ed5d7d;
  --cherry-soft: #ffd9e1;
  --muted-light: #6c5f64;
  --line-light: rgba(23, 19, 22, 0.16);
  --shell: 1220px;
  --header-height: 76px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cherry-bright); outline-offset: 4px; }
::selection { background: var(--cherry-soft); color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper-bright);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: var(--charcoal);
}
.header-inner {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-bright);
  font-size: 1.1rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }

.policy-page { min-height: 100vh; background: var(--paper); color: var(--ink); }
.policy-main { padding: clamp(32px, 6vw, 72px) 0 96px; }
.policy-card {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 64px);
  background: var(--paper-bright);
  box-shadow: 0 26px 70px rgba(45, 29, 35, 0.12);
}
.policy-card h1,
.policy-card h2,
.policy-card p,
.policy-card ul { margin-block-start: 0; }
.policy-card h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.policy-card > p:first-of-type {
  margin-bottom: 44px;
  color: var(--muted-light);
  font-size: 0.9rem;
}
.policy-card h2 {
  margin-top: 46px;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.policy-card p,
.policy-card li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.policy-card p { margin-bottom: 18px; }
.policy-card ul { margin-bottom: 20px; padding-left: 1.5em; }
.policy-card li + li { margin-top: 8px; }
.policy-card a { color: var(--cherry); overflow-wrap: anywhere; }
.policy-page :focus-visible { outline-color: var(--cherry); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand img { width: 36px; height: 36px; }
}

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