:root {
  --primary: #4caf50;
  --primary-dark: #409544;
  --primary-soft: #edf8ee;
  --blue: #097afa;
  --text: #171a1f;
  --muted: #656d76;
  --border: #e7e9ed;
  --surface: #f7f9fb;
  --white: #ffffff;
  --danger: #c62828;
  --danger-soft: #fff5f5;
  --danger-border: #f0cccc;
  --max-width: 1120px;
  --content-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(231, 233, 237, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-name {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

nav a {
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text);
}

.header-download {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.header-download:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 58px;
  background:
    radial-gradient(
      circle at top right,
      rgba(76, 175, 80, 0.11),
      transparent 34%
    ),
    var(--white);
}

.page-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-label {
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid #d8ecda;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 750;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.dates {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

.danger-notice {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--danger-border);
  border-left: 4px solid var(--danger);
  border-radius: 14px;
  background: var(--danger-soft);
  font-size: 15px;
}

.danger-notice strong {
  color: var(--danger);
}

.policy-layout {
  padding: 42px 0 96px;
  background: var(--surface);
}

.policy-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.table-of-contents {
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
}

.table-of-contents summary {
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
}

.table-of-contents summary::-webkit-details-marker {
  display: none;
}

.table-of-contents summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 20px;
}

.table-of-contents[open] summary::after {
  content: "−";
}

.toc-content {
  padding: 0 22px 22px;
  border-top: 1px solid var(--border);
}

.toc-links {
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 24px;
}

.toc-links a {
  color: var(--muted);
  font-size: 14px;
}

.toc-links a:hover {
  color: var(--blue);
}

.policy-section {
  margin-bottom: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  scroll-margin-top: 100px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.policy-section h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.policy-section p {
  margin: 0 0 16px;
  color: #343a40;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-section li {
  margin-bottom: 10px;
  color: #343a40;
}

.policy-section a,
.contact-card a {
  color: var(--blue);
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.contact-card p {
  margin-bottom: 7px;
}

.delete-hero {
  padding-bottom: 72px;
}

.delete-content {
  padding: 40px 0 96px;
  background: var(--surface);
}

.delete-inner {
  max-width: 780px;
  margin: 0 auto;
}

.primary-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
}

.primary-card + .primary-card {
  margin-top: 18px;
}

.primary-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.primary-card p {
  margin: 0 0 15px;
  color: #343a40;
}

.primary-card p:last-child {
  margin-bottom: 0;
}

.steps {
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.step {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 3px;
}

.step span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.email-button {
  margin-top: 22px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 15px;
  font-weight: 700;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-main {
  padding: 44px 0 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-description {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 34px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--blue);
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .footer-main {
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 30px, var(--max-width));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 21px;
  }

  .header-download {
    min-height: 40px;
    padding: 0 15px;
  }

  .page-hero {
    padding: 68px 0 44px;
  }

  .policy-layout,
  .delete-content {
    padding: 28px 0 70px;
  }

  .policy-section,
  .primary-card {
    padding: 22px;
    border-radius: 18px;
  }

  .toc-links {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}