/* NSBC marketing landing page — single stylesheet.
   Design tokens first, then base, components, sections, responsive. */

:root {
  --lime: #8fff7d;
  --forest: #044737;
  --forest-deep: #064737;
  --night: #080d0f;
  --ink: #0b2230;
  --ink-strong: #24201f;
  --text: #5f647b;
  --link-muted: #777;
  --bg: #f2f5f2;
  --mint: #dfeddf;
  --white: #fff;
  --line: rgba(4, 71, 55, 0.1);
  --plan-line: rgba(2, 223, 130, 0.2);
  --plan-glass: linear-gradient(181deg, rgba(5, 15, 19, 0) 1%, rgba(2, 223, 130, 0.1) 99%);

  --font: "Geist", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: 72px;
  --fs-h2: 50px;
  --fs-h3: 24px;
  --fs-body: 16px;
  --lh-body: 1.9;

  --container: 1320px;
  --gutter: 20px;
  --section-y: 120px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 40px;
  --shadow-soft: 0 30px 80px -10px rgba(0, 0, 0, 0.07);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 var(--fs-body)/var(--lh-body) var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sprite { display: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip-link:focus { left: 16px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
main > section, .site-footer, .announce { position: relative; overflow-x: clip; }

/* ── Typography helpers ───────────────────────────────────────────────── */
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.2; color: var(--ink); }
.lead { max-width: 510px; margin-top: 30px; }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.features .section-head, .pricing .section-head { max-width: 640px; }
.how .section-head { max-width: 820px; }
.section-head .eyebrow { margin-inline: auto; }

.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 11px;
  margin-bottom: 15px; padding: 4px 15px 4px 4px;
  font-size: 14px; font-weight: 500; line-height: 1; color: var(--ink); text-transform: capitalize;
  background: var(--white); border: 1px solid var(--line); border-radius: 30px;
}
.eyebrow span { padding: 7px 10.5px; background: var(--lime); border-radius: 30px; }
.eyebrow--clear { background: transparent; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: var(--radius); border: 0;
  font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0.7px; text-transform: uppercase;
  color: var(--ink); transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); }
.btn--lime:hover { background: #5fff45; }
.btn--white { background: var(--white); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: #077c60; }
.btn--outline { border: 1px solid var(--line); background: var(--white); }
.btn--sm { padding: 11px 22px; border-radius: 8px; font-weight: 700; letter-spacing: 0.5px; }
.btn--xs { padding: 8px 12px 6px; border-radius: 7px; font-size: 12px; font-weight: 500; letter-spacing: 0.6px; text-transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; }

/* ── Decorative floating objects ──────────────────────────────────────── */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.float {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--h, var(--s));
  background: no-repeat center / contain;
  animation: float 6s ease-in-out infinite;
}
.float--spin { animation: spin 18s linear infinite; }
.float--flicker { animation: flicker 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 50% { opacity: .25; } }
main > section > .container, main > section > [class$="__panel"], .site-footer > .container { z-index: 1; }

/* ── Header ───────────────────────────────────────────────────────────── */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  color: var(--white); background: var(--forest) url(../images/Ellipse-1.png) -160px 0 / contain no-repeat;
}
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 40px; height: 78px; padding: 0 50px;
  background: var(--white); transition: box-shadow .25s;
}
.navbar.is-stuck { box-shadow: 0 8px 30px rgba(11, 34, 48, 0.08); }
.navbar.is-stuck .navbar__demo { background: var(--forest); color: var(--white); }
.brand { flex: none; }
.brand img { width: 195px; }
.nav { margin-left: 70px; }
.nav ul { display: flex; gap: 40px; }
.nav a { font-size: 14px; font-weight: 500; color: #222; text-transform: uppercase; }
.nav a:hover, .footer__col a:hover { color: var(--forest); }
.navbar__actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.navbar__signin { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: var(--ink); text-transform: uppercase; }
.menu-toggle { display: none; margin-left: auto; padding: 10px 0; background: none; border: 0; }
.menu-toggle span { display: block; width: 34px; height: 2px; margin: 7px 0; background: var(--ink); border-radius: 2px; }
.menu-toggle span:nth-child(2) { width: 26px; margin-left: 8px; }

.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 34, 48, 0.5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 85vw); padding: 24px;
  display: flex; flex-direction: column; gap: 30px; overflow-y: auto;
  background: var(--white); transform: translateX(100%); transition: transform .3s ease;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { padding: 8px; background: var(--bg); border: 0; border-radius: 50%; }
