:root {
  color-scheme: light;
  --background: #f6f7f2;
  --surface: #ffffff;
  --surface-soft: #eaf2ed;
  --ink: #172b28;
  --muted: #46615c;
  --accent: #116c5e;
  --accent-dark: #0d5148;
  --line: #d8e1db;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #e6a84f; outline-offset: 4px; border-radius: 3px; }

.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 242, 0.98);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -0.025em; }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 13px; letter-spacing: -0.04em; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 9px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover { background: var(--surface-soft); color: var(--ink); }
.site-nav a[aria-current="page"] { background: #dcebe2; color: var(--accent-dark); }

.hero { padding-block: 76px 54px; }
.eyebrow, .section-number, .contents-title { color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.eyebrow-line { width: 28px; height: 2px; background: var(--accent); }
h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(48px, 7vw, 76px); line-height: 1.05; letter-spacing: -0.065em; }
.lead { max-width: 760px; margin-bottom: 24px; color: var(--muted); font-size: clamp(17px, 2.1vw, 21px); line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; color: var(--muted); font-size: 13px; }

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}
.overview-item { display: flex; gap: 17px; min-height: 150px; padding: 26px 24px; background: var(--surface); }
.overview-icon { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #bdd7c9; border-radius: 50%; color: var(--accent-dark); font-size: 11px; font-weight: 800; }
.overview strong { display: block; margin: 0 0 4px; font-size: 16px; }
.overview p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.content-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: clamp(52px, 7vw, 120px); align-items: start; padding-block: 78px 112px; }
.contents { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 13px; }
.contents-title { margin-bottom: 8px; }
.contents a { width: fit-content; color: var(--muted); font-size: 14px; text-decoration: none; }
.contents a:hover { color: var(--accent-dark); text-decoration: underline; }
.policy-copy section { padding-top: 31px; margin-bottom: 49px; border-top: 1px solid var(--line); scroll-margin-top: 22px; }
.section-number { margin-bottom: 13px; }
h2 { margin-bottom: 16px; font-size: clamp(25px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.04em; }
.policy-copy p:not(.section-number), .deletion-details p:not(.section-number), .deletion-card p:not(.section-number) { color: var(--muted); font-size: 16px; }
.policy-copy p:last-child, .deletion-details p:last-child { margin-bottom: 0; }
.policy-copy a, .deletion-details a { font-weight: 650; }
.policy-copy .contact-panel, .deletion-details .contact-panel { padding: 32px; border: 1px solid #c9dfd1; border-radius: 20px; background: var(--surface-soft); }
.policy-copy .contact-panel { margin-bottom: 0; }

.deletion-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 70px); align-items: start; padding-bottom: 112px; }
.deletion-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 15px 45px rgba(18, 55, 46, 0.05); }
.steps { display: grid; gap: 0; margin: 30px 0 25px; padding: 0; list-style: none; }
.steps li { display: flex; gap: 18px; align-items: center; min-height: 80px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 17px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { display: grid; flex: 0 0 auto; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; }
.card-note { margin: 0; }
.deletion-details > section { padding-top: 24px; margin-bottom: 37px; border-top: 1px solid var(--line); }
.deletion-details > .contact-panel { border: 1px solid #c9dfd1; }
.text-link { display: inline-block; margin-top: 18px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 91px; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--accent-dark); text-decoration: underline; }

@media (max-width: 820px) {
  .overview { grid-template-columns: 1fr; }
  .overview-item { min-height: auto; }
  .content-layout, .deletion-layout { grid-template-columns: 1fr; gap: 36px; }
  .contents { position: static; display: flex; flex-direction: row; flex-wrap: wrap; column-gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .contents-title { flex-basis: 100%; margin-bottom: 0; }
}

@media (max-width: 580px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-block: 14px; }
  .site-nav { gap: 2px; margin-left: -12px; }
  .site-nav a { padding-inline: 12px; }
  .hero { padding-block: 55px 36px; }
  h1 { font-size: 49px; }
  .content-layout { padding-block: 56px 75px; }
  .deletion-layout { padding-bottom: 75px; }
  .policy-copy .contact-panel, .deletion-details .contact-panel { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
