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

:root {
  --forest: #09281f;
  --forest-2: #103c2f;
  --mint: #bfe8ce;
  --lime: #d9f7ad;
  --cream: #f7f7f0;
  --paper: #ffffff;
  --ink: #172b24;
  --muted: #667870;
  --line: #dde6dc;
  --gold: #c8ad79;
  --radius: 22px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 16px;
  background: white;
  color: var(--forest);
}

.skip-link:focus {
  top: 16px;
}

.topline {
  background: #072018;
  color: #d4e9d9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.topline .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  background: var(--forest);
  color: white;
}

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

.brand {
  flex: none;
}

.brand img {
  width: 200px;
  height: auto;
}

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

.site-nav a {
  padding: 7px 2px;
  color: #d9e9df;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  background: var(--forest);
  color: white;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding-block: 76px 98px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow,
.section-num,
.article-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217, 247, 173, .12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: -.045em;
}

.hero h1 {
  margin: 27px 0 25px;
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.home-hero h1 {
  font-size: clamp(57px, 6.2vw, 90px);
}

.hero-lead {
  max-width: 490px;
  color: #c8d8cf;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 30px;
  color: #b4c7bd;
  font-size: 12px;
  font-weight: 600;
}

.hero-meta span:first-child::before {
  content: '●';
  padding-right: 8px;
  color: var(--lime);
  font-size: 9px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 38px;
  padding: 16px 20px;
  min-width: 220px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.hero-link:hover {
  background: white;
}

.hero-art {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(217, 247, 173, .18);
  border-radius: 27px;
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .16);
}

.hero-art img {
  width: 100%;
  height: clamp(340px, 40vw, 520px);
  object-fit: cover;
  border-radius: 18px;
}

.art-caption {
  position: absolute;
  right: 27px;
  bottom: 27px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(9, 40, 31, .79);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.notice {
  border-bottom: 1px solid #e2e7da;
  background: #ecf2e5;
}

.notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-block: 22px;
}

.notice-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-weight: 800;
}

.notice p {
  margin: 0;
  color: #2b4637;
  font-size: 14px;
}

.notice a,
.article-content p a,
.last-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reading-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 790px);
  justify-content: space-between;
  gap: 80px;
  padding-block: 90px 112px;
}

.reading-aside {
  align-self: start;
  position: sticky;
  top: 126px;
}

.aside-box {
  display: grid;
  gap: 12px;
  padding: 26px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.aside-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.aside-box a {
  display: flex;
  gap: 12px;
  color: #31493a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.aside-box a:hover {
  color: #148d5a;
}

.aside-box a span {
  color: #9caa9f;
  font-variant-numeric: tabular-nums;
}

.aside-reminder {
  margin-top: 20px;
  padding: 22px;
  border-radius: 14px;
  background: #e6ecde;
  color: #3b5949;
  font-size: 13px;
  font-weight: 700;
}

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

.article-kicker,
.section-num {
  color: #4f7b57;
}

.article-intro {
  margin: 18px 0 30px;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.025em;
}

.article-section {
  scroll-margin-top: 130px;
  padding: 45px 0 40px;
  border-top: 1px solid var(--line);
}

.article-section h2,
.faq-section h2 {
  margin: 15px 0 24px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.22;
}

.article-section p {
  color: #43554d;
  font-size: 17px;
  line-height: 1.85;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-figure {
  margin: 32px 0 4px;
}

.article-figure img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
}

.article-figure figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  padding: 52px 0 0;
  border-top: 1px solid var(--line);
}

.checklist {
  margin: 20px 0 60px;
  padding: 35px;
  border-radius: 20px;
  background: #e6eedf;
}

.checklist h2 {
  margin: 14px 0 20px;
  font-size: clamp(25px, 3vw, 36px);
}

.checklist ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
}

.checklist li {
  padding-left: 5px;
  color: #31483b;
  font-size: 15px;
  line-height: 1.7;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  position: relative;
  padding: 22px 40px 22px 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: '+';
  position: absolute;
  right: 5px;
  top: 17px;
  font-size: 26px;
  font-weight: 400;
}

.faq-section details[open] summary::after {
  content: '−';
}

.faq-section details p {
  max-width: 660px;
  color: var(--muted);
}

.related {
  padding: 90px 0 110px;
  background: #ecf1e8;
}

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.related-head h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
}

.related-head > a {
  padding-bottom: 7px;
  color: #236e49;
  font-size: 13px;
  font-weight: 800;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 28px;
  border: 1px solid #dae5d6;
  border-radius: 18px;
  background: white;
  transition: transform .2s, border-color .2s;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: #84b195;
}

