:root {
  --orange: #ff5a1f;
  --orange-hover: #e9470c;
  --orange-soft: #fff0e9;
  --orange-wash: #fff8f4;
  --orange-border: #ffd6c4;
  --ink: #111827;
  --secondary: #4b5563;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #faf9f8;
  --blue-soft: #eff6ff;
  --blue-border: #cce3ff;
  --blue-text: #1d4ed8;
  --green-soft: #ecfdf5;
  --green-border: #a7f3d0;
  --green-text: #047857;
  --yellow-soft: #fffbeb;
  --yellow-border: #fde68a;
  --yellow-text: #b45309;
  --shell-max: 1200px;
  --header-height: 72px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #fbfbfa;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.shell {
  width: min(calc(100% - 48px), var(--shell-max));
  margin-inline: auto;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-woo {
  color: var(--orange);
}

.brand-foo {
  color: var(--orange);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb-wrap {
  padding: 20px 0 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--secondary);
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   PAGE LAYOUT: SIDEBAR + MAIN CONTENT
   ========================================================================== */
.page-container {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */
/* Mirrors .privacy-toc in privacy-policy.css so both legal pages match. */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(88, 44, 24, 0.07);
}

.sidebar-link {
  display: grid;
  min-height: 42px;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  padding: 5px 9px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.35;
  transition: background 160ms ease, color 160ms ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--orange-soft);
  color: var(--orange-hover);
}

.sidebar-num {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #fff4ee;
  color: var(--orange);
  font-size: 11px;
  font-weight: 750;
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */
.content-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- Hero Section --- */
.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  padding-bottom: 8px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  background-color: var(--orange-soft);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.page-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.lead-text {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
}

.pill-orange {
  background-color: var(--orange-soft);
  color: var(--orange-hover);
}

.pill-green {
  background-color: var(--green-soft);
  color: var(--green-text);
  border: 1px solid var(--green-border);
}

.pill-neutral {
  background-color: #f3f4f6;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.pill-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* --- Hero Illustration --- */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.illustration-backdrop {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff1eb 0%, #fff8f5 70%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.illustration-graphics {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.id-card-svg {
  width: 110px;
  height: 140px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.06));
}

.trash-can-svg {
  width: 64px;
  height: 80px;
  margin-left: -20px;
  margin-bottom: 4px;
  filter: drop-shadow(0 8px 16px rgba(255, 90, 31, 0.2));
}

.hero-handwritten {
  position: absolute;
  right: -24px;
  top: 10px;
  z-index: 2;
  text-align: right;
  font-family: "Caveat", "Dancing Script", cursive, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.25;
  transform: rotate(4deg);
  pointer-events: none;
}

.handwritten-arrow {
  display: block;
  margin-left: auto;
  margin-top: 4px;
  width: 48px;
  height: 38px;
  color: var(--orange);
}

/* --- Content Cards --- */
.card-section {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 28px;
}

/* --- Section 1: Stepper 5 Steps --- */
.steps-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 28px;
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background-color 0.15s ease;
}

.step-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.step-line {
  position: absolute;
  left: 44px;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background-color: #e5e7eb;
  z-index: 1;
}

.step-item:last-child .step-line {
  display: none;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-desc {
  font-size: 12.5px;
  color: var(--secondary);
  line-height: 1.45;
}

/* Step 5 Highlight */
.step-item.step-highlight {
  background-color: #fff6f2;
  border-color: #ffdfd0;
}

.step-item.step-highlight .step-num {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.step-item.step-highlight .step-title {
  color: var(--orange);
}

/* Stepper Notice Box */
.stepper-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--blue-soft);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: #1e3a8a;
  line-height: 1.55;
}

.stepper-notice svg {
  width: 20px;
  height: 20px;
  color: var(--blue-text);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Section 2: Data Handling Comparison --- */
.data-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.data-box {
  background-color: #fbfbfa;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.data-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.data-box-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.data-box-icon svg {
  width: 22px;
  height: 22px;
}

.data-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.data-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.5;
}

.data-list li svg {
  width: 16px;
  height: 16px;
  color: var(--green-text);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Section 3: No Access Support --- */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.support-copy h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.support-copy p {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.6;
}

.support-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.support-contact-item a:hover {
  color: var(--orange);
}

.support-contact-item svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
  flex-shrink: 0;
}

.support-alert-box {
  background-color: var(--orange-wash);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.alert-header svg {
  width: 16px;
  height: 16px;
}

.alert-text {
  font-size: 12.5px;
  color: var(--secondary);
  line-height: 1.5;
}

/* --- Section 4: English Summary Banner --- */
.english-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #fbfcfd;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.english-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.english-summary-left svg {
  width: 18px;
  height: 18px;
  color: #2563eb;
}

.english-summary-body {
  font-size: 12.5px;
  color: var(--secondary);
  line-height: 1.5;
  flex: 1;
}

.english-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap 0.15s ease;
}

.english-summary-link:hover {
  gap: 7px;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid #ebe8e5;
  background: #fff;
}

.footer-inner {
  display: grid;
  width: min(calc(100% - 40px), 1180px);
  min-height: 112px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--orange);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-copy {
  justify-self: end;
  color: var(--secondary);
  font-size: 10px;
}

@media (max-width: 980px) {
  .footer-inner {
    padding: 28px 0;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN: TABLET & MOBILE
   ========================================================================== */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 150px;
  }

  .page-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sidebar {
    z-index: 12;
    top: var(--header-height);
    min-width: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
    padding: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar-link {
    min-width: max-content;
    grid-template-columns: 28px auto;
  }

  .steps-stepper {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .step-line {
    display: none;
  }

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

  .support-alert-box {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu drawer */
  .mobile-menu-drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 49;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-menu-drawer.open {
    display: flex;
  }

  .mobile-menu-drawer a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 0;
  }

  .mobile-menu-drawer .nav-cta {
    margin-top: 8px;
    justify-content: center;
  }

  .hero-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-illustration {
    order: -1;
    margin-bottom: 12px;
  }

  .page-title {
    font-size: 26px;
  }

  .steps-stepper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
  }

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

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

  .support-alert-box {
    grid-column: span 1;
  }

  .english-summary-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

}

@media (max-width: 680px) {
  .footer-inner {
    width: min(calc(100% - 28px), 1180px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand {
    font-size: 20px;
  }

  .footer-copy {
    justify-self: start;
  }
}
