:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-warm: #f7f1e8;
  --surface-sage: #edf4ef;
  --surface-blue: #edf5f7;
  --surface-lilac: #f1edf7;
  --surface-apricot: #fbefe6;
  --ink: #25302f;
  --muted: #5f6f6b;
  --line: #dfe5df;
  --sage: #70917f;
  --sage-dark: #3f6a57;
  --apricot: #d99a72;
  --lilac: #9a8bb8;
  --blue: #6b9eaa;
  --focus: #2f6f7a;
  --shadow: 0 14px 38px rgba(37, 48, 47, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(37, 48, 47, 0.03);
}

.top-note {
  background: var(--surface-sage);
  color: var(--sage-dark);
  font-size: 0.86rem;
  text-align: center;
  padding: 0.38rem 1rem;
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
  width: 24px;
}

.nav-toggle-lines span {
  display: block;
  height: 2px;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link,
.nav-group-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-group-toggle:hover,
.nav-group-toggle[aria-expanded="true"] {
  background: var(--surface-sage);
  color: var(--sage-dark);
}

.nav-group {
  position: relative;
}

@media (min-width: 1041px) {
  .nav-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.75rem;
    display: none;
  }

  .nav-group:hover::after,
  .nav-group:focus-within::after,
  .nav-group.is-open::after {
    display: block;
  }

  .nav-group:hover .nav-group-toggle,
  .nav-group:focus-within .nav-group-toggle {
    background: var(--surface-sage);
    color: var(--sage-dark);
  }
}

