@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}

:root {
  color-scheme: light;
  --bg: #fefeff;
  --surface: #ffffff;
  --surface-soft: #f7f4ee;
  --surface-hover: #f8f7ff;
  --button-hover: #eef0f2;
  --button-hover-ring: color-mix(in srgb, var(--primary) 32%, transparent);
  --text: #17202a;
  --muted: #5f7282;
  --line: #d2dce4;
  --primary: #1a659e;
  --primary-strong: #134c78;
  --primary-hover: #155783;
  --accent: #06bee1;
  --primary-text: #ffffff;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(9, 60, 93, 0.1);
  --radius: 12px;
  --avatar-hover-ring: hsl(14, 95%, 58%);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}

.policy-page {
  min-height: 100vh;
}

.policy-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.policy-header-inner,
.policy-shell,
.policy-footer {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding-inline: 24px;
}

.policy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-strong);
  font-family: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.policy-brand:hover {
  color: var(--primary-strong);
  text-decoration: none;
}

.policy-logo {
  width: 32px;
  height: 32px;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.policy-shell {
  padding-block: 28px 42px;
}

.policy-document {
  max-width: 820px;
  padding: 0 28px;
  background: var(--bg);
}

.policy-eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.02;
}

h2 {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

h3 {
  margin: 22px 0 6px;
  font-size: 18px;
}

p,
ul {
  margin: 10px 0;
}

code {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.94em;
}

pre {
  overflow-x: auto;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(210, 220, 228, 0.88);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 5px;
}

.policy-meta {
  margin-top: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.policy-summary {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(6, 190, 225, 0.28);
  border-radius: 8px;
  background: rgba(6, 190, 225, 0.08);
  font-weight: 650;
}

.policy-footer {
  padding-block: 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.policy-contact {
  font-weight: 700;
}

@media (max-width: 900px) {
  .policy-header-inner,
  .policy-shell,
  .policy-footer {
    padding-inline: 20px;
  }

  .policy-document {
    max-width: none;
    padding: 0 12px;
  }
}

@media (max-width: 720px) {
  .policy-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding-block: 14px;
  }

  .policy-nav {
    justify-content: flex-start;
    gap: 7px 16px;
    font-size: 13px;
  }

  .policy-shell {
    padding-block: 22px 34px;
  }

  .policy-document {
    padding: 0;
  }

  h1 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.04;
  }

  h2 {
    margin-top: 24px;
    font-size: 22px;
  }

  p,
  ul {
    margin: 9px 0;
  }
}

@media (max-width: 420px) {
  .policy-header-inner,
  .policy-shell,
  .policy-footer {
    padding-inline: 16px;
  }

  .policy-brand {
    font-size: 25px;
  }

  .policy-logo {
    width: 30px;
    height: 30px;
  }

  .policy-nav {
    width: 100%;
    gap: 7px 14px;
  }
}
