:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --text: #17211a;
  --muted: #5c685f;
  --brand: #205b36;
  --brand-strong: #17462a;
  --brand-soft: #e9f3e9;
  --line: #dbe3da;
  --focus: #ffb000;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: 3px;
}

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

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand-row {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

.icon-link {
  border-radius: 13px;
}

.brand,
.brand-note {
  margin: 0;
  letter-spacing: 0;
}

.brand {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--brand-strong);
}

.brand-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.policy {
  padding: 56px 0 72px;
}

.title-block {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.08;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  line-height: 1.25;
}

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

p {
  margin: 0 0 16px;
}

.intro {
  max-width: 720px;
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 1.15rem;
}

.updated,
.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contents a {
  font-size: 0.9rem;
}

section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

ul,
ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.contact {
  border-bottom: 0;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

.deletion-page {
  min-height: calc(100vh - 170px);
}

.steps {
  padding-left: 26px;
}

.back-link {
  margin-top: 32px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

  .shell {
    width: min(100% - 24px, 900px);
  }

  .policy {
    padding: 36px 0 52px;
  }

  .contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111712;
    --surface: #182019;
    --text: #f2f6f1;
    --muted: #b7c2b8;
    --brand: #87c995;
    --brand-strong: #a8ddb0;
    --brand-soft: #203626;
    --line: #334337;
  }
}
