/* ==========================================================================
   Scenic Platforms — shared design system
   White & blue palette. Loaded by index.html and privacy.html.
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --surface: #F7F8FA;
  --line: #E8E9EC;
  --line-soft: #F0F1F4;
  --ink: #111114;
  --body: #3C3E44;
  --mut: #6E7076;
  --blue: #3478F6;
  --blue-deep: #1D5FD0;
  --blue-pale: #9BBAF8;
  --blue-wash: rgba(52, 120, 246, 0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }

a { color: var(--blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--blue-deep); }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
}
.brand span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--mut);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--blue); }

/* PAGE HEADER */
.page-header {
  text-align: center;
  padding: 100px 40px 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(52,120,246,0.10) 0%, rgba(52,120,246,0) 62%);
  border-radius: 50%;
  pointer-events: none;
}
.page-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}
.page-label::before,
.page-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--blue-pale);
  vertical-align: middle;
}
.page-label::before { margin-right: 12px; }
.page-label::after { margin-left: 12px; }
h1.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
}
h1.page-title em {
  font-style: italic;
  color: var(--blue);
}
.page-subtitle {
  font-size: 16px;
  color: var(--mut);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.last-updated {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 16px;
  background: var(--blue-wash);
  border: 1px solid rgba(52, 120, 246, 0.35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 1px;
  position: relative;
}

/* TABLE OF CONTENTS */
.toc-wrap {
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 0 40px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.toc-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 20px;
  text-align: center;
}
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--body);
  border-bottom: 1px solid var(--line);
}
.toc a:last-child { border-bottom: none; }
.toc a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.toc a:hover { color: var(--blue); }

/* MAIN CONTENT */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px 120px;
}
.policy-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.policy-section:last-child { border-bottom: none; }
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--blue-pale);
  display: block;
  margin-bottom: 10px;
}
h2.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 24px;
}
h2.section-heading em {
  font-style: italic;
  color: var(--blue);
}
h3.subsection {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.policy-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 16px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section strong {
  color: var(--blue-deep);
  font-weight: 600;
}
.policy-list {
  list-style: none;
  margin: 16px 0 24px;
}
.policy-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.policy-list li:last-child { border-bottom: none; }
.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.policy-list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* CALLOUT */
.callout-box {
  background: var(--blue-wash);
  border: 1px solid rgba(52, 120, 246, 0.22);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout-box .callout-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.callout-box p {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--body);
}

/* PRICING */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.price-card .label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card .period {
  font-size: 13px;
  color: var(--mut);
}

/* STEP PATH */
.step-path {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  letter-spacing: 1px;
}
.step-path .step { color: var(--body); }
.step-path .step.final { color: var(--blue); font-weight: 600; }
.step-path .arrow { color: var(--blue-pale); }

/* SECTION DIVIDER */
.divider-section {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}
.divider-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider-label {
  display: inline-block;
  background: var(--paper);
  padding: 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

/* FOOTER */
footer {
  background: var(--surface);
  padding: 60px 40px 40px;
  border-top: 1px solid var(--line);
}
.footer-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-brand span { color: var(--blue); }
.footer-tagline {
  font-size: 14px;
  color: var(--mut);
  max-width: 480px;
  margin: 0 auto 32px;
}
.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-links a {
  color: var(--body);
  font-size: 13px;
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mut);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .page-header { padding: 60px 20px 40px; }
  .toc-wrap { padding: 0 20px; margin-bottom: 40px; }
  .toc { padding: 24px; }
  .toc-grid { grid-template-columns: 1fr; gap: 0; }
  main { padding: 0 20px 80px; }
  .policy-section { padding: 36px 0; }
  .price-grid { grid-template-columns: 1fr; }
  .step-path { padding: 16px 18px; gap: 10px; }
  footer { padding: 40px 20px 32px; }
  .footer-links { gap: 20px; }
}
