:root{
  --bg:#08100D;
  --bg-elevated:#0F1A16;
  --bg-sunken:#050B09;
  --text:#E8EFEB;
  --text-soft:#93A79D;
  --text-faint:#5A6D64;
  --line:#213029;
  --accent:#35C58E;
  --accent-solid:#1FA97A;
  --accent-solid-dim:#188A63;
  --status-queued:#7C8C84;
  --status-running:#F0A94E;
  /* Neon green is reserved for "live" so a finished stage still reads as a
     status next to the emerald brand accent. */
  --status-live:#5BFFAE;
  --status-queued-bg:rgba(124,140,132,0.14);
  --status-running-bg:rgba(240,169,78,0.14);
  --status-live-bg:rgba(91,255,174,0.14);
  --status-error:#F0715A;
  --radius:4px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:600;
  margin:0;
  letter-spacing:-0.01em;
}
.mono{font-family:'IBM Plex Mono',monospace;}
.wrap{max-width:1100px;margin:0 auto;padding:0 32px;}
a{color:inherit;}
::selection{background:var(--accent); color:var(--bg);}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px;
}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(8,16,13,0.88);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px;
  max-width:1100px; margin:0 auto;
}
.logo{
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:22px;
  letter-spacing:0.02em;
  display:inline-flex; align-items:center;
  text-decoration:none;
}
.logo-v{color:var(--accent);}
.navlinks{display:flex; gap:28px; font-size:14px; letter-spacing:0.02em;}
.navlinks a{text-decoration:none; color:var(--text-soft); transition:color .2s;}
.navlinks a:hover{color:var(--text);}
.navlinks{display:none;}
@media(min-width:820px){.navlinks{display:flex;}}
.nav-right{display:flex; align-items:center; gap:18px;}
.lang-link{
  font-size:12.5px; letter-spacing:0.08em;
  color:var(--text-soft); text-decoration:none;
  padding:4px 2px;
  transition:color .2s;
}
.lang-link:hover{color:var(--accent);}
.btn{
  font-family:'IBM Plex Mono',monospace;
  font-size:13px;
  letter-spacing:0.02em;
  padding:11px 20px;
  border-radius:var(--radius);
  border:1px solid var(--text);
  background:transparent;
  color:var(--text);
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{background:var(--text); color:var(--bg);}
.btn-solid{
  background:var(--accent-solid); color:#fff; border:1px solid var(--accent-solid);
}
.btn-solid:hover{background:var(--accent-solid-dim); border-color:var(--accent-solid-dim); transform:translateY(-1px);}
.btn:disabled{opacity:.6; cursor:default; transform:none;}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  padding:120px 0 100px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; left:50%; top:-340px;
  width:1100px; height:700px; transform:translateX(-50%);
  background:radial-gradient(ellipse at center, rgba(31,169,122,0.20), transparent 68%);
  pointer-events:none;
}
.hero-grid{position:relative; z-index:1;}
.hero-copy{max-width:940px; margin:0 auto; text-align:center;}
.hero .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--text-soft);
  margin-bottom:26px;
}
.hero-title{
  font-family:'Inter',sans-serif;
  font-weight:600;
  letter-spacing:-0.03em;
  font-size:clamp(34px, 5.4vw, 64px);
  line-height:1.16;
}
/* A hidden copy of the longest phrase holds the line open, so erasing letters
   never reflows the sections below the hero. */
.rotator{position:relative; display:block;}
.rotator-sizer{visibility:hidden;}
.rotator-live{position:absolute; left:0; right:0; top:0;}
.rotator-text{color:var(--accent);}
.rotator-caret{
  display:inline-block;
  width:0.06em; min-width:2px;
  height:0.92em;
  margin-left:0.06em;
  vertical-align:-0.08em;
  background:var(--accent);
  animation:caret-blink 1s steps(1) infinite;
}
/* While letters are being added or removed the caret sits solid, the way a
   real cursor stops blinking as you type. */
.is-typing .rotator-caret{animation:none;}
@keyframes caret-blink{50%{opacity:0;}}
.hero p.sub{
  font-size:17px;
  line-height:1.6;
  color:var(--text-soft);
  margin:30px auto 40px;
  max-width:600px;
}
.hero .ctas{display:flex; gap:16px; flex-wrap:wrap; justify-content:center;}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* ---------- STRIP ---------- */
.strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:16px 0;
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px;
  color:var(--text-soft);
}
.strip .wrap{display:flex; gap:40px; flex-wrap:wrap; justify-content:space-between;}
.strip span{white-space:nowrap;}
.strip b{color:var(--text);}