.related-card span {
  color: #728778;
  font-size: 12px;
  font-weight: 700;
}

.related-card strong {
  max-width: 300px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -.035em;
}

.last-note {
  padding: 80px 0;
  background: var(--forest-2);
  color: white;
}

.last-note .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.last-note span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.last-note h2 {
  margin: 15px 0 0;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.15;
}

.last-note p {
  max-width: 460px;
  margin: 0;
  color: #d4e4d9;
  font-size: 16px;
}

.last-note a {
  color: var(--lime);
}

.service-hero .hero-grid {
  padding-block: 64px 76px;
}

.service-hero h1 {
  font-size: clamp(42px, 5vw, 67px);
}

.service-hero .hero-art img {
  height: clamp(290px, 35vw, 440px);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 310px;
  justify-content: space-between;
  gap: 80px;
  padding-block: 80px 110px;
}

.service-content .article-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-aside {
  align-self: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.service-aside h2 {
  margin: 14px 0;
  font-size: 25px;
  line-height: 1.3;
}

.service-aside p {
  color: var(--muted);
  font-size: 14px;
}

.service-aside a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #17623e;
  font-size: 13px;
  font-weight: 700;
}

.contact-action a {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--forest);
  color: white;
  font-weight: 700;
}

.site-footer {
  padding-top: 76px;
  background: #061d17;
  color: #d1e0d4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 70px;
  padding-bottom: 76px;
}

.footer-intro {
  max-width: 330px;
}

.footer-intro img {
  margin-bottom: 25px;
}

.footer-intro p {
  color: #a8bdb1;
  font-size: 13px;
}

.footer-intro .risk {
  margin-top: 25px;
  color: #f3e7d0;
}

.risk strong {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border: 1px solid #b5c8b9;
  border-radius: 5px;
}

.footer-grid h2 {
  margin: 0 0 22px;
  color: white;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a,
.footer-pref {
  display: block;
  width: fit-content;
  margin: 0 0 11px;
  color: #afc7b8;
  font-size: 13px;
}

.footer-grid a:hover,
.footer-pref:hover {
  color: white;
}

.footer-pref {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid #234135;
  color: #8daa9a;
  font-size: 12px;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 550px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-size: 14px;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-actions button {
  padding: 10px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .site-nav {
    max-width: 720px;
  }

  .reading-layout,
  .service-layout {
    gap: 45px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: nowrap;
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow: auto;
    padding: 15px 24px 25px;
    background: var(--forest);
    box-shadow: 0 25px 30px rgba(0, 0, 0, .18);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .site-nav a {
    padding-block: 13px;
    border-bottom: 1px solid #254637;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 60px 72px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-art img {
    height: 420px;
  }

  .reading-layout,
  .service-layout {
    grid-template-columns: 1fr;
    padding-block: 58px 80px;
  }

  .reading-aside {
    position: static;
    order: 2;
  }

  .reading-aside .aside-box {
    grid-template-columns: 1fr 1fr;
  }

  .reading-aside .aside-title {
    grid-column: 1 / -1;
  }

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

  .related-grid .related-card:last-child {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .topline .container {
    min-height: 30px;
  }

  .topline span {
    font-size: 9px;
    letter-spacing: .03em;
  }

  .brand img {
    width: 174px;
  }

  .site-nav.is-open {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .service-hero .hero-grid {
    gap: 32px;
    padding-block: 46px 56px;
  }

  .hero h1,
  .home-hero h1,
  .service-hero h1 {
    margin: 21px 0;
    font-size: clamp(41px, 12vw, 60px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-art {
    padding: 7px;
    border-radius: 19px;
  }

  .hero-art img,
  .service-hero .hero-art img {
    height: 290px;
    border-radius: 13px;
  }

  .notice-inner {
    gap: 12px;
  }

  .notice p {
    font-size: 12px;
  }

  .article-section {
    padding-block: 34px;
  }

  .article-section p {
    font-size: 16px;
  }

  .reading-aside .aside-box {
    grid-template-columns: 1fr;
  }

  .related {
    padding-block: 64px;
  }

  .related-grid,
  .last-note .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .related-grid .related-card:last-child {
    grid-column: auto;
  }

  .related-card {
    min-height: 190px;
  }

  .last-note {
    padding-block: 60px;
  }

  .last-note .container {
    gap: 28px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-grid {
    padding-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
