/* Off-Plan Exit Check — page-specific styles.
   Header/footer/tokens/base come from the theme's global CSS. */

/* ===== Section scaffolding (components.css) ===== */
.te-section{padding-block:clamp(56px,8vw,100px)}
.te-section--surface{background:var(--te-surface)}
.te-section--border-top{border-top:1px solid var(--te-divider)}
.te-section__inner{width:100%;max-width:var(--te-content-max);margin-inline:auto;padding-inline:var(--te-gutter)}
.te-section__head{text-align:center;max-width:760px;margin-inline:auto}
.te-section__head--left{text-align:left;margin-inline:0}
.te-section__title{font-size:var(--te-fs-d3);line-height:1.1;margin:0}
.te-section__sub{margin:16px auto 0;font-size:var(--te-fs-20);color:var(--te-muted);max-width:52ch;line-height:1.55}
.te-section__head--left .te-section__sub{margin-inline:0}
.te-step{background:var(--te-white);border:1px solid var(--te-divider);border-radius:var(--te-r-16);padding:32px 26px 38px;display:flex;flex-direction:column;gap:16px}
.te-step__num{font-family:var(--te-font-display);font-weight:700;font-size:36px;color:var(--te-numeral);line-height:1}
.te-step__title{font-size:var(--te-fs-21);line-height:1.3;margin:0}
.te-step__body{font-size:var(--te-fs-16);line-height:1.6;color:var(--te-muted);margin:0}
.te-how__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:40px}
.te-pathways__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin-top:40px}
.te-pill-row{display:flex;flex-wrap:wrap;gap:12px}.te-pill-row--center{justify-content:center}
.te-pill{background:var(--te-white);border:1px solid var(--te-border);border-radius:var(--te-r-pill);padding:12px 20px;font-size:var(--te-fs-15);color:var(--te-ink)}
.te-resources{display:flex;flex-direction:column;gap:14px;margin-top:40px}
.te-resource{display:flex;align-items:flex-start;gap:16px;background:var(--te-white);border:1px solid var(--te-divider);border-radius:var(--te-r-14);padding:22px 24px;transition:border-color var(--te-hover-transition)}
.te-resource:hover{border-color:var(--te-border-hover)}
.te-resource__chip{background:var(--te-fill);font-size:14.5px;font-weight:700;padding:6px 12px;border-radius:var(--te-r-7);color:var(--te-ink);flex-shrink:0}
.te-resource__title{flex:1}
.te-resource__title strong{display:block;font-family:var(--te-font-display);font-size:var(--te-fs-18);color:var(--te-ink)}
.te-resource__title span{font-size:var(--te-fs-15);color:var(--te-muted)}
/* FAQ */
.te-faq{display:flex;flex-direction:column;gap:14px;max-width:820px;margin:40px auto 0}
.te-faq__item{background:var(--te-white);border:1px solid var(--te-divider);border-radius:var(--te-r-14);padding:24px 26px}
.te-faq__q{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:none;border:0;text-align:left;cursor:pointer;font-family:var(--te-font-display);font-weight:700;font-size:var(--te-fs-19);color:var(--te-ink)}
.te-faq__caret{flex-shrink:0;color:var(--te-muted);transition:transform var(--te-hover-transition)}
.te-faq__q[aria-expanded="true"] .te-faq__caret{transform:rotate(180deg)}
.te-faq__a{margin:14px 0 0;font-size:16.5px;line-height:1.72;color:var(--te-body)}
.te-faq__a[hidden]{display:none}
/* Method table + callouts */
.te-mtable{width:100%;border-collapse:collapse;margin-top:36px;font-size:var(--te-fs-15)}
.te-mtable th,.te-mtable td{border:1px solid var(--te-border);padding:12px 14px;text-align:left;vertical-align:top}
.te-mtable th{background:var(--te-fill);font-family:var(--te-font-display);font-weight:700;font-size:var(--te-fs-14)}
.te-mtable td:first-child{font-weight:600;color:var(--te-ink);white-space:nowrap}
.te-callouts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}
.te-callout{border:1px solid var(--te-border);border-left:3px solid var(--te-warning);background:#FEFCF4;border-radius:var(--te-r-12);padding:22px 24px}
.te-callout h4{font-family:var(--te-font-display);font-size:var(--te-fs-17);margin:0 0 8px}
.te-callout p{font-size:var(--te-fs-15);line-height:1.6;color:var(--te-body)}
.te-dtable{width:100%;border-collapse:collapse;margin-top:24px;font-size:var(--te-fs-15)}
.te-dtable th,.te-dtable td{border:1px solid var(--te-border);padding:12px 14px;text-align:left}
.te-dtable th{background:var(--te-fill);font-family:var(--te-font-display);font-weight:700;font-size:var(--te-fs-14)}
.te-pending{color:var(--te-label);font-style:italic}
.te-disclaimer{margin:34px auto 0;max-width:820px;padding-top:16px;border-top:1px solid var(--te-divider);font-size:13px;line-height:1.6;color:var(--te-muted)}
/* ===== Founder video section ===== */
.te-vsec__grid{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(28px,4vw,56px);align-items:center}
@media(max-width:820px){.te-vsec__grid{grid-template-columns:1fr;gap:28px}}
.te-vframe{position:relative;aspect-ratio:16/9;border-radius:var(--te-r-18);overflow:hidden;background:#141c28 center/cover no-repeat;box-shadow:var(--te-shadow-hero-search)}
.te-vframe__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,14,20,.15) 0%,rgba(10,14,20,.30) 55%,rgba(10,14,20,.62) 100%)}
.te-vframe__badge{position:absolute;top:16px;left:16px;z-index:2;display:inline-flex;align-items:center;gap:7px;background:var(--te-badge-fill);color:#fff;font-size:var(--te-fs-13);padding:6px 13px;border-radius:var(--te-r-pill)}
.te-vframe__badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--te-error)}
.te-vframe__play{position:absolute;inset:0;margin:auto;width:78px;height:78px;border-radius:50%;background:var(--te-accent);border:0;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 34px rgba(11,116,240,.5);transition:background var(--te-hover-transition),transform var(--te-hover-transition)}
.te-vframe__play:hover{background:var(--te-accent-hover);transform:scale(1.05)}
.te-vframe__cap{position:absolute;left:20px;bottom:18px;z-index:2}
.te-vframe__cap strong{display:block;color:#fff;font-family:var(--te-font-display);font-size:var(--te-fs-16)}
.te-vframe__cap span{font-size:var(--te-fs-13);color:var(--te-on-dark-72)}
.te-vframe__dur{position:absolute;right:16px;bottom:16px;z-index:2;background:rgba(0,0,0,.5);color:#fff;font-size:var(--te-fs-13);padding:4px 9px;border-radius:var(--te-r-7)}
.te-vsec__copy .te-section__title{font-size:var(--te-fs-d4)}
.te-vsec__points{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-direction:column;gap:14px}
.te-vsec__points li{display:flex;gap:12px;align-items:flex-start;font-size:var(--te-fs-16);line-height:1.5;color:var(--te-body)}
.te-vsec__tick{flex:none;width:24px;height:24px;border-radius:50%;background:var(--te-accent-tint);color:var(--te-accent);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;margin-top:1px}
/* ===== Hero (home.css) ===== */
.te-hero{position:relative;min-height:auto;background:var(--te-photo-base);display:flex;flex-direction:column;overflow:hidden}
.te-hero__bg{position:absolute;inset:0;background:radial-gradient(120% 100% at 70% 0%,#2b3a52 0%,#1B2430 55%,#0e141d 100%) center/cover no-repeat}
/* CTA band, reused down the page */
html{scroll-behavior:smooth}
.te-xcta__sec{padding-block:clamp(14px,3vw,28px)}
.te-xcta{background:var(--te-ink-strong);color:#fff;border-radius:var(--te-r-18);padding:clamp(26px,3.5vw,40px) clamp(22px,3vw,44px);display:flex;align-items:center;justify-content:space-between;gap:18px 32px;flex-wrap:wrap}
.te-xcta__t{flex:1;min-width:250px}
.te-xcta__t strong{display:block;font-family:var(--te-font-display);font-size:var(--te-fs-24);letter-spacing:-.01em;color:#fff;margin-bottom:6px}
.te-xcta__t span{font-size:var(--te-fs-16);line-height:1.5;color:var(--te-on-dark-78)}
.te-xcta .te-btn--primary{flex:none;white-space:nowrap}
.te-hero__scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,13,20,0.58) 0%,rgba(9,13,20,0.46) 44%,rgba(9,13,20,0.72) 100%);pointer-events:none;z-index:0}
.te-hero__inner{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px;width:100%;max-width:var(--te-content-max);margin-inline:auto;padding:clamp(120px,15vh,165px) var(--te-gutter) 64px}
.te-hero__eyebrow{font-size:var(--te-fs-14);font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--te-on-dark-72)}
.te-hero__title{margin:0;color:var(--te-white);font-size:clamp(30px,4.6vw,50px);line-height:var(--te-lh-hero);letter-spacing:var(--te-track-hero);max-width:22ch;text-wrap:balance}
.te-hero__sub{font-size:clamp(16px,1.5vw,19px);line-height:1.55;color:var(--te-on-dark-88);max-width:62ch}
.te-hero__pills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.te-hero__pill{display:inline-flex;align-items:center;gap:8px;font-size:var(--te-fs-135);letter-spacing:.06em;text-transform:uppercase;color:var(--te-on-dark-78);border:1px solid var(--te-on-dark-border-24);border-radius:var(--te-r-pill);padding:8px 16px}
.te-hero__switch{font-size:var(--te-fs-15);color:var(--te-on-dark-78)}
.te-hero__switch a{color:var(--te-white);text-decoration:underline;text-underline-offset:3px}

/* ==========================================================================
   xc- calculator (the only new component)  — tokens only
   ========================================================================== */
.xc{width:100%;max-width:940px;margin:8px auto 0;background:var(--te-white);border-radius:var(--te-r-16);box-shadow:var(--te-shadow-hero-search);text-align:left;overflow:hidden}
.xc__head{padding:22px 26px;border-bottom:1px solid var(--te-divider);display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.xc__head h2{font-size:var(--te-fs-20);margin:0}
.xc__head span{font-size:var(--te-fs-135);color:var(--te-muted)}
.xc__body{display:grid;grid-template-columns:1fr 1fr;gap:0}
@media(max-width:820px){.xc__body{grid-template-columns:1fr}}
.xc__form{padding:24px 26px;border-right:1px solid var(--te-divider)}
@media(max-width:820px){.xc__form{border-right:0;border-bottom:1px solid var(--te-divider)}}
.xc__out{padding:24px 26px;background:var(--te-surface)}
.xc__row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.xc__field{margin-bottom:14px;position:relative}
.xc__field label{display:block;font-size:var(--te-fs-135);font-weight:600;color:var(--te-ink);margin-bottom:6px}
.xc__help{position:relative;display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;margin-left:5px;border-radius:50%;background:var(--te-fill);color:var(--te-muted);font-size:10px;font-weight:700;cursor:help;vertical-align:middle}
.xc__help:hover,.xc__help:focus{background:var(--te-accent);color:#fff;outline:none}
.xc__tip{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);width:210px;background:var(--te-ink-strong);color:#fff;font-size:12px;font-weight:400;line-height:1.5;text-align:left;padding:10px 12px;border-radius:8px;box-shadow:0 10px 28px rgba(8,14,24,.28);opacity:0;visibility:hidden;transition:opacity .15s ease;z-index:60;pointer-events:none}
.xc__help:hover .xc__tip,.xc__help:focus .xc__tip{opacity:1;visibility:visible}
.xc__tip::after{content:"";position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-bottom-color:var(--te-ink-strong)}
.xc__field input,.xc__field select{width:100%;border:1px solid var(--te-border);border-radius:var(--te-r-9);padding:11px 13px;font-size:var(--te-fs-15);background:var(--te-white);color:var(--te-ink)}
.xc__field input:focus,.xc__field select:focus{outline:none;border-color:var(--te-accent);box-shadow:0 0 0 3px var(--te-accent-tint)}
.xc__hint2{font-size:var(--te-fs-13);color:var(--te-muted);margin-top:5px}
.xc__hint{margin-top:4px;padding:11px 14px;border-radius:var(--te-r-9);font-size:var(--te-fs-14);line-height:1.5}
.xc__hint--ok{background:#EAF7EE;border:1px solid #B7E0C4;color:#1c6b38}
.xc__hint--warn{background:#FEF7E6;border:1px solid #F3DE9B;color:#8a6400}
/* output */
.xc__flag{padding:14px 16px;border-radius:var(--te-r-10);margin-bottom:16px}
.xc__flag strong{display:block;font-family:var(--te-font-display);font-size:var(--te-fs-17);margin-bottom:4px}
.xc__flag p{font-size:var(--te-fs-14);line-height:1.5}
.xc__flag--ok{background:#EAF7EE;border:1px solid #B7E0C4}.xc__flag--ok strong{color:#1c6b38}
.xc__flag--no{background:#FDECEC;border:1px solid #F3B6B8}.xc__flag--no strong{color:#b32328}
.xc__verdict{border:1px solid var(--te-border);border-radius:var(--te-r-12);padding:18px 18px;margin-bottom:16px;background:var(--te-white)}
.xc__verdict-l{font-size:var(--te-fs-135);color:var(--te-muted);margin-bottom:4px}
.xc__verdict-n{font-family:var(--te-font-display);font-weight:700;font-size:34px;line-height:1;letter-spacing:-.02em}
.xc__verdict-n.pos{color:#1c6b38}.xc__verdict-n.neg{color:#b32328}
.xc__verdict-c{font-size:var(--te-fs-14);color:var(--te-body);margin-top:8px;line-height:1.5}
.xc__group{margin-bottom:16px}
.xc__group h4{font-family:var(--te-font-display);font-size:var(--te-fs-16);margin:0 0 2px}
.xc__group .cap{font-size:var(--te-fs-13);color:var(--te-muted);margin-bottom:10px}
.xc__line{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:9px 0;border-bottom:1px solid var(--te-divider-light)}
.xc__line:last-child{border-bottom:0}
.xc__line-l{font-size:var(--te-fs-145)}
.xc__line-l small{display:block;color:var(--te-muted);font-size:var(--te-fs-13);margin-top:2px}
.xc__line-v{font-family:var(--te-font-display);font-weight:700;font-size:var(--te-fs-16);white-space:nowrap}
.xc__line-v.est{color:var(--te-warning)}
.xc__line--total{border-top:2px solid var(--te-ink);border-bottom:0;margin-top:4px;padding-top:12px}
.xc__line--total .xc__line-v{font-size:var(--te-fs-19)}
.xc__hold{border:1px solid var(--te-border);border-radius:var(--te-r-12);padding:16px 18px;background:var(--te-white)}
.xc__hold h4{font-family:var(--te-font-display);font-size:var(--te-fs-16);margin:0 0 2px}
.xc__unknown{background:#FEF7E6;border:1px solid #F3DE9B;border-radius:var(--te-r-10);padding:14px 16px;margin-bottom:16px}
.xc__unknown strong{display:block;font-family:var(--te-font-display);color:#8a6400;margin-bottom:4px}
.xc__unknown p{font-size:var(--te-fs-14);line-height:1.5;color:#6d5200}
/* gate */
.xc__gate{border:2px dashed var(--te-accent-tint-border);border-radius:var(--te-r-12);padding:20px;margin-top:18px;background:var(--te-accent-tint)}
.xc__gate h4{font-family:var(--te-font-display);font-size:var(--te-fs-17);margin:0 0 6px}
.xc__gate p.g{font-size:var(--te-fs-14);color:var(--te-body);line-height:1.5;margin-bottom:14px}
.xc__gate .xc__field input,.xc__gate .xc__field select{background:#fff}
.xc__distress{margin:12px 0 4px;padding:13px 15px;border-radius:var(--te-r-10);background:#FFF4E9;border:1px solid #F3C98B;font-size:var(--te-fs-14);line-height:1.5;color:#7a4f16}
.xc__distress strong{display:block;font-family:var(--te-font-display);color:#8a4b0a;margin-bottom:4px}
.xc__check{display:flex;gap:9px;align-items:flex-start;margin-top:10px;font-size:var(--te-fs-13);color:var(--te-body);line-height:1.45}
.xc__check input{margin-top:3px;flex:none}
.xc__gate .te-btn{width:100%;margin-top:14px;padding:15px}
.xc__note{font-size:var(--te-fs-13);color:var(--te-muted);margin-top:16px;padding-top:12px;border-top:1px solid var(--te-divider)}
/* reformat: grouped inputs + cleaner results */
.xc__glabel{font-family:var(--te-font-display);font-size:var(--te-fs-13);text-transform:uppercase;letter-spacing:.09em;color:var(--te-muted);margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid var(--te-divider)}
.xc__glabel--2{margin-top:26px}
.xc__empty{padding:46px 16px;text-align:center;color:var(--te-muted)}
.xc__empty-ic{font-size:30px;margin-bottom:10px}
.xc__empty p{font-size:var(--te-fs-14);line-height:1.55;margin:4px auto;max-width:34ch}
.xc__empty strong{color:var(--te-ink);font-family:var(--te-font-display);font-size:var(--te-fs-17)}
.xc__elig{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--te-r-10);margin-bottom:14px;font-size:var(--te-fs-14);line-height:1.45}
.xc__elig span{flex:none;font-weight:700;font-size:15px;margin-top:1px}
.xc__elig--ok{background:#EAF7EE;border:1px solid #B7E0C4;color:#1c6b38}
.xc__elig--no{background:#FDECEC;border:1px solid #F3B6B8;color:#b32328}
.xc__elig b{font-family:var(--te-font-display)}
.xc__hero{background:var(--te-white);border:1px solid var(--te-border);border-radius:var(--te-r-14);padding:20px;margin-bottom:14px;text-align:center}
.xc__hero--muted{text-align:left;background:var(--te-accent-tint);border-color:var(--te-accent-tint-border)}
.xc__hero-l{font-size:var(--te-fs-13);color:var(--te-muted)}
.xc__hero-n{font-family:var(--te-font-display);font-weight:700;font-size:42px;line-height:1;letter-spacing:-.02em;margin:8px 0}
.xc__hero-n.pos{color:#1c6b38}.xc__hero-n.neg{color:#b32328}
.xc__hero-c{font-size:var(--te-fs-135);color:var(--te-body);line-height:1.5;max-width:44ch;margin:0 auto}
.xc__hero--muted .xc__hero-c{max-width:none}
.xc__hero-badge{display:inline-block;margin-top:10px;font-size:12px;color:var(--te-muted);background:var(--te-fill);padding:4px 11px;border-radius:var(--te-r-pill)}
.xc__stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.xc__stat{background:var(--te-white);border:1px solid var(--te-border);border-radius:var(--te-r-10);padding:12px 14px}
.xc__stat-l{font-size:12px;color:var(--te-muted)}
.xc__stat-v{font-family:var(--te-font-display);font-weight:700;font-size:var(--te-fs-18);margin-top:3px}
.xc__stat-s{font-size:12px;color:var(--te-muted);margin-top:2px}
.xc__seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--te-fill);border-radius:var(--te-r-10);padding:5px;margin-bottom:14px}
.xc__seg button{border:0;background:none;padding:11px;border-radius:var(--te-r-8);font-family:var(--te-font-body);font-size:var(--te-fs-14);font-weight:600;color:var(--te-muted);cursor:pointer}
.xc__seg button.on{background:var(--te-white);color:var(--te-ink);box-shadow:var(--te-shadow-segmented)}
.xc__tab{margin-bottom:16px}
.xc__tab .cap{font-size:var(--te-fs-13);color:var(--te-muted);line-height:1.5}
/* responsive: wide tables scroll inside their own box, tight rows stack */
.te-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:24px}
.te-tablewrap .te-mtable{margin-top:0;min-width:600px}
.te-tablewrap .te-dtable{margin-top:0;min-width:720px}
@media(max-width:640px){
  .xc__row{grid-template-columns:1fr;gap:0}
  .te-callouts{grid-template-columns:1fr}
  .xc__stats{grid-template-columns:1fr 1fr}
}
@media(max-width:400px){
  .xc__stats{grid-template-columns:1fr}
}