/* ---------- OFFER MARQUEE ---------- */
.offer{padding:100px 0 90px; overflow:hidden;}
.offer-head{margin-bottom:48px;}

.marquee{
  position:relative;
  overflow:hidden;
  padding:9px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track{
  display:flex;
  gap:14px;
  width:max-content;
  animation:marquee 42s linear infinite;
}
.marquee-rev .marquee-track{animation-direction:reverse;}
.marquee:hover .marquee-track{animation-play-state:paused;}
@keyframes marquee{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - 7px));}
}

.offer-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 24px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--bg-elevated);
  color:var(--text);
  font-size:15px;
  white-space:nowrap;
  transition:border-color .2s, background .2s;
}
.offer-pill:hover{border-color:var(--accent); background:var(--bg-sunken);}
.icon-sprite{position:absolute; width:0; height:0; overflow:hidden;}
.pill-icon{
  width:16px; height:16px; flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  color:var(--text-soft);
}
@media(max-width:640px){
  .offer{padding:70px 0 60px;}
  .offer-pill{padding:12px 18px; font-size:14px;}
}

/* ---------- SECTION HEAD ---------- */
.section-head{max-width:600px; margin-bottom:64px;}
.section-head .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:14px;
}
.section-head h2{
  font-size:clamp(28px,4vw,40px);
  line-height:1.1;
  margin-bottom:16px;
}
.section-head p{color:var(--text-soft); font-size:16px; line-height:1.6;}

/* ---------- STATEMENT BAND ---------- */
.statement{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:90px 0;
  background:var(--bg-sunken);
}
.statement p{
  margin:0;
  font-family:'Fraunces',serif;
  font-weight:600;
  letter-spacing:-0.01em;
  font-size:clamp(26px,4.2vw,44px);
  line-height:1.5;
  max-width:760px;
}
/* Reads as if a visitor had dragged a selection across the line. */
.statement-mark{
  display:inline;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
  background:var(--accent);
  color:var(--bg);
  padding:0.08em 0.26em 0.14em;
}
@media(max-width:640px){.statement{padding:60px 0;}}

/* ---------- SERVICES FOOTNOTE ---------- */
.svc-note{
  padding:70px 0 60px;
  border-top:1px solid var(--line);
}
.svc-label{
  font-size:11.5px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--accent); margin-bottom:34px;
}
.svc-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
}
@media(max-width:860px){.svc-grid{grid-template-columns:repeat(2,1fr); gap:28px;}}
@media(max-width:520px){.svc-grid{grid-template-columns:1fr;}}
.svc-title{
  font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:16px;
}
.svc-list{list-style:none; margin:0; padding:0;}
.svc-list li{
  font-size:14.5px; color:var(--text-soft); line-height:1.5;
  padding:7px 0;
}

/* ---------- PROCESS: stacking step cards ---------- */
.process{padding:100px 0 70px;}

/* Each card sticks a little lower than the previous one, so scrolling deals
   them into a pile instead of scrolling them away. */
.steps-stack{padding-bottom:40px;}
.stack-card{
  position:sticky;
  top:calc(104px + var(--i) * 18px);
  background:var(--bg-elevated);
  border:1px solid var(--line);
  border-radius:12px;
  padding:44px 44px 40px;
  margin-bottom:28px;
  box-shadow:0 -10px 44px -14px rgba(0,0,0,0.75);
}
.stack-card:last-child{margin-bottom:0;}
.stack-num{
  font-size:13px; color:var(--accent);
  margin-bottom:18px;
}
.stack-card h3{font-size:clamp(21px,2.6vw,28px); margin-bottom:12px;}
.stack-card p{
  color:var(--text-soft); font-size:16px; line-height:1.65; max-width:600px;
}
@media(max-width:640px){
  .stack-card{padding:30px 24px 28px; top:calc(88px + var(--i) * 12px);}
  .stack-card p{font-size:15px;}
}
/* Sticky stacking depends on scroll position; with motion reduced the cards
   simply sit one after another. */
@media (prefers-reduced-motion: reduce){
  .stack-card{position:static;}
}

