:root{
  /* Brand */
  --midnight:#035157;
  --isabelline:#F2EDE8;
  --isabelline-alt:#FBFAF8;
  --eerie:#1F2322;
  --orange:#FC7C57;
  --lime:#D6FC49;

  /* Layout */
  --max:1120px;
  --radius:18px;

  /* Lines */
  --line:rgba(3,81,87,.12);
  --line2:rgba(31,35,34,.14);
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--isabelline);
  color:var(--eerie);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto;display:block}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  z-index:9999;
}

/* Type helpers */
.h1,.h2,.h3{margin:0}
.h1{
  font-size:clamp(48px, 6vw, 76px);
  font-weight:600;
  letter-spacing:-0.03em;
  line-height:1.02;
}
@media (max-width: 600px){
  .hero .h1{
    font-size: clamp(44px, 8vw, 60px);
  }
}
.h2{
  color: var(--midnight);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight:600;
  letter-spacing:-0.01em;
}
}
.h3{
  font-size:16px;
  font-weight:650;
  letter-spacing:.01em;
}
.subhead{
  margin:14px auto 0;
  max-width:74ch;
  color:rgba(31,35,34,.78);
  font-size:16px;
  line-height:1.6;
}

/* =============
Buttons 
============= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn--primary{
  border-color:transparent;
  background:var(--midnight);
  color:#fff;
  box-shadow:0 10px 30px rgba(3,81,87,.10);
}
.btn--ghost{
  background:transparent;
  color:rgba(31,35,34,.85);
}
.btn--ghost:hover{background:rgba(255,255,255,.35)}
.btn--full{width:100%}

/* =========================
   Button Spinner + States
========================= */

.btn{
  position: relative;
}

/* Spinner color inherits from current text color */
.btn__spinner{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  opacity: .7;
  display: none;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: spin .7s linear infinite;
}

/* Loading hides label and shows spinner */
.btn.is-loading .btn__text{ visibility: hidden; }
.btn.is-loading .btn__spinner{ display: inline-block; }

.btn.is-loading{
  pointer-events: none;
  cursor: default;
}

/* Success state: quick "settle" + subtle confirmation */
.btn.is-success{
  pointer-events: none;
}

.btn.is-success .btn__text{
  visibility: visible;
}

.btn.is-success .btn__spinner{
  display: none;
}

.btn.is-success{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(3,81,87,.16);
}

@keyframes spin{
  to{ transform: translate(-50%, -50%) rotate(360deg); }
}

/* HEADER / NAV — single truth */

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242,237,232,.90);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | links | actions */
  align-items: center;
  gap: 18px;
}

/* HARD-CONSTRAIN the logo so it cannot blow up */
.brand{ display:flex; align-items:center; }
.brand__logo{
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 220px;
}

/* Center nav links */
.nav{
  display: flex;
  justify-content: center;
}

.nav__links--desktop{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
}

.nav__link{
  font-size: 15px;
  color: rgba(31,35,34,.82);
}

/* Right-side actions (CTA + hamburger) */
.nav__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Desktop CTA: visible by default */
.nav__cta{
  display: inline-flex;
}

/* CTA sizing */
.nav__cta.btn--primary{
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
}

/* Hamburger default hidden */
.nav__toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav__toggle span{
  display:block;
  width:22px;
  height:2px;
  background: var(--midnight);
  border-radius: 2px;
}

/* Mobile behavior */
@media (max-width: 900px){
  .nav__links--desktop{ display:none; }
  .nav__cta{ display:none; }        /* hide green Contact on mobile */
  .nav__toggle{ display:inline-flex; }
}

/* Drawer */
.drawer{
  border-top:1px solid var(--line);
  background:rgba(242,237,232,.96);
}
.drawer[hidden]{display:none}
.drawer__nav{
  display:flex;
  flex-direction:column;
  padding:14px 24px 18px;
  gap:8px;
}
.drawer__link{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:rgba(31,35,34,.88);
}
.drawer__link:hover{
  border-color:var(--line);
  background:rgba(255,255,255,.55);
}

