:root{
  --bg:#f7efe5;
  --bg-deep:#f1e2d2;
  --surface:#fffaf4;
  --surface-strong:#fffdf9;
  --surface-muted:rgba(255,250,244,.74);
  --text:#1f1d1a;
  --muted:#5c554f;
  --soft:#85786b;
  --line:rgba(50,34,25,.12);
  --brand:#176b5d;
  --brand-strong:#0f4f45;
  --accent:#e28552;
  --accent-soft:rgba(226,133,82,.16);
  --success:#5d8f63;
  --shadow:0 22px 60px rgba(53,34,24,.12);
  --shadow-soft:0 12px 28px rgba(53,34,24,.08);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --max:1180px;
  --sans:"Space Grotesk","Avenir Next","Trebuchet MS",sans-serif;
  --serif:"Fraunces","Iowan Old Style","Palatino Linotype",serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(920px 520px at 8% 0%, rgba(23,107,93,.14), transparent 60%),
    radial-gradient(760px 420px at 92% 10%, rgba(226,133,82,.18), transparent 58%),
    linear-gradient(180deg, #fbf5ee 0%, #f7efe5 42%, #f0dfcb 100%);
  overflow-x:hidden;
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(50,34,25,.03) 1px, transparent 1px),
    linear-gradient(rgba(50,34,25,.03) 1px, transparent 1px);
  background-size:auto, 24px 24px, 24px 24px;
  pointer-events:none;
  opacity:.45;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{opacity:.96}
button,input,textarea,select{font:inherit}

.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.section{padding:72px 0}
.section.tight{padding:52px 0}
.anchor{scroll-margin-top:96px}
.stack{display:grid;gap:18px}
.split{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:24px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.eyebrow,
.eyebrow-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(23,107,93,.14);
  background:rgba(255,255,255,.68);
  color:var(--brand-strong);
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.eyebrow::before,
.eyebrow-link::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 5px rgba(226,133,82,.12);
}

h1,h2,h3{margin:0}
h1{
  font-family:var(--serif);
  font-size:clamp(44px,7vw,78px);
  line-height:.98;
  letter-spacing:-.04em;
}
h2{
  font-family:var(--serif);
  font-size:clamp(30px,4.2vw,48px);
  line-height:1.02;
  letter-spacing:-.03em;
}
h3{
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.02em;
}
p{
  margin:0;
  color:var(--muted);
  line-height:1.72;
}

.lede{font-size:18px;max-width:64ch}
.small{font-size:13px}
.tiny{font-size:12px}
.muted{color:var(--muted)}
.soft{color:var(--soft)}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(251,245,238,.78);
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid rgba(23,107,93,.16);
  background:
    linear-gradient(135deg, rgba(23,107,93,.98), rgba(226,133,82,.88));
  color:#fffaf4;
  box-shadow:0 14px 30px rgba(23,107,93,.22);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

.brand-mark svg{width:24px;height:24px}

.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-copy strong{
  font-size:15px;
  letter-spacing:.02em;
}

.brand-copy span{
  color:var(--soft);
  font-size:12px;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nav-link{
  padding:9px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
  border:1px solid transparent;
}

.nav-link:hover,
.nav-link.active{
  background:rgba(255,255,255,.72);
  border-color:rgba(50,34,25,.1);
  color:var(--text);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid rgba(50,34,25,.14);
  background:rgba(255,255,255,.8);
  color:var(--text);
  font-size:14px;
  font-weight:700;
  letter-spacing:.01em;
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(50,34,25,.2);
  background:#fffdf9;
}

.btn.primary{
  border-color:rgba(23,107,93,.16);
  background:linear-gradient(135deg, #176b5d 0%, #e28552 100%);
  color:#fffdf9;
  box-shadow:0 16px 34px rgba(23,107,93,.24);
}

.btn.ghost{
  background:transparent;
  box-shadow:none;
}

.hero{
  padding:40px 0 24px;
}

.hero-shell{
  position:relative;
  overflow:hidden;
  padding:28px;
  border-radius:var(--radius-xl);
  border:1px solid rgba(50,34,25,.1);
  background:linear-gradient(180deg, rgba(255,251,246,.92), rgba(255,245,235,.82));
  box-shadow:var(--shadow);
}

.hero-shell::after{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-90px;
  top:-90px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(226,133,82,.18), transparent 66%);
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:22px;
  align-items:stretch;
}

.hero-copy{
  display:grid;
  gap:20px;
  align-content:start;
}

.hero-actions,
.chip-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(50,34,25,.1);
  background:rgba(255,255,255,.7);
  color:var(--text);
  font-size:12px;
  font-weight:600;
}

.chip::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--brand);
}

.hero-sheet{
  position:relative;
  display:grid;
  gap:16px;
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(50,34,25,.12);
  background:
    radial-gradient(420px 240px at 80% 10%, rgba(23,107,93,.14), transparent 60%),
    linear-gradient(180deg, rgba(28,25,23,.98), rgba(39,35,32,.94));
  color:#f9f2ea;
  overflow:hidden;
}

.hero-sheet::before{
  content:"";
  position:absolute;
  inset:auto -30px -70px auto;
  width:180px;
  height:180px;
  border-radius:32px;
  transform:rotate(18deg);
  background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}

.sheet-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:start;
}

.sheet-top strong{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.18em;
}

.sheet-top span{
  color:rgba(249,242,234,.72);
  font-size:12px;
}

.sheet-score{
  display:grid;
  gap:10px;
}

.score-line{
  display:grid;
  gap:6px;
}

.score-line .meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:rgba(249,242,234,.78);
}

.score-bar{
  width:100%;
  height:9px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  overflow:hidden;
}

.score-bar i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, #f5c08d, #fff0d8);
}

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