/* ---------- WHY ---------- */
.features{padding:80px 0 100px;}
.why-grid{
  display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:64px;
  align-items:start;
}
@media(max-width:900px){.why-grid{grid-template-columns:1fr; gap:40px;}}
.why-head h2{font-size:clamp(26px,3.4vw,36px); line-height:1.14; margin-bottom:16px;}
.why-head .eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--accent); margin-bottom:14px;
}
.why-head p{color:var(--text-soft); font-size:15px; line-height:1.65;}
@media(min-width:901px){.why-head{position:sticky; top:104px;}}

.why-list{list-style:none; margin:0; padding:0;}
.why-item{
  display:grid; grid-template-columns:auto 1fr; gap:20px;
  padding:24px 0;
  border-top:1px solid var(--line);
}
.why-item:first-child{border-top:none; padding-top:0;}
.why-item:last-child{padding-bottom:0;}
.why-num{font-size:12px; color:var(--accent); padding-top:3px;}
.why-body h3{font-size:17px; margin-bottom:8px;}
.why-body p{color:var(--text-soft); font-size:14.5px; line-height:1.65;}

/* ---------- PRICING ---------- */
.pricing{padding:0 0 110px;}
.price-group{margin-bottom:44px;}
.price-group:last-child{margin-bottom:0;}
.price-group-label{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-soft); margin-bottom:18px;
}
.price-grid{display:grid; gap:20px;}
.price-grid.cols-2{grid-template-columns:repeat(2,1fr);}
.price-grid.cols-3{grid-template-columns:repeat(3,1fr);}
@media(max-width:800px){.price-grid.cols-2, .price-grid.cols-3{grid-template-columns:1fr;}}

.price-card{
  display:flex; flex-direction:column;
  border:1px solid var(--line);
  border-radius:6px;
  padding:28px 28px 26px;
  background:var(--bg-elevated);
}
.price-card-head{
  display:flex; flex-direction:column; gap:8px;
  padding-bottom:18px; margin-bottom:18px;
  border-bottom:1px solid var(--line);
}
.price-tag{font-size:13px; color:var(--text-soft); letter-spacing:0.02em;}
.price-amount{font-family:'Fraunces',serif; font-size:19px;}
.price-amount b{font-size:26px;}
.price-amount .price-period{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-soft);}
.price-list{list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:10px; flex:1;}
.price-list li{font-size:13.5px; color:var(--text-soft); padding-left:20px; position:relative; line-height:1.5;}
.price-list li::before{content:"→"; position:absolute; left:0; color:var(--accent);}
.price-card-actions{display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:auto;}
.price-card-actions .btn{padding:10px 16px; font-size:12.5px;}
.price-tpl-link{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent);
  text-decoration:none; white-space:nowrap;
}
.price-tpl-link:hover{text-decoration:underline;}

/* ---------- CTA ---------- */
.cta{background:var(--bg-sunken); border-top:1px solid var(--line); padding:100px 0;}
.cta .wrap{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;}
@media(max-width:800px){.cta .wrap{grid-template-columns:1fr; gap:44px;}}
.cta-left .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--status-live); margin-bottom:16px;
}
.cta-left h2{font-size:clamp(28px,4vw,38px); line-height:1.15; margin-bottom:18px;}
.cta-left p{color:var(--text-soft); font-size:15.5px; line-height:1.65; max-width:420px; margin-bottom:32px;}

.contact-links{margin-top:30px;}
.contact-links .label{
  display:block; font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:12px;
}
.contact-pills{display:flex; gap:10px; flex-wrap:wrap;}
.contact-pill{
  display:inline-flex; align-items:center; gap:7px;
  font-family:'IBM Plex Mono',monospace; font-size:12.5px;
  padding:9px 14px; border-radius:var(--radius);
  border:1px solid var(--line); color:var(--text);
  text-decoration:none; transition:border-color .2s, background .2s;
}
.contact-pill:hover{border-color:var(--status-live); background:var(--bg-elevated);}

