:root {
  color-scheme: light;
  --ink: #071813;
  --ink-soft: #3d5550;
  --paper: #f5f8f2;
  --white: #ffffff;
  --mist: #eaf5e4;
  --line: #d4e4d8;
  --green: #147a43;
  --green-dark: #031f17;
  --teal: #00bdb6;
  --blue: #2563eb;
  --amber: #ffbd37;
  --lime: #c6ff48;
  --coral: #a83f14;
  --shadow: 0 18px 48px rgba(3, 31, 23, 0.18);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

@font-face {
  font-family: "YijiaParchment";
  src: url("assets/fonts/Parchment-yijia.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "YijiaChancery";
  src: url("assets/fonts/Chancery.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 50;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 24, 19, 0.08);
  box-shadow: 0 12px 34px rgba(3, 31, 23, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-type {
  display: grid;
  min-width: 126px;
  padding-top: 1px;
}

.brand-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(32, 180, 95, 0.16);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(3, 31, 23, 0.1);
}

.brand-logo img {
  width: 104%;
  height: 104%;
  object-fit: cover;
}

.brand strong {
  display: block;
  color: #167a3f;
  font-family: "YijiaParchment", "YijiaChancery", "Brush Script MT", "Segoe Script", cursive, Georgia, serif;
  font-size: 3.85rem;
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-type::after {
  content: none;
  width: 58px;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  box-shadow: 0 4px 10px rgba(32, 180, 95, 0.22);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "YijiaChancery", Georgia, serif;
  font-size: 0.94rem;
  line-height: 1;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(7, 24, 19, 0.08);
  border-radius: 999px;
  background: #f3faef;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 9px 13px;
  color: #27453d;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 8px 18px rgba(3, 31, 23, 0.08);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(32, 180, 95, 0.28);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(3, 31, 23, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(7, 24, 19, 0.12);
  border-radius: var(--radius);
  background: #f3faef;
  color: var(--green-dark);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(470px, 58svh, 600px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #0b211d;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.04) contrast(1.06);
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 18, 13, 0.96) 0%, rgba(3, 31, 23, 0.9) 42%, rgba(0, 189, 182, 0.15) 100%),
    linear-gradient(0deg, rgba(3, 31, 23, 0.9) 0%, rgba(3, 31, 23, 0.08) 58%);
}

.hero-content {
  display: grid;
  gap: 0;
  padding-block: clamp(38px, 5vw, 60px);
  color: var(--white);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: #137c49;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.compliance-section .eyebrow,
.legal-hero .eyebrow {
  color: var(--lime);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 5.7vw, 5.2rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button svg,
.site-nav svg,
.text-link svg,
.contact-link svg,
.service-card svg,
.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--amber);
  color: #1e1608;
  box-shadow: 0 12px 24px rgba(255, 179, 44, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd15f;
  outline: none;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--lime);
  background: rgba(183, 239, 62, 0.16);
  outline: none;
}

.button-dark {
  margin-top: 26px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(3, 31, 23, 0.18);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #0e593d;
  outline: 3px solid rgba(14, 89, 61, 0.22);
}

.site-header .button-dark {
  margin-top: 0;
}

.intro-band {
  background: var(--green-dark);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
}

.intro-grid p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff0b8;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.section {
  padding-block: clamp(72px, 10vw, 112px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.split-copy h2,
.contact-layout h2,
.proof-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-layout p,
.proof-copy p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.service-card,
.process-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-top: 4px solid var(--lime);
  box-shadow: 0 12px 28px rgba(24, 165, 88, 0.08);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: #0f6038;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
}

.standalone-link {
  margin-top: 20px;
}

.card-link.on-dark {
  color: var(--lime);
}

.section-inline-action {
  margin-top: 24px;
  margin-bottom: 0;
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.service-card h3,
.process-list h3 {
  margin: 18px 0 8px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.service-card p,
.proof-points p,
.process-list p {
  margin: 0;
  color: var(--ink-soft);
}

.proof-section {
  padding-block: clamp(56px, 8vw, 86px);
  background: #efffe7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.proof-copy {
  max-width: 520px;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-points article {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  border-top: 4px solid var(--teal);
}

.proof-points svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.proof-points h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.transparency-section {
  background: var(--white);
}

.transparency-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.transparency-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.02;
}

.transparency-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.scope-grid {
  display: grid;
  gap: 14px;
}

.scope-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: #f8fcf5;
}

.scope-grid span {
  color: #116b3d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scope-grid h3 {
  margin: 7px 0 8px;
  font-size: 1.14rem;
}

.scope-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.compliance-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 59, 42, 0.98), rgba(0, 117, 94, 0.95) 52%, rgba(47, 103, 216, 0.84));
  color: var(--white);
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.compliance-panel {
  position: sticky;
  top: 104px;
}

.compliance-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
}

.compliance-panel p:not(.eyebrow),
.compliance-note {
  color: rgba(255, 255, 255, 0.82);
}

.compliance-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.compliance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.compliance-note {
  max-width: 560px;
  padding-left: 14px;
  border-left: 3px solid var(--lime);
  font-size: 0.92rem;
}

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

.update-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.update-card.featured {
  background: rgba(183, 239, 62, 0.16);
  border-color: rgba(183, 239, 62, 0.38);
}

.update-date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: rgba(255, 179, 44, 0.18);
  color: #fff2c3;
  font-size: 0.78rem;
  font-weight: 900;
}

.update-card h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.update-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.update-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 900;
  text-decoration: none;
}

.compliance-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.compliance-services article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(3, 31, 23, 0.32);
}

