:root {
  color-scheme: light;
  --background: #f5f8fc;
  --surface: #ffffff;
  --surface-blue: #edf6ff;
  --surface-coral: #fff3ed;
  --ink: #24252b;
  --muted: #6f7580;
  --line: #dce6f0;
  --blue: #1976ed;
  --blue-deep: #075cae;
  --coral: #ee7d50;
  --green: #2f9360;
  --shadow: 0 12px 32px rgba(44, 83, 126, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 126px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a.is-current,
.site-nav a:hover {
  color: var(--blue-deep);
}

.page-shell {
  padding-block: 60px 88px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 32px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  display: block;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.page-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 750;
}

.page-hero__lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero__mascot {
  display: block;
  width: 150px;
  height: 180px;
  margin-inline: auto;
  object-fit: contain;
}

.content-section {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.4;
}

.content-section h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.content-section p,
.content-section ul,
.content-section ol {
  max-width: 760px;
}

.content-section ul,
.content-section ol {
  padding-left: 1.4em;
}

.content-section li + li {
  margin-top: 8px;
}

.meta-row {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-block: 28px;
  padding: 20px 22px;
  border: 1px solid #cfe2f4;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--surface-blue);
}

.notice--warm {
  border-color: #f2d7c8;
  border-left-color: var(--coral);
  background: var(--surface-coral);
}

.notice p {
  margin: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.support-card {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.support-card h2,
.support-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid #cfe2f4;
  border-radius: 8px;
  background: var(--surface-blue);
}

.contact-band h2,
.contact-band p {
  margin: 0;
}

.contact-band p {
  margin-top: 6px;
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button-link:hover {
  background: var(--blue-deep);
  color: #ffffff;
}

.delete-steps {
  counter-reset: delete-step;
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.delete-steps li {
  position: relative;
  min-height: 58px;
  padding: 15px 18px 15px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.delete-steps li::before {
  counter-increment: delete-step;
  content: counter(delete-step);
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

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

.site-footer__inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header__inner {
    min-height: 64px;
  }

  .brand__logo {
    width: 104px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .site-nav a:nth-child(3) {
    display: none;
  }

  .page-shell {
    padding-block: 38px 64px;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    padding-bottom: 30px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero__lead {
    font-size: 16px;
  }

  .page-hero__mascot {
    width: 104px;
    height: 132px;
  }

  .content-section {
    padding-block: 30px;
  }

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

  .contact-band {
    grid-template-columns: 1fr;
  }

  .button-link {
    width: 100%;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

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