@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #102a2c;
  --ink-soft: #315255;
  --paper: #f5f1e8;
  --paper-deep: #e9e3d7;
  --white: #fffdf8;
  --mint: #b9f0d2;
  --mint-strong: #3cbb84;
  --lime: #d8f088;
  --line: rgba(16, 42, 44, 0.16);
  --shadow: 0 24px 60px rgba(16, 42, 44, 0.10);
  --radius: 26px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

img {
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand-copy {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper-deep);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  position: relative;
  padding: 110px 0 92px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 62px;
  right: 4%;
  width: 310px;
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 36%, var(--lime) 0 7%, transparent 8%),
    radial-gradient(circle at 68% 66%, var(--mint) 0 18%, transparent 19%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(16, 42, 44, 0.08) 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(16, 42, 44, 0.08) 40px);
  transform: rotate(8deg);
}

.eyebrow,
.kicker,
.document-type {
  margin: 0 0 18px;
  color: #247153;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: #247153;
}

.hero-lede {
  max-width: 730px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: #1c4447;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.35);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 100px;
}

.document-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(16, 42, 44, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.document-card:nth-child(2) {
  background: var(--mint);
}

.document-card:nth-child(3) {
  color: var(--white);
  background: var(--ink);
}

.card-number {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.65;
}

.document-card h2 {
  margin: 60px 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.document-card p {
  margin: 0 0 28px;
  line-height: 1.55;
  opacity: 0.78;
}

.text-link {
  margin-top: auto;
  font-weight: 800;
}

.service-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  padding: 74px 0 110px;
  border-top: 1px solid var(--line);
}

.service-note h2,
.section-heading h2,
.detail-panel h2,
.info-band h2,
.contact-card h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.service-note > p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.site-footer {
  padding: 60px 0;
  color: rgba(255, 253, 248, 0.76);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 60px;
  align-items: end;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-contact span,
.footer-date {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.footer-date {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Legal documents */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(60px, 9vw, 130px);
  padding-top: 88px;
  padding-bottom: 120px;
}

.legal-aside {
  position: sticky;
  top: 135px;
  align-self: start;
}

.legal-aside h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.updated {
  margin: 30px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.updated strong {
  color: var(--ink);
}

.aside-callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 270px;
  padding: 18px 20px;
  background: var(--mint);
  border-radius: 16px;
  font-size: 14px;
}

.aside-callout span {
  font-weight: 600;
}

.aside-callout a {
  font-weight: 800;
}

.legal-content {
  min-width: 0;
}

.legal-content .lead {
  margin: 0 0 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.legal-content section {
  scroll-margin-top: 130px;
  margin-bottom: 54px;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-content h2 span {
  color: #2d8d66;
}

.legal-content p,
.legal-content ul {
  margin-top: 0;
  color: var(--ink-soft);
}

.legal-content li + li {
  margin-top: 10px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a,
.steps-grid a {
  color: #176b4d;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.notice {
  margin: 28px 0;
  padding: 22px 24px;
  color: var(--ink-soft);
  background: #e4eec0;
  border-left: 4px solid #7d9831;
  border-radius: 0 14px 14px 0;
}

.next-document {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 78px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.next-document > span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.next-document a {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.compact-footer {
  padding: 36px 0;
}

.compact-footer .footer-inner {
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Deletion page */
.deletion-hero {
  padding: 90px 0 78px;
  text-align: center;
}

.deletion-hero .document-type {
  display: inline-block;
  padding: 7px 12px;
  background: var(--mint);
  border-radius: 999px;
}

.deletion-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(50px, 8vw, 90px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.deletion-hero p:not(.document-type) {
  max-width: 720px;
  margin: 26px auto 30px;
  color: var(--ink-soft);
  font-size: 21px;
}

.steps-section {
  padding: 76px 0 90px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 670px;
  margin-bottom: 46px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps-grid li {
  min-width: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(16, 42, 44, 0.08);
  border-radius: 22px;
}

.step-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--mint);
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.steps-grid h3 {
  margin: 40px 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.steps-grid p {
  color: var(--ink-soft);
}

.deletion-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 90px;
}

.detail-panel {
  padding: clamp(30px, 5vw, 52px);
  background: var(--mint);
  border-radius: var(--radius);
}

.muted-panel {
  background: var(--paper-deep);
}

.detail-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 40px);
}

.detail-panel p,
.detail-panel li {
  color: var(--ink-soft);
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li + li {
  margin-top: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #176b4d;
  font-weight: 900;
}

.info-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 74px 0 90px;
  border-top: 1px solid var(--line);
}

.info-band-copy p {
  margin-top: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 100px;
  padding: clamp(32px, 6vw, 64px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.contact-card .kicker {
  color: var(--mint);
}

.contact-card h2 {
  max-width: 670px;
}

.contact-card p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.72);
}

.contact-card .button {
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .document-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .document-card {
    min-height: 280px;
  }

  .document-card h2 {
    margin-top: 38px;
  }

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

  .legal-aside {
    position: static;
  }

  .aside-callout {
    max-width: none;
  }

  .deletion-details,
  .info-band,
  .service-note {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-footer .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  .hero {
    padding: 70px 0 66px;
  }

  .hero::after {
    top: 170px;
    right: -150px;
    opacity: 0.55;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .document-grid {
    padding-bottom: 72px;
  }

  .document-card,
  .steps-grid li {
    padding: 25px;
  }

  .service-note {
    padding: 58px 0 76px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-date {
    grid-column: auto;
  }

  .legal-layout {
    padding-top: 54px;
    padding-bottom: 82px;
  }

  .legal-aside h1 {
    font-size: 48px;
  }

  .legal-content .lead {
    margin-bottom: 42px;
    padding-bottom: 38px;
  }

  .legal-content ul {
    padding-left: 22px;
  }

  .deletion-hero {
    padding: 62px 0;
  }

  .deletion-hero h1 {
    font-size: 50px;
  }

  .deletion-hero .button {
    width: 100%;
  }

  .steps-section {
    padding: 58px 0 70px;
  }

  .deletion-details {
    padding-bottom: 70px;
  }

  .info-band {
    padding: 58px 0 70px;
  }

  .contact-card {
    margin-bottom: 70px;
  }

  .contact-card .button {
    width: 100%;
    font-size: 14px;
  }
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .aside-callout,
  .next-document,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .legal-layout {
    display: block;
    width: auto;
    padding: 0;
  }

  .legal-aside {
    margin-bottom: 32px;
  }

  .legal-content p,
  .legal-content ul {
    color: #111;
  }
}