.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 270px;
  z-index: 20;
  display: none;
  padding: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-panel a {
  display: block;
  padding: 0.62rem 0.7rem;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  background: var(--surface-warm);
  color: var(--sage-dark);
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.is-open .nav-panel {
  display: block;
}

main {
  min-height: 60vh;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(107, 158, 170, 0.16), transparent 30%),
    linear-gradient(122deg, #edf4ef 0%, #f7f1e8 56%, #fbfaf7 100%);
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 106, 87, 0.1), transparent 36%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.1rem 0 4.35rem;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-portrait {
  min-height: 500px;
  height: min(52vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(63, 106, 87, 0.18);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 46px rgba(37, 48, 47, 0.12);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  width: min(660px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
}

.page-hero h1 {
  margin: 0;
  font-size: 3.55rem;
  line-height: 1.05;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.hero p.lead {
  max-width: 610px;
  margin: 1.15rem 0 0;
  color: #4f625d;
  font-size: 1.08rem;
}

.hero .actions {
  margin-top: 1.65rem;
}

.hero .button.ghost {
  color: var(--sage-dark);
  border-color: rgba(63, 106, 87, 0.55);
}

.hero .button.ghost:hover {
  background: var(--surface-sage);
  color: var(--sage-dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.actions-centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--sage-dark);
  border-radius: 8px;
  padding: 0.74rem 1rem;
  background: var(--sage-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #315544;
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  color: var(--sage-dark);
}

.button.secondary:hover {
  background: var(--surface-sage);
  color: var(--sage-dark);
}

.button.ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.section {
  padding: 5rem 0;
}

.section.tight {
  padding: 3.5rem 0;
}

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

.band-warm {
  background: var(--surface-warm);
}

.band-sage {
  background: var(--surface-sage);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  margin: 0 0 0.65rem;
  color: var(--sage-dark);
  font-weight: 800;
}

h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.15rem;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.28rem;
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(37, 48, 47, 0.06);
}

.card.sage {
  background: var(--surface-sage);
}

.card.apricot {
  background: var(--surface-apricot);
}

.card.lilac {
  background: var(--surface-lilac);
}

.card.blue {
  background: var(--surface-blue);
}

.card.warm {
  background: var(--surface-warm);
}

.card p:last-child,
.text-panel p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.card .button {
  margin-top: 0.3rem;
}

.feature-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(37, 48, 47, 0.06);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.6rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: center;
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 1rem;
}

.photo-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.text-flow {
  max-width: 820px;
}

.text-flow h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.text-flow h2:first-child {
  margin-top: 0;
}

.text-flow ul,
.text-flow ol,
.check-list,
.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.text-flow li,
.check-list li,
.plain-list li {
  margin: 0.45rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 1rem;
}

.notice {
  border-left: 5px solid var(--sage);
  background: var(--surface-sage);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.notice.apricot {
  border-color: var(--apricot);
  background: var(--surface-apricot);
}

.notice.lilac {
  border-color: var(--lilac);
  background: var(--surface-lilac);
}

.notice.emergency {
  border-color: #b9685b;
  background: #fff1ed;
}

.notice.emergency ul {
  margin: 0.7rem 0;
  padding-left: 1.15rem;
}

.notice.emergency li {
  margin: 0.35rem 0;
}

.notice.emergency a {
  font-weight: 800;
}

.support-topics .split {
  align-items: center;
}

.support-topics .lead {
  max-width: 720px;
  margin-top: 1rem;
}

.topic-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.topic-checks span {
  display: block;
  padding: 0.76rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
}

.calm-cta {
  border: 1px solid rgba(112, 145, 127, 0.32);
  border-radius: 8px;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(237, 244, 239, 0.96), rgba(247, 241, 232, 0.78));
  box-shadow: 0 14px 34px rgba(37, 48, 47, 0.07);
}

.calm-cta h3 {
  font-size: 1.45rem;
}

.calm-cta .button {
  margin-top: 0.35rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--sage-dark);
  color: #fff;
  font-weight: 800;
}

.download-list {
  display: grid;
  gap: 0.8rem;
}

.download-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.download-item h2 {
  margin: 0;
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 1rem 1.1rem;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.faq-question span {
  flex: 1;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.has-js .faq-answer {
  display: none;
}

.has-js .faq-answer.is-open {
  display: block;
}

.form {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.78rem 0.85rem;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.choice {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem;
  background: var(--surface);
}

.choice input {
  width: auto;
  margin-top: 0.25rem;
}

.form-result {
  display: none;
  border-radius: 8px;
  border: 1px solid #bdd7c6;
  background: var(--surface-sage);
  color: var(--sage-dark);
  padding: 1rem;
}

.form-result.is-visible {
  display: block;
}

.site-footer {
  background: #24312f;
  color: #f6f4ef;
  padding: 3rem 0;
}

.footer-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: inherit;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.legal-note {
  color: rgba(246, 244, 239, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 18%;
    z-index: 30;
    height: 100vh;
    min-height: 100dvh;
    display: none;
    align-content: start;
    align-items: stretch;
    gap: 0.4rem;
    padding: 6rem 1rem 1.5rem;
    overflow: auto;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .nav-toggle {
    position: relative;
    z-index: 40;
  }

  .nav-link,
  .nav-group-toggle {
    width: 100%;
    text-align: left;
    padding: 0.85rem;
    font-size: 1rem;
  }

  .nav-panel {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
    padding: 0 0 0 0.7rem;
  }

  .nav-group:hover .nav-panel,
  .nav-group:focus-within .nav-panel {
    display: none;
  }

  .nav-group.is-open .nav-panel {
    display: grid;
  }

  .page-hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-inner {
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 18% 10%, rgba(107, 158, 170, 0.14), transparent 32%),
      linear-gradient(155deg, #edf4ef 0%, #f7f1e8 58%, #fbfaf7 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.45rem;
    width: min(var(--max), calc(100% - 2rem));
    padding: 1.8rem 0 3rem;
  }

  .hero-portrait {
    width: 100%;
    height: min(76vw, 410px);
    min-height: 300px;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(37, 48, 47, 0.1);
  }

  .hero-portrait img {
    object-position: center top;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.15rem;
  }

  .hero p.lead,
  .lead {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .grid.three,
  .grid.two,
  .gallery-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topic-checks {
    grid-template-columns: 1fr;
  }

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

  .download-item {
    grid-template-columns: 1fr;
  }

  .download-item .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-nav {
    inset: 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 1.1rem;
    padding: 1rem 0 2rem;
  }

  .hero-portrait {
    height: min(94vw, 390px);
    min-height: 300px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .hero-detail {
    display: none;
  }

  .hero .actions {
    margin-top: 1.2rem;
  }

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

  .button {
    text-align: center;
  }

  .card,
  .download-item,
  .steps li {
    padding: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