form{display:flex; flex-direction:column; gap:14px;}
.field label{
  display:block;
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:7px;
}
.field input, .field textarea{
  width:100%;
  background:transparent;
  border:none;
  border-bottom:1px solid var(--line);
  color:var(--text);
  font-family:'Inter',sans-serif;
  font-size:15px;
  padding:9px 2px;
  outline:none;
  transition:border-color .2s;
}
.field input:focus, .field textarea:focus{border-color:var(--accent);}
.field textarea{resize:vertical; min-height:70px;}
.field input::placeholder, .field textarea::placeholder{color:var(--text-faint);}
.hp-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
form .btn-solid{margin-top:6px; align-self:flex-start;}
.form-status{
  font-family:'IBM Plex Mono',monospace; font-size:13px; min-height:18px; margin-top:2px;
}
.form-status.ok{color:var(--status-live);}
.form-status.err{color:var(--status-error);}

/* ---------- TEMPLATES PAGE ---------- */
.tpl-hero{padding:70px 0 60px;}
.tpl-hero .eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--status-live); display:flex; align-items:center; gap:10px; margin-bottom:20px;
}
.tpl-hero .eyebrow::before{content:""; width:22px; height:1px; background:var(--status-live);}
.tpl-hero h1{font-size:clamp(30px,4.6vw,46px); line-height:1.1; max-width:720px;}
.tpl-hero p.sub{font-size:16px; line-height:1.6; color:var(--text-soft); margin:22px 0 0; max-width:560px;}

.path-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
  margin-top:44px;
}
@media(max-width:800px){.path-grid{grid-template-columns:1fr;}}
.path-card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:26px 26px 24px;
  background:var(--bg-elevated);
}
/* The custom route is the default offer, so it carries the accent edge. */
.path-card.is-primary{border-color:var(--accent-solid);}
.path-label{
  font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:12px;
}
.path-card.is-primary .path-label{color:var(--accent);}
.path-card h2{font-size:19px; margin-bottom:10px;}
.path-card p{color:var(--text-soft); font-size:14.5px; line-height:1.65;}

.tpl-filter-head{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--text-faint); padding-top:16px;
}
.tpl-filter{display:flex; gap:10px; flex-wrap:wrap; padding:0 0 50px;}
.filter-pill{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px;
  padding:9px 16px; border-radius:var(--radius);
  border:1px solid var(--line); background:transparent; color:var(--text-soft);
  cursor:pointer; transition:border-color .2s, color .2s, background .2s;
}
.filter-pill:hover{color:var(--text); border-color:var(--text-soft);}
.filter-pill.active{background:var(--accent-solid); color:#fff; border-color:var(--accent-solid);}

.tpl-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  padding:0 0 110px;
}
@media(max-width:900px){.tpl-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.tpl-grid{grid-template-columns:1fr;}}
.tpl-card{display:none;}
.tpl-card.is-visible{display:flex; flex-direction:column;}
.tpl-thumb{
  aspect-ratio:4/3;
  border:1.5px dashed var(--line);
  border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-elevated);
  margin-bottom:14px;
}
.tpl-thumb-tag{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.06em;
  padding:4px 10px; border-radius:3px;
  border:1px solid var(--status-queued); color:var(--status-queued);
  background:var(--status-queued-bg);
}
.tpl-name{font-size:16px; margin-bottom:4px;}
.tpl-meta{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-soft);}