/* Focus-visible styles for accessibility */
.nav__link:focus-visible,
.drawer__link:focus-visible,
.btn:focus-visible,
.nav__toggle:focus-visible{
  outline:3px solid rgba(214,252,73,.35);
  outline-offset:2px;
  border-radius:14px;
}

/* HERO — keep gradient colors/percentages AS-IS */
.hero{
  position:relative;
  padding:110px 0 90px;
  overflow:hidden;
  background: linear-gradient(
    45deg,
    #EE805A 0%,
    #F28A5D 35%,
    #F6B061 70%,
    #F7D861 80%,
    #DDE35A 100%
  );
}
.hero::before{display:none}
.hero .container{position:relative;z-index:1}

.hero__inner--single{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}
.hero .h1{
  color:#fff;
  text-shadow:0 10px 26px rgba(0,0,0,.22), 0 2px 0 rgba(0,0,0,.08);
}
.hero .lead{
  margin:0 auto 18px;
  max-width:60ch;
  font-size:19px;
  color:rgba(255,255,255,.92);
  text-shadow:0 6px 18px rgba(0,0,0,.14);
}
.hero__subline{
  margin:18px auto 0;
  max-width:62ch;
  color:rgba(255,255,255,.88);
  font-size:14px;
  letter-spacing:.01em;
}
.lead--secondary{margin-top:18px}

.hero__buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:10px;
}
.btn--ghost-on-hero{
  border-color:rgba(242,237,232,.52);
  color:rgba(242,237,232,.96);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(8px);
}
.btn--ghost-on-hero:hover{background:rgba(255,255,255,.14)}

/* Sections */
.section{
  padding:96px 0;
  text-align:center;
  background:var(--isabelline);
}

.section--alt{
  background:var(--isabelline-alt);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section__head{
  max-width:900px;
  margin:0 auto 34px;
}

/* Grid helpers */
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:start;
}

/* Industries row (single source of truth) */
.industry-grid{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:32px;
  flex-wrap:wrap;
  margin-top:24px;
  width:100%;
}

.industry{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:110px;
  text-align:center;
}

/* Mobile: stack vertically */
@media (max-width: 720px){
  .industry-grid{
    flex-direction:column;
    align-items:center;
    gap:20px;
    flex-wrap:nowrap;
  }
  .industry{
    min-width:0;
  }
}

/* =========================
   Governance Section Title
========================= */

