/*
Theme Name: Flobased
Theme URI: https://www.ikdr.ph/
Author: Kate
Description: Custom WordPress theme for Flobased — operations workflow consulting and focused internal web tools.
Version: 1.0.3
Text Domain: flobased
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Sarina&family=Space+Grotesk:wght@500;600;700&display=swap");

:root{
  --bg:#f7f5f0;
  --paper:#fffdf9;
  --ink:#1b1f1d;
  --muted:#656c68;
  --line:#dedfd8;
  --accent:#315f57;
  --accent-2:#d86f4b;
  --soft:#e9efe9;
  --dark:#15201d;
  --max:1180px;
  --shadow:0 18px 50px rgba(24,34,31,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Inter", ui-sans-serif, system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(247,245,240,.9);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(222,223,216,.8)
}
.nav-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;line-height:0;flex:0 0 auto}
.brand img{display:block;height:34px;width:auto}
.brand small{display:none}
.nav-links{display:flex;gap:26px;align-items:center;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600;letter-spacing:.045em}
.nav-links a{color:#323734}
.nav-links .cta{padding:11px 16px;border-radius:999px;background:var(--dark);color:white}
.menu-btn{display:none;border:0;background:none;font-size:24px}
.footer-brand-lockup img{height:22px}
@media (max-width:720px){.brand img{height:30px}.footer-brand-lockup img{height:18px}}
.hero{padding:96px 0 72px}
.eyebrow{font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;color:var(--accent)}
h1,h2,h3{font-family:"Space Grotesk","Inter",sans-serif;line-height:.99;letter-spacing:-.045em;margin:0;font-weight:600}
h1{font-size:clamp(52px,8vw,104px);max-width:1000px;letter-spacing:-.055em}
h2{font-size:clamp(36px,5vw,66px);letter-spacing:-.05em}
h3{font-size:28px;letter-spacing:-.035em}
.lead{font-size:clamp(19px,2.2vw,26px);color:#414744;max-width:850px;margin:28px 0 0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 18px;border-radius:12px;border:1px solid var(--ink);
  font-weight:750;font-size:15px
}
.btn.primary{background:var(--dark);color:#fff}
.btn.secondary{background:transparent}
.micro{font-size:13px;color:var(--muted);margin-top:14px}
.section{padding:88px 0;border-top:1px solid var(--line)}
.section.no-border{border-top:0}
.section-head{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:start;margin-bottom:44px}
.section-head p{margin:0;color:var(--muted);font-size:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:18px;
  padding:26px;box-shadow:0 1px 0 rgba(255,255,255,.9) inset
}
.card h3{font-size:24px}
.card p{color:var(--muted);margin:12px 0 0}
.fun{font-size:13px;color:#6d665d;margin-top:20px;font-style:italic}
.tag{
  display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--soft);
  font-family:"JetBrains Mono",monospace;font-size:10px;font-weight:600;letter-spacing:.055em;text-transform:uppercase;color:var(--accent)
}
.transformation{
  display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;
  padding:30px;background:var(--paper);border:1px solid var(--line);border-radius:24px;
  box-shadow:var(--shadow)
}
.mock{
  background:#fff;border:1px solid #d7d9d4;border-radius:14px;overflow:hidden
}
.mock-top{height:34px;border-bottom:1px solid #e3e4df;display:flex;align-items:center;padding:0 12px;gap:6px}
.dot{width:7px;height:7px;border-radius:99px;background:#c9cbc6}
.sheet{
  padding:18px;background:
  linear-gradient(#edf0eb 1px,transparent 1px),
  linear-gradient(90deg,#edf0eb 1px,transparent 1px);
  background-size:24px 24px;min-height:220px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:12px;color:#525a56
}
.formula{background:#fff8d9;border:1px solid #eadf9e;padding:8px;border-radius:8px;margin-bottom:8px}
.app-ui{padding:20px;min-height:220px;background:#fbfcfa}
.metric{font-family:"Space Grotesk","Inter",sans-serif;font-size:42px;font-weight:600;letter-spacing:-.05em}
.muted{color:var(--muted)}
.mono{font-family:"JetBrains Mono",monospace;letter-spacing:.015em}
.tech-label{font-family:"JetBrains Mono",monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

.arrow{font-size:30px;color:var(--accent)}
.list{display:grid;gap:10px;margin-top:18px}
.list div{padding:12px 0;border-top:1px solid var(--line)}
.kicker{font-family:"JetBrains Mono",monospace;font-weight:600;color:var(--accent);letter-spacing:.02em}
.quote{
  font-family:"Space Grotesk","Inter",sans-serif;font-size:clamp(28px,4vw,48px);line-height:1.06;letter-spacing:-.045em;
  font-weight:500;max-width:960px
}
.example-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.example-ui{padding:22px;background:#f8faf7;border-radius:14px;border:1px solid #dfe5df;margin-top:18px}
.score{font-family:"Space Grotesk","Inter",sans-serif;font-size:48px;font-weight:600;letter-spacing:-.05em}
.pill{display:inline-block;padding:7px 10px;border-radius:999px;background:#e6efe9;color:#245448;font-weight:800;font-size:12px}

.possibility-list{display:grid;gap:18px}
.possibility-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:26px}
.possibility-head{display:grid;grid-template-columns:.72fr 1.28fr;gap:28px;align-items:start;margin-bottom:20px}
.possibility-head p{margin:8px 0 0;color:var(--muted)}
.before-after-tool{display:grid;grid-template-columns:1fr 48px 1fr;gap:14px;align-items:stretch}
.tool-side{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
.tool-side.before{background:#fbf9f5}
.tool-side.after{background:#f6faf7;border-color:#d7e2da}
.tool-label{font-family:"JetBrains Mono",monospace;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.tool-name{font-family:"Space Grotesk","Inter",sans-serif;font-size:21px;font-weight:600;letter-spacing:-.03em;margin-bottom:8px}
.tool-copy{color:var(--muted);font-size:14px}
.tool-arrow{display:flex;align-items:center;justify-content:center;font-family:"JetBrains Mono",monospace;color:var(--accent);font-size:22px}
.tool-output{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.tool-output strong{font-family:"Space Grotesk","Inter",sans-serif;font-size:30px;letter-spacing:-.04em}

.process{counter-reset:step}
.step{display:grid;grid-template-columns:80px 1fr;gap:24px;padding:28px 0;border-top:1px solid var(--line)}
.step::before{
  counter-increment:step;content:"0" counter(step);font-size:14px;font-weight:850;color:var(--accent)
}
.case-hero{padding:88px 0 52px}
.case-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.case-shot{
  margin-top:46px;border:1px solid var(--line);border-radius:24px;background:var(--paper);
  padding:20px;box-shadow:var(--shadow)
}
.screen{
  min-height:420px;border-radius:15px;border:1px solid #d9dbd7;background:#fff;overflow:hidden
}
.screen .bar{height:42px;border-bottom:1px solid #e4e6e2;display:flex;align-items:center;padding:0 14px;gap:7px}
.screen .body{padding:28px}
.screen-grid{display:grid;grid-template-columns:220px 1fr;gap:22px}
.sidebar{padding:14px;border-right:1px solid #e8e9e6;min-height:320px}
.sidebar div{padding:11px 12px;border-radius:9px;margin-bottom:7px;font-size:13px}
.sidebar .active{background:#eff4ef;font-weight:800}
.panel{border:1px solid #e1e3df;border-radius:14px;padding:18px}
.panel-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.field{height:48px;border:1px solid #dde0db;border-radius:9px;background:#fbfcfa;padding:10px}
.value{font-family:"Space Grotesk","Inter",sans-serif;font-weight:600;font-size:22px}
.before-after{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.bad,.good{padding:24px;border-radius:18px;border:1px solid var(--line)}
.bad{background:#fffaf7}.good{background:#f4faf5}
.bad ul,.good ul{padding-left:20px;color:var(--muted)}
.faq details{border-top:1px solid var(--line);padding:20px 0}
.faq summary{font-weight:800;cursor:pointer}
.faq p{color:var(--muted);max-width:820px}
.assessment{
  background:var(--dark);color:#fff;border-radius:26px;padding:32px;
  display:grid;grid-template-columns:1fr .9fr;gap:28px;align-items:start
}
.assessment p{color:#c6cfcb}
.q{padding:14px 0;border-top:1px solid rgba(255,255,255,.16)}
.q-head{display:flex;justify-content:space-between;gap:15px}
.toggle{display:flex;gap:7px}
.toggle button{
  border:1px solid rgba(255,255,255,.24);background:transparent;color:#fff;
  border-radius:999px;padding:7px 11px;cursor:pointer
}
.toggle button.active{background:#fff;color:#16201d}
.result-card{background:#fff;color:var(--ink);border-radius:18px;padding:24px;position:sticky;top:98px}
.result-score{font-family:"Space Grotesk","Inter",sans-serif;font-size:72px;font-weight:600;letter-spacing:-.07em}
.form{display:grid;gap:18px}
.form label{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace !important;font-size:11px;font-weight:600;letter-spacing:.045em}
.input, textarea, select{
  width:100%;margin-top:7px;padding:13px 14px;border:1px solid #d5d8d2;border-radius:10px;
  background:#fff;font-family:"Inter",ui-sans-serif,system-ui,sans-serif;font-size:16px;color:var(--ink)
}
textarea{min-height:130px;resize:vertical}
.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.checks label{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace !important;font-size:11px;font-weight:500;letter-spacing:.02em;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}
.notice{padding:14px;border:1px solid #d9ded9;background:#eef4ef;border-radius:10px;color:#355048;font-size:13px}
.footer{border-top:1px solid var(--line);padding:44px 0 60px;margin-top:80px}
.footer-grid{display:grid;grid-template-columns:1.4fr .6fr .6fr;gap:30px}
.footer p{color:var(--muted);max-width:520px}
.tiny{font-size:12px;color:var(--muted);margin-top:28px}
@media (max-width:880px){
  .nav-links{display:none}
  .menu-btn{display:block}
  .nav.open .nav-links{
    display:flex;position:absolute;top:72px;left:0;right:0;background:var(--bg);
    flex-direction:column;padding:24px;border-bottom:1px solid var(--line)
  }
  .section-head,.grid-3,.grid-4,.grid-2,.example-row,.assessment,.footer-grid,.before-after{grid-template-columns:1fr}
  .transformation{grid-template-columns:1fr}
  .possibility-head,.before-after-tool{grid-template-columns:1fr}
  .tool-arrow{transform:rotate(90deg);min-height:28px}
  .arrow{transform:rotate(90deg);text-align:center}
  .screen-grid{grid-template-columns:1fr}
  .sidebar{border-right:0;border-bottom:1px solid #e8e9e6;min-height:auto}
}

/* Explicit typography system */
.nav-links a, .form > div > label, .form .checks label, .eyebrow, .tag, .tech-label, .tool-label, .kicker, .brand small{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace !important;}