.compliance-services svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.compliance-services h3 {
  margin: 12px 0 6px;
  font-size: 1.06rem;
}

.compliance-services p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.split-section {
  background: var(--white);
}

.cassette-section {
  background: #f9fff6;
}

.split-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list svg {
  padding: 4px;
  border-radius: 50%;
  background: #ddffd4;
  color: var(--green);
}

.image-feature {
  margin: 0;
}

.image-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-feature picture {
  display: block;
}

.image-feature figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.image-feature-large img {
  aspect-ratio: 3 / 4;
}

.muted {
  background: #def7d5;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.process-list li {
  padding: 24px;
}

.process-list span {
  display: inline-block;
  color: var(--coral);
  font-weight: 900;
}

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

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(3, 31, 23, 0.06);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  background: #f5fff1;
}

.contact-layout {
  align-items: start;
}

.contact-actions {
  display: grid;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-link svg {
  color: var(--green);
}

.quote-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--amber);
}

.quote-form h3 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

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

.quote-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cddbd6;
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--ink);
  padding: 12px 13px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 125, 130, 0.18);
}

.quote-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-label-text {
  display: block;
}

.captcha-field strong {
  display: inline-flex;
  min-width: 52px;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e9fbdc;
  color: var(--green-dark);
  font-weight: 900;
}

.quote-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 4px 0 16px !important;
  color: var(--ink-soft) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  line-height: 1.45;
}

.quote-consent input {
  width: auto;
  min-width: 18px;
  margin-top: 2px;
}

.quote-consent a {
  color: var(--green-dark);
  font-weight: 900;
}