/* ---------- LEGAL PAGES ---------- */
.legal{padding:70px 0 100px;}
.legal-head{max-width:760px; margin-bottom:48px;}
.legal-head .eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.legal-head h1{font-size:clamp(30px,4.4vw,44px); line-height:1.12; margin-bottom:16px;}
.legal-updated{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--text-faint);}
.legal-body{max-width:760px;}
.legal-body h2{
  font-size:20px; margin:44px 0 14px;
  padding-top:22px; border-top:1px solid var(--line);
}
.legal-body h2:first-child{margin-top:0; padding-top:0; border-top:none;}
.legal-body h3{font-size:16px; margin:26px 0 10px;}
.legal-body p{color:var(--text-soft); font-size:15px; line-height:1.7; margin:0 0 14px;}
.legal-body ul{color:var(--text-soft); font-size:15px; line-height:1.7; margin:0 0 14px; padding-left:0; list-style:none;}
.legal-body li{position:relative; padding-left:20px; margin-bottom:9px;}
.legal-body li::before{content:"—"; position:absolute; left:0; color:var(--accent);}
.legal-body a{color:var(--accent);}
.legal-inline-btn{
  background:none; border:none; padding:0; cursor:pointer;
  font:inherit; color:var(--accent); text-decoration:underline;
}
.legal-body .note{
  border:1px solid var(--line); border-radius:6px;
  background:var(--bg-elevated); padding:18px 20px; margin:0 0 14px;
}
.legal-body .note p:last-child{margin-bottom:0;}
.legal-table{
  width:100%; border-collapse:collapse; margin:0 0 18px;
  font-size:14px; color:var(--text-soft);
}
.legal-table th, .legal-table td{
  border:1px solid var(--line); padding:11px 13px; text-align:left; vertical-align:top;
}
.legal-table th{color:var(--text); font-weight:600; background:var(--bg-elevated);}
.legal-scroll{overflow-x:auto;}

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:80;
  max-width:560px;
  background:var(--bg-elevated);
  border:1px solid var(--line);
  border-radius:10px;
  padding:22px 24px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.8);
}
.cookie-banner[hidden]{display:none;}
.cookie-banner h2{font-size:17px; margin-bottom:9px;}
.cookie-banner p{color:var(--text-soft); font-size:14px; line-height:1.6; margin:0 0 18px;}
.cookie-banner a{color:var(--accent);}
.cookie-actions{display:flex; gap:10px; flex-wrap:wrap;}
.cookie-actions .btn{padding:10px 18px; font-size:12.5px;}

.cookie-modal{
  position:fixed; inset:0; z-index:90;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(6,4,16,0.72);
  backdrop-filter:blur(3px);
}
.cookie-modal[hidden]{display:none;}
.cookie-dialog{
  background:var(--bg-elevated);
  border:1px solid var(--line);
  border-radius:10px;
  max-width:560px; width:100%;
  max-height:86vh; overflow-y:auto;
  padding:28px;
}
.cookie-dialog h2{font-size:20px; margin-bottom:10px;}
.cookie-dialog > p{color:var(--text-soft); font-size:14px; line-height:1.6; margin:0 0 22px;}
.cookie-group{
  border:1px solid var(--line); border-radius:6px;
  padding:18px 20px; margin-bottom:14px;
}
.cookie-group-head{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin-bottom:8px;
}
.cookie-group-head h3{font-size:15px;}
.cookie-group p{color:var(--text-soft); font-size:13.5px; line-height:1.6; margin:0;}
.cookie-locked{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.06em;
  color:var(--status-live); background:var(--status-live-bg);
  border:1px solid var(--status-live); border-radius:3px; padding:3px 8px;
  white-space:nowrap;
}
.switch{position:relative; display:inline-block; width:42px; height:24px; flex:0 0 auto;}
.switch input{position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer;}
.switch .track{
  position:absolute; inset:0; border-radius:999px;
  background:var(--bg-sunken); border:1px solid var(--line);
  transition:background .2s, border-color .2s;
  pointer-events:none;
}
.switch .track::before{
  content:""; position:absolute; left:3px; top:50%; transform:translateY(-50%);
  width:16px; height:16px; border-radius:50%;
  background:var(--text-faint);
  transition:transform .2s, background .2s;
}
.switch input:checked + .track{background:var(--accent-solid); border-color:var(--accent-solid);}
.switch input:checked + .track::before{transform:translateY(-50%) translateX(18px); background:#fff;}
.switch input:focus-visible + .track{outline:2px solid var(--accent); outline-offset:2px;}
.cookie-dialog-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:22px;}
.cookie-dialog-actions .btn{padding:10px 18px; font-size:12.5px;}

@media(max-width:560px){
  .cookie-banner{left:10px; right:10px; bottom:10px; padding:20px;}
  .cookie-actions .btn, .cookie-dialog-actions .btn{flex:1 1 auto; text-align:center;}
}

/* ---------- FOOTER ---------- */
footer{padding:36px 0; border-top:1px solid var(--line);}
footer .wrap{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.footer-links{display:flex; gap:20px; flex-wrap:wrap; font-size:12.5px;}
.footer-links a{text-decoration:none; color:var(--text-soft); transition:color .2s;}
.footer-links a:hover{color:var(--text);}
.footer-linkbtn{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px;
  background:none; border:none; padding:0; cursor:pointer;
  color:var(--text-soft); transition:color .2s;
}
.footer-linkbtn:hover{color:var(--text);}
footer .copyright{font-size:12px; color:var(--text-soft); width:100%; text-align:center;}
@media(min-width:700px){footer .copyright{width:auto; text-align:right;}}

@media(max-width:640px){
  .hero{padding:70px 0 60px;}
  .process{padding:70px 0 50px;}
  .features{padding:60px 0 70px;}
  .pricing{padding:0 0 80px;}
  .cta{padding:70px 0;}
  .section-head{margin-bottom:48px;}
  .tpl-hero{padding:50px 0 40px;}
  .tpl-grid{padding:0 0 70px;}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important;}
  /* Nothing is being typed, so a frozen caret would just be noise. */
  .rotator-caret{display:none;}
}

