:root {
  --primary: #0b7a4c;
  --primary-dark: #07503f;
  --primary-deep: #052f2a;
  --primary-soft: #edf7ef;
  --gold: #b78a2f;
  --gold-soft: #fff4d5;
  --ink: #102a32;
  --muted: #60747a;
  --line: #d7e4df;
  --surface: #ffffff;
  --background: #f2f7f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(183, 138, 47, .12), transparent 22rem),
    radial-gradient(circle at 94% 6%, rgba(11, 122, 76, .13), transparent 28rem),
    var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--primary);
  font-weight: 750;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 228, 223, .9);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.header-inner,
.legal-shell,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(7, 80, 63, .18));
}

.brand-copy {
  display: grid;
  line-height: 1.16;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 124px;
  background:
    radial-gradient(circle at 82% 30%, rgba(183, 138, 47, .34), transparent 20rem),
    linear-gradient(135deg, var(--primary-deep), var(--primary-dark) 64%, #0b6b48);
  color: #fff;
}

.legal-hero::after {
  position: absolute;
  right: -90px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255, 255, 255, .035), 0 0 0 136px rgba(255, 255, 255, .025);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f2cf79;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero-summary {
  max-width: 750px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(17px, 2vw, 20px);
}

.public-faq-list { display: grid; gap: 10px; margin-top: 20px; }
.public-faq-list details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 0 18px; }
.public-faq-list summary { cursor: pointer; font-weight: 800; padding: 17px 0; }
.public-faq-list details p { margin: 0; padding: 0 0 18px; }

.updated-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 700;
}

.updated-chip::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2cf79;
  content: "";
}

.legal-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: -70px;
  padding-bottom: 72px;
}

.contents-card,
.support-card,
.legal-document {
  border: 1px solid rgba(215, 228, 223, .96);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 60px rgba(16, 42, 50, .09);
}

.legal-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.contents-card,
.support-card {
  padding: 22px;
}

.contents-card h2,
.support-card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contents-card nav {
  display: grid;
  gap: 3px;
}

.contents-card a {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.contents-card a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.support-card {
  border-color: #ead9ad;
  background: linear-gradient(145deg, #fffdf8, var(--gold-soft));
}

.support-card p {
  margin: 0 0 12px;
  color: #675a3c;
  font-size: 13px;
  line-height: 1.55;
}

.support-card a {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.support-card a + a {
  display: block;
  margin-top: 9px;
}

.legal-document {
  overflow: hidden;
  padding: 14px 38px 42px;
}

.policy-section {
  scroll-margin-top: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.policy-section h2::before {
  width: 8px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--primary));
  content: "";
}

.policy-section p {
  margin: 0;
  color: #425b61;
}

.policy-section p + p {
  margin-top: 14px;
}

.policy-section ul,
.policy-section ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #425b61;
}

.policy-section li + li {
  margin-top: 8px;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0 !important;
  counter-reset: help-step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 54px;
  padding: 14px 14px 14px 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfc;
  counter-increment: help-step;
}

.steps li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  content: counter(help-step);
  font-size: 13px;
  font-weight: 850;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.quick-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfc;
}

.quick-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.quick-card p {
  font-size: 14px;
}

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--gold-soft);
  color: #675a3c;
}

.contact-section {
  margin: 28px 0 0;
  padding: 24px;
  border: 1px solid var(--primary-line, #c9e1d2);
  border-radius: 12px;
  background: var(--primary-soft);
}

.contact-section.policy-section {
  border-bottom: 1px solid #c9e1d2;
}

.contact-section h2 {
  color: var(--primary-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.product-hero {
  padding-bottom: 132px;
}

.product-hero h1 {
  max-width: 980px;
}

.product-hero .hero-summary {
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #f2cf79;
  border-radius: 9px;
  background: #f2cf79;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.hero-button:hover {
  border-color: #fff0b7;
  background: #fff0b7;
  color: var(--primary-deep);
}

.hero-button.secondary {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.hero-button.secondary:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.product-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -72px auto 0;
  padding-bottom: 72px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.product-section,
.product-cta {
  border: 1px solid rgba(215, 228, 223, .96);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 60px rgba(16, 42, 50, .09);
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
}

.product-card::after {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(11, 122, 76, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(11, 122, 76, .035);
  content: "";
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
}

.card-eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-card h2,
.product-section h2,
.product-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.product-card h2 {
  font-size: 24px;
}

.product-card p:last-child,
.section-heading > p:last-child,
.control-grid p,
.product-cta > div > p:last-child {
  margin: 12px 0 0;
  color: #425b61;
}

.product-section {
  margin-top: 24px;
  padding: 42px;
}

.product-process {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 54px;
}

.product-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: product-step;
  list-style: none;
}

.product-steps li {
  position: relative;
  display: grid;
  min-height: 72px;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 15px 18px 15px 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  counter-increment: product-step;
}

.product-steps li::before {
  position: absolute;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  content: counter(product-step);
  font-size: 13px;
  font-weight: 850;
}

.product-steps strong {
  color: var(--primary-dark);
}

.product-steps span {
  color: #50676d;
  font-size: 14px;
  line-height: 1.45;
}

.control-section .section-heading {
  max-width: 720px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.control-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f7fbf8);
}

.control-grid h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 17px;
}

.control-grid p {
  font-size: 14px;
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 24px;
  padding: 34px 38px;
  border-color: rgba(183, 138, 47, .35);
  background: linear-gradient(125deg, #fffdf8, var(--gold-soft));
}

.product-cta > div:first-child {
  max-width: 740px;
}

.product-cta .hero-button {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.product-cta .hero-button:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.text-link {
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .legal-hero {
    padding: 52px 0 104px;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    margin-top: -56px;
  }

  .legal-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .contents-card nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-feature-grid,
  .product-process {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-process {
    gap: 30px;
  }

  .product-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .legal-shell,
  .product-shell,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-nav a {
    padding-inline: 10px;
    white-space: nowrap;
  }

  .legal-aside {
    grid-template-columns: 1fr;
  }

  .contents-card nav {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 4px 22px 28px;
  }

  .product-hero {
    padding-bottom: 100px;
  }

  .product-shell {
    margin-top: -54px;
  }

  .product-card,
  .product-section,
  .product-cta {
    padding: 24px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .product-steps li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-left: 66px;
  }

  .cta-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
