/* Shared styles for Privacy Policy + Terms of Service pages */

@font-face {
  font-family: "Alinsa";
  src: url("assets/fonts/Alinsa.otf") format("opentype"),
       url("assets/fonts/Alinsa.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #F4F3ED;
  --ink: #000000;
  --ink-soft: #656568;
  --ink-mid: #48484B;
  --footer: #19191A;
  --btn-yellow: #FFEC8B;
  --hero-1: #B8DBD1;
  --hero-2: #F3B28A;
  --hero-3: #F7DA97;

  --display: "Alinsa", "Sigmar", "Bagel Fat One", "Inter Tight", system-ui, sans-serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.shell {
  max-width: 1920px;
  margin: 0 auto;
  background: var(--page-bg);
}

/* ────────────────────────────────────────────────────────────── */
/* Top nav — same as index                                         */
/* ────────────────────────────────────────────────────────────── */
.policy-hero {
  position: relative;
  background: linear-gradient(180deg, var(--hero-1) 0%, var(--hero-2) 100%);
  padding: 24px 24px 60px;
  border-bottom: 4px solid #000;
}
.nav {
  max-width: 1392px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.nav__logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 32px; width: auto; display: block; }
.nav__links {
  display: flex; gap: 37px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__links a:hover { opacity: .65; }

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  height: 41px; padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #000; }

.policy-hero__inner {
  max-width: 1392px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.policy-hero__effective {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  opacity: .7;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.policy-hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  color: #000;
  text-shadow: 4px 4px 0 rgba(0,0,0,.15);
}

/* ────────────────────────────────────────────────────────────── */
/* Body card                                                       */
/* ────────────────────────────────────────────────────────────── */
.policy-body {
  padding: 60px 24px 80px;
}
.policy-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  box-shadow: 6px 6px 0 #000;
  padding: 60px 60px;
}
.policy-card .intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 0 32px;
}
.policy-card .intro p { margin: 0 0 14px; }
.policy-card .intro a { color: #7044DA; font-weight: 600; }
.policy-section {
  padding: 28px 0;
  border-top: 3px dashed rgba(0,0,0,.18);
}
.policy-section:first-of-type { border-top: 0; padding-top: 0; }
.policy-section h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #000;
}
.policy-section h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: #000;
}
.policy-section p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mid);
}
.policy-section ul {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
}
.policy-section li {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mid);
}
.policy-section li::marker { color: #7044DA; }
.policy-section a { color: #7044DA; font-weight: 600; }
.policy-section strong { color: #000; font-weight: 700; }
.policy-section .address {
  background: #F7F4ED;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 14px 0 0;
}

.toc {
  background: #F7F4ED;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 0 0 32px;
}
.toc__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.toc ol {
  margin: 0;
  padding: 0 0 0 24px;
  columns: 2;
  column-gap: 28px;
  font-size: 14px;
}
.toc li {
  margin: 0 0 6px;
  break-inside: avoid;
}
.toc a {
  color: #19191A;
  text-decoration: none;
  font-weight: 500;
}
.toc a:hover { color: #7044DA; text-decoration: underline; }

@media (max-width: 760px) {
  .policy-card { padding: 32px 22px; }
  .toc ol { columns: 1; }
  .nav__links { display: none; }
  .policy-hero { padding: 24px 20px 48px; }
}

/* ────────────────────────────────────────────────────────────── */
/* Footer (matches index.html)                                     */
/* ────────────────────────────────────────────────────────────── */
.footer-section { padding: 0 24px 24px; }
.footer {
  position: relative;
  max-width: 1872px;
  margin: 0 auto;
  background: var(--footer);
  color: #fff;
  border-radius: 32px;
  border: 4px solid #000;
  overflow: hidden;
  padding: 60px 60px 40px;
}
.footer__menus {
  max-width: 1312px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}
.footer__menu h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.6);
  margin: 0 0 24px;
}
.footer__menu ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.footer__menu a:hover { opacity: .7; }
.footer__wordmark {
  text-align: center;
  margin: 90px 0 24px;
}
.footer__wordmark span {
  font-family: var(--display);
  font-size: clamp(160px, 17vw, 260px);
  line-height: 0.93;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer__legal {
  max-width: 1312px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.footer__legal a { color: rgba(255,255,255,.5); text-decoration: none; margin-left: 40px; }
.footer__legal a:hover { color: rgba(255,255,255,.9); }

@media (max-width: 900px) {
  .footer { padding: 40px 24px 24px; }
  .footer__menus { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__legal { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer__legal a { margin-left: 0; margin-right: 24px; }
}