.governance__head {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.governance__title {
  margin:0 0 6px; /* match eco__title */
  font-size:13px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(3,81,87,.92);
}

/* ========================= 
Industries Accordion (stacked, centered) 
========================== */
.industry-accordion{
  max-width: 520px;
  margin: 28px auto 0;
  display: grid;
  gap: 14px;
}

.industryItem{
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* Button row */
.industryTrigger{
  display: inline-grid;
  grid-template-columns: 28px auto auto;
  align-items: center;
  gap: 8px;

  background: transparent;
  border: none;
  padding: 10px 0;
  cursor: pointer;

  color: rgba(31,35,34,.92);
}

.industryTrigger:hover{
  background: rgba(255,255,255,.35);
}
.industryTrigger:focus-visible{
  outline: 2px solid rgba(3,81,87,.25);
  outline-offset: 2px;
}

.industryIcon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(31,35,34,.92);
}

.industryLabel{
  text-align: left;
  font-weight: 500;
  font-size: 1rem; /* 15px */
}

@media (max-width: 720px){
  .industryLabel{
    font-size: 0.875rem;  /* 14px */
  }
}

.industryPlus{
  text-align: right;
  font-size: 18px;
  line-height: 1;
  color: rgba(31,35,34,.55);
  transition: transform .2s ease;
  transform-origin: 50% 50%;
}

.industryTrigger[aria-expanded="true"] .industryPlus{
  transform: rotate(45deg);
}

/* Panel */
.industryPanel{
  padding: 0 12px;
}

.industryPanelInner{
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  text-align: left;
  color: rgba(31,35,34,.82);
  line-height: 1.55;
}

.industryPanelInner p{
  margin: 0;
}

/* Panel text styling */
.industryLead{
  margin: 0;
  color: rgba(31,35,34,.82);
}

.industryTorbu{
  margin: 0;
  color: rgba(31,35,34,.92);
}

/* Divider between the two sentences */
.industryDivider{
  height: 1px;
  margin: 14px 0;
  background: var(--line);   /* matches architecture divider */
}

/* Slight emphasis for TORBU */
.industryTorbu strong{
  color: var(--midnight);
  font-weight: 600;
  letter-spacing: .01em;
}

/* =========================
   Governance Section Integration
========================= */

/* Reduce bottom spacing after gravity text */
.sector-gravity {
  margin-bottom: 1.75rem; /* was likely 2.5–3rem */
}

/* Tighten space above Sector Applications title */
.governance__head {
  margin-top: 1.25rem;   /* reduced */
  margin-bottom: 1rem;   /* tighter */
  text-align: center;
}

/* Pull accordion closer to title */
.industry-accordion {
  margin-top: 0.5rem;
}

/* Reduce top margin on first accordion item */
.industry-accordion .industryItem:first-child {
  margin-top: 0;
}

/* MODEL steps */
.steps{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}
.step{
  position:relative;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff; /* changed */
  padding:18px 16px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.checkpoint{
  width:10px;height:10px;border-radius:999px;
  background:var(--lime);
  border:2px solid var(--midnight);
  margin:0 auto 10px;
}

/* ARCHITECTURE layer stack */
.integrate__stack{
  max-width:900px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.integrate__card{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.78);
  padding:18px 18px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  backdrop-filter:saturate(120%) blur(8px);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.integrate__kicker{
  font-weight:650;
  color:var(--midnight);
  margin-bottom:8px;
}
.integrate__items{
  color:rgba(31,35,34,.80);
}
.integrate__connector{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  color:rgba(31,35,34,.55);
  font-size:13px;
  letter-spacing:.02em;
}
.integrate__arrow{opacity:.75}
.integrate__meta{opacity:.85}

/* Subtle hover/focus highlight */
.integrate__card:hover,
.integrate__card:focus-visible{
  transform: translateY(-1px);
  border-color: rgba(3,81,87,.30);
  background: rgba(214,252,73,.08);
  box-shadow: 0 10px 30px rgba(3,81,87,.10);
}

/* ---------- Ecosystem Model diagram ---------- */
.eco{ margin-top:26px; }

.eco__divider{
  height:1px;
  background:var(--line);
  margin:22px 0 22px;
  opacity:.9;
}

.eco__head{ margin-bottom:14px; }

.eco__title{
  margin:0 0 6px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(3,81,87,.92);
}

.eco__subhead{
  margin:0;
  color:rgba(31,35,34,.78);
  font-size:15px;
  line-height:1.5;
}

/* 3-column cards */
.eco__grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:14px;
  padding-bottom:34px; /* room for connectors */
}

.eco__card{
  position:relative;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.78);
  padding:16px 16px 14px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  backdrop-filter:saturate(120%) blur(8px);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align:center;
}

.eco__kicker{
  font-weight:650;
  letter-spacing:.01em;
  color:var(--midnight);
  margin-bottom:10px;
}

/* bullet list = centered block, left-aligned text */
.eco__bullets{
  display:inline-block;
  text-align:left;
  list-style:none;
  margin:10px 0 0;
  padding:0;
}
.eco__bullets li{
  position:relative;
  padding-left:14px;
  margin:6px 0;
  line-height:1.45;
}
.eco__bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(31,35,34,.40); /* neutral, institutional */
}

/* Connector lines from each card down */
.eco__card::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  width:1px;
  height:26px;
  background:rgba(31,35,34,.16); /* slightly stronger than --line so it shows */
  transform:translateX(-50%);
}