/* Possibilities — editorial before/after transformations */
.possibility-list{display:grid;gap:34px}
.possibility-card{background:transparent;border:0;border-radius:0;padding:0}
.possibility-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:14px;padding:0 4px}
.possibility-head>div{max-width:520px}.possibility-head p{max-width:520px;margin:0;color:var(--muted);font-size:15px}
.before-after-tool{display:grid;grid-template-columns:minmax(0,1fr) 74px minmax(0,1.15fr);gap:0;align-items:stretch;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--paper)}
.tool-side{border:0;border-radius:0;padding:28px;min-height:245px;background:#fff;display:flex;flex-direction:column}
.tool-side.before{background:#f3f0ea;position:relative}
.tool-side.before:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(45,52,48,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(45,52,48,.05) 1px,transparent 1px);background-size:24px 24px;pointer-events:none;opacity:.55}
.tool-side.before>*{position:relative;z-index:1}
.tool-side.after{background:#fbfdfb}
.tool-label{margin-bottom:18px;color:var(--muted)}
.tool-name{font-size:25px;margin-bottom:12px}
.tool-copy{font-size:15px;line-height:1.6;max-width:500px}
.tool-arrow{background:var(--dark);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center}
.tool-output{margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
.tool-output strong{font-size:36px;font-weight:600}
.possibility-card:nth-child(even) .tool-arrow{transform:rotate(180deg)}
.possibility-card .fun{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;font-style:normal;letter-spacing:.01em;padding:9px 11px;border:1px dashed #cbc7bf;border-radius:8px;background:rgba(255,255,255,.72);display:inline-block;margin-top:18px}
@media(max-width:880px){
  .possibility-head{display:block}
  .possibility-head p{margin-top:10px}
}

/* v6 — active links + fit markers */
a:active{color:var(--accent-2)}
.nav-links a:active{color:var(--accent-2)!important}
.nav-links a[aria-current="page"]{color:var(--accent);font-weight:800}
.fit-title{display:flex;align-items:center;gap:10px}
.fit-mark{
  width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:14px;font-weight:800
}
.fit-mark.yes{background:#e6efe9;color:#245448}
.fit-mark.no{background:#f5e8e3;color:#8b4434}

/* v7 — hard lock Possibilities to BEFORE → AFTER */
.before-after-tool{
  grid-template-columns:minmax(0,1fr) 64px minmax(0,1.1fr) !important;
}
.before-after-tool > .tool-side.before{order:1 !important;}
.before-after-tool > .tool-arrow{order:2 !important;transform:none !important;}
.before-after-tool > .tool-side.after{order:3 !important;}
@media (max-width:720px){
  .before-after-tool{
    grid-template-columns:1fr !important;
  }
  .before-after-tool > .tool-side.before{order:1 !important;}
  .before-after-tool > .tool-arrow{
    order:2 !important;
    transform:rotate(90deg) !important;
    min-height:50px;
  }
  .before-after-tool > .tool-side.after{order:3 !important;}
}

/* Hero concept visuals */
.hero-concept{
  display:grid;
  grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:var(--paper);
  box-shadow:var(--shadow);
}
.hero-concept-side{padding:30px;min-width:0}
.hero-concept-side.before{
  background:
    linear-gradient(#ecefe9 1px,transparent 1px),
    linear-gradient(90deg,#ecefe9 1px,transparent 1px),
    #fbfaf6;
  background-size:28px 28px;
}
.hero-concept-side.after{background:#fff}
.hero-concept-arrow{
  display:flex;align-items:center;justify-content:center;
  border-left:1px solid var(--line);border-right:1px solid var(--line);
  font-family:"JetBrains Mono",ui-monospace,monospace;font-size:26px;color:var(--accent);
}
.hero-mini-label{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
}
.hero-concept h3{margin-top:12px}
.hero-sheet-row{
  display:grid;grid-template-columns:1.1fr .8fr .7fr;
  gap:1px;background:#dfe2dc;border:1px solid #dfe2dc;margin-top:18px;font-size:12px;
  font-family:"JetBrains Mono",ui-monospace,monospace;
}
.hero-sheet-row span{background:#fffdf7;padding:10px}
.hero-formula{
  margin-top:12px;padding:11px;border-radius:8px;background:#fff8d9;border:1px solid #eadf9e;
  font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;
}
.hero-output{
  margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfcfa
}
.hero-output strong{
  display:block;font-family:"Space Grotesk",Inter,sans-serif;
  font-size:42px;line-height:1;letter-spacing:-.045em;margin:6px 0;
}
.decision-rules{display:grid;gap:9px;margin-top:18px}
.decision-rule{
  padding:11px 12px;border:1px dashed #c9ccc6;border-radius:9px;background:rgba(255,255,255,.78);
  font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px
}
.decision-rule.sarah{background:#fff3e8;border-style:solid;border-color:#e3b99b}
.decision-checks{display:grid;gap:10px;margin-top:18px}
.decision-check{
  display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line)
}
@media(max-width:760px){
  .hero-concept{grid-template-columns:1fr}
  .hero-concept-arrow{
    min-height:54px;border-left:0;border-right:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    transform:rotate(90deg)
  }
}


/* v8 — polished hero showcase */
.hero-showcase{
  margin-top:44px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fffdf9;
  box-shadow:0 22px 60px rgba(24,34,31,.08);
}
.hero-showcase-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);
  gap:0;
  align-items:stretch;
}
.hero-stage{
  border:1px solid #daddd7;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  min-width:0;
}
.hero-stage.before{background:#faf8f2}
.hero-stage.after{background:#fbfcfa}
.hero-stage-top{
  height:38px;
  border-bottom:1px solid #e2e4df;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  background:rgba(255,255,255,.76);
}
.hero-stage-dots{display:flex;gap:6px}
.hero-stage-dots span{
  width:7px;height:7px;border-radius:99px;background:#c8cbc5;display:block;
}
.hero-stage-label{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:9px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#65706a;
}
.hero-stage-body{padding:22px}
.hero-stage-title{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.035em;
  font-weight:600;
  margin:0 0 8px;
}
.hero-stage-copy{
  font-size:14px;color:var(--muted);margin:0 0 18px;
}
.hero-stage-arrow{
  display:flex;align-items:center;justify-content:center;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  color:var(--accent);font-size:22px;
}
.mini-sheet{
  border:1px solid #dfe2dc;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.mini-sheet-head,.mini-sheet-row{
  display:grid;
  grid-template-columns:1.35fr .7fr .7fr;
  gap:0;
}
.mini-sheet-head span,.mini-sheet-row span{
  padding:10px 11px;
  border-right:1px solid #e6e8e3;
  border-bottom:1px solid #e6e8e3;
  font-size:11px;
}
.mini-sheet-head span{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:9px;text-transform:uppercase;letter-spacing:.08em;
  color:var(--muted);background:#f5f6f2;font-weight:700;
}
.mini-sheet span:last-child{border-right:0}
.mini-sheet-row:last-child span{border-bottom:0}
.mini-formula{
  margin-top:12px;
  padding:10px 12px;
  border-radius:10px;
  background:#fff6cf;
  border:1px solid #e7d789;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;line-height:1.5;color:#4f514c;
  overflow-wrap:anywhere;
}
.mini-note{
  margin-top:12px;
  font-size:12px;
  font-style:italic;
  color:#7d6b5e;
}
.tool-form{
  display:grid;gap:12px;
}
.tool-field{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  padding:11px 0;
  border-bottom:1px solid #e5e7e2;
  font-size:13px;
}
.tool-field:last-child{border-bottom:0}
.tool-field span:first-child{color:var(--muted)}
.tool-field strong{font-weight:800}
.tool-result{
  margin-top:18px;
  padding:18px;
  border:1px solid #dce4de;
  border-radius:14px;
  background:#f3f8f4;
}
.tool-result .result-label{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:9px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#557067;
}
.tool-result .result-main{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:36px;line-height:1;letter-spacing:-.045em;font-weight:600;margin:8px 0 6px;
}
.rule-stack{display:grid;gap:8px}
.rule-chip{
  padding:10px 11px;
  border-radius:10px;
  border:1px solid #d9dcd6;
  background:#fff;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;line-height:1.45;
}
.rule-chip.warn{
  background:#fff3e8;
  border-color:#e4b892;
}
.decision-panel{
  padding:16px;
  border:1px solid #dce4de;
  border-radius:14px;
  background:#f3f8f4;
  margin-top:16px;
}
.decision-panel .result-main{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:27px;line-height:1.05;letter-spacing:-.035em;font-weight:600;margin:8px 0;
}
@media(max-width:760px){
  .hero-showcase-grid{grid-template-columns:1fr}
  .hero-stage-arrow{min-height:52px;transform:rotate(90deg)}
}


/* v9 — pricing page */
.pricing-hero{padding:92px 0 60px}
.pricing-intro{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);
  gap:48px;
  align-items:end;
}
.pricing-intro .lead{margin-bottom:0}
.price-band{
  margin-top:52px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:22px;
}
.price-main,.price-side,.care-card,.diagnostic-card{
  border-radius:24px;
  border:1px solid var(--line);
}
.price-main{
  background:var(--dark);
  color:#fff;
  padding:36px;
  position:relative;
  overflow:hidden;
}
.price-main:after{
  content:"";
  position:absolute;
  width:220px;height:220px;border-radius:50%;
  border:1px solid rgba(255,255,255,.09);
  right:-70px;top:-65px;
}
.price-main p{color:#c6d0cc}
.price-main .eyebrow{color:#a9c5bd}
.price-amount{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(52px,6vw,78px);
  line-height:.95;
  letter-spacing:-.055em;
  font-weight:600;
  margin:20px 0 12px;
}
.price-range-note{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#d9e2df;
}
.pricing-list{
  display:grid;
  gap:0;
  margin-top:26px;
}
.pricing-list div{
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.pricing-list div:before{
  content:"✓";
  font-family:"JetBrains Mono",ui-monospace,monospace;
  color:#a9c5bd;
  flex:0 0 auto;
}
.price-side{
  background:var(--paper);
  padding:32px;
}
.price-side .pricing-list div{
  border-top:1px solid var(--line);
  display:block;
}
.price-side .pricing-list div:before{display:none}
.timeline-row{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:14px;
  padding:15px 0;
  border-top:1px solid var(--line);
}
.timeline-row:first-of-type{margin-top:20px}
.timeline-week{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent);font-weight:800;
}
.timeline-row strong{display:block;margin-bottom:2px}
.pricing-note{
  margin-top:18px;
  font-size:12px;
  color:var(--muted);
}
.scope-strip{
  margin-top:26px;
  padding:15px 17px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f0f4ef;
  font-size:13px;
  color:#40504a;
}
.care-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.care-card{
  background:var(--paper);
  padding:28px;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.care-card.featured{
  border-color:#91aea5;
  box-shadow:0 18px 44px rgba(24,34,31,.08);
  transform:translateY(-8px);
}
.care-price{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:42px;
  line-height:1;
  letter-spacing:-.045em;
  font-weight:600;
  margin:17px 0 8px;
}
.care-period{
  font-family:"Inter",sans-serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:0;
}
.care-hours{
  margin:18px 0 4px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f7f8f5;
}
.care-hours strong{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:22px;
}
.care-card ul{
  padding:0;
  margin:18px 0 0;
  list-style:none;
  color:var(--muted);
}
.care-card li{
  padding:10px 0 10px 22px;
  border-top:1px solid var(--line);
  position:relative;
}
.care-card li:before{
  content:"✓";
  position:absolute;left:0;
  color:var(--accent);
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:11px;
}
.annual-row{
  margin-top:auto;
  padding-top:22px;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--muted);
}
.diagnostic-card{
  background:var(--paper);
  padding:30px;
}
.diagnostic-grid{
  display:grid;
  grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);
  gap:42px;
  align-items:start;
}
.diagnostic-price{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:52px;
  line-height:1;
  letter-spacing:-.05em;
  font-weight:600;
  margin:18px 0 12px;
}
.diagnostic-items{display:grid}
.diagnostic-item{
  display:flex;
  gap:12px;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.diagnostic-item:before{
  content:"→";
  font-family:"JetBrains Mono",ui-monospace,monospace;
  color:var(--accent);
}
.pricing-fineprint{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
@media(max-width:900px){
  .pricing-intro,.price-band,.diagnostic-grid{grid-template-columns:1fr}
  .care-grid{grid-template-columns:1fr}
  .care-card.featured{transform:none}
}


/* v11 — quieter editorial quote treatment */
.quote{
  position:relative;
  max-width:820px;
  padding:4px 0 4px 28px;
  margin-left:0;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(22px,2.6vw,30px) !important;
  line-height:1.22 !important;
  letter-spacing:-.025em !important;
  font-weight:500;
  color:#2d3431;
}
.quote::before{
  content:"//";
  position:absolute;
  left:0;
  top:7px;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:11px;
  line-height:1;
  letter-spacing:.04em;
  color:var(--accent);
  font-weight:800;
}
.quote strong{
  font-weight:650;
}
@media(max-width:600px){
  .quote{
    font-size:21px !important;
    padding-left:24px;
  }
}


/* v12 — homepage editorial asides */
.home-aside{
  margin-top:34px;
  max-width:760px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-family:"Inter",Arial,sans-serif;
  font-size:16px;
  line-height:1.55;
  color:#4a524e;
}
.home-aside::before{
  content:"↳";
  flex:0 0 auto;
  margin-top:1px;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:13px;
  color:var(--accent);
}
.home-aside strong{
  color:var(--ink);
  font-weight:700;
}
@media(max-width:600px){
  .home-aside{font-size:15px}
}


/* v13 — refined homepage editorial asides */
.home-aside{
  margin-top:38px;
  max-width:860px;
  display:flex;
  align-items:flex-start;
  gap:14px;
  font-family:"Inter",Arial,sans-serif;
  font-size:18px;
  line-height:1.5;
  color:#3f4743;
  letter-spacing:-.01em;
}
.home-aside::before{
  content:"↳";
  flex:0 0 auto;
  margin-top:2px;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#edf3ef;
  color:var(--accent);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:12px;
  font-weight:800;
}
.home-aside strong{
  color:var(--ink);
  font-weight:750;
  white-space:normal;
}
@media(max-width:700px){
  .home-aside{
    font-size:16px;
    gap:11px;
    line-height:1.55;
  }
  .home-aside::before{
    width:22px;
    height:22px;
    font-size:11px;
  }
}


/* v14 — polished homepage aside + universal CTA */
.home-aside{
  margin-top:40px;
  max-width:900px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
  align-items:start;
  padding:18px 20px;
  border:1px solid #d8dfda;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfdfb 0%,#f3f7f4 100%);
  font-family:"Inter",Arial,sans-serif;
  font-size:18px;
  line-height:1.5;
  color:#34403b;
  box-shadow:0 8px 24px rgba(24,34,31,.04);
}
.home-aside::before{
  content:"↳";
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#e5efe9;
  color:var(--accent);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:13px;
  font-weight:800;
  margin-top:0;
}
.home-aside strong{
  color:var(--ink);
  font-weight:800;
}
.universal-cta{
  padding:76px 0 10px;
  border-top:1px solid var(--line);
}
.universal-cta-box{
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--paper);
  padding:38px;
  text-align:center;
  box-shadow:0 12px 34px rgba(24,34,31,.05);
}
.universal-cta .eyebrow{margin-bottom:14px}
.universal-cta h2{
  max-width:900px;
  margin:0 auto;
  font-size:clamp(34px,4vw,54px);
}
.universal-cta .hero-actions{
  justify-content:center;
  margin-top:42px;
}
.fit-note{
  margin-top:14px;
  padding:12px 14px;
  border:1px dashed #d6dbd7;
  border-radius:10px;
  background:#fafbf9;
  color:var(--muted);
  font-size:13px;
}
.assessment-warning{
  margin-top:8px;
  font-size:12px;
  color:#8a5b49;
}
@media(max-width:700px){
  .home-aside{
    font-size:16px;
    padding:16px;
    gap:12px;
  }
  .home-aside::before{width:28px;height:28px}
  .universal-cta-box{padding:28px 20px}
}


/* v15 — centered homepage quotes + uniform diagnostic toggles */
.home-aside{
  display:block !important;
  max-width:980px;
  margin:44px auto 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-align:center;
  font-family:"Space Grotesk",Inter,sans-serif !important;
  font-size:clamp(24px,2.8vw,34px) !important;
  line-height:1.22 !important;
  letter-spacing:-.03em !important;
  font-weight:600 !important;
  color:var(--ink) !important;
}
.home-aside::before{
  display:none !important;
  content:none !important;
}
.home-aside strong{
  font-weight:700 !important;
  color:inherit !important;
}

/* Uniform Yes / No buttons */
.toggle{
  display:grid !important;
  grid-template-columns:48px 48px !important;
  gap:8px !important;
  flex:0 0 auto;
}
.toggle button{
  width:48px !important;
  min-width:48px !important;
  height:34px !important;
  min-height:34px !important;
  padding:0 !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.28) !important;
  background:transparent !important;
  color:#fff !important;
  font-family:"Inter",Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
.toggle button.active{
  background:#fff !important;
  color:#16201d !important;
  border-color:#fff !important;
}
.toggle button:focus-visible{
  outline:2px solid #fff !important;
  outline-offset:2px !important;
}
@media(max-width:600px){
  .home-aside{
    font-size:22px !important;
  }
}


/* v16 — centered editorial quote style site-wide */
.quote,
.home-aside{
  position:relative !important;
  display:block !important;
  max-width:920px !important;
  margin:46px auto 0 !important;
  padding:0 0 0 36px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-align:left !important;
  font-family:"Space Grotesk",Inter,sans-serif !important;
  font-size:clamp(26px,3vw,36px) !important;
  line-height:1.18 !important;
  letter-spacing:-.035em !important;
  font-weight:550 !important;
  color:var(--ink) !important;
}

.quote::before,
.home-aside::before{
  content:"//" !important;
  display:block !important;
  position:absolute !important;
  left:0 !important;
  top:7px !important;
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace !important;
  font-size:12px !important;
  line-height:1 !important;
  letter-spacing:.04em !important;
  font-weight:800 !important;
  color:var(--accent) !important;
}

.quote strong,
.home-aside strong{
  color:inherit !important;
  font-weight:700 !important;
}

/* Center the overall block on the page while keeping the quote text itself editorial/readable */
.quote,
.home-aside{
  left:0 !important;
  right:0 !important;
}

@media(max-width:700px){
  .quote,
  .home-aside{
    max-width:100% !important;
    margin-top:36px !important;
    padding-left:30px !important;
    font-size:23px !important;
    line-height:1.23 !important;
  }
  .quote::before,
  .home-aside::before{
    top:6px !important;
    font-size:11px !important;
  }
}


/* v17 — smaller centered quotes + What I Build H2 sizing */
.quote,
.home-aside{
  max-width:760px !important;
  margin:42px auto 0 !important;
  padding:0 0 0 30px !important;
  text-align:center !important;
  font-size:clamp(16px,1.8vw,22px) !important;
  line-height:1.35 !important;
  letter-spacing:-.015em !important;
  font-weight:550 !important;
}
.quote::before,
.home-aside::before{
  left:0 !important;
  top:5px !important;
  font-size:10px !important;
}
.what-build-page h2{
  font-size:40px !important;
  line-height:1.05 !important;
  letter-spacing:-.035em !important;
}
@media(max-width:700px){
  .quote,
  .home-aside{
    max-width:92% !important;
    padding-left:24px !important;
    font-size:16px !important;
    line-height:1.4 !important;
  }
  .what-build-page h2{
    font-size:34px !important;
  }
}


/* v18 — Case Study #1 UI fixes + richer before/after */
.case-comp-page .field{
  height:auto !important;
  min-height:72px !important;
  padding:12px 14px 14px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  gap:7px !important;
}
.case-comp-page .field small{
  display:block !important;
  line-height:1.25 !important;
}
.case-comp-page .field .value{
  display:block !important;
  margin-top:0 !important;
  line-height:1.05 !important;
  font-size:24px !important;
}
.case-comp-page .panel-row{
  align-items:stretch !important;
}
.case-comp-page .panel{
  overflow:visible !important;
}
.case-comp-page .screen .body{
  padding:24px !important;
}

/* Transformation story */
.transformation-story{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);
  gap:0;
  align-items:stretch;
  margin-top:28px;
}
.story-side{
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  background:var(--paper);
}
.story-side.before{
  background:#fffaf7;
}
.story-side.after{
  background:#f4faf5;
}
.story-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  color:var(--accent);
  font-size:22px;
}
.story-kicker{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--muted);
}
.story-title{
  margin-top:10px;
  font-size:30px;
}
.story-flow{
  display:grid;
  gap:10px;
  margin-top:22px;
}
.story-step{
  display:grid;
  grid-template-columns:30px 1fr;
  gap:11px;
  align-items:flex-start;
  padding:12px 0;
  border-top:1px solid var(--line);
}
.story-step:first-child{border-top:0}
.story-num{
  width:30px;
  height:30px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;
  font-weight:800;
  background:#f0eee9;
  color:#5a615d;
}
.after .story-num{
  background:#e4efe7;
  color:#315f57;
}
.story-step strong{
  display:block;
  margin-bottom:3px;
}
.story-step p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.story-pain,
.story-win{
  margin-top:24px;
  padding:16px;
  border-radius:14px;
}
.story-pain{
  background:#f9ece6;
  border:1px solid #edd7cc;
}
.story-win{
  background:#eaf4ed;
  border:1px solid #d4e5d8;
}
.story-pain .story-kicker{color:#8c5642}
.story-win .story-kicker{color:#315f57}
.story-bullets{
  display:grid;
  gap:8px;
  margin-top:10px;
  color:#4d5551;
  font-size:14px;
}
.story-bullets div{
  display:flex;
  gap:9px;
  align-items:flex-start;
}
.story-bullets div::before{
  content:"–";
  color:var(--muted);
  flex:0 0 auto;
}
.story-win .story-bullets div::before{
  content:"✓";
  font-family:"JetBrains Mono",ui-monospace,monospace;
  color:var(--accent);
  font-size:11px;
  margin-top:2px;
}
.solved-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
.solved-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  background:var(--paper);
}
.solved-card .story-kicker{
  color:var(--accent);
}
.solved-card h3{
  margin-top:10px;
  font-size:22px;
}
.solved-card p{
  color:var(--muted);
  font-size:14px;
}
@media(max-width:820px){
  .transformation-story{
    grid-template-columns:1fr;
  }
  .story-arrow{
    min-height:50px;
    transform:rotate(90deg);
  }
  .solved-grid{
    grid-template-columns:1fr;
  }
}


/* v19 — before/after icon labels */
.story-kicker-icon{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.story-kicker-icon span{
  font-size:15px;
  line-height:1;
  filter:saturate(.75);
}


/* v20 — stronger Before / After badges */
.story-kicker-icon{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:7px 11px 7px 8px !important;
  border-radius:999px !important;
  font-size:10px !important;
  letter-spacing:.11em !important;
  line-height:1 !important;
}
.story-side.before .story-kicker-icon{
  background:#f8e9e2 !important;
  color:#8a4f3b !important;
  border:1px solid #ecd2c6 !important;
}
.story-side.after .story-kicker-icon{
  background:#e6f1e9 !important;
  color:#315f57 !important;
  border:1px solid #cfe2d5 !important;
}
.story-kicker-icon span{
  width:34px !important;
  height:34px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  font-size:20px !important;
  line-height:1 !important;
  filter:none !important;
  background:#fff !important;
  box-shadow:0 4px 10px rgba(24,34,31,.08) !important;
}
.story-side.before .story-kicker-icon span{
  border:1px solid #e7c8ba !important;
}
.story-side.after .story-kicker-icon span{
  border:1px solid #c5ddcc !important;
}




/* v21 — compact homepage above-the-fold */
@media (min-width: 900px){
  .homepage-live .hero{
    padding:48px 0 20px !important;
  }
  .homepage-live .hero h1{
    font-size:clamp(54px,5.8vw,78px) !important;
    line-height:.95 !important;
    max-width:880px !important;
  }
  .homepage-live .hero .lead{
    font-size:18px !important;
    line-height:1.48 !important;
    max-width:760px !important;
    margin-top:18px !important;
  }
  .homepage-live .hero-actions{
    margin-top:20px !important;
    gap:10px !important;
  }
  .homepage-live .hero .btn{
    padding:11px 15px !important;
    font-size:13px !important;
  }
  .homepage-live .hero .micro{
    margin-top:9px !important;
    font-size:11px !important;
  }

  .homepage-live .hero + .section.no-border{
    padding:16px 0 42px !important;
  }
  .homepage-live .hero-showcase{
    margin-top:0 !important;
    padding:14px !important;
    border-radius:22px !important;
  }
  .homepage-live .hero-showcase-grid{
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) !important;
  }
  .homepage-live .hero-stage-top{
    height:32px !important;
    padding:0 11px !important;
  }
  .homepage-live .hero-stage-body{
    padding:16px !important;
  }
  .homepage-live .hero-stage-title{
    font-size:21px !important;
    margin-bottom:6px !important;
  }
  .homepage-live .hero-stage-copy{
    font-size:12px !important;
    line-height:1.4 !important;
    margin-bottom:12px !important;
  }
  .homepage-live .mini-sheet-head span,
  .homepage-live .mini-sheet-row span{
    padding:7px 8px !important;
    font-size:9px !important;
  }
  .homepage-live .mini-sheet-head span{
    font-size:8px !important;
  }
  .homepage-live .mini-formula{
    margin-top:8px !important;
    padding:7px 9px !important;
    font-size:8px !important;
  }
  .homepage-live .mini-note{
    margin-top:7px !important;
    font-size:10px !important;
  }
  .homepage-live .tool-field{
    padding:8px 0 !important;
    font-size:11px !important;
  }
  .homepage-live .tool-result{
    margin-top:12px !important;
    padding:13px !important;
  }
  .homepage-live .tool-result .result-main{
    font-size:30px !important;
    margin:6px 0 5px !important;
  }
  .homepage-live .hero-stage-label,
  .homepage-live .result-label{
    font-size:8px !important;
  }
}

@media (min-width:900px) and (max-height:760px){
  .homepage-live .hero{
    padding-top:32px !important;
    padding-bottom:12px !important;
  }
  .homepage-live .hero h1{
    font-size:clamp(48px,5vw,66px) !important;
  }
  .homepage-live .hero .lead{
    font-size:16px !important;
    margin-top:14px !important;
  }
  .homepage-live .hero-actions{
    margin-top:16px !important;
  }
  .homepage-live .hero + .section.no-border{
    padding-top:10px !important;
    padding-bottom:24px !important;
  }
  .homepage-live .hero-stage-body{
    padding:13px !important;
  }
  .homepage-live .hero-stage-copy{
    margin-bottom:9px !important;
  }
}


/* v22 — unified page H1 sizing */
body h1{
  font-size:clamp(54px,5.8vw,78px) !important;
  line-height:.95 !important;
  letter-spacing:-.05em !important;
}

/* Keep mobile H1s proportional */
@media(max-width:700px){
  body h1{
    font-size:clamp(42px,11vw,56px) !important;
    line-height:.98 !important;
  }
}

/* Concept previews keep their intentionally version-specific sizing */
.abt h1{
  font-size:inherit;
}


/* v23 — clearer before scenario copy */
.hero-showcase .hero-stage-copy{
  max-width: 48ch;
}
.hero-showcase .mini-note{
  max-width: 52ch;
  line-height: 1.45;
}


/* v25 — clearer after scenario copy */
.hero-showcase .hero-stage.after .hero-stage-copy{
  max-width: 49ch;
  line-height: 1.45;
}
.hero-showcase .hero-stage.after .tool-result{
  margin-top: 14px;
}
.hero-showcase .hero-stage.after .tool-form{
  margin-top: 10px;
}


/* v26 — pricing layout repair */
.pricing-page .pricing-hero{
  padding:72px 0 60px;
}
.pricing-page .pricing-intro{
  display:block;
  max-width:900px;
}
.pricing-page .pricing-intro-copy{
  max-width:860px;
}
.pricing-page .pricing-intro h1{
  max-width:780px !important;
}
.pricing-page .pricing-intro .lead{
  max-width:760px;
  margin-top:20px;
  margin-bottom:0;
}
.pricing-page .price-band{
  width:100%;
  margin-top:48px;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:22px;
  align-items:stretch;
}
.pricing-page .price-main,
.pricing-page .price-side{
  min-width:0;
}
.pricing-page .scope-strip{
  width:100%;
  max-width:none;
  margin-top:24px;
}

@media(max-width:900px){
  .pricing-page .pricing-hero{
    padding-top:54px;
  }
  .pricing-page .price-band{
    grid-template-columns:1fr;
  }
}


/* v27 — homepage scenario width + fold breathing room */
.homepage-live .hero-showcase .hero-stage-copy{
  width:100% !important;
  max-width:none !important;
  display:block;
}
.homepage-live .hero-showcase .hero-stage.before .hero-stage-copy,
.homepage-live .hero-showcase .hero-stage.after .hero-stage-copy{
  max-width:none !important;
}

/* Keep a visible gap below the above-the-fold visual on desktop. */
@media (min-width:900px){
  .homepage-live .hero + .section.no-border{
    padding-bottom:30px !important;
  }
  .homepage-live .hero-showcase{
    margin-bottom:0 !important;
  }

  /* Recover a little vertical space so the 30px bottom gap still fits in-view. */
  .homepage-live .hero{
    padding-top:40px !important;
    padding-bottom:16px !important;
  }
  .homepage-live .hero .lead{
    margin-top:15px !important;
  }
  .homepage-live .hero-actions{
    margin-top:17px !important;
  }
  .homepage-live .hero + .section.no-border{
    padding-top:12px !important;
  }
  .homepage-live .hero-stage-body{
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
  .homepage-live .hero-stage-copy{
    margin-bottom:10px !important;
  }
  .homepage-live .tool-field{
    padding:7px 0 !important;
  }
  .homepage-live .tool-result{
    margin-top:10px !important;
    padding-top:11px !important;
    padding-bottom:11px !important;
  }
}

/* Extra protection for shorter laptop displays. */
@media (min-width:900px) and (max-height:800px){
  .homepage-live .hero{
    padding-top:26px !important;
    padding-bottom:10px !important;
  }
  .homepage-live .hero h1{
    font-size:clamp(48px,5vw,66px) !important;
  }
  .homepage-live .hero .lead{
    margin-top:12px !important;
  }
  .homepage-live .hero-actions{
    margin-top:13px !important;
  }
  .homepage-live .hero .micro{
    margin-top:6px !important;
  }
  .homepage-live .hero + .section.no-border{
    padding-top:8px !important;
    padding-bottom:30px !important;
  }
  .homepage-live .hero-showcase{
    padding:11px !important;
  }
  .homepage-live .hero-stage-body{
    padding:11px !important;
  }
  .homepage-live .hero-stage-title{
    font-size:20px !important;
  }
  .homepage-live .mini-sheet-head span,
  .homepage-live .mini-sheet-row span{
    padding-top:6px !important;
    padding-bottom:6px !important;
  }
}


/* v28 — unified lead sizing */
.lead{
  font-size:20px !important;
  line-height:1.5 !important;
}

/* Keep mobile leads comfortably readable without oversized wrapping */
@media(max-width:700px){
  .lead{
    font-size:18px !important;
    line-height:1.5 !important;
  }
}


/* v29 — clearer before/after pricing story */
.homepage-live .before-workflow-title,
body .before-workflow-title{
  width:100%;
  max-width:none;
  margin-bottom:5px !important;
}
.homepage-live .legacy-file,
body .legacy-file{
  width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 9px;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:9px;
  line-height:1.35;
  color:#5f6863;
}
.homepage-live .legacy-file span,
body .legacy-file span{
  display:inline-flex;
  flex:0 0 auto;
  padding:3px 6px;
  border:1px solid #d8ddd8;
  border-radius:999px;
  background:#f3f5f1;
  font-size:7px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
}
.homepage-live .mini-note,
body .hero-showcase .mini-note{
  width:100% !important;
  max-width:none !important;
  display:block;
}
.homepage-live .formula-explainer,
body .formula-explainer{
  width:100%;
  padding:8px 10px !important;
  background:#fff7d7;
}
.homepage-live .formula-explainer .formula-label,
body .formula-explainer .formula-label{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:7px;
  line-height:1.2;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-weight:800;
  color:#745f18;
  margin-bottom:4px;
}
.homepage-live .formula-explainer .formula-meaning,
body .formula-explainer .formula-meaning{
  font-family:"Inter",sans-serif;
  font-size:9px;
  line-height:1.35;
  color:#56574f;
  margin-bottom:5px;
}
.homepage-live .formula-explainer code,
body .formula-explainer code{
  display:block;
  width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:7px;
  line-height:1.3;
  color:#6b5b20;
}
.homepage-live .comparison-vs,
body .comparison-vs{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px !important;
  line-height:1;
  letter-spacing:.12em;
  font-weight:800;
  color:#315f57;
}
@media(min-width:900px){
  .homepage-live .hero-showcase-grid{
    grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr) !important;
  }
}


/* v30 — richer quote result card */
.homepage-live .tool-result-expanded,
body .hero-showcase .tool-result-expanded{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:18px;
  align-items:stretch;
}
.homepage-live .result-primary,
body .hero-showcase .result-primary{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.homepage-live .result-details,
body .hero-showcase .result-details{
  display:grid;
  gap:8px;
  align-content:center;
}
.homepage-live .result-detail,
body .hero-showcase .result-detail{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:8px 10px;
  border:1px solid #d8e4db;
  border-radius:10px;
  background:rgba(255,255,255,.58);
}
.homepage-live .detail-icon,
body .hero-showcase .detail-icon{
  width:22px;
  height:22px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e3efe7;
  color:#315f57;
  font-size:11px;
  font-weight:800;
}
.homepage-live .result-detail strong,
body .hero-showcase .result-detail strong{
  display:block;
  margin-top:2px;
  font-family:"Inter",sans-serif;
  font-size:11px;
  line-height:1.2;
  color:#1d2a26;
}
.homepage-live .result-detail small,
body .hero-showcase .result-detail small{
  display:block;
  margin-top:2px;
  font-family:"Inter",sans-serif;
  font-size:9px;
  line-height:1.3;
  color:#64706a;
}
@media(max-width:700px){
  .homepage-live .tool-result-expanded,
  body .hero-showcase .tool-result-expanded{
    grid-template-columns:1fr;
  }
}

/* v32 — balanced homepage fold: roomy visual, compact hero */
@media (min-width:900px){
  /* Recover vertical space from the marketing copy, not from the product visual. */
  .homepage-live .hero{
    padding-top:24px !important;
    padding-bottom:8px !important;
  }
  .homepage-live .hero h1{
    font-size:clamp(52px,5vw,68px) !important;
    line-height:.96 !important;
    max-width:820px !important;
  }
  .homepage-live .hero .lead{
    font-size:20px !important;
    line-height:1.45 !important;
    margin-top:13px !important;
    max-width:780px !important;
  }
  .homepage-live .hero-actions{
    margin-top:14px !important;
  }
  .homepage-live .hero .micro{
    margin-top:6px !important;
  }

  .homepage-live .hero + .section.no-border{
    padding-top:10px !important;
    padding-bottom:30px !important;
  }

  /* Outer visual gets breathing room again. */
  .homepage-live .hero-showcase{
    padding:14px !important;
    border-radius:22px !important;
  }
  .homepage-live .hero-showcase-grid{
    grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr) !important;
  }

  /* Browser chrome */
  .homepage-live .hero-stage-top{
    height:34px !important;
    padding:0 13px !important;
  }
  .homepage-live .hero-stage-label{
    font-size:7.5px !important;
  }

  /* Main card body: restore proper padding. */
  .homepage-live .hero-stage-body{
    padding:15px 16px 16px !important;
  }

  .homepage-live .hero-stage-title{
    font-size:19px !important;
    line-height:1.08 !important;
    margin:0 0 6px !important;
  }

  .homepage-live .legacy-file{
    margin:0 0 9px !important;
    gap:7px !important;
    font-size:8px !important;
  }
  .homepage-live .legacy-file span{
    padding:3px 6px !important;
    font-size:6.5px !important;
  }

  .homepage-live .hero-stage-copy{
    font-size:11px !important;
    line-height:1.48 !important;
    margin:0 0 11px !important;
    width:100% !important;
    max-width:none !important;
  }

  /* Before table */
  .homepage-live .mini-sheet-head span{
    padding:6px 8px !important;
    font-size:7px !important;
  }
  .homepage-live .mini-sheet-row span{
    padding:6px 8px !important;
    font-size:8.5px !important;
  }

  /* Explain the buried business logic without crowding it. */
  .homepage-live .formula-explainer{
    margin-top:9px !important;
    padding:8px 10px !important;
  }
  .homepage-live .formula-explainer .formula-label{
    font-size:6.5px !important;
    margin-bottom:4px !important;
  }
  .homepage-live .formula-explainer .formula-meaning{
    font-size:8px !important;
    line-height:1.4 !important;
    margin-bottom:4px !important;
  }
  .homepage-live .formula-explainer code{
    font-size:6.5px !important;
  }
  .homepage-live .mini-note{
    width:100% !important;
    max-width:none !important;
    margin-top:9px !important;
    font-size:8.5px !important;
    line-height:1.42 !important;
  }

  /* After form */
  .homepage-live .tool-form{
    margin-top:10px !important;
  }
  .homepage-live .tool-field{
    padding:8px 0 !important;
    font-size:9.5px !important;
  }

  /* Result area */
  .homepage-live .tool-result-expanded{
    margin-top:11px !important;
    padding:11px 12px !important;
    gap:14px !important;
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) !important;
  }
  .homepage-live .tool-result .result-main{
    font-size:28px !important;
    margin:5px 0 6px !important;
  }
  .homepage-live .result-label{
    font-size:6.5px !important;
  }
  .homepage-live .tool-result .pill{
    font-size:9px !important;
    padding:6px 9px !important;
  }
  .homepage-live .result-details{
    gap:8px !important;
  }
  .homepage-live .result-detail{
    grid-template-columns:22px minmax(0,1fr) !important;
    gap:8px !important;
    padding:7px 9px !important;
  }
  .homepage-live .detail-icon{
    width:20px !important;
    height:20px !important;
    font-size:10px !important;
  }
  .homepage-live .result-detail strong{
    font-size:9.5px !important;
    line-height:1.25 !important;
  }
  .homepage-live .result-detail small{
    font-size:7.5px !important;
    line-height:1.3 !important;
  }

  .homepage-live .comparison-vs{
    font-size:9px !important;
  }
}

/* Slightly more compact only when the viewport is genuinely short. */
@media (min-width:900px) and (max-height:820px){
  .homepage-live .hero{
    padding-top:18px !important;
    padding-bottom:6px !important;
  }
  .homepage-live .hero h1{
    font-size:clamp(50px,4.7vw,64px) !important;
  }
  .homepage-live .hero .lead{
    font-size:20px !important;
    margin-top:10px !important;
  }
  .homepage-live .hero-actions{
    margin-top:11px !important;
  }
  .homepage-live .hero + .section.no-border{
    padding-top:7px !important;
    padding-bottom:30px !important;
  }
}


/* v33 — pricing plan update */
.pricing-page .annual-row span{
  color:#315f57;
  font-weight:700;
}


/* v34 — selected editorial footer */
.footer-v1-final{
  margin-top:80px;
  padding:0;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,#f8f7f3 0%,#f3f2ed 100%);
}
.footer-v1-final .container{
  padding-top:52px;
  padding-bottom:34px;
}
.footer-v1-main{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(250px,.52fr);
  gap:clamp(56px,9vw,130px);
  align-items:start;
}
.footer-v1-brand{max-width:720px;}
.footer-v1-brand .footer-brand-lockup{margin-bottom:24px;}
.footer-v1-brand h2{
  font-family:"Space Grotesk","Inter",sans-serif;
  font-size:40px;
  line-height:1.01;
  letter-spacing:-.05em;
  font-weight:600;
  max-width:12ch;
  margin:0;
}
.footer-v1-brand p{
  max-width:560px;
  margin:20px 0 0;
  font-size:16px;
  line-height:1.6;
  color:var(--muted);
}
.footer-v1-explore{
  justify-self:end;
  width:min(100%,320px);
}
.footer-v1-label{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:10px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.footer-v1-explore a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  text-decoration:none;
  font-size:15px;
  transition:transform .18s ease,color .18s ease;
}
.footer-v1-explore a:hover{color:var(--accent);transform:translateX(3px);}
.footer-v1-explore a span:last-child{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:11px;
  color:var(--muted);
}
.footer-v1-bottom{
  margin-top:38px;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.footer-v1-chips{display:flex;flex-wrap:wrap;gap:9px;}
.footer-v1-chips span{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.65);
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--muted);
}
.footer-v1-signoff{
  flex:0 0 auto;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:8px;
  line-height:1.4;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--muted);
  text-align:right;
}
@media(max-width:800px){
  .footer-v1-main{grid-template-columns:1fr;gap:38px;}
  .footer-v1-explore{justify-self:stretch;width:100%;}
  .footer-v1-bottom{align-items:flex-start;flex-direction:column;}
  .footer-v1-signoff{text-align:left;}
}




/* v35 — footer H2 sizing */
@media(max-width:700px){
  .footer-v1-brand h2{
    font-size:34px;
  }
}


/* v36 — vendor evaluation card repair */
.vendor-evaluation-card .before-after-tool{
  grid-template-columns:minmax(0,1fr) 48px minmax(0,1.1fr) !important;
}
.vendor-evaluation-card .tool-arrow{
  background:#eef2ee !important;
  color:#315f57 !important;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  font-size:9px !important;
  letter-spacing:.12em;
  font-weight:800;
}
.vendor-evaluation-card .tool-arrow span{
  writing-mode:horizontal-tb;
  transform:none;
}
.vendor-evaluation-card .tool-side{
  min-height:300px;
}
.vendor-evaluation-card .tool-side.after{
  padding:28px 28px 24px;
}
.vendor-evaluation-card .tool-copy{
  max-width:none;
}
.vendor-scorecard{
  margin-top:22px;
  border:1px solid #d9e1db;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.vendor-scorecard-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:10px 14px;
  border-bottom:1px solid #e2e6e2;
  background:#f4f7f4;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:8px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#68736d;
  font-weight:700;
}
.vendor-score-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:54px;
  padding:11px 14px;
  border-bottom:1px solid #e5e8e4;
}
.vendor-score-row:last-of-type{
  border-bottom:0;
}
.vendor-score-row > div:first-child{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.vendor-rank{
  width:27px;
  height:27px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:#f0f3ef;
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-size:8px;
  color:#66706b;
}
.vendor-score-row strong{
  font-family:"Inter",sans-serif !important;
  font-size:14px !important;
  line-height:1.2;
  font-weight:700 !important;
  letter-spacing:0 !important;
}
.vendor-score-row.winner{
  background:#f3f8f4;
}
.vendor-score-row.winner .vendor-rank{
  background:#dfece3;
  color:#315f57;
}
.vendor-score{
  font-family:"Space Grotesk","Inter",sans-serif;
  font-size:20px;
  line-height:1;
  font-weight:600;
  color:#18221f;
}
.vendor-score-note{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-top:1px solid #e2e6e2;
  background:#fbfcfa;
  font-size:10px;
  line-height:1.4;
  color:#5f6964;
}
.vendor-score-note span{
  color:#315f57;
  font-weight:800;
}
@media(max-width:720px){
  .vendor-evaluation-card .before-after-tool{
    grid-template-columns:1fr !important;
  }
  .vendor-evaluation-card .tool-arrow{
    min-height:42px;
    transform:none !important;
    border-left:0;
    border-right:0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
}


/* v37 — alternating Possibilities VS strips */
.possibility-list .before-after-tool > .tool-arrow{
  width:auto;
  min-width:64px;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  transform:none !important;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:9px !important;
  line-height:1;
  letter-spacing:.14em;
  font-weight:800;
  text-transform:uppercase;
}

/* 1, 3, 5... */
.possibility-list .possibility-card:nth-child(odd) .tool-arrow{
  background:#15201d !important;
  color:#ffffff !important;
}

/* 2, 4, 6... */
.possibility-list .possibility-card:nth-child(even) .tool-arrow{
  background:#eef2ee !important;
  color:#315f57 !important;
}

.possibility-list .tool-arrow span{
  display:block;
  writing-mode:horizontal-tb !important;
  transform:none !important;
}

/* Vendor card now follows the same alternating rhythm as every other widget. */
.possibility-list .vendor-evaluation-card .tool-arrow{
  background:#15201d !important;
  color:#ffffff !important;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}

/* Mobile: keep VS horizontal inside a slim separator band. */
@media(max-width:720px){
  .possibility-list .before-after-tool > .tool-arrow{
    min-width:0;
    min-height:46px !important;
    width:100%;
    transform:none !important;
    border-left:0;
    border-right:0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
}


/* v38 — expertise transform + footer link */
.expertise-transform{
  display:grid;
  grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);
  gap:0;
  align-items:stretch;
  padding:0;
  overflow:hidden;
  background:var(--paper);
}
.expertise-transform .expertise-side,
.expertise-transform .product-side{
  padding:26px 30px 28px;
  min-width:0;
}
.expertise-transform .expertise-side{
  background:#fbf9f5;
}
.expertise-transform .product-side{
  background:#fbfcfa;
}
.expertise-transform .transform-label{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--muted);
  margin-bottom:10px;
}
.expertise-transform h3{
  font-size:24px;
  line-height:1.08;
  margin:0 0 8px;
}
.expertise-transform p{
  margin:0;
  font-size:15px;
  line-height:1.5;
  max-width:100%;
}
.expertise-vs{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#15201d;
  color:#fff;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:8px;
  letter-spacing:.14em;
  font-weight:800;
}
.expertise-vs span{
  display:block;
}
.footer-v1-signoff a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:border-color .18s ease,color .18s ease;
}
.footer-v1-signoff a:hover{
  color:var(--accent);
  border-bottom-color:currentColor;
}

@media(max-width:720px){
  .expertise-transform{
    grid-template-columns:1fr;
  }
  .expertise-vs{
    min-height:44px;
    border-left:0;
    border-right:0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .expertise-transform .expertise-side,
  .expertise-transform .product-side{
    padding:22px;
  }
}


/* v39 — roomier homepage hero */
@media(min-width:900px){
  .homepage-live .hero .lead{
    font-size:15px !important;
    line-height:1.55 !important;
    margin-top:16px !important;
    margin-bottom:30px !important;
    max-width:720px !important;
  }

  .homepage-live .hero-actions{
    margin-top:0 !important;
  }

  .homepage-live .hero-showcase{
    padding:22px !important;
  }

  .homepage-live .hero-stage-body{
    padding:20px 22px 22px !important;
  }

  .homepage-live .hero-stage-top{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .homepage-live .hero-showcase-grid{
    gap:0 !important;
  }
}

@media(max-width:899px){
  .homepage-live .hero .lead{
    font-size:15px !important;
    line-height:1.55 !important;
    margin-bottom:26px !important;
  }
  .homepage-live .hero-showcase{
    padding:16px !important;
  }
}


/* v40 — case study navigation + strategy transform */
.case-back-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 18px;
  color:var(--muted);
  text-decoration:none;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:9px;
  line-height:1.2;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-weight:700;
  transition:color .18s ease, transform .18s ease;
}
.case-back-link:hover{
  color:var(--accent);
  transform:translateX(-3px);
}

/* Strategy Engine: structured input → output transformation */
.strategy-transform{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr) !important;
  gap:0 !important;
  align-items:stretch !important;
  padding:0 !important;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--paper);
}
.strategy-transform .strategy-side{
  min-width:0;
  padding:26px 30px 28px;
}
.strategy-transform .strategy-input{
  background:#fbf9f5;
}
.strategy-transform .strategy-output{
  background:#fbfcfa;
}
.strategy-transform .transform-label{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--muted);
  margin-bottom:10px;
}
.strategy-transform h3{
  font-size:24px !important;
  line-height:1.08 !important;
  margin:0 0 8px !important;
}
.strategy-transform p{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.5 !important;
  max-width:100%;
}
.strategy-transform .strategy-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#15201d;
  color:#fff;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:16px;
  line-height:1;
  font-weight:700;
}

@media(max-width:720px){
  .strategy-transform{
    grid-template-columns:1fr !important;
  }
  .strategy-transform .strategy-arrow{
    min-height:44px;
    border-left:0;
    border-right:0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .strategy-transform .strategy-side{
    padding:22px;
  }
}


/* v41 — form label sizing */
form label,
.form-label,
.field > label,
.assessment-form label,
.project-form label{
  font-size:14px !important;
}


/* v42 — active Start a Project nav state */
.nav-links .cta.active,
.nav-links .cta[aria-current="page"]{
  background:#15201d !important;
  color:#ffffff !important;
  border-color:#15201d !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 7px 18px rgba(21,32,29,.10);
}

.nav-links .cta.active::after,
.nav-links .cta[aria-current="page"]::after{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:#c8ded4;
  margin-left:8px;
  flex:0 0 auto;
}

.nav-links .cta.active:hover,
.nav-links .cta[aria-current="page"]:hover{
  background:#1b2b27 !important;
  color:#ffffff !important;
  transform:translateY(-1px);
}


/* v43 — Sarina brand logo */
.brand,
.footer-brand-lockup{
  font-family:"Sarina",cursive !important;
  font-size:25px !important;
  line-height:1 !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
}
.brand small,
.footer-brand-lockup small{
  margin-top:7px;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace !important;
  font-size:10px !important;
  line-height:1.3 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase;
}


/* v45 — clean About story line breaks */
.about-story-copy{
  width:100%;
  max-width:none;
}
.about-story-copy p{
  display:block;
  width:100%;
  max-width:none;
  margin:0 0 14px !important;
  line-height:1.55;
}
.about-story-copy p:last-child{
  margin-bottom:0 !important;
}


/* v46 — About personal website CTA */
.about-personal-link{
  margin-top:24px;
}
.personal-site-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:11px 17px;
  border:1px solid #adb6b0;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  color:var(--ink);
  text-decoration:none;
  font-family:"Inter",sans-serif;
  font-size:14px;
  line-height:1.2;
  font-weight:700;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}
.personal-site-btn span{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:11px;
  transition:transform .18s ease;
}
.personal-site-btn:hover{
  background:#ffffff;
  border-color:#315f57;
  box-shadow:0 8px 20px rgba(24,34,31,.07);
  transform:translateY(-1px);
}
.personal-site-btn:hover span{
  transform:translate(2px,-2px);
}




/* v49 — Flobased sidecar editorial lockup */
.brand.brand-logo.brand-sidecar,
.brand.footer-brand-lockup.brand-sidecar{
  display:flex;
  align-items:center;
  gap:13px;
  width:auto;
  line-height:1;
}
.brand-sidecar img{
  display:block;
  height:34px;
  width:auto;
  flex:0 0 auto;
}
.brand-sidecar .brand-meta{
  display:grid;
  gap:3px;
  padding-left:13px;
  border-left:1px solid #cfd4cf;
  text-transform:uppercase;
  white-space:nowrap;
}
.brand-sidecar .brand-meta strong{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:8px;
  line-height:1.15;
  letter-spacing:.13em;
  font-weight:800;
  color:var(--accent);
}
.brand-sidecar .brand-meta > span{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:6.4px;
  line-height:1.25;
  letter-spacing:.08em;
  font-weight:600;
  color:var(--muted);
}

/* Footer: intentionally more compact */
.footer-brand-lockup.brand-sidecar{
  gap:10px !important;
}
.footer-brand-lockup.brand-sidecar img{
  height:22px;
}
.footer-brand-lockup.brand-sidecar .brand-meta{
  gap:2px;
  padding-left:10px;
}
.footer-brand-lockup.brand-sidecar .brand-meta strong{
  font-size:6.2px;
}
.footer-brand-lockup.brand-sidecar .brand-meta > span{
  font-size:5px;
  letter-spacing:.07em;
}

@media(max-width:900px){
  .brand-sidecar .brand-meta{
    display:none;
  }
}
@media(max-width:720px){
  .brand-sidecar img{
    height:30px;
  }
  .footer-brand-lockup.brand-sidecar img{
    height:18px;
  }
}


/* v50 — crisp logo rendering */
.brand-sidecar img{
  image-rendering:auto;
  object-fit:contain;
}
.footer-brand-lockup.brand-sidecar img{
  height:22px;
  width:auto;
}


/* v51 — universal CTA button spacing */
.universal-cta .hero-actions{
  margin-top:42px !important;
}
@media(max-width:700px){
  .universal-cta .hero-actions{
    margin-top:34px !important;
  }
}


/* v52 — footer logo single-line tagline */
.footer-brand-lockup.brand-sidecar .brand-meta{
  gap:0;
}
.footer-brand-lockup.brand-sidecar .brand-meta strong{
  display:block;
}


/* v53 — split header/footer brand metadata */
.brand.brand-logo.brand-sidecar .brand-meta > span{
  display:block;
}
.footer-brand-lockup.brand-sidecar .brand-meta > span{
  display:none;
}


/* Homepage-specific styles */

.hero-showcase{margin-top:44px;padding:22px;border:1px solid #dedfd8;border-radius:28px;background:#fffdf9;box-shadow:0 22px 60px rgba(24,34,31,.08)}
.hero-showcase-grid{display:grid;grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:0;align-items:stretch}
.hero-stage{border:1px solid #daddd7;border-radius:18px;overflow:hidden;background:#fff;min-width:0}
.hero-stage.before{background:#faf8f2}.hero-stage.after{background:#fbfcfa}
.hero-stage-top{height:38px;border-bottom:1px solid #e2e4df;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:rgba(255,255,255,.8)}
.hero-stage-dots{display:flex;gap:6px}.hero-stage-dots span{width:7px;height:7px;border-radius:99px;background:#c8cbc5;display:block}
.hero-stage-label,.result-label{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:#65706a}
.hero-stage-body{padding:24px}
.hero-stage-title{font-family:"Space Grotesk",Inter,Arial,sans-serif;font-size:26px;line-height:1.05;letter-spacing:-.035em;font-weight:600;margin:0 0 9px}
.hero-stage-copy{font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.55;color:#656c68;margin:0 0 18px}
.hero-stage-arrow{display:flex;align-items:center;justify-content:center;font-family:"JetBrains Mono",ui-monospace,monospace;color:#315f57;font-size:22px}
.mini-sheet{border:1px solid #dfe2dc;border-radius:12px;overflow:hidden;background:#fff}
.mini-sheet-head,.mini-sheet-row{display:grid;grid-template-columns:1.35fr .7fr .7fr}
.mini-sheet-head span,.mini-sheet-row span{padding:10px 11px;border-right:1px solid #e6e8e3;border-bottom:1px solid #e6e8e3;font-size:11px}
.mini-sheet-head span{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#656c68;background:#f5f6f2;font-weight:700}
.mini-sheet span:last-child{border-right:0}.mini-sheet-row:last-child span{border-bottom:0}
.mini-formula{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff6cf;border:1px solid #e7d789;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;line-height:1.5;color:#4f514c;overflow-wrap:anywhere}
.mini-note{margin-top:12px;font-size:12px;font-style:italic;color:#7d6b5e}
.tool-form{display:grid;gap:0}.tool-field{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #e5e7e2;font-family:Inter,Arial,sans-serif;font-size:13px}
.tool-field span:first-child{color:#656c68}.tool-field strong{font-weight:800}
.tool-result,.decision-panel{margin-top:18px;padding:18px;border:1px solid #dce4de;border-radius:14px;background:#f3f8f4}
.tool-result .result-main{font-family:"Space Grotesk",Inter,Arial,sans-serif;font-size:36px;line-height:1;letter-spacing:-.045em;font-weight:600;margin:8px 0 7px}
.rule-stack{display:grid;gap:8px}.rule-chip{padding:10px 11px;border-radius:10px;border:1px solid #d9dcd6;background:#fff;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;line-height:1.45}
.rule-chip.warn{background:#fff3e8;border-color:#e4b892}
.decision-panel .result-main{font-family:"Space Grotesk",Inter,Arial,sans-serif;font-size:28px;line-height:1.05;letter-spacing:-.035em;font-weight:600;margin:8px 0}
@media(max-width:760px){.hero-showcase-grid{grid-template-columns:1fr}.hero-stage-arrow{min-height:52px;transform:rotate(90deg)}}


/* v54 — homepage split above-the-fold */
.homepage-live .nav-links .cta{display:none !important;}
.homepage-live .hero-home-fold{padding:140px 0 !important;}
.homepage-live .hero-fold{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:32px;align-items:center;}
.homepage-live .hero-fold-visual,.homepage-live .hero-fold-copy{min-width:0;}
.homepage-live .hero-fold-copy .eyebrow{margin-bottom:12px;}
.homepage-live .hero-fold-copy h1{font-size:clamp(50px,5vw,64px) !important;line-height:.98 !important;max-width:10.5ch !important;margin:0;}
.homepage-live .hero-fold-copy .lead{font-size:15px !important;line-height:1.58 !important;max-width:56ch !important;margin:18px 0 30px !important;color:#4e5753;}
.homepage-live .hero-fold-copy .hero-actions{margin-top:0 !important;gap:12px !important;}
.homepage-live .hero-fold-copy .micro{margin-top:10px !important;font-size:11px !important;}
.homepage-live .hero-fold-visual .hero-showcase{margin:0 !important;padding:25px !important;border-radius:24px !important;box-shadow:0 20px 48px rgba(24,34,31,.07) !important;background:#fffdfa !important;}
.homepage-live .hero-fold-visual .hero-showcase-grid{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) !important;align-items:stretch !important;}
.homepage-live .hero-fold-visual .hero-stage-top{height:30px !important;padding:0 10px !important;}
.homepage-live .hero-fold-visual .hero-stage-body{padding:14px !important;}
.homepage-live .hero-fold-visual .hero-stage-title{font-size:18px !important;line-height:1.08 !important;margin:0 0 6px !important;}
.homepage-live .hero-fold-visual .legacy-file{font-size:8px !important;margin-bottom:8px !important;}
.homepage-live .hero-fold-visual .hero-stage-copy{font-size:10px !important;line-height:1.45 !important;margin:0 0 10px !important;max-width:none !important;}
.homepage-live .hero-fold-visual .mini-sheet-head span,.homepage-live .hero-fold-visual .mini-sheet-row span{padding:6px 7px !important;font-size:8px !important;}
.homepage-live .hero-fold-visual .mini-sheet-head span{font-size:7px !important;}
.homepage-live .hero-fold-visual .mini-formula{margin-top:8px !important;padding:7px 8px !important;font-size:7px !important;border-radius:9px !important;}
.homepage-live .hero-fold-visual .formula-label{margin-bottom:3px;}
.homepage-live .hero-fold-visual .mini-note{margin-top:8px !important;font-size:10px !important;line-height:1.42 !important;max-width:none !important;}
.homepage-live .hero-fold-visual .tool-field{padding:7px 0 !important;font-size:10px !important;gap:10px !important;}
.homepage-live .hero-fold-visual .tool-result{margin-top:10px !important;padding:10px !important;border-radius:12px !important;}
.homepage-live .hero-fold-visual .tool-result .result-main{font-size:24px !important;margin:5px 0 4px !important;}
.homepage-live .hero-fold-visual .pill{font-size:10px !important;padding:6px 9px !important;text-align:center !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}
.homepage-live .hero-fold-visual .result-details{gap:7px !important;}
.homepage-live .hero-fold-visual .result-detail{padding:8px 9px !important;border-radius:10px !important;}
.homepage-live .hero-fold-visual .result-detail strong{font-size:10px !important;}
.homepage-live .hero-fold-visual .result-detail small{font-size:9px !important;line-height:1.35 !important;}
.homepage-live .hero-fold-visual .detail-icon{width:20px !important;height:20px !important;font-size:11px !important;}
.homepage-live .hero-fold-visual .comparison-vs{font-size:12px !important;letter-spacing:.18em !important;color:#5e6662 !important;}
@media (max-width: 980px){
  .homepage-live .hero-home-fold{padding:72px 0 !important;}
  .homepage-live .hero-fold{grid-template-columns:1fr !important;gap:22px !important;}
  .homepage-live .hero-fold-copy{order:-1;}
  .homepage-live .hero-fold-copy .lead{margin-bottom:24px !important;}
}
@media (max-width: 760px){
  .homepage-live .hero-fold-visual .hero-showcase-grid{grid-template-columns:1fr !important;}
  .homepage-live .hero-fold-visual .hero-stage-arrow{min-height:44px !important;transform:rotate(90deg);}
}


.homepage-live .hero-fold-visual .result-detail.status-only{align-items:center !important;min-height:48px;}
.homepage-live .hero-fold-visual .result-detail.status-only .result-label{font-size:7px !important;color:#65706a !important;font-weight:700 !important;margin-bottom:2px;}
.homepage-live .hero-fold-visual .result-detail.status-only .status-copy{display:grid;gap:1px;min-width:0;}
.homepage-live .hero-fold-visual .result-detail.status-only .status-copy strong{font-size:10px !important;line-height:1.15 !important;color:#1b1f1d !important;font-weight:800 !important;}

.homepage-live .hero-fold-visual .after-benefits{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.homepage-live .hero-fold-visual .after-benefit{
  min-width:0;
  padding:9px 10px;
  border:1px solid #dce4de;
  border-radius:10px;
  background:#fbfcfa;
}
.homepage-live .hero-fold-visual .after-benefit .result-label{
  margin-bottom:3px;
  font-size:7px !important;
}
.homepage-live .hero-fold-visual .after-benefit strong{
  display:block;
  font-size:9px;
  line-height:1.25;
  color:#1b1f1d;
}
@media(max-width:760px){
  .homepage-live .hero-fold-visual .after-benefits{
    grid-template-columns:1fr;
  }
}



/* Final typography overrides */
body h2{font-size:50px !important;}
.footer-v1-brand h2{font-size:35px !important;}
.universal-cta h2{font-size:44px !important;}
@media(max-width:700px){body h2{font-size:38px !important}.footer-v1-brand h2{font-size:30px !important}.universal-cta h2{font-size:36px !important}}



/* v1.0.1 — WordPress project form field normalization */
#intake-form label{
  display:block;
}

#intake-form input[type="text"],
#intake-form input[type="email"],
#intake-form textarea,
#intake-form select{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
  padding:13px 14px;
  border:1px solid #d5d8d2;
  border-radius:10px;
  background:#fff;
  font-family:"Inter",ui-sans-serif,system-ui,sans-serif;
  font-size:16px;
  line-height:1.35;
  color:var(--ink);
}

#intake-form input[type="text"],
#intake-form input[type="email"],
#intake-form select{
  min-height:50px;
}

#intake-form textarea{
  min-height:130px;
  resize:vertical;
}

#intake-form input[type="text"]:focus,
#intake-form input[type="email"]:focus,
#intake-form textarea:focus,
#intake-form select:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(49,95,87,.10);
}

#intake-form .grid-2{
  align-items:start;
}

#intake-form .checks label{
  display:flex;
  align-items:flex-start;
  gap:9px;
}

#intake-form .checks input[type="checkbox"]{
  width:auto;
  flex:0 0 auto;
  margin:2px 0 0;
}

/* v1.0.3 — custom dropdown arrow with proper right inset */
#intake-form select{
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  appearance:none !important;
  padding-right:58px !important;
  background-color:#fff !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1f1d' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 20px center !important;
  background-size:14px 14px !important;
}

@media(max-width:700px){
  #intake-form select{
    padding-right:54px !important;
    background-position:right 18px center !important;
  }
}