/* ---------- SERVICE LANDING PAGES ---------- */
/* Prefixed sp- (service page) so it never collides with the .svc-* footnote
   block on the home page, which is a different thing entirely. */

/* .crumbs is a <nav>, so it inherits the header nav rule above - reset the
   bits of it that only make sense for the sticky header. */
.crumbs{
  display:flex; align-items:center; justify-content:flex-start;
  gap:8px; flex-wrap:wrap;
  max-width:none; margin:0 0 26px; padding:0;
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:0.02em;
  color:var(--text-faint);
}
.crumbs a{color:var(--text-soft); text-decoration:none; transition:color .2s;}
.crumbs a:hover{color:var(--accent);}
.crumbs span[aria-current]{color:var(--text-faint);}

.sp-hero{padding:56px 0 60px;}
.sp-hero .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
  display:flex; align-items:center; gap:10px;
}
.sp-hero .eyebrow::before{content:""; width:22px; height:1px; background:var(--status-live);}
.sp-hero h1{font-size:clamp(30px,4.6vw,46px); line-height:1.1; max-width:760px;}
.sp-lead{
  font-size:16.5px; line-height:1.65; color:var(--text-soft);
  margin:22px 0 0; max-width:620px;
}
.sp-hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-top:32px;}

.sp-facts{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  margin-top:52px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.sp-fact{background:var(--bg-elevated); padding:22px 24px;}
.sp-fact-label{
  font-family:'IBM Plex Mono',monospace;
  font-size:11px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:9px;
}
.sp-fact-value{font-size:15px; line-height:1.45;}
.sp-fact-value b{font-family:'Fraunces',serif; font-size:20px; font-weight:600;}
@media(max-width:720px){.sp-facts{grid-template-columns:1fr;}}

.sp-block{padding:78px 0; border-top:1px solid var(--line);}
.sp-block.is-sunken{background:var(--bg-sunken);}
.sp-block-head{max-width:640px; margin-bottom:44px;}
.sp-block-head .eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.sp-block-head h2{font-size:clamp(24px,3.3vw,34px); line-height:1.14; margin-bottom:14px;}
.sp-block-head p{color:var(--text-soft); font-size:15.5px; line-height:1.65;}

.sp-cards{
  display:grid; gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(255px,1fr));
}
.sp-card{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--bg-elevated);
  padding:26px 24px;
}
.sp-card-tag{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:12px;
}
.sp-card h3{font-size:16.5px; line-height:1.35; margin-bottom:9px;}
.sp-card p{color:var(--text-soft); font-size:14px; line-height:1.6;}

/* Two-column checklist of what the engagement actually includes. */
.sp-scope{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(2,1fr); gap:13px 44px;
}
@media(max-width:720px){.sp-scope{grid-template-columns:1fr;}}
.sp-scope li{
  position:relative; padding-left:22px;
  font-size:14.5px; line-height:1.6; color:var(--text-soft);
}
.sp-scope li::before{content:"→"; position:absolute; left:0; color:var(--accent);}
.sp-scope li b{color:var(--text); font-weight:600;}

.sp-steps{list-style:none; margin:0; padding:0;}
.sp-step{
  display:grid; grid-template-columns:auto 1fr; gap:20px;
  padding:24px 0; border-top:1px solid var(--line);
}
.sp-step:first-child{border-top:none; padding-top:0;}
.sp-step-num{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--accent); padding-top:4px;}
.sp-step h3{font-size:17px; margin-bottom:8px;}
.sp-step p{color:var(--text-soft); font-size:14.5px; line-height:1.65;}
.sp-step-meta{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; color:var(--text-faint); margin-top:8px;
}

/* Cost drivers, shown instead of a headline number where the price genuinely
   depends on scope. */