.sheet-card{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.sheet-card span{
  display:block;
  margin-bottom:8px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(249,242,234,.64);
}

.card,
.panel,
.notice,
.quote-box,
.sample-table,
.contact-panel{
  border:1px solid rgba(50,34,25,.1);
  background:var(--surface-muted);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}

.card,
.panel,
.contact-panel,
.quote-box{
  padding:22px;
}

.notice{
  padding:18px 20px;
  border-left:5px solid var(--accent);
  background:rgba(255,248,241,.94);
}

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

.stat{
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(50,34,25,.1);
  background:rgba(255,255,255,.72);
  box-shadow:var(--shadow-soft);
}

.stat strong{
  display:block;
  margin-bottom:8px;
  font-size:26px;
  line-height:1;
}

.feature-grid,
.dual-grid,
.policy-grid,
.contact-grid{
  display:grid;
  gap:18px;
}

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

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

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

.feature{
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(50,34,25,.1);
  background:rgba(255,255,255,.74);
  box-shadow:var(--shadow-soft);
}

.feature-icon{
  width:48px;
  height:48px;
  margin-bottom:16px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(23,107,93,.14), rgba(226,133,82,.18));
  color:var(--brand-strong);
}

.feature-icon svg{width:24px;height:24px}

.checklist{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.checklist li{
  position:relative;
  padding-left:18px;
  color:var(--muted);
}

.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:.7em;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  transform:translateY(-50%);
}

.process{
  display:grid;
  gap:14px;
}

.process-step{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:14px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(50,34,25,.1);
}

.process-step strong{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(23,107,93,.14), rgba(226,133,82,.18));
  color:var(--brand-strong);
  font-size:18px;
}

.sample-table{
  overflow:auto;
}

table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

th,td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid rgba(50,34,25,.09);
  font-size:14px;
}

th{
  color:var(--text);
  background:rgba(23,107,93,.08);
  font-weight:700;
}

td{color:var(--muted)}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--text);
  font-size:12px;
  font-weight:700;
}

.badge.green{
  background:rgba(93,143,99,.14);
}

.badge.teal{
  background:rgba(23,107,93,.12);
}

.cta-panel{
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(50,34,25,.1);
  background:
    radial-gradient(520px 220px at 10% 0%, rgba(226,133,82,.16), transparent 62%),
    linear-gradient(180deg, rgba(255,251,246,.94), rgba(254,244,234,.92));
  box-shadow:var(--shadow);
}

.form-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

label{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}

input,
textarea,
select{
  width:100%;
  padding:13px 14px;
  border-radius:16px;
  border:1px solid rgba(50,34,25,.14);
  background:rgba(255,255,255,.84);
  color:var(--text);
  outline:none;
  box-shadow:0 8px 18px rgba(53,34,24,.05);
}

input:focus,
textarea:focus,
select:focus{
  border-color:rgba(23,107,93,.32);
  box-shadow:0 0 0 4px rgba(23,107,93,.08);
}

textarea{min-height:150px;resize:vertical}

.field{
  display:grid;
  gap:8px;
}

.field.half{
  flex:1 1 240px;
}

.toast{
  display:none;
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  font-size:13px;
  font-weight:700;
  border:1px solid transparent;
}

.toast.show{display:block}
.toast.ok{
  background:rgba(93,143,99,.12);
  color:#35553a;
  border-color:rgba(93,143,99,.2);
}

.toast.warn{
  background:rgba(226,133,82,.12);
  color:#7e4a2e;
  border-color:rgba(226,133,82,.2);
}

.page-hero{
  padding:42px 0 18px;
}

.page-hero-card{
  padding:26px;
  border-radius:28px;
  border:1px solid rgba(50,34,25,.1);
  background:rgba(255,250,244,.82);
  box-shadow:var(--shadow);
}

.prose{
  display:grid;
  gap:20px;
}

.prose h2{
  font-size:clamp(24px,3.4vw,36px);
}

.prose h3{
  font-size:18px;
}

.prose ul,
.prose ol{
  margin:0;
  padding-left:20px;
  color:var(--muted);
  line-height:1.72;
}

.quote-box{
  position:relative;
  overflow:hidden;
}

.quote-box::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:90px;
  height:90px;
  border-radius:0 0 90px 0;
  background:rgba(23,107,93,.08);
}

.footer{
  margin-top:28px;
  padding:34px 0 40px;
  border-top:1px solid var(--line);
  background:rgba(255,250,244,.72);
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) repeat(3,minmax(0,.7fr));
  gap:22px;
}

.footer-links{
  display:grid;
  gap:10px;
}

.footer-links a{
  color:var(--muted);
  font-size:14px;
}

.footer-links a:hover{color:var(--text)}

.fine-print{
  margin-top:18px;
  color:var(--soft);
  font-size:12px;
  line-height:1.7;
}

.reveal{
  opacity:0;
  transform:translateY(18px);
}

body.is-ready .reveal{
  animation:rise .66s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay:calc(var(--delay, 0) * 90ms);
}

@keyframes rise{
  to{
    opacity:1;
    transform:none;
  }
}

@media (max-width: 980px){
  .hero-grid,
  .split,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .stats,
  .feature-grid,
  .dual-grid,
  .policy-grid,
  .contact-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 720px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .hero-shell,
  .page-hero-card,
  .cta-panel,
  .card,
  .panel,
  .contact-panel,
  .quote-box{
    padding:20px;
  }

  .stats,
  .feature-grid,
  .dual-grid,
  .policy-grid,
  .contact-grid,
  .sheet-grid{
    grid-template-columns:1fr;
  }

  .topbar-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  h1{
    font-size:clamp(36px,12vw,58px);
  }
}