.form-button {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-intro {
  margin: -10px 0 20px !important;
  font-size: 0.9rem !important;
}

.form-note[data-state="success"] {
  color: #116b3d;
  font-weight: 800;
}

.form-note[data-state="error"] {
  color: #9c2d15;
  font-weight: 800;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.legal-main {
  background: #f7fbf4;
}

.subpage-main {
  min-height: 70svh;
  background: #f7fbf4;
}

.service-hero {
  padding-block: clamp(64px, 9vw, 104px);
  background:
    linear-gradient(120deg, rgba(3, 31, 23, 0.97), rgba(10, 92, 61, 0.9)),
    url("assets/img/hero/yijia-hero-cassone-verde-1360.webp") center / cover;
  color: var(--white);
}

.service-hero .eyebrow {
  color: var(--lime);
}

.service-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.service-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  list-style: none;
}

.breadcrumbs a {
  color: var(--white);
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.prose h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.prose h3 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.info-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(3, 31, 23, 0.09);
}

.info-panel h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.info-panel p,
.info-panel li {
  color: var(--ink-soft);
}

.info-panel ul {
  padding-left: 1.2rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--green-dark);
  color: var(--white);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.cta-panel p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.simple-footer {
  padding-block: 28px;
  background: #021812;
  color: rgba(255, 255, 255, 0.76);
}

.simple-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.simple-footer p {
  margin: 0;
}

.simple-footer a {
  color: var(--white);
}

.error-page {
  display: grid;
  min-height: 72svh;
  place-items: center;
  padding-block: 70px;
  text-align: center;
}

.error-page strong {
  display: block;
  color: var(--green);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.9;
}

.error-page h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.error-page p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--ink-soft);
}

.legal-hero {
  padding-block: clamp(70px, 10vw, 118px) clamp(36px, 6vw, 56px);
  background:
    linear-gradient(120deg, rgba(3, 31, 23, 0.94), rgba(10, 92, 61, 0.86)),
    url("assets/img/facebook/yijia-fb-02-privacy.jpg") center / cover;
  color: var(--white);
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.legal-hero p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.legal-section {
  padding-top: clamp(38px, 6vw, 64px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(3, 31, 23, 0.06);
}

.legal-nav a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  background: #effbe9;
  color: var(--green-dark);
  outline: none;
}

.legal-card {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(3, 31, 23, 0.08);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.18;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card a {
  color: var(--green-dark);
  font-weight: 800;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2rem;
}

.site-footer {
  background: #052f22;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.9fr) minmax(190px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: 42px;
}

.footer-brand .brand-logo {
  border-color: rgba(255, 255, 255, 0.24);
}

.footer-brand .brand-type strong,
.footer-brand .brand-type small {
  color: #77d887;
}

.footer-brand .brand-type::after {
  background: linear-gradient(90deg, #b7ef3e, rgba(255, 255, 255, 0.28));
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  max-width: 340px;
  margin: 12px 0 0;
}

.site-footer p + p {
  margin-top: 8px;
  font-size: 0.9rem;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    max-height: calc(100svh - 78px);
    gap: 6px;
    padding: 18px 20px 28px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
  }

  .site-nav.subpage-nav {
    position: static;
    display: flex;
    max-height: none;
    width: auto;
    padding: 4px;
    border: 1px solid rgba(7, 24, 19, 0.08);
    border-radius: 999px;
    box-shadow: none;
    transform: none;
  }

  .site-nav.subpage-nav a:not(.nav-cta) {
    display: none;
  }

  .site-nav.subpage-nav .nav-cta {
    min-height: 40px;
    padding: 8px 14px;
  }

  .site-nav a {
    justify-content: space-between;
    padding: 14px;
    background: transparent;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
    color: var(--white);
  }

  .hero {
    min-height: clamp(460px, 60svh, 560px);
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .process-list,
  .proof-points,
  .update-list,
  .faq-grid,
  .compliance-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .contact-layout,
  .compliance-layout,
  .proof-grid,
  .transparency-layout,
  .details-grid,
  .intro-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .compliance-panel {
    position: static;
  }

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

  .cta-panel,
  .simple-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
    max-height: calc(100svh - 68px);
    background: rgba(255, 255, 255, 0.98);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 3.43rem;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .hero {
    min-height: clamp(460px, 66svh, 560px);
  }

  .hero-media {
    display: block;
  }

  .hero-media img:not(:first-child) {
    display: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9.8vw, 3.35rem);
    line-height: 0.98;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

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

  .hero-facts {
    display: grid;
    gap: 8px;
  }

  .service-grid,
  .process-list,
  .proof-points,
  .update-list,
  .compliance-services,
  .faq-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
