@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --brand: #ef6c18;
  --brand-dark: #c64a28;
  --brand-soft: #fff1e8;
  --ink: #182028;
  --muted: #66727f;
  --line: #e7ebef;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --page: #f2f4f6;
  --shadow: 0 18px 48px rgba(28, 38, 48, .09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 108, 24, .10), transparent 25rem),
    linear-gradient(180deg, #f8f9fa 0%, var(--page) 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.74;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--brand);
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 4px;
  background: transparent;
}

.reading-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  box-shadow: 0 0 12px rgba(239, 108, 24, .35);
}

.policy-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.policy-heading {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 38px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(239, 108, 24, .16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,243,.97)),
    var(--surface);
  box-shadow: var(--shadow);
}

.policy-heading::after {
  content: "";
  position: absolute;
  width: 310px;
  aspect-ratio: 1;
  right: -150px;
  bottom: -200px;
  border: 36px solid rgba(239, 108, 24, .08);
  transform: rotate(18deg);
  border-radius: 50%;
}

.brand-logo {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
}

.policy-heading__copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.18;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  letter-spacing: -.045em;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  letter-spacing: -.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

p {
  margin: 0 0 1.1rem;
}

.lead {
  max-width: 840px;
  margin-bottom: 0;
  color: #4e5a66;
  font-size: 1.06rem;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin: 22px 0 0;
  padding: 22px 24px;
  border: 1px solid #f6c39d;
  border-radius: var(--radius-lg);
  background: #fff7f1;
}

.notice__icon {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.notice p {
  margin: 0;
  color: #4f4037;
}

.policy-section {
  margin-top: 22px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 34px rgba(28, 38, 48, .05);
}

.section-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand));
  box-shadow: 0 8px 18px rgba(239, 108, 24, .22);
  font-family: "Manrope", sans-serif;
  font-size: .84rem;
  font-weight: 800;
}

.definition-grid,
.tracking-grid,
.security-grid {
  display: grid;
  gap: 14px;
}

.definition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.definition-card,
.tracking-card,
.security-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #fcfcfd);
}

.definition-card h3 {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.definition-card p,
.tracking-card p,
.security-card p {
  margin-bottom: 0;
  color: #53606c;
  font-size: .96rem;
}

.data-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.data-chips span {
  padding: 9px 13px;
  border: 1px solid #f1c7aa;
  border-radius: 999px;
  color: #7b3d16;
  background: #fff8f3;
  font-size: .9rem;
  font-weight: 700;
}

.highlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid #f3c8aa;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff9f5, #fff2e9);
}

.highlight-card.compact {
  align-items: center;
}

.highlight-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  font-size: 1.1rem;
  font-weight: 800;
}

.highlight-card p:last-child {
  margin-bottom: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfcfd;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: .78rem;
  font-weight: 900;
}

.security-section {
  border-color: rgba(239, 108, 24, .22);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 108, 24, .07), transparent 28rem),
    #fff;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.security-card {
  position: relative;
  overflow: hidden;
}

.security-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand));
  font-size: .78rem;
  font-weight: 800;
}

.legal-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  color: #5d4b3d;
  background: #fff6ef;
}

.tracking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tracking-card {
  position: relative;
}

.tracking-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(125deg, #9f3722 0%, #d9531d 48%, #f07b20 100%);
  box-shadow: var(--shadow);
}

.contact-panel::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -180px;
  top: -250px;
  border: 44px solid rgba(255,255,255,.08);
  transform: rotate(16deg);
  border-radius: 50%;
}

.contact-panel__brand,
.contact-panel__content {
  position: relative;
  z-index: 1;
}

.contact-panel__brand {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
}

.contact-panel__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-panel .eyebrow,
.contact-panel h2 {
  color: #fff;
}

.contact-panel p {
  color: rgba(255,255,255,.86);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.contact-list a,
.contact-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.contact-list a:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255,255,255,.14);
}

.contact-label {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.68);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: .92rem;
}

.policy-footer {
  padding: 24px 10px 0;
  color: #7b858f;
  text-align: center;
  font-size: .86rem;
}

.policy-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(198, 74, 40, .28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.back-to-top:hover {
  background: var(--brand-dark);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .back-to-top,
  .contact-list a {
    transition: none;
  }
}

@media (max-width: 860px) {
  .policy-heading {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    max-width: 150px;
  }

  .definition-grid,
  .tracking-grid,
  .security-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel__brand {
    width: 180px;
  }
}

@media (max-width: 560px) {
  .policy-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 18px;
  }

  .policy-heading,
  .policy-section,
  .contact-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .policy-heading {
    gap: 24px;
  }

  .notice {
    grid-template-columns: 1fr;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-number {
    width: 42px;
    height: 42px;
  }

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm;
  }

  body {
    background: #fff;
  }

  .reading-progress,
  .back-to-top {
    display: none !important;
  }

  .policy-shell {
    width: 100%;
    padding: 0;
  }

  .policy-heading,
  .policy-section,
  .contact-panel,
  .notice {
    box-shadow: none;
    break-inside: avoid;
  }

  .policy-heading {
    border: 1px solid #ddd;
  }

  .policy-section {
    margin-top: 12px;
    border: 1px solid #ddd;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
