:root {
  color-scheme: light;
  --background: #f4f0e7;
  --background-alt: #fbf8f3;
  --surface: rgba(252, 250, 246, 0.88);
  --surface-solid: #fcfaf6;
  --ink: #2e281f;
  --ink-soft: #5c5344;
  --ink-muted: #847a69;
  --line: #d9d1c5;
  --amber: #c88a2b;
  --amber-dark: #9b6624;
  --moss: #879a73;
  --cobalt: #405ca0;
  --ivory: #efe7da;
  --shadow: 0 22px 70px rgba(47, 59, 49, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --content: 1180px;
  --article: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 4%, rgba(200, 138, 43, 0.12), transparent 34rem),
    radial-gradient(circle at 90% 22%, rgba(64, 92, 160, 0.09), transparent 30rem),
    radial-gradient(circle at 65% 82%, rgba(135, 154, 115, 0.12), transparent 34rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--amber-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(64, 92, 160, 0.38);
  outline-offset: 4px;
  border-radius: 8px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--content));
  margin: 20px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(252, 250, 246, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(47, 59, 49, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(234, 223, 207, 0.62);
}

.page {
  width: min(calc(100% - 32px), var(--content));
  margin: 38px auto 72px;
}

.hero {
  min-height: 590px;
  padding: clamp(34px, 7vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(251, 248, 243, 0.98), rgba(241, 230, 210, 0.86) 42%, rgba(230, 235, 221, 0.78) 72%, rgba(238, 240, 245, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: pretty;
}

h1 {
  margin-bottom: 22px;
  max-width: 13ch;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 1.55;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions.hero-support-actions {
  margin-top: 26px;
}

.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(46, 40, 31, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  color: #fff;
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(46, 40, 31, 0.14);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--ink);
  background: #fff;
}

.phone-shot {
  width: min(100%, 330px);
  max-height: 530px;
  margin: 0 auto -128px;
  object-fit: cover;
  object-position: top;
  border: 10px solid rgba(255, 255, 255, 0.76);
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(47, 59, 49, 0.2);
}

.link-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  min-height: 190px;
  padding: 26px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 38px rgba(47, 59, 49, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(47, 59, 49, 0.11);
}

.link-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.article-hero {
  padding: clamp(34px, 6vw, 68px);
  background: linear-gradient(135deg, rgba(251, 248, 243, 0.97), rgba(239, 231, 218, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-hero h1 {
  max-width: 18ch;
  font-size: clamp(42px, 7vw, 72px);
}

.article-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.effective-date {
  margin-top: 20px !important;
  color: var(--ink-muted) !important;
  font-size: 14px !important;
  font-weight: 650;
}

.article-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, var(--article));
  justify-content: center;
  align-items: start;
  gap: 36px;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 18px;
  background: rgba(252, 250, 246, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--amber-dark);
}

.article {
  padding: clamp(28px, 5vw, 58px);
  background: var(--surface-solid);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 46px rgba(47, 59, 49, 0.08);
}

.article section + section {
  margin-top: 44px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.article p,
.article li {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.article ul {
  padding-left: 1.25em;
}

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

.notice {
  padding: 18px 20px;
  background: rgba(234, 223, 207, 0.46);
  border: 1px solid rgba(200, 138, 43, 0.2);
  border-radius: 14px;
}

.notice.support-notice {
  margin-top: 18px;
}

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

.support-card {
  padding: 24px;
  background: rgba(239, 231, 218, 0.42);
  border-radius: 18px;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto 24px;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-muted);
  border-top: 1px solid rgba(92, 83, 68, 0.18);
  font-size: 13px;
}

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

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .site-nav a {
    padding-inline: 6px;
    justify-content: center;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .phone-shot {
    max-height: 420px;
    margin-bottom: -90px;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .toc strong {
    grid-column: 1 / -1;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .page {
    margin-top: 22px;
  }

  .hero,
  .article-hero,
  .article {
    border-radius: 24px;
  }

  .hero {
    padding: 30px 24px;
  }

  .article-hero,
  .article {
    padding: 28px 22px;
  }

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

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

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