
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;650;700&display=swap');

:root{
  --bg:#ffffff;
  --text:#0f0f10;
  --muted:#5f6368;
  --line:#e4e6ea;
  --soft:#f7f8fa;
  --accent:#0f0f10;
  --radius:14px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Layout */
.wrap{max-width:1680px;margin:0 auto;padding:0 6vw;}
.wrap-tight{max-width:1200px;margin:0 auto;padding:0 6vw;}

.rule{border-top:1px solid var(--line);}

.nav{
  position:sticky;top:0;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  z-index:20;
}
.nav-inner{
  max-width:1680px;margin:0 auto;padding:18px 6vw;
  display:flex;align-items:center;justify-content:space-between;
}
.logo{
  font-weight:650; letter-spacing:-0.6px;
  font-size:15px;
}
.nav-links{display:flex;gap:28px;align-items:center;}
.nav-links a{
  text-decoration:none;color:var(--text);
  font-size:13px;font-weight:550; letter-spacing:-0.15px;
  opacity:.9;
}
.nav-links a:hover{opacity:1;}
.nav-actions{display:flex;gap:10px;align-items:center;}
.menu-btn{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  align-items:center;justify-content:center;
  cursor:pointer;
}
.menu-btn:hover{border-color:#cfd3da;}
.menu-icn{position:relative;width:16px;height:12px;display:block;}
.menu-icn::before,.menu-icn::after{
  content:"";
  position:absolute;left:0;right:0;
  height:2px;background:var(--text);
  border-radius:999px;
  transition:transform .22s ease, top .22s ease, opacity .22s ease;
}
.menu-icn::before{top:2px;}
.menu-icn::after{top:8px;}
.menu-btn[aria-expanded="true"] .menu-icn::before{top:5px;transform:rotate(45deg);}
.menu-btn[aria-expanded="true"] .menu-icn::after{top:5px;transform:rotate(-45deg);}
.pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12.5px;font-weight:600;
  color:var(--text);
  text-decoration:none;
  background:transparent;
}
.pill:hover{border-color:#cfd3da;}
.pill.primary{
  border-color:var(--text);
}
.pill.primary:hover{background:var(--text);color:#fff;}

/* Hero */
.hero{
  min-height:82vh;
  display:flex;align-items:flex-end;
  padding:110px 0 90px;
}
.hero-grid{
  width:100%;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:64px;
  align-items:end;
}
.eyebrow{
  font-size:12px;font-weight:650;letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:14px;
}
.h1{
  font-size:clamp(54px,5.2vw,92px);
  line-height:1.02;
  letter-spacing:-1.65px;
  margin:0 0 22px 0;
  max-width:18ch;
}
.lede{
  font-size:18px;
  color:var(--muted);
  margin:0;
  max-width:58ch;
}
.hero-cta{margin-top:34px;display:flex;gap:12px;flex-wrap:wrap;}
.hero-note{
  border-left:1px solid var(--line);
  padding-left:28px;
}
.snapshot{
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 26px 22px;
}

/* Hero media */
.hero-media{
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:18px;
  overflow:hidden;
  margin-bottom:18px;
}
.hero-media img{display:block;width:100%;height:auto;}

/* Mobile sheet (menu) */
.sheet{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
.sheet.open{display:block;}
.sheet-backdrop{
  position:absolute;inset:0;
  background:rgba(15,15,16,.42);
}
.sheet-panel{
  position:absolute;
  top:0;left:0;right:0;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  padding:18px 6vw 18px;
}
.sheet-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
}
.sheet-title{
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
}
.sheet-close{
  width:44px;height:44px;border-radius:999px;
  border:1px solid var(--line);
  background:transparent;
  display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.sheet-close:hover{border-color:#cfd3da;}
.sheet-body{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.sheet-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--soft);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  letter-spacing:-0.2px;
}
.sheet-link:hover{background:#fff;}
.sheet-link.active{background:#fff;border-color:#cfd3da;box-shadow:0 10px 30px rgba(15,15,16,.06);}
.sheet-cta{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
  display:flex;gap:10px;flex-wrap:wrap;
}

html.nav-open, html.nav-open body{overflow:hidden;}
.snapshot h3{
  margin:0 0 14px 0;
  font-size:13px;font-weight:700;letter-spacing:0.08em;
  text-transform:uppercase;color:var(--muted);
}
.kv{display:grid;grid-template-columns: 1fr 1fr; gap:10px 14px;}
.kv div{font-size:13.5px;color:var(--muted);line-height:1.45;}
.kv strong{display:block;color:var(--text);font-weight:650;margin-bottom:2px;letter-spacing:-0.2px;}
.hr{height:1px;background:var(--line);margin:18px 0;}

/* Sections */
.section{padding:92px 0;}
.section-title{
  font-size:34px;
  letter-spacing:-0.8px;
  margin:0 0 26px 0;
}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:56px;}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  background:#fff;
}
.card.soft{background:var(--soft);}
.card h3{
  margin:0 0 10px 0;
  font-size:16px;letter-spacing:-0.35px;
}
.card p{margin:0;color:var(--muted);font-size:14.5px;}
.list{
  margin:14px 0 0 0;
  padding:0;
  list-style:none;
}
.list li{
  padding:10px 0;
  border-top:1px solid var(--line);
  font-size:14.5px;
  color:var(--muted);
}
.list li:first-child{border-top:0;}
.list strong{color:var(--text);font-weight:650;}
.statement{
  margin-top:20px;
  font-size:15px;
  color:var(--text);
  letter-spacing:-0.2px;
  font-weight:650;
}
.specgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px 34px;
  margin-top:18px;
}
.specgrid div{padding:10px 0;border-top:1px solid var(--line);font-size:14px;color:var(--muted);}
.specgrid div:nth-child(1), .specgrid div:nth-child(2){border-top:0;}
.specgrid strong{display:inline-block;min-width:160px;color:var(--text);font-weight:650;}
/* CP/AP gate */
.gate{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.gate-grid{
  display:grid;
  grid-template-columns:1fr 1px 1fr;
}
.gate-grid .divider{background:var(--line);}
.panel{
  padding:78px 6vw;
}
.panel .kicker{
  font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);
  margin-bottom:10px;
}
.panel h3{
  margin:0 0 14px 0;
  font-size:26px;letter-spacing:-0.7px;
}
.panel p{
  margin:0 0 18px 0;
  color:var(--muted);
  max-width:60ch;
}
.minirow{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;}
.minirow span{border:1px solid var(--line);border-radius:999px;padding:8px 10px;background:#fff;}
/* Tables */
.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.table th,.table td{
  text-align:left;
  padding:14px 16px;
  font-size:13.5px;
  border-top:1px solid var(--line);
}
.table th{
  background:var(--soft);
  color:var(--muted);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  font-weight:700;
  border-top:0;
}
.table td strong{font-weight:650;color:var(--text);}

/* Forms */
.form{
  max-width: 920px;      /* wider */
  width: 100%;
  margin: 0 auto;        /* this centers it */
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:36px;          /* better breathing room */
  background:#fff;
}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.label{display:block;font-size:12px;color:var(--muted);font-weight:650;letter-spacing:0.08em;text-transform:uppercase;margin:0 0 8px 0;}
input,textarea,select{
  width:100%;
  padding:14px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  font-family:inherit;
  font-size:14px;
  outline:none;
  background:#fff;
}
input:focus,textarea:focus,select:focus{border-color:#b8bec8;box-shadow:0 0 0 4px rgba(15,15,16,.06);}
textarea{min-height:150px;resize:vertical;}
.form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px;}
.smallnote{font-size:12.5px;color:var(--muted);}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:64px 0;
  color:var(--muted);
  font-size:13px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}
.footer strong{color:var(--text);font-weight:650;}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:28px;}
  .hero-note{border-left:0;padding-left:0;}
  .grid2{grid-template-columns:1fr; gap:28px;}
  .grid3{grid-template-columns:1fr; gap:14px;}
  .gate-grid{grid-template-columns:1fr;}
  .gate-grid .divider{display:none;}
  .panel{padding:52px 6vw;}
  .row2{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}

@media (max-width: 820px){
  .nav-inner{padding:14px 6vw;}
  .nav-links{display:none;}
  .nav-actions .pill{display:none;}
  .nav-actions .pill.primary{display:inline-flex;}
  .menu-btn{display:inline-flex;}
  .hero{min-height:auto;padding:78px 0 58px;}
  .hero-cta{flex-direction:column;}
  .hero-cta .pill{width:100%;justify-content:center;min-height:52px;font-size:14px;}
  .h1{font-size:clamp(40px,10vw,56px);letter-spacing:-1.2px;}
  .lede{font-size:16px;}
}

@media (max-width: 420px){
  .wrap,.wrap-tight{padding:0 18px;}
}


/* --- Spec/Proof UI (Swiss) --- */
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.badge{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:8px 10px;background:#fff;color:var(--muted);font-size:12.5px}
.dot{width:8px;height:8px;border-radius:999px;background:var(--line);display:inline-block}
.dot.ok{background:#19a35b}
.dot.ip{background:#d6a400}
.dot.req{background:#6a6a6a}
.proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px}
.proof{border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:var(--soft)}
.proof strong{display:block;color:var(--text);font-weight:650;letter-spacing:-.2px;margin-bottom:6px}
.proof span{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.note{border-left:2px solid var(--line);padding-left:16px;color:var(--muted);font-size:13px;max-width:72ch}
.doclist{margin:10px 0 0 0;padding:0;list-style:none;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.doclist li{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);background:#fff}
.doclist li:first-child{border-top:0}
.doclist a{color:inherit;text-decoration:none}
.doclist a:hover{color:var(--text)}
/* Resources doclist: keep download pills consistent on small screens */
.doclist li > span:first-child{min-width:0;} /* allow title to wrap/shrink */
.doclist li > span:last-child{flex:0 0 auto;}
.doclist li > span:last-child .pill{white-space:nowrap; flex:0 0 auto;}
@media(max-width:640px){
  .doclist li{align-items:flex-start;}
}
.kvmini{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-top:16px}
.kvmini div{color:var(--muted);font-size:13.5px;line-height:1.45}
.kvmini strong{display:block;color:var(--text);font-weight:650;margin-bottom:2px;letter-spacing:-0.2px}
@media(max-width:980px){.proof-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.proof-grid{grid-template-columns:1fr}}

@media (max-width: 640px){
  .table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .table th,.table td{white-space:nowrap;}
}


/* tighten overall section spacing on the sample page */
.hero.small {
  min-height: 42vh;              /* was visually too tall */
  padding-bottom: 40px;
}

.section.rule {
  padding-top: 70px;             /* slightly tighter */
  padding-bottom: 80px;
}

/* form container rhythm */
.form {
  padding: 26px;
}

/* label spacing */
.label {
  margin: 0 0 6px 0;
}

/* row spacing */
.row2 {
  gap: 14px;                      /* uniform */
}

/* unify control styling */
input,
textarea,
select {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  outline: none;
}

/* consistent control height for inputs + selects */
input,
select {
  min-height: 48px;
}

/* textarea rhythm */
textarea {
  margin-top: 2px;
  min-height: 150px;
  resize: vertical;
}

/* focus state */
input:focus,
textarea:focus,
select:focus {
  border-color: #b8bec8;
  box-shadow: 0 0 0 4px rgba(15, 15, 16, 0.06);
}

/* --- SELECT: remove native look + add caret icon --- */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;            /* room for caret */
  cursor: pointer;

  /* caret */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%236a6a6a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* remove IE arrow (harmless elsewhere) */
select::-ms-expand { display: none; }

/* spacing before actions */
.form-actions {
  margin-top: 6px;
  gap: 12px;
  align-items: center;
}

/* keep the helper text from feeling detached */
.smallnote {
  line-height: 1.35;
}


/* Center the form block within the page */
body.page-sample .section.rule .wrap-tight.form-center{
  display:flex;
  justify-content:center;
}

/* Make the form wider and visually balanced */
body.page-sample .form{
  width:100%;
  max-width: 900px;          /* wider */
  margin: 0 auto;
  padding: 30px;             /* a touch more air */
}

/* Clean vertical rhythm between grouped rows */
body.page-sample .form form > .row2{
  margin-bottom: 18px;
}

/* Standalone label + control spacing */
body.page-sample .form form > label.label{
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Space between standalone blocks (shipping/context) */
body.page-sample .form form > input,
body.page-sample .form form > textarea{
  margin-bottom: 18px;
}

/* Prevent double-spacing before actions */
body.page-sample .form form > .form-actions{
  margin-top: 6px;
}

/* Row grid spacing (horizontal + vertical) */
body.page-sample .row2{
  gap: 18px 24px;
}

/* Match selects to inputs exactly */
body.page-sample select{
  height: 48px;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding-right: 44px;
  cursor:pointer;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%236a6a6a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
body.page-sample select::-ms-expand{display:none;}

/* Controls height consistency */
body.page-sample input,
body.page-sample select{
  min-height: 48px;
}

/* Slightly taller context box */
body.page-sample textarea{
  min-height: 170px;
}

/* Actions alignment */
body.page-sample .form-actions{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Mobile */
@media (max-width: 760px){
  body.page-sample .row2{grid-template-columns:1fr;}
  body.page-sample .form{padding:24px;}
}

/* =========================================================
   SAMPLE FORM — CENTER + WIDTH + VERTICAL RHYTHM (FINAL)
   Applies only when the form has class="form sample-form"
   ========================================================= */

.form.sample-form{
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 36px;
}

/* Consistent spacing between top-level blocks inside the form */
.form.sample-form form > *{ margin: 0; }
.form.sample-form form > * + *{ margin-top: 26px; }

/* Two-column rows */
.form.sample-form .row2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

/* Stack label + control inside each column */
.form.sample-form .row2 > div{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Normalize controls */
.form.sample-form input,
.form.sample-form select{
  height: 48px;
  margin: 0;
}
.form.sample-form textarea{
  min-height: 180px;
  margin: 0;
}

/* Select styling to match inputs */
.form.sample-form select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding-right: 44px;
  cursor:pointer;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%236a6a6a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
.form.sample-form select::-ms-expand{display:none;}

/* Mobile */
@media (max-width: 760px){
  .form.sample-form .row2{ grid-template-columns: 1fr; }
}


/* --- Hero material image (drop in /assets) --- */
.hero-media{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  margin-bottom:18px;
}
.hero-media img{
  display:block;
  width:100%;
  height:auto;
}


/* Modal (Netlify popup forms) */
.modal{
  position:fixed; inset:0;
  display:none;
  z-index: 80;
  /* Allow the modal itself to scroll on small screens (body is scroll-locked). */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal.open{display:block;}
.modal-backdrop{
  position:absolute; inset:0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}
.modal-panel{
  position:relative;
  max-width: 760px;
  margin: min(10vh, 80px) auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(15,23,42,.18);
}

/* Match sample-page form vertical rhythm inside modals */
.modal-panel form > * { margin: 0; }
.modal-panel form > * + * { margin-top: 26px; }

/* Field wrapper: keeps label+control spacing consistent (especially textarea). */
.field{display:flex;flex-direction:column;gap:6px;}

/* Let the row spacing rule control the submit area too */
.modal-panel .form-actions { margin-top: 0; }

/* A little extra breathing room after the textarea field before actions */
.modal-panel .field + .form-actions{ margin-top: 32px; }

.modal-close{
  position:absolute;
  top:12px; right:12px;
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
@media (max-width: 720px){
  .modal-panel{ margin: 80px 16px; padding:18px; }
}

/* Toast notifications (form success / error) */
.toast-wrap{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast{
  pointer-events: auto;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 18px 50px rgba(15,23,42,.24);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.toast.show{ transform: translateY(0); opacity: 1; }
.toast .toast-title{ font-weight: 650; }
.toast .toast-msg{ opacity: .92; }
.toast .toast-close{
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 6px;
  border-radius: 10px;
  cursor: pointer;
}
.toast .toast-close:focus{ outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }
.toast.toast-success{ background: rgba(2, 44, 34, 0.94); }
.toast.toast-error{ background: rgba(74, 24, 24, 0.94); }

/* ---------- Confirmation page: make it feel like a receipt ---------- */
.confirm-wrap{ max-width: 860px; }

/* kill the huge dead zone / remove hero vertical centering */
.page-confirm .hero-inner{
  min-height: unset !important;
  height: auto !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding-top: 28px;
  padding-bottom: 64px;
}
.page-confirm .hero{ min-height: unset !important; }

.confirm-head{ max-width: 720px; }

.confirm-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
}

.confirm-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--ink);
  opacity: .25;
  display:inline-block;
}

.confirm-title{ max-width: 26ch; margin-top: 14px; }
.confirm-lede{ max-width: 62ch; }
.confirm-cta{ margin-top: 18px; }
.confirm-card{ margin-top: 22px; }

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


/* Footer mobile cleanup */
.footer-grid > div[style*="text-align:right"]{text-align:right !important;}
@media (max-width: 980px){
  .footer{padding:44px 0;}
  .footer-grid > div{ text-align:left !important; }
}


/* ===== Pill Center Fix ===== */
.pill,
.status-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  line-height: 1 !important;
  white-space: nowrap !important;
}


/* ===== v28: Confirm pill true-center (dot fixed left, text optically centered) ===== */
.pill.confirm-pill{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding-left: 40px !important; /* reserve space for dot so text can be centered */
  padding-right: 16px !important;
}
.pill.confirm-pill .confirm-dot{
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: block !important;
}

/* Slightly more forgiving text metrics in pills */
.pill, .status-pill{ line-height: 1.15 !important; }

/* ===== v28: Footer mobile cleanup (single column, consistent spacing) ===== */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .footer-grid > div{
    text-align: left !important;
  }
}


/* ===== Mobile Footer Cleanup (phone color + inline items) ===== */
@media (max-width: 980px) {
  footer.footer, .footer {
    padding-bottom: 28px;
  }

  /* Ensure footer layout is single-column and tidy */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: start !important;
  }

  /* Keep footer items readable and aligned */
  .footer a,
  .footer a:visited {
    color: inherit;
    text-decoration: none;
  }

  /* Specifically normalize phone link color (was "off") */
  a[href^="tel:"],
  .footer a[href^="tel:"] {
    color: var(--ink, #0f172a) !important;
    font-weight: 600;
  }

  /* Make "inline" lines actually inline and wrap cleanly */
  .footer-inline,
  .footer .inline,
  .footer .meta,
  .footer .contact-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 14px !important;
  }

  .footer-inline > *,
  .footer .inline > *,
  .footer .meta > *,
  .footer .contact-row > * {
    margin: 0 !important;
  }

  /* If list-based, remove vertical stacking and bullets */
  .footer ul,
  .footer ol {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .footer li {
    margin: 0 !important;
  }

  /* Social / secondary links should sit inline too */
  .footer-links,
  .footer-nav,
  .footer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    align-items: center !important;
  }
}


/* ===== Footer (9.7+ mobile polish) ===== */
.footer .footer-inner{
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  padding-top: 22px;
  padding-bottom: 22px;
  display: grid;
  gap: 14px;
}

.footer-title{
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-tagline{
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.82;
  max-width: 42ch;
}

.footer-contact{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.footer-phone,
.footer-email{
  text-decoration: none;
  color: inherit;
}

.footer-phone{
  font-weight: 700;
}

.footer-email{
  opacity: 0.9;
}

.footer-divider{
  height: 1px;
  background: rgba(15, 23, 42, 0.10);
}

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

.footer-nav a{
  text-decoration: none;
  color: inherit;
  opacity: 0.88;
}

.footer-nav a:hover{
  opacity: 1;
}

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 12px;
  opacity: 0.78;
}

.footer-loc{
  white-space: nowrap;
}

/* Desktop: keep it airy and slightly structured */
@media (min-width: 981px){
  .footer .footer-inner{
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 18px 26px;
  }
  .footer-top{
    grid-column: 1 / 2;
  }
  .footer-contact{
    grid-column: 2 / 3;
    justify-content: flex-end;
  }
  .footer-divider{
    grid-column: 1 / -1;
  }
  .footer-nav{
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .footer-bottom{
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

/* Mobile: centered, calm rhythm, no awkward wrapping */
@media (max-width: 980px){
  .footer .footer-inner{
    text-align: center;
    gap: 14px;
  }
  .footer-tagline{
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact,
  .footer-nav,
  .footer-bottom{
    justify-content: center;
  }

  /* Phone color normalization on mobile */
  a[href^="tel:"],
  .footer a[href^="tel:"]{
    color: var(--ink, #0f172a) !important;
  }

  .footer-nav a{
    padding: 6px 0; /* better tap rhythm without looking like buttons */
  }
}


/* ===== Overview Hero Carousel ===== */
.hero-carousel{
  position: relative;
  overflow: hidden; /* hero-media provides the frame */
}

.hero-carousel-track{
  display: grid;
}

.hero-slide{
  grid-area: 1 / 1;
  margin: 0;              /* critical: figure defaults add whitespace */
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 320ms ease, transform 420ms ease;
  pointer-events: none;
}

.hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img{
  width: 100%;
  height: auto;
  display: block;
}

.hero-carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
  opacity: 0.88;
}

.hero-carousel-btn:hover{
  background: rgba(255,255,255,0.96);
  transform: translateY(-50%) scale(1.03);
  opacity: 0.95;
}

.hero-carousel-btn:active{
  transform: translateY(-50%) scale(0.98);
}

.hero-carousel-btn.prev{ left: 10px; }
.hero-carousel-btn.next{ right: 10px; }

.hero-carousel-btn span{
  font-size: 22px;
  line-height: 1;
  opacity: 0.9;
}

.hero-carousel-dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
}

.hero-carousel-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.28);
  padding: 0;
}

.hero-carousel-dots .dot.is-active{
  background: rgba(15, 23, 42, 0.75);
}

@media (max-width: 980px){
  .hero-carousel-btn{
    width: 36px;
    height: 36px;
  }
  .hero-carousel-btn.prev{ left: 8px; }
  .hero-carousel-btn.next{ right: 8px; }
  .hero-carousel-dots{
    bottom: 10px;
  }
}

@media (max-width: 980px){
  .hero-carousel-btn{
    width: 36px;
    height: 36px;
  }
  .hero-carousel-btn.prev{ left: 8px; }
  .hero-carousel-btn.next{ right: 8px; }
  .hero-carousel-dots{
    bottom: 10px;
  }
}

/* Desktop refinement */

@media (min-width: 981px){
  .footer-nav{
    gap: 12px 22px;
  }
  .footer-contact{
    gap: 8px 14px;
  }
  .footer-email{
    opacity: 0.85;
  }
}

