:root {
  --sky: #357e6d;
  --sky-dark: #063c42;
  --cream: #ffe7a9;
  --paper: #f7e1b5;
  --ink: #171619;
  --muted: #65523e;
  --wood: #8a4d28;
  --wood-dark: #2b211a;
  --orange: #e9952f;
  --green: #21a494;
  --line: rgba(43, 33, 26, 0.2);
  --shadow: 0 18px 50px rgba(23, 22, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 255, 255, 0.8), transparent 28rem),
    linear-gradient(180deg, #d8efe6 0, var(--paper) 32rem);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.68;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

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

.brand img {
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(63, 32, 7, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--wood-dark);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  border: 4px solid var(--wood-dark);
  border-radius: 38px;
  padding: clamp(34px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 44%),
    var(--sky);
  box-shadow:
    inset 0 0 0 8px #8a4d28,
    inset 0 0 0 12px #e9b33d,
    var(--shadow);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--wood);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #fff2c6;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1,
.support-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.1rem);
  font-weight: 950;
}

.hero h1 {
  color: #fff8df;
  text-shadow:
    0 5px 0 var(--wood-dark),
    0 8px 18px rgba(57, 29, 5, 0.24);
}

.lead {
  max-width: 580px;
  margin: 30px 0;
  color: #123e44;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--wood-dark);
  border-radius: 16px;
  padding: 11px 20px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #8dcc28, var(--green));
  box-shadow:
    inset 0 -4px 0 rgba(59, 107, 4, 0.34),
    0 8px 0 var(--wood-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 8px 0 var(--wood-dark);
}

.hero-art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  height: auto;
  border: 5px solid var(--wood-dark);
  border-radius: 30%;
  box-shadow: 0 24px 50px rgba(48, 25, 4, 0.24);
  transform: rotate(3deg);
}

.sunburst {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 241, 141, 0.26) 0deg 9deg,
    transparent 9deg 18deg
  );
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 70px 0 86px;
}

.quick-facts article,
.faq-grid article,
.summary-card,
.contact-card,
.english-support {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.quick-facts article {
  padding: 28px;
}

.fact-number,
.faq-index {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.quick-facts h2,
.faq-grid h2 {
  margin: 16px 0 8px;
  font-size: 1.45rem;
}

.quick-facts p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.document-shell {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(34px, 7vw, 90px);
  padding: 74px 0 96px;
}

.document-aside {
  align-self: start;
  position: sticky;
  top: 32px;
}

.document-aside h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-card {
  margin: 30px 0 18px;
  padding: 24px;
}

.summary-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.32rem;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.summary-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.text-link,
.legal-document a,
.english-support a,
.privacy-callout a {
  color: var(--sky-dark);
  font-weight: 850;
  text-underline-offset: 3px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 60px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-document section + section {
  margin-top: 42px;
}

.legal-document h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.legal-document h3 {
  margin: 28px 0 10px;
  font-size: 1.24rem;
}

.legal-document p,
.legal-document li {
  color: #563e2a;
}

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

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

.legal-document hr {
  height: 1px;
  margin: 64px 0;
  border: 0;
  background: var(--line);
}

.support-shell {
  padding: 76px 0 96px;
}

.support-hero {
  max-width: 900px;
  margin-bottom: 64px;
}

.support-hero h1 {
  max-width: 860px;
}

.support-hero > p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.email-note {
  display: inline-block;
  margin-left: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-grid article {
  padding: clamp(26px, 4vw, 38px);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 48px);
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    var(--wood-dark);
}

.contact-card .eyebrow {
  color: #ffc76d;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.contact-card ul {
  margin: 0;
  padding-left: 20px;
}

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

.english-support {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 48px);
}

.english-support h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.english-support p:last-child {
  color: var(--muted);
}

.privacy-callout {
  margin: 36px 0 0;
  text-align: center;
}

footer {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

footer div {
  display: flex;
  gap: 18px;
}

footer a {
  font-weight: 800;
}

@media (max-width: 820px) {
  .hero,
  .document-shell,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-art {
    min-height: auto;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .document-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  nav {
    gap: 0;
  }

  nav a {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 0;
    border-width: 3px;
    border-radius: 28px;
    padding: 50px 24px 32px;
    box-shadow:
      inset 0 0 0 5px #bd7025,
      inset 0 0 0 8px #f4a936,
      var(--shadow);
  }

  .hero h1,
  .support-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

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

  .hero-art img {
    width: 88%;
  }

  .sunburst {
    width: 390px;
    height: 390px;
  }

  .quick-facts {
    padding: 48px 0 64px;
  }

  .document-shell,
  .support-shell {
    padding: 48px 0 72px;
  }

  .legal-document {
    border-radius: 22px;
    padding: 28px 22px;
  }

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

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

  .email-note {
    display: block;
    margin: 16px 0 0;
    text-align: center;
  }

  footer {
    min-height: 130px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

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

  .button {
    transition: none;
  }
}