/* Center block (toned-down green) */
.eco__center{
  position:relative;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px 18px 16px;
  background:rgba(214,252,73,.08); /* toned down */
  box-shadow:0 12px 34px rgba(0,0,0,.08);
  max-width:720px;
  margin:0 auto;
  text-align:center;
}
.eco__centerTitle{
  margin:0;
  font-weight:650;
  color:var(--midnight);
  letter-spacing:.01em;
  font-size:18px;
}
.eco__centerText{
  margin:10px 0 0;
  color:rgba(31,35,34,.80);
  font-size:14px;
  line-height:1.55;
}
.eco__caption{
  margin:14px 0 0;
  text-align:center;
  font-size:13px;
  color:rgba(31,35,34,.70);
}

/* Subtle hover (no color shift) */
.eco__card:hover,
.eco__card:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(3,81,87,.06);
}
/* WHY NOW — unify paragraph styling */
.why-now__body{
  margin:16px auto 0;
  max-width:74ch;
  font-size:16px;
  line-height:1.7;
  color:rgba(31,35,34,.80);
}

/* Optional: slightly tighter spacing between the last two */
.why-now__body + .why-now__body{
  margin-top:12px;
}

/* -----------------------------------------
   Contact Section
------------------------------------------ */

.section--cta{
  background:linear-gradient(
    45deg,
    rgba(214,252,73,.10),
    rgba(3,81,87,.04)
  );
  border-top:1px solid var(--line);
  padding:80px 0;
}

/* Layout */
.cta{
  max-width:1000px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:32px;
  align-items:start;
}

/* Mobile stack */
@media (max-width: 900px){
  .cta{
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* Left column */
.cta__copy{
  padding-right:12px;
}

.cta__meta{
  margin-top:24px;
  display:grid;
  gap:12px;
}

.meta{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
}

.meta__label{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(3,81,87,.75);
  font-weight:600;
}

.meta__value{
  display:block;
  margin-top:6px;
  color:rgba(31,35,34,.84);
}

/* -----------------------------------------
   Form
------------------------------------------ */

.form{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:20px;
  padding:26px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

label{
  display:block;
  margin-bottom:16px;
}

label span{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(3,81,87,.75);
  font-weight:600;
  margin-bottom:6px;
}

input, textarea{
  width:100%;
  font:inherit;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(31,35,34,.18);
  outline:none;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}

input:focus,
textarea:focus{
  border-color:rgba(3,81,87,.45);
  box-shadow:0 0 0 4px rgba(214,252,73,.18);
}

/* Send button */
.form button{
  margin-top:10px;
  width:100%;
  padding:14px;
  border-radius:16px;
  border:none;
  background:var(--midnight);
  color:#fff;              /* FIX: ensure white text */
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}

.form button:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(3,81,87,.20);
}

.fineprint{
  margin:12px 0 0;
  font-size:12px;
  color:rgba(31,35,34,.70);
}

/* Footer */
.footer{
  padding:48px 0 56px;
}

.footer .container{
  border-top:1px solid var(--line);
  padding-top:36px;
}

/* top row */
.footer__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
}

.footer__left{
  min-width:240px;
}

/* Brand */
.footer__brand{
  font-size:14px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(3,81,87,.85);
}

/* Tagline */
.footer__tag{
  font-size:12px;
  letter-spacing:.02em;
  color:rgba(31,35,34,.65);
  margin-top:2px;
  max-width:44ch;
}

/* Right nav */
.footer__nav{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  justify-content:flex-end;
  text-align:right;
}

.footer__nav a{
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(31,35,34,.72);
}

.footer__nav a:hover{
  opacity:.85;
}

/* bottom legal row: left legal text + right legal links */
.footer__bottom{
  margin-top:22px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  flex-wrap:wrap;
}

.footer__legal{
  font-size:12px;
  color:rgba(31,35,34,.50);
  line-height:1.5;
  max-width:72ch;
}

.footer__legal-links{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:rgba(31,35,34,.55);
  white-space:nowrap; /* keeps “Privacy • Terms” on one line */
}

.footer__legal-links a{
  color:rgba(31,35,34,.55);
  text-decoration:none;
}

.footer__legal-links a:hover{
  color:rgba(3,81,87,.85);
}

.footer__sep{ opacity:.5; }

/* prevent “TORBU, LLC.” breaking */
.nowrap{ white-space:nowrap; }

/* Mobile */
@media (max-width:720px){
  .footer__top{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer__nav{
    justify-content:flex-start;
    text-align:left;
    gap:18px;
  }

  .footer__bottom{
    flex-direction:column;
    gap:12px;
  }
}

/* ---------- Responsive (single block; no duplicates) ---------- */
@media (max-width: 900px){

  /* hide desktop nav, show hamburger */
  .nav{display:none}
  .nav__toggle{display:inline-flex}

  .hero{padding:92px 0 64px}
  .h1{font-size:clamp(40px, 9vw, 58px)}
  .hero .lead{font-size:16px}

  .grid2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}

  .footer__inner{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:18px;
  }
  .footer__right{justify-content:center; gap:18px}

  /* ecosystem stacks */
  .eco__grid{
    grid-template-columns:1fr;
    gap:14px;
    padding-bottom:12px;
  }
  .eco__card::after{display:none}
  .eco__center{max-width:100%; margin-top:10px}
  }
/* Mobile hero headline bump */
@media (max-width: 600px){
  .hero .h1{
    font-size: clamp(48px, 7.2vw, 60px);
    line-height: 1.05;
    margin-bottom: 28px;   /* increase to 32px if you want more */
  }
}
/* =========================
   Legal pages (Privacy/Terms)
   ========================= */

.legal{
  padding: 72px 0 86px;
}

.legal__head{
  text-align: center;
  margin-bottom: 22px;
}

.legal__kicker{
  margin: 0 auto 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(31,35,34,.62);
}

.legal__title{
  margin: 0;
}

.legal__subtitle{
  margin: 12px auto 0;
  max-width: none;
  text-align: center;
  color: rgba(31,35,34,.72);
  font-size: 16px;
  line-height: 1.65;
}

.legal__shell{
  margin-top: 26px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.legal__card{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,.04);
}

@media (max-width: 720px){
  .legal{ padding: 56px 0 70px; }
  .legal__card{ padding: 18px 16px; }
}

/* Meta row */
.legal__meta{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: rgba(31,35,34,.62);
  font-size: 13px;
}

.legal__meta b{
  color: rgba(31,35,34,.78);
  font-weight: 600;
}

/* TOC */
.legal__toc{
  margin: 0 0 20px;
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(242,237,232,.55); /* isabelline tint */
}

.legal__tocTitle{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(31,35,34,.62);
}

.legal__toc a{
  display: inline-block;
  margin: 6px 12px 6px 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.60);
  color: rgba(31,35,34,.78);
  font-size: 13px;
}