.drawer nav a { display: block; padding: 14px 0; font-weight: 500; color: var(--ink); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.drawer__actions { display: grid; gap: 12px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 127px 0 120px; background: url(../images/Vector-6.png) 500px 0 no-repeat; }
.hero__grid { display: grid; grid-template-columns: 560px 1fr; gap: 150px; }
.hero__title { font-size: var(--fs-display); font-weight: 600; line-height: 1; letter-spacing: -3.5px; color: var(--ink); }
.hero__lead { max-width: 460px; margin-top: 25px; font-size: 18px; font-weight: 500; }
.hero__trial { display: flex; align-items: center; gap: 58px; margin-top: 90px; color: var(--ink); font-weight: 500; text-align: center; }
.hero__trial strong { font-weight: 500; }
.hero__media { position: relative; margin-top: -27px; width: 997px; }
.hero__media img { border-radius: var(--radius); }

/* ── Agencies strip ───────────────────────────────────────────────────── */
.strip__pill {
  display: grid; justify-items: center; gap: 20px; padding: 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 100px; box-shadow: var(--shadow-soft);
  font-weight: 600; color: var(--forest); text-align: center;
}

/* ── Why NSBC ─────────────────────────────────────────────────────────── */
.why { padding: var(--section-y) 0; background: url(../images/Union.png) 930px 200px no-repeat; }
.why__grid { display: grid; grid-template-columns: 530px 620px; justify-content: space-between; gap: 50px; align-items: start; }
.why .btn { margin-top: 45px; }
.why__card { position: relative; padding: 50px 50px 40px; background: rgba(255, 255, 255, 0.7); border-radius: var(--radius); }
.why__figure { position: absolute; top: -63px; right: -26px; }
.steps li { display: flex; gap: 40px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps__num {
  flex: none; display: grid; place-items: center; width: 45px; height: 45px;
  border: 1px solid var(--line); border-radius: 50%; font-weight: 600; color: var(--ink);
}
.steps h3, .point h3 { margin-bottom: 15px; font-size: var(--fs-h3); font-weight: 600; line-height: 1; color: var(--ink-strong); }

/* ── Feature grid ─────────────────────────────────────────────────────── */
.features { padding: 0 70px; }
.features__panel {
  position: relative; isolation: isolate; padding: 120px 20px; border-radius: 15px; background: var(--mint);
}
.features__panel::before, .feature-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: url(../images/Rectangle.png) center / cover no-repeat; opacity: 0.05;
}
.feature-grid {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 70px 30px; border-radius: var(--radius); background: var(--forest);
}
.feature-grid::before { background-image: url(../images/Rectangle-14.png); opacity: 0.5; }
.feature-grid li { padding: 0 40px 40px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.feature-grid li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.feature-grid li:nth-child(n + 4) { padding-top: 60px; padding-bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.feature-grid svg { width: 40px; height: 40px; margin-bottom: 40px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { margin-bottom: 6px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; color: var(--white); }
.feature-grid p { color: rgba(255, 255, 255, 0.65); }

/* ── How it works ─────────────────────────────────────────────────────── */
.how {
  padding: var(--section-y) 0;
  background: url(../images/shape_2.png) right center no-repeat, url(../images/blur.png) left bottom no-repeat;
}
.shots { display: grid; gap: 30px; }
.shots--2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 60px; }
.shots--3 { grid-template-columns: repeat(3, 1fr); }
.shot { padding: 10px 10px 30px; border-radius: var(--radius-sm); background: var(--forest); color: var(--white); }
.shot img { width: 100%; height: 358px; object-fit: cover; object-position: top; margin-bottom: 30px; border: 1px solid rgba(17, 18, 27, 0.1); border-radius: var(--radius-sm); }
.shots--3 .shot img { height: 350px; }
.shot h3 { padding: 0 20px; margin-bottom: 4px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; }
.shot p { padding: 0 20px; }
.shot--lime { background: var(--lime); color: var(--forest); }

/* ── NSBC team ────────────────────────────────────────────────────────── */
.team { padding: 0 70px; }
.team__panel {
  position: relative; display: grid; grid-template-columns: 1fr 715px; gap: 40px; align-items: center;
  padding: 60px 20px 60px; border-radius: 15px; color: var(--white);
  background: var(--forest-deep) url(../images/Mask.png) center bottom / 100% auto no-repeat;
}
.team__copy { padding-left: 20px; }
.team .h2 { color: var(--white); }
.team .lead { margin-bottom: 45px; }
.team__shot { border-radius: var(--radius); }

/* ── Built for Washington ─────────────────────────────────────────────── */
.wa { padding: var(--section-y) 0; }
.wa__grid { display: grid; grid-template-columns: 1fr 633px; gap: 60px; align-items: center; }
.wa__points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 50px; }
.point__icon { display: grid; place-items: center; width: 65px; height: 65px; margin-bottom: 25px; background: var(--forest); border-radius: var(--radius-sm); }
.point p { max-width: 250px; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing {
  padding: var(--section-y) 0;
  background: url(../images/Vector1.png) center bottom no-repeat, url(../images/shape_2.png) right center no-repeat, url(../images/blur.png) left bottom no-repeat;
}
.pricing .section-head { margin-bottom: 40px; }
.billing-switch { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 60px; font-size: 19px; }
.billing-switch__toggle { position: relative; width: 70px; height: 33px; padding: 0; background: var(--ink); border: 0; border-radius: 17px; }
.billing-switch__toggle span { position: absolute; top: 6px; left: 8px; width: 21px; height: 21px; background: var(--white); border-radius: 50%; transition: transform .25s; }
.billing-switch__toggle[aria-checked="true"] span { transform: translateX(33px); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan {
  --check-ink: var(--night);
  position: relative; overflow: hidden; isolation: isolate;
  padding: 48px 38px 31px; border: 2px solid var(--plan-line); border-radius: var(--radius-lg);
  color: var(--white); background: var(--night);
}
.plan::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 425px; z-index: -1; background: url(../images/pricing-pattern.png) right top / contain no-repeat; }
.plan--forest { --check-ink: var(--forest); background: var(--forest); }
.plan__ribbon {
  position: absolute; top: 34px; right: -58px; width: 230px; padding: 12px 0; transform: rotate(45deg);
  background: var(--lime); color: #070c0f; font-weight: 600; text-align: center;
}
.plan__tag { width: fit-content; padding: 0 30px; font-size: 14px; line-height: 40px; border: 1px solid var(--plan-line); border-radius: 55px; background: var(--plan-glass); }
.plan__title { margin: 30px 0 40px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; text-transform: capitalize; }
.plan__offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 50px; }
.plan__price { font-size: 50px; font-weight: 600; line-height: 1; color: var(--lime); }
.plan__price small { margin-left: 6px; font-size: 16px; font-weight: 400; letter-spacing: -0.32px; color: rgba(255, 255, 255, 0.6); }
.plan__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; padding: 10px 30px;
  font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 55px; background: var(--plan-glass);
}
.plan__cta:hover { border-color: var(--lime); }
.plan__save {
  display: flex; align-items: center; gap: 15px; width: 275px; padding: 15px 20px;
  font-size: 24px; font-weight: 600; line-height: 32px; text-transform: capitalize;
  border: 1px solid var(--plan-line); border-radius: 20px; background: var(--plan-glass);
}
.plan__badge {
  flex: none; display: grid; place-content: center; width: 96px; height: 93px;
  font-size: 24px; font-weight: 700; line-height: 1.1; color: #070c0f; text-align: center;
  background: url(../images/offer-badge.png) center / cover no-repeat;
}
.plan__badge small { font-size: 14px; font-weight: 600; color: rgba(7, 12, 15, 0.6); }
.plan__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.plan__features li { display: flex; align-items: center; gap: 12px; font-weight: 500; line-height: 1.2; }
.plan__features svg { flex: none; width: 18px; height: 18px; color: var(--white); }
.plan__features .is-muted { opacity: 0.45; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { padding: var(--section-y) 0 10px; }
.faq__card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px; padding: 50px 60px 60px; background: var(--white); border-radius: var(--radius-sm); }
.accordion details { border-bottom: 1px solid #e8e8e8; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0;
  font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink-strong); cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; width: 44px; height: 44px; padding: 13px; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s, background-color .25s; }