.sp-cost{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--bg-elevated); padding:30px 28px;
}
.sp-cost h3{font-size:17px; margin-bottom:16px;}
.sp-cost ul{list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:11px;}
.sp-cost li{position:relative; padding-left:20px; font-size:14px; line-height:1.55; color:var(--text-soft);}
.sp-cost li::before{content:"—"; position:absolute; left:0; color:var(--accent);}
.sp-cost .sp-cost-note{font-size:13px; color:var(--text-faint); line-height:1.6; margin:0 0 22px;}

.faq-list{max-width:820px;}
.faq-item{border-top:1px solid var(--line);}
.faq-item:last-child{border-bottom:1px solid var(--line);}
.faq-item summary{
  display:flex; align-items:flex-start; justify-content:space-between; gap:24px;
  padding:22px 0; cursor:pointer;
  font-size:16px; line-height:1.4;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+"; flex:0 0 auto;
  font-family:'IBM Plex Mono',monospace; font-size:18px; line-height:1;
  color:var(--accent); padding-top:3px;
}
.faq-item[open] summary::after{content:"–";}
.faq-item summary:hover{color:var(--accent);}
.faq-item summary:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
.faq-answer{padding:0 0 22px; max-width:720px;}
.faq-answer p{color:var(--text-soft); font-size:14.5px; line-height:1.7; margin:0 0 12px;}
.faq-answer p:last-child{margin-bottom:0;}
.faq-answer a{color:var(--accent);}

/* Cross-links between service pages - the internal linking that makes the
   cluster read as a cluster. */
.sp-link-card{
  display:flex; flex-direction:column; gap:9px;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--bg-elevated);
  padding:24px 22px;
  text-decoration:none; color:var(--text);
  transition:border-color .2s, background .2s, transform .15s ease;
}
.sp-link-card:hover{border-color:var(--accent); background:var(--bg-sunken); transform:translateY(-2px);}
.sp-link-card h3{font-size:16px; line-height:1.35;}
.sp-link-card p{color:var(--text-soft); font-size:13.5px; line-height:1.55;}
.sp-link-card .sp-link-more{
  font-family:'IBM Plex Mono',monospace; font-size:12px;
  color:var(--accent); margin-top:auto; padding-top:6px;
}
.sp-link-card .sp-card-tag{margin-bottom:0;}

/* Hub page: bigger cards, price line, arrow affordance. */
.hub-grid{display:grid; gap:20px; grid-template-columns:repeat(2,1fr);}
@media(max-width:760px){.hub-grid{grid-template-columns:1fr;}}
.hub-card{
  display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--bg-elevated);
  padding:32px 30px;
  text-decoration:none; color:var(--text);
  transition:border-color .2s, background .2s, transform .15s ease;
}
.hub-card:hover{border-color:var(--accent); background:var(--bg-sunken); transform:translateY(-2px);}
.hub-card-head{display:flex; align-items:center; gap:12px; margin-bottom:16px;}
.hub-card-head .pill-icon{width:18px; height:18px; color:var(--accent);}
.hub-card-tag{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-faint);
}
.hub-card h2{font-size:21px; line-height:1.25; margin-bottom:12px;}
.hub-card p{color:var(--text-soft); font-size:14.5px; line-height:1.65; margin-bottom:20px;}
.hub-card-keys{
  list-style:none; margin:0 0 22px; padding:0;
  display:flex; flex-wrap:wrap; gap:8px;
}
.hub-card-keys li{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; color:var(--text-soft);
  border:1px solid var(--line); border-radius:999px;
  padding:5px 11px;
}
.hub-card-foot{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  margin-top:auto; padding-top:18px; border-top:1px solid var(--line);
}
.hub-card-price{font-family:'Fraunces',serif; font-size:16px;}
.hub-card-price b{font-size:21px;}
.hub-card-more{font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--accent);}

/* Marquee pills and footnote services become links to the new pages. */
a.offer-pill{text-decoration:none;}
.svc-list li a{color:inherit; text-decoration:none; transition:color .2s;}
.svc-list li a:hover{color:var(--accent);}

@media(max-width:640px){
  .sp-hero{padding:40px 0 44px;}
  .sp-block{padding:56px 0;}
  .sp-block-head{margin-bottom:34px;}
  .hub-card{padding:26px 22px;}
}