.legal__toc a:hover{
  background: rgba(255,255,255,.78);
}

/* Section content */
.legal__section{
  padding-top: 8px;
  margin-top: 18px;
}

/* Headings inside legal pages */
.legal h2{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(3,81,87,.92); /* midnight tint */
}

.legal p{
  margin: 0 0 12px;
  color: rgba(31,35,34,.82);
  line-height: 1.7;
}

.legal ul{
  margin: 8px 0 14px;
  padding-left: 18px;
  color: rgba(31,35,34,.82);
}

.legal li{
  margin: 6px 0;
  line-height: 1.65;
}

/* Links inside legal pages */
.legal a{
  text-decoration: none;
  border-bottom: 1px solid rgba(3,81,87,.25);
}
.legal a:hover{
  border-bottom-color: rgba(3,81,87,.45);
}

/* =========================
   Anchor + section targeting
   ========================= */

/* Smooth scrolling */
html{
  scroll-behavior: smooth;
}

/* Offset for sticky header when jumping to anchors */
:target{
  scroll-margin-top: 92px; /* tune to your header height */
}

/* Subtle highlight when arriving at a section via anchor */
.legal__section:target{
  background: rgba(214,252,73,.10); /* very light lime tint */
  border: 1px solid rgba(3,81,87,.10);
  border-radius: 14px;
  padding: 14px 14px;
}

/* Keep TOC chips readable on small screens */
@media (max-width: 720px){
  .legal__toc a{
    margin: 6px 8px 6px 0;
    font-size: 12px;
    padding: 6px 9px;
  }
}
