/* Segment pages (/para/<segment>/): layout only. Colours, fonts, radii, buttons, nav, labels, footer and the
   section scale come from /assets/site.css (the single source of design tokens), loaded first. */
.wrap.hero-grid{max-width:var(--maxw)}

/* hero: dark first screen with the landing's blue glow and vertical-light texture */
.hero{position:relative; isolation:isolate; overflow:hidden; padding:120px 0 72px; background:var(--d0); color:#fff;}
@media(min-width:900px){ .hero{padding:148px 0 96px;} }
.hero::before{content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(70% 46% at 50% -4%,rgba(0,85,254,.62),rgba(0,85,254,.18) 50%,transparent 74%), radial-gradient(40% 30% at 85% 60%,rgba(0,85,254,.16),transparent 70%);}
.hero::after{content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(90deg,rgba(0,85,254,0) 0,rgba(0,85,254,0) 14px,rgba(20,90,255,.34) 44px,rgba(120,170,255,.2) 49px,rgba(0,85,254,.06) 78px,rgba(0,85,254,0) 96px); -webkit-mask:linear-gradient(180deg,#000 0,rgba(0,0,0,.65) 30%,transparent 58%); mask:linear-gradient(180deg,#000 0,rgba(0,0,0,.65) 30%,transparent 58%); pointer-events:none;}
.hero-grid{display:grid; gap:48px; align-items:center;}
.hero-grid > *{min-width:0;}
@media(min-width:900px){ .hero-grid{grid-template-columns:1.05fr .95fr; gap:64px;} }
.hero h1{max-width:15ch; margin:0; font-size:clamp(34px,9vw,58px); line-height:1.08; letter-spacing:-.02em; font-weight:800; color:#fff; text-wrap:balance; overflow-wrap:break-word;}
.hero-copy{max-width:52ch; margin-top:20px; font-size:17px; line-height:1.6; color:var(--dtext2);}
@media(min-width:900px){ .hero-copy{font-size:19px;} }
.bullets{display:grid; gap:10px; margin:24px 0 0;}
.bullets li{display:flex; gap:12px; align-items:flex-start; color:rgba(255,255,255,.88); overflow-wrap:anywhere;}
.bullets li::before{content:""; flex:none; width:22px; height:22px; margin-top:1px; border-radius:50%; background:rgba(18,183,106,.2) center/13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fe0a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E"); border:1px solid rgba(95,224,161,.35);}
.hero-ctas{margin-top:32px;}
@media(max-width:520px){ .hero-ctas .btn{width:100%;} }
.btn{max-width:100%; white-space:normal; text-align:center; line-height:1.25; padding-top:12px; padding-bottom:12px;}
.fine{margin:16px 0 0; color:rgba(255,255,255,.66); font-size:13px; line-height:1.5;}

/* the flow demo in a rounded frame with a blue rim light */
.demo{position:relative; padding:10px; border-radius:30px; background:linear-gradient(160deg,rgba(150,190,255,.5),rgba(59,130,246,.22) 40%,rgba(0,85,254,.1)); box-shadow:0 0 0 1px rgba(139,180,255,.18), 0 40px 120px -30px rgba(0,85,254,.6);}
.console{border-radius:22px; overflow:hidden; background:linear-gradient(180deg,#121a2c,#0c111e); border:1px solid rgba(255,255,255,.08);}
.console-head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 18px; border-bottom:1px solid var(--dline);}
.console-head b{color:#fff; font:700 16px var(--display); letter-spacing:-.02em;}
.pill.live{min-height:30px; padding:0 12px; font-size:12px; font-family:var(--mono); letter-spacing:.08em; text-transform:uppercase; color:#fff;}
.flow{display:grid; gap:12px; padding:18px;}
.flow-step{display:flex; align-items:center; gap:14px; padding:14px; border:1px solid var(--dline); border-radius:16px; background:rgba(255,255,255,.04); opacity:.62; animation:step 8s infinite;}
.flow-step:nth-child(2){animation-delay:1.6s} .flow-step:nth-child(3){animation-delay:3.2s} .flow-step:nth-child(4){animation-delay:4.8s}
.flow-icon{display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:13px; background:rgba(59,130,246,.18); border:1px solid rgba(139,180,255,.28); color:var(--accent-on-dark); font-family:var(--mono); font-size:18px;}
.flow-step b{display:block; color:#fff; font-size:15px;}
.flow-step small{display:block; color:rgba(255,255,255,.7); font-size:13px;}
@keyframes step{0%,16%,100%{opacity:.62; transform:none} 5%,12%{opacity:1; transform:translateX(4px); border-color:rgba(139,180,255,.5); box-shadow:0 0 28px -8px rgba(0,85,254,.8)}}

/* proof bar */
.proofbar{border-bottom:1px solid var(--line); background:var(--surface);}
.proofgrid{display:grid; grid-template-columns:repeat(4,1fr); padding-top:28px; padding-bottom:28px;}
.proof{padding:0 24px; border-right:1px solid var(--line);}
.proof:first-child{padding-left:0}
.proof:last-child{border:0}
.proof b{display:block; color:var(--ink); font-family:var(--display); font-weight:700; letter-spacing:-.02em;}
.proof span{display:block; margin-top:2px; font-size:13.5px; line-height:1.45; color:var(--muted);}

/* section heads, cards, journey, features */
.head.center{text-align:center; margin-inline:auto; max-width:720px;}
.head.center .title,.head.center .sub{margin-inline:auto;}
.sec .head .sub{margin-top:14px;}
.cards{display:grid; gap:16px; grid-template-columns:repeat(3,1fr);}
.card{position:relative; padding:28px 24px; background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden;}
.card::before{content:""; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--accent-lt));}
.card .n{display:inline-flex; align-items:center; justify-content:center; height:34px; padding:0 12px; margin-bottom:18px; border-radius:999px; background:var(--soft); border:1px solid var(--soft-line); color:var(--accent-dk); font:600 12px var(--mono); letter-spacing:.1em;}
.card h3{margin:0 0 8px; font-size:22px; line-height:1.2; letter-spacing:0; font-weight:800; color:var(--ink);}
.card p{margin:0; color:var(--muted);}
.journey{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; border:1px solid var(--dline); border-radius:22px; overflow:hidden; background:var(--dline);}
.journey-item{position:relative; padding:28px 24px; background:var(--d1);}
.journey-item small{display:block; font:600 11.5px var(--mono); letter-spacing:.1em; text-transform:uppercase; color:var(--accent-on-dark);}
.journey-item h3{margin:10px 0 0; font-size:20px; line-height:1.2; letter-spacing:0; font-weight:800; color:#fff;}
.journey-item p{margin:8px 0 0; color:var(--dtext2);}
.journey-item::after{content:""; position:absolute; right:-12px; top:42%; z-index:2; width:24px; height:24px; border-radius:50%; background:var(--accent) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); box-shadow:0 0 0 4px var(--d0);}
.journey-item:last-child::after{display:none;}
.sec.dark .head .title,.sec.dark h2.title{color:#fff;}
.feature-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.feature{display:flex; gap:16px; padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:20px;}
.feature i{display:flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; border-radius:13px; background:var(--soft); border:1px solid var(--soft-line); color:var(--accent); font:600 18px var(--mono); font-style:normal;}
.feature h3{margin:2px 0 6px; font-size:19px; line-height:1.25; letter-spacing:0; font-weight:700; color:var(--ink);}
.feature p{margin:0; font-size:15px; color:var(--muted);}

/* estimate panel */
.calc{display:grid; grid-template-columns:.85fr 1.15fr; gap:40px; align-items:center; padding:36px; background:var(--surface); border:1px solid var(--line); border-radius:26px;}
.calc p{margin:14px 0 0; color:var(--muted);}
.calc-panel{display:grid; gap:12px;}
.field label{display:flex; justify-content:space-between; gap:12px; color:var(--ink); font-weight:600; font-size:15px;}
.field output{font-family:var(--display); font-weight:800; color:var(--accent-dk);}
.field input[type=range]{display:block; width:100%; height:44px; margin:0; accent-color:var(--accent); cursor:pointer;}
.field input[type=range]:focus-visible{outline:3px solid var(--accent); outline-offset:2px; border-radius:8px;}
.result{margin-top:6px; padding:24px; border-radius:18px; background:var(--d0); color:var(--dtext2);}
.result span{display:block; font:600 12px var(--mono); letter-spacing:.1em; text-transform:uppercase; color:var(--accent-on-dark);}
.result b{display:block; margin-top:6px; color:#fff; font:800 clamp(32px,5vw,48px) var(--display); letter-spacing:-.03em;}
.result small{display:block; margin-top:8px; font-size:13.5px; line-height:1.5;}

/* guard rails (dark) */
.guard{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
.guard .title{max-width:16ch;}
.guard > div > p{margin-top:16px; color:var(--dtext2); max-width:46ch;}
.guard-list{display:grid; gap:12px;}
.guard-item{display:flex; gap:14px; padding:18px; border:1px solid var(--dline); border-radius:16px; background:rgba(255,255,255,.04);}
.guard-item > span{display:flex; align-items:center; justify-content:center; flex:none; width:36px; height:36px; border-radius:11px; background:rgba(59,130,246,.18); border:1px solid rgba(139,180,255,.28); color:var(--accent-on-dark); font:600 16px var(--mono);}
.guard-item b{display:block; color:#fff;}
.guard-item div > span{display:block; margin-top:2px; font-size:14px; color:var(--dtext2);}

/* offer and FAQ */
.offer{display:grid; grid-template-columns:1fr auto; gap:32px; align-items:center; padding:40px; border:1px solid var(--soft-line); border-radius:28px; background:var(--soft);}
.offer p{margin:12px 0 0; color:var(--body);}
.offer .title{max-width:22ch;}
.offer p.price-line{font-size:15px; margin:8px 0 0;}
.offer .price-line a{color:var(--accent-dk); font-weight:600; text-decoration:underline; text-underline-offset:3px; display:inline-flex; align-items:center; min-height:44px;}
.faq{display:grid; gap:12px; max-width:860px;}
.faq details{background:var(--surface); border:1px solid var(--line); border-radius:18px;}
.faq details[open]{border-color:var(--soft-line); background:var(--tint);}
.faq summary{display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; padding:16px 20px; font-family:var(--display); font-size:17px; font-weight:700; line-height:1.35; letter-spacing:0; color:var(--ink); cursor:pointer; list-style:none; border-radius:18px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; flex:none; display:flex; align-items:center; justify-content:center; width:30px; height:30px; border:1.5px solid currentColor; border-radius:10px; font-size:20px; line-height:1;}
.faq details[open] summary::after{content:"\2212"; background:var(--accent); border-color:var(--accent); color:#fff;}
.faq summary:hover{color:var(--accent);}
.faq p{padding:0 20px 20px; margin:0; max-width:64ch; color:var(--body);}

/* mobile action bar and consent dialog */
.sticky{display:none;}
.reveal{opacity:0; transform:translateY(18px); transition:.7s opacity,.7s transform;}
.reveal.seen{opacity:1; transform:none;}
.cookie{position:fixed; z-index:70; right:16px; bottom:16px; width:min(440px,calc(100% - 32px)); padding:8px 12px; border:1px solid var(--line-strong); border-radius:18px; background:var(--chalk); box-shadow:0 24px 60px -18px rgba(10,13,20,.55);}
.cookie[hidden]{display:none;}
.cookie p{margin:0 0 8px; font-size:13px; line-height:1.35; color:var(--body);}
.cookie p a{color:var(--ink); text-decoration:underline;}
.cookie-actions{display:flex; gap:10px;}
.cookie .btn{flex:1; min-height:44px; padding:8px 12px; font-size:14px;}

@media(max-width:900px){
  .calc,.guard,.offer{grid-template-columns:1fr;}
  .cards{grid-template-columns:1fr 1fr;}
  .journey{grid-template-columns:1fr 1fr;}
  .journey-item:nth-child(2)::after{display:none;}
  .proofgrid{grid-template-columns:1fr 1fr; gap:22px 0;}
  .proof:nth-child(2){border:0}
  .proof:nth-child(3){padding-left:0}
}
@media(max-width:650px){
  .cards,.feature-grid,.journey{grid-template-columns:1fr;}
  .journey-item::after{display:none;}
  .calc{padding:24px 20px;}
  .offer{padding:28px 22px;}
  .proof{padding:0 12px;}
  .proof:nth-child(odd){padding-left:0}
  .demo{padding:6px; border-radius:24px;}
  .console{border-radius:19px;}
  .sticky{position:fixed; display:block; z-index:45; left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); padding:8px; border-radius:20px; background:rgba(14,18,28,.92); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.14); box-shadow:0 18px 50px -12px rgba(0,0,0,.65);}
  .sticky .btn{width:100%; min-height:48px;}
  .ft{padding-bottom:96px;}
  .cookie{left:8px; right:8px; bottom:8px; width:auto;}
  body:has(#cookie:not([hidden])) .sticky{display:none;}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important; transition:none!important;}
  .reveal{opacity:1; transform:none;}
  .flow-step{opacity:1;}
}
body{overflow-x:hidden;}

/* ---- light segment hero, same treatment as the home hero: no beams, no glow ---- */
.hero.dark{background:#fff; color:var(--ink); border-bottom:1px solid var(--line);}
.hero.dark::before,.hero.dark::after{content:none;}
.hero.dark h1{color:var(--ink);}
.hero.dark .hero-copy{color:var(--body);}
.hero.dark .bullets li{color:var(--body);}
.hero.dark .fine{color:var(--muted);}
.hero.dark .label{color:var(--accent-dk); background:var(--soft); border-color:var(--soft-line);}
.hero.dark .label::before{background:var(--accent); box-shadow:none;}
.hero.dark .btn-line{color:var(--ink); border-color:var(--line-strong); background:#fff;}
.hero.dark .btn-line:hover{background:var(--ink); color:#fff; border-color:var(--ink);}
.hero.dark :focus-visible{outline-color:var(--accent);}
.hero.dark .demo{padding:0; border-radius:12px; background:none; box-shadow:0 1px 2px rgba(10,13,20,.04), 0 12px 32px -16px rgba(10,13,20,.25);}
.hero.dark .console{border-radius:12px; color:#fff;}
.hero.dark .bullets li::before{background:#e7f8ef center/13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");}
