:root {
  color: #192120;
  background: #f9f8f6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --canvas: #f9f8f6;
  --header: #e9f3f0;
  --surface: #fffefc;
  --surface-subtle: #f2f4f1;
  --ink: #192120;
  --ink-secondary: #59615f;
  --border: #d9deda;
  --coral: #ef5d3b;
  --coral-text: #c74731;
  --mint: #41a08d;
  --mint-text: #147a64;
  --mint-tint: #e7f3ef;
  --warning-tint: #fff3e8;
  --warning-text: #8f491f;
  --focus: rgba(20, 122, 100, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

a {
  color: var(--mint-text);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-180%);
}

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

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

.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 40px), 1080px);
  margin: 0 auto;
}

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

.wordmark {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-nav a {
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

.draft-notice {
  border-bottom: 1px solid #eed9c7;
  background: var(--warning-tint);
  color: var(--warning-text);
}

.draft-notice p {
  width: min(calc(100% - 40px), 1080px);
  margin: 0 auto;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
}

.page-shell {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 0 88px;
}

.hero {
  margin-bottom: 56px;
}

.accent-rule {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--coral);
}

.accent-rule--mint {
  background: var(--mint);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    sans-serif;
  overflow-wrap: break-word;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(40px, 8vw, 62px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lede {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--ink-secondary);
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.6;
}

.meta {
  margin: 18px 0 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.content-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.content-section h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.content-section h3 {
  margin: 26px 0 10px;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
}

.content-section p,
.content-section li {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.content-section p {
  margin: 12px 0 0;
}

.content-section ul,
.content-section ol {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

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

.callout {
  margin: 26px 0 0;
  padding: 22px 24px;
  border: 1px solid #cfe2dc;
  border-radius: 18px;
  background: var(--mint-tint);
}

.callout p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-weight: 650;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  display: flex;
  min-height: 164px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.resource-card:hover {
  border-color: #b8c8c2;
  box-shadow: 0 12px 32px rgba(25, 33, 32, 0.05);
}

.resource-card strong {
  font-size: 20px;
}

.resource-card span {
  color: var(--ink-secondary);
  line-height: 1.5;
}

.support-link {
  display: inline-flex;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}

.deletion-panel {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.deletion-panel h2 {
  margin-top: 0;
}

.deletion-panel label {
  display: block;
  margin-top: 18px;
  font-weight: 650;
}

.deletion-panel input {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.deletion-panel button {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font: inherit;
  font-weight: 700;
}

.deletion-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.deletion-panel .secondary-action {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

.deletion-panel .text-action {
  width: auto;
  min-height: 44px;
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mint-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.deletion-panel .danger-action {
  background: #a53b43;
}

.form-divider {
  display: flex;
  margin: 24px 0 4px;
  color: var(--ink-secondary);
  align-items: center;
  gap: 12px;
  font-size: 13px;
  text-align: center;
}

.form-divider::before,
.form-divider::after {
  height: 1px;
  background: var(--border);
  content: "";
  flex: 1;
}

.confirmation-check {
  display: grid !important;
  margin-top: 22px !important;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--ink-secondary);
  font-weight: 400 !important;
  line-height: 1.55;
}

.confirmation-check input {
  width: 22px;
  min-height: 22px;
  margin: 2px 0 0;
  accent-color: var(--coral-text);
}

.status-badge {
  display: inline-flex;
  margin-top: 0 !important;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: var(--mint-text) !important;
  font-size: 14px !important;
  font-weight: 700;
}

.field-help,
.form-status {
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.form-status[role="alert"] {
  color: #9f343c;
}

.form-status:empty {
  display: none;
}

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

.site-footer__inner {
  display: flex;
  padding: 28px 0;
  color: var(--ink-secondary);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

@media (max-width: 720px) {
  .site-header__inner {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

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