:root {
  --ink: #172019;
  --muted: #657068;
  --line: #dedfd9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --accent: #d86132;
  --accent-dark: #a83f1c;
  --accent-soft: #f7e7de;
  --green-soft: #e8f0e8;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid rgba(216, 97, 50, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-link {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-number {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 760px;
  margin: 38px 0 0;
  color: #3d473f;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.updated {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.layout {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
  padding: 90px 0 120px;
}

.contents {
  position: sticky;
  top: 30px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.contents p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contents a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.contents a:hover {
  color: var(--accent-dark);
}

.policy section {
  scroll-margin-top: 30px;
  padding: 0 0 72px;
  margin: 0 0 72px;
  border-bottom: 1px solid var(--line);
}

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

h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.policy p {
  margin: 0 0 22px;
}

.policy ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.policy ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
}

.policy ul li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.deletion-section {
  padding: 54px !important;
  border: 0 !important;
  border-radius: 28px;
  background: var(--green-soft);
}

.steps {
  margin: 38px 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(23, 32, 25, 0.14);
}

.steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: #465149;
  font-size: 15px;
}

.notice {
  margin: 34px 0;
  padding: 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.notice p {
  margin: 0;
  font-size: 15px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.contact-card {
  padding: 48px !important;
  border: 0 !important;
  border-radius: 28px;
  color: var(--white);
  background: var(--ink);
}

.contact-card .section-number,
.contact-card a {
  color: #ffad86;
}

.contact-card p {
  color: #d7ddd8;
}

footer {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .hero {
    padding: 76px 0 64px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 54px;
  }

  .contents {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contents p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .hero,
  .layout,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .contact-link {
    font-size: 14px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .layout {
    padding-bottom: 70px;
  }

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

  .policy section {
    padding-bottom: 52px;
    margin-bottom: 52px;
  }

  .deletion-section,
  .contact-card {
    padding: 30px 22px !important;
    border-radius: 22px;
  }

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

  footer {
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  .primary-button {
    transition: none;
  }
}
