:root {
  color-scheme: light;
  --cazel-red: #730111;
  --cazel-red-dark: #4f000c;
  --ink: #17191f;
  --muted: #5f6673;
  --line: #dedfe3;
  --surface: #ffffff;
  --canvas: #f5f4f3;
  --soft-red: #f8edef;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--cazel-red);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(115, 1, 17, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

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

.privacy-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 223, 227, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.privacy-brand {
  display: inline-flex;
  align-items: center;
}

.privacy-brand img {
  display: block;
  width: 142px;
  height: auto;
}

.privacy-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #424853;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.privacy-back:hover {
  background: #f0f0f1;
  color: var(--cazel-red);
}

.privacy-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.privacy-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(26, 21, 22, 0.07);
}

.privacy-hero::after {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--soft-red);
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.privacy-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--cazel-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.privacy-subtitle {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.privacy-meta {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 36px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.privacy-meta-item {
  min-width: 0;
  padding: 18px 20px;
  background: #fbfbfb;
}

.privacy-meta-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.privacy-meta dt {
  margin-bottom: 5px;
  color: var(--cazel-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #333741;
  font-size: 0.92rem;
  line-height: 1.55;
}

.privacy-layout {
  display: grid;
  margin-top: 28px;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.privacy-sidebar {
  position: sticky;
  top: 96px;
}

.privacy-toc {
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.privacy-toc > p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-toc ol,
.privacy-toc-mobile ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 3px;
  list-style: none;
}

.privacy-toc a,
.privacy-toc-mobile a {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #505661;
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: none;
}

.privacy-toc a:hover,
.privacy-toc-mobile a:hover {
  background: var(--soft-red);
  color: var(--cazel-red);
}

.privacy-toc a span,
.privacy-toc-mobile a span {
  min-width: 18px;
  color: var(--cazel-red);
  font-weight: 800;
}

.privacy-toc-mobile {
  display: none;
}

.privacy-article {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.privacy-section {
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(28, 24, 25, 0.04);
}

.privacy-section h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.privacy-section p {
  margin: 0 0 16px;
  color: #3f454f;
  font-size: 0.98rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.privacy-section ul,
.privacy-section ol {
  display: grid;
  margin: 0 0 20px;
  padding-left: 1.3rem;
  gap: 10px;
  color: #3f454f;
}

.privacy-section li {
  padding-left: 0.25rem;
  line-height: 1.65;
}

.privacy-section li::marker {
  color: var(--cazel-red);
}

.privacy-section .privacy-highlight {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(115, 1, 17, 0.16);
  border-left: 4px solid var(--cazel-red);
  border-radius: 12px;
  background: var(--soft-red);
  color: #2f2527;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section p br + br {
  display: none;
}

.privacy-section .document-end {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

.privacy-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.privacy-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.privacy-action:hover {
  border-color: var(--cazel-red);
  color: var(--cazel-red);
}

.privacy-action-primary {
  border-color: var(--cazel-red);
  background: var(--cazel-red);
  color: #fff;
}

.privacy-action-primary:hover {
  background: var(--cazel-red-dark);
  color: #fff;
}

.privacy-footer {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  background: var(--cazel-red-dark);
  color: #fff;
}

.privacy-footer img {
  display: block;
  width: 130px;
  height: auto;
  margin-bottom: 10px;
}

.privacy-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.privacy-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.privacy-footer a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .privacy-main {
    padding-top: 28px;
  }

  .privacy-layout {
    display: block;
    margin-top: 16px;
  }

  .privacy-sidebar {
    display: none;
  }

  .privacy-toc-mobile {
    display: block;
    margin: 18px 0 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
  }

  .privacy-toc-mobile summary {
    padding: 16px 18px;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
  }

  .privacy-toc-mobile ol {
    padding: 0 12px 14px;
  }

  .privacy-toc-mobile a {
    font-size: 0.84rem;
  }

  .privacy-article {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  .privacy-header-inner,
  .privacy-main {
    width: min(100% - 28px, 1180px);
  }

  .privacy-header-inner {
    min-height: 64px;
  }

  .privacy-brand img {
    width: 112px;
  }

  .privacy-back {
    padding: 7px;
    font-size: 0;
  }

  .privacy-back svg {
    width: 22px;
    height: 22px;
  }

  .privacy-main {
    padding: 18px 0 48px;
  }

  .privacy-hero {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .privacy-hero::after {
    top: -130px;
    right: -150px;
  }

  .privacy-hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .privacy-subtitle {
    margin-top: 14px;
    font-size: 0.96rem;
  }

  .privacy-meta {
    margin-top: 24px;
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .privacy-meta-item,
  .privacy-meta-item:last-child {
    grid-column: auto;
    padding: 15px 16px;
  }

  .privacy-section {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .privacy-section p {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .privacy-actions {
    display: grid;
  }

  .privacy-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 20px calc(30px + env(safe-area-inset-bottom));
  }

  .privacy-footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media print {
  .privacy-header,
  .privacy-sidebar,
  .privacy-toc-mobile,
  .privacy-footer,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .privacy-main {
    width: 100%;
    padding: 0;
  }

  .privacy-hero,
  .privacy-section {
    break-inside: avoid;
    padding: 20px 0;
    border: 0;
    box-shadow: none;
  }

  .privacy-hero::after {
    display: none;
  }

  .privacy-layout {
    display: block;
  }

  .privacy-section {
    break-inside: auto;
    border-top: 1px solid #bbb;
    border-radius: 0;
  }
}