.accordion details[open] summary svg { transform: rotate(180deg); background: var(--lime); border-color: var(--lime); }
.accordion details p { padding: 0 75px 25px 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { padding-top: 100px; background: url(../images/Vector1.png) 330px 400px no-repeat; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 426px repeat(3, 254px) 1fr; }
.footer__brand p { max-width: 370px; margin: 30px 0 37px; }
.footer__col h2 { margin-bottom: 22px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.footer__col a { font-size: 18px; font-weight: 500; line-height: 40px; color: var(--link-muted); }
.footer__wordmark { width: min(1320px, 100%); margin: 60px auto 0; }
.footer__bar { position: relative; padding: 30px 0; color: var(--ink); background: var(--white) url(../images/Ellipse0.png) 200px 0 / contain no-repeat; }
.footer__bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; }
.footer__bar ul { display: flex; gap: 22px; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; color: var(--white); background: var(--forest);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1279px) {
  :root { --fs-h2: 42px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .hero__media { width: 140%; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .team__panel { grid-template-columns: 1fr 1fr; }
  .wa__grid { gap: 60px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 90px; --fs-h2: 37.6px; --fs-h3: 22.5px; --fs-body: 15px; }
  .announce, .nav, .navbar__actions { display: none; }
  .navbar { height: 62px; padding: 0 20px; box-shadow: 0 8px 30px rgba(11, 34, 48, 0.08); }
  .menu-toggle { display: block; }
  .brand img { width: 120px; }
  .hero { padding-top: 60px; text-align: center; }
  .hero__grid, .why__grid, .team__panel, .wa__grid { grid-template-columns: minmax(0, 1fr); }
  .hero .eyebrow, .hero__lead { margin-inline: auto; }
  .btn-row, .hero__trial { justify-content: center; }
  .hero__media { width: 100%; margin-top: 0; }
  .features, .team { padding: 0 20px; }
  .features__panel { padding: 90px 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); padding: 40px; }
  .feature-grid li, .feature-grid li:nth-child(n) { padding: 30px 20px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .feature-grid li:nth-child(-n + 2) { border-top: 0; padding-top: 0; }
  .shots--3 { grid-template-columns: 1fr 1fr; }
  .team__panel { padding: 50px 10px; }
  .wa__art { max-width: min(420px, 100%); justify-self: center; }
  .plans, .faq__card { grid-template-columns: 1fr; }
  .faq__card { gap: 0; padding: 30px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .decor { display: none; }
  .site-footer, .footer__bar { background-image: none; }
}

@media (max-width: 767px) {
  :root { --section-y: 70px; --fs-display: 46px; --gutter: 20px; }
  .hero__title { letter-spacing: -2px; }
  .hero__lead { margin-top: 24px; }
  .btn-row { flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; }
  .hero__trial { display: none; }
  .hero__media { margin-top: 50px; }
  .strip__pill { border-radius: 60px; padding: 40px 20px 30px; }
  .why__figure { display: none; }
  .why__card { padding: 40px 20px; }
  .steps li { gap: 20px; }
  .section-head { margin-bottom: 40px; }
  .feature-grid, .shots--2, .shots--3, .wa__points { grid-template-columns: 1fr; }
  .feature-grid { padding: 40px 20px; }
  .feature-grid li:nth-child(n) { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .feature-grid li:first-child { border-top: 0; padding-top: 0; }
  .shot img, .shots--3 .shot img { height: auto; aspect-ratio: 16 / 10; }
  .plan { padding: 48px 20px 31px; }
  .plan__offer { flex-direction: column; align-items: flex-start; }
  .plan__save { width: auto; font-size: 20px; }
  .plan__features { grid-template-columns: 1fr; }
  .faq__card { padding: 20px; }
  .accordion summary { font-size: 18.8px; }
  .accordion details p { padding-right: 0; }
  .footer__bar .container { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ── Legal Pages (Privacy Policy & Terms) ────────────────────────────── */
.legal-hero {
  padding: 80px 0 40px;
  background: url(../images/Vector-6.png) 500px 0 no-repeat;
}
.legal-hero__content {
  max-width: 860px;
}
.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--link-muted);
}
.legal-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--mint);
  color: var(--forest);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.legal-section {
  padding: 20px 0 var(--section-y);
}
.legal-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 50px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 100px;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.legal-sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-nav a {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  padding: 7px 10px;
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s;
}
.legal-nav a:hover {
  color: var(--forest);
  background: var(--mint);
  font-weight: 500;
}
.legal-card {
  padding: 60px 70px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.legal-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 26px;
  margin-bottom: 12px;
  scroll-margin-top: 110px;
}
.legal-card p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}
.legal-card ul, .legal-card ol {
  margin: 16px 0 24px;
  padding-left: 22px;
}
.legal-card ul {
  list-style: disc;
}
.legal-card ol {
  list-style: decimal;
}
.legal-card li {
  margin-bottom: 10px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
}
.legal-card strong {
  color: var(--ink-strong);
  font-weight: 600;
}
.legal-card a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.legal-card a:hover {
  color: #077c60;
}
.legal-callout {
  padding: 22px 26px;
  margin: 26px 0;
  border-radius: var(--radius-sm);
  background: var(--mint);
  border-left: 4px solid var(--forest);
}
.legal-callout p:last-child {
  margin-bottom: 0;
}
.legal-callout strong {
  color: var(--forest);
}
.legal-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal-table th, .legal-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--line);
  line-height: 1.5;
}
.legal-table th {
  background: var(--mint);
  color: var(--ink);
  font-weight: 600;
}
.legal-contact-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.legal-contact-item h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.legal-contact-item p {
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .legal-sidebar {
    display: none;
  }
  .legal-card {
    padding: 36px 30px;
  }
}

@media (max-width: 767px) {
  .legal-hero {
    padding: 50px 0 24px;
  }
  .legal-card {
    padding: 24px 18px;
  }
  .legal-card h2 {
    font-size: 21px;
    margin-top: 36px;
  }
  .legal-card h3 {
    font-size: 17px;
  }
  .legal-contact-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}
