/* ===== Otocinclus Technology — site styles =====
   Colour, type, spacing, and material all come from the brand bundle, which
   loads ahead of this file. Everything here is layout and components; if you
   need a new colour, it belongs in brand/tokens.css, not in this file.

   Only genuinely page-layout values live here.
   ===== */
:root{
  --maxw:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--oto-navy-900);
  color:var(--oto-fg-primary);
  font-family:var(--oto-font-ui);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img,svg{max-width:100%;display:block;}

/* ===== Human texture =====
   Flat dark navy reads as a template. A faint film grain over the whole page
   gives it the tooth of something printed, and costs one inline SVG. */
body::after{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:0.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Hand-drawn rule under a heading — deliberately not a straight border. */
.hand-underline{position:relative;display:inline-block;padding-bottom:16px;}
.hand-underline::after{
  content:"";position:absolute;left:0;bottom:2px;width:min(280px,72%);height:11px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 11' preserveAspectRatio='none'%3E%3Cpath d='M2,7.4 C58,2.2 92,9.6 148,5.4 C206,1.4 248,8.8 297,3.6' fill='none' stroke='%23E8823C' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom/100% 100%;
  opacity:0.9;
}
::selection{background:rgba(232,130,60,0.28);color:var(--oto-fg-primary);}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}
@media(max-width:640px){.wrap{padding:0 20px;}}

h1,h2,h3,h4{font-family:var(--oto-font-display);font-weight:600;line-height:1.15;margin:0;color:var(--oto-fg-primary);}
h1{font-size:clamp(2.2rem,4.6vw,3.6rem);letter-spacing:-0.01em;}
h2{font-size:clamp(1.6rem,2.8vw,2.3rem);letter-spacing:-0.005em;}
h3{font-size:1.5rem;}
p{margin:0;color:var(--oto-fg-secondary);line-height:1.65;}
.eyebrow{
  font-family:var(--oto-font-mono);
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--oto-orange-500);
  display:flex;align-items:center;gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{content:"";width:24px;height:1px;background:var(--oto-orange-500);display:inline-block;}
.eyebrow.center{justify-content:center;}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:200;
  background:rgba(10,22,40,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--oto-border-subtle);
  transition:background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Set by site.js once the page has scrolled — more contrast when content
   is running underneath the bar. */
.site-header.scrolled{
  background:rgba(6,13,24,0.96);
  border-bottom-color:var(--oto-border-default);
  box-shadow:0 8px 28px rgba(0,0,0,0.34);
}
.header-row{display:flex;align-items:center;gap:32px;height:72px;}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.brand-word{font-family:var(--oto-font-ui);font-weight:700;font-size:0.98rem;letter-spacing:0.06em;color:var(--oto-fg-primary);}
.brand-word span{color:var(--oto-blue-400);font-weight:500;letter-spacing:0.14em;font-size:0.82rem;}
.nav-main{display:flex;gap:2px;flex:1;}
.nav-item{position:relative;}
.nav-link{
  display:flex;align-items:center;gap:6px;
  padding:8px 14px;font-size:0.87rem;font-weight:500;color:var(--oto-fg-secondary);
  border-bottom:2px solid transparent;white-space:nowrap;
  background:none;border-top:none;border-left:none;border-right:none;
  font-family:var(--oto-font-ui);cursor:pointer;
}
.nav-link:hover{color:var(--oto-fg-primary);}
.nav-link.current{color:var(--oto-fg-primary);border-bottom-color:var(--oto-orange-500);}
.nav-link .caret{transition:transform .18s ease;opacity:0.7;}

/* ===== Dropdown menus =====
   Opened by hover and by :focus-within, so tabbing through the header works
   without any JavaScript involved. */
.nav-drop{
  position:absolute;top:100%;left:0;padding-top:10px;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.has-children:hover .nav-drop,
.nav-item.has-children:focus-within .nav-drop{opacity:1;visibility:visible;transform:none;}
.nav-item.has-children:hover .caret,
.nav-item.has-children:focus-within .caret{transform:rotate(180deg);}
.nav-drop-inner{
  min-width:302px;background:var(--oto-navy-950);border:1px solid var(--oto-border-default);
  border-radius:8px;padding:8px;box-shadow:0 18px 44px rgba(0,0,0,0.45);
}
.nav-drop a{display:block;padding:10px 13px;border-radius:5px;transition:background .15s;}
.nav-drop a:hover{background:var(--oto-navy-800);}
.nav-drop a b{display:block;font-size:0.88rem;font-weight:600;color:var(--oto-fg-primary);margin-bottom:2px;}
.nav-drop a span{display:block;font-size:0.78rem;color:var(--oto-fg-muted);}
/* Five menu groups plus the brand and the CTA get tight before the mobile
   breakpoint takes over — buy the space back from the link padding. */
@media(max-width:1180px){
  .header-row{gap:20px;}
  .nav-link{padding:8px 9px;font-size:0.84rem;}
}
/* The last dropdown would otherwise run off the right edge. */
.nav-item:last-child .nav-drop{left:auto;right:0;}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:11px 22px;border-radius:3px;
  font-size:0.86rem;font-weight:600;letter-spacing:0.01em;
  border:1px solid transparent;cursor:pointer;transition:all .15s;
  font-family:var(--oto-font-ui);
}
.btn-primary{background:var(--oto-orange-500);color:var(--oto-navy-950);}
.btn-primary:hover{background:var(--oto-orange-400);}
.btn-ghost{background:transparent;border-color:var(--oto-border-default);color:var(--oto-fg-primary);}
.btn-ghost:hover{border-color:var(--oto-blue-400);background:rgba(95,163,217,0.06);}

/* ===== Mobile navigation ===== */
.mobile-toggle{
  display:none;background:none;border:none;cursor:pointer;
  width:44px;height:44px;padding:0;                 /* 44px = comfortable tap target */
  align-items:center;justify-content:center;
}
/* Hamburger drawn from one element: the bar itself plus two pseudo-elements,
   which lets all three animate into an X on open. */
.mobile-toggle .bars,
.mobile-toggle .bars::before,
.mobile-toggle .bars::after{
  display:block;width:22px;height:2px;background:var(--oto-fg-primary);border-radius:2px;
  transition:transform .22s ease, opacity .18s ease;
}
.mobile-toggle .bars{position:relative;}
.mobile-toggle .bars::before,
.mobile-toggle .bars::after{content:"";position:absolute;left:0;}
.mobile-toggle .bars::before{top:-7px;}
.mobile-toggle .bars::after{top:7px;}
body.nav-open .mobile-toggle .bars{background:transparent;}
body.nav-open .mobile-toggle .bars::before{transform:translateY(7px) rotate(45deg);}
body.nav-open .mobile-toggle .bars::after{transform:translateY(-7px) rotate(-45deg);}

/* Collapsed by default and revealed by height, so the panel animates instead
   of popping. It stays [hidden] until site.js runs — no flash of open nav. */
.mobile-panel{
  display:none;
  flex-direction:column;
  border-top:1px solid var(--oto-border-subtle);
  background:rgba(6,13,24,0.98);
  max-height:0;overflow:hidden;
  transition:max-height .28s ease;
}
.mobile-panel[hidden]{display:none;}
.mobile-link{
  display:block;width:100%;text-align:left;
  padding:15px 0;font-size:0.98rem;color:var(--oto-fg-secondary);
  border:none;border-bottom:1px solid var(--oto-border-subtle);
  background:none;font-family:var(--oto-font-ui);cursor:pointer;
}
.mobile-link.current{color:var(--oto-fg-primary);}
.mobile-cta{margin:20px 0 4px;width:fit-content;}

/* Accordion: each menu section expands in place rather than pushing the
   visitor through a second screen. */
.mobile-group-toggle{display:flex;align-items:center;justify-content:space-between;}
.mobile-group-toggle .caret{transition:transform .2s ease;opacity:0.6;}
.mobile-group-toggle[aria-expanded="true"]{color:var(--oto-fg-primary);}
.mobile-group-toggle[aria-expanded="true"] .caret{transform:rotate(180deg);}
.mobile-subs{max-height:0;overflow:hidden;transition:max-height .26s ease;}
.mobile-group.open .mobile-subs{max-height:420px;}
.mobile-sub{
  display:block;padding:12px 0 12px 18px;font-size:0.9rem;color:var(--oto-fg-muted);
  border-bottom:1px solid var(--oto-border-subtle);position:relative;
}
.mobile-sub::before{content:"";position:absolute;left:0;top:50%;width:9px;height:1px;background:var(--oto-navy-600);}
.mobile-sub:last-child{border-bottom:none;}

@media(max-width:900px){
  .nav-main{display:none;}
  .header-cta{display:none;}          /* lives in the drawer at this width */
  .mobile-toggle{display:flex;margin-left:auto;}
  .mobile-panel:not([hidden]){display:flex;padding:0 32px;}
  body.nav-open .mobile-panel{max-height:70vh;overflow-y:auto;padding-bottom:24px;}
  body.nav-open{overflow:hidden;}     /* don't scroll the page behind the drawer */
}
@media(max-width:640px){
  .mobile-panel:not([hidden]){padding:0 20px;}
}

/* ===== Orbital ring motif ===== */
.orbit-field{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.orbit-ring{position:absolute;border-radius:50%;border:1px solid var(--oto-border-default);}

/* ===== Breadcrumbs ===== */
.crumbs{border-bottom:1px solid var(--oto-border-subtle);background:var(--oto-navy-950);}
.crumbs .wrap{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:13px;padding-bottom:13px;}
.crumbs a,.crumbs b,.crumbs span{font-family:var(--oto-font-mono);font-size:0.74rem;letter-spacing:0.04em;}
.crumbs a{color:var(--oto-fg-muted);}
.crumbs a:hover{color:var(--oto-fg-secondary);}
.crumbs span{color:var(--oto-navy-600);}
.crumbs b{color:var(--oto-orange-500);font-weight:400;}

/* ===== Section landing cards ===== */
.prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.prod-grid.two{grid-template-columns:1fr 1fr;}
@media(max-width:760px){.prod-grid,.prod-grid.two{grid-template-columns:1fr;}}
.prod-card{
  display:block;padding:32px 30px;background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);
  border-radius:8px;transition:border-color .2s, transform .2s, background .2s;
}
.prod-card:hover{border-color:var(--oto-border-default);background:var(--oto-navy-700);transform:translateY(-3px);}
.pc-tag{font-family:var(--oto-font-mono);font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--oto-fg-muted);display:block;margin-bottom:16px;}
.prod-card h3{font-size:1.35rem;margin-bottom:12px;}
.prod-card p{font-size:0.94rem;margin-bottom:20px;}
.prod-card .go{font-family:var(--oto-font-mono);font-size:0.78rem;color:var(--oto-blue-400);display:inline-block;transition:transform .2s;}
.prod-card:hover .go{transform:translateX(4px);}
.exec-card .go{font-family:var(--oto-font-mono);font-size:0.76rem;color:var(--oto-blue-400);display:inline-block;margin-top:14px;transition:transform .2s;}
.exec-card:hover .go{transform:translateX(4px);}

/* ===== Hero ===== */
.hero{position:relative;padding:112px 0 88px;overflow:hidden;}
.hero .lead{font-size:1.1rem;color:var(--oto-fg-secondary);max-width:640px;margin:22px 0 0;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px;}

/* ===== Sections ===== */
section{position:relative;padding:84px 0;}
.section-band{background:var(--oto-navy-800);border-top:1px solid var(--oto-border-subtle);border-bottom:1px solid var(--oto-border-subtle);}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head.narrow{max-width:620px;margin-bottom:8px;}

/* ===== Router / 3-way grid ===== */
/* Separate cards, not one panel with hairline dividers — the depth treatment
   needs room around each card for its shadow to exist. */
.router-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media(max-width:820px){.router-grid{grid-template-columns:1fr;}}
.router-card{
  padding:42px 32px;cursor:pointer;
  border:1px solid var(--oto-border-subtle);border-radius:10px;
}
.router-card .num{font-family:var(--oto-font-mono);font-size:0.74rem;color:var(--oto-fg-muted);letter-spacing:0.12em;margin-bottom:22px;display:block;}
.router-card h3{margin-bottom:12px;font-size:1.3rem;}
.router-card p{font-size:0.92rem;margin-bottom:22px;}
.router-card .go{font-family:var(--oto-font-mono);font-size:0.78rem;color:var(--oto-blue-400);}

/* ===== Numbered points (two-col argument layout) ===== */
.argument-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:64px;align-items:start;}
@media(max-width:820px){.argument-grid{grid-template-columns:1fr;}}
.numbered-points .point{display:flex;gap:18px;padding:20px 0;border-top:1px solid var(--oto-border-subtle);}
.numbered-points .point:first-child{border-top:none;}
.numbered-points .n{font-family:var(--oto-font-display);font-size:1.4rem;color:var(--oto-orange-500);line-height:1;min-width:34px;}
.numbered-points b{font-size:1rem;color:var(--oto-fg-primary);display:block;margin-bottom:5px;}
.numbered-points p{font-size:0.92rem;}

/* ===== Numbered row list (services/practices) ===== */
.row-list .row{
  display:grid;grid-template-columns:56px 1fr 1.5fr auto;gap:24px;align-items:baseline;
  padding:20px 0;border-top:1px solid var(--oto-border-subtle);
}
.row-list .row:first-child{border-top:none;}
.row-list .row.clickable{cursor:pointer;}
@media(max-width:760px){.row-list .row{grid-template-columns:40px 1fr;}
  .row-list .row p{grid-column:2;margin-top:6px;}
  .row-list .row .badge-link{grid-column:2;margin-top:8px;}
}
.row-list .idx{font-family:var(--oto-font-mono);font-size:0.8rem;color:var(--oto-orange-500);}
.row-list b{font-size:1rem;color:var(--oto-fg-primary);}
.row-list p{font-size:0.9rem;}
.row-list .badge-link{font-family:var(--oto-font-mono);font-size:0.76rem;color:var(--oto-blue-400);white-space:nowrap;}

/* ===== Stat strip ===== */
.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--oto-border-subtle);border:1px solid var(--oto-border-subtle);}
@media(max-width:720px){.stat-strip{grid-template-columns:repeat(2,1fr);}}
.stat-cell{background:var(--oto-navy-900);padding:30px 26px;}
.stat-cell .val{font-family:var(--oto-font-display);font-size:2.2rem;color:var(--oto-orange-500);line-height:1;margin-bottom:8px;}
.stat-cell .lbl{font-size:0.84rem;color:var(--oto-fg-muted);}

/* ===== Security service list ===== */
.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 44px;margin-top:40px;}
/* Two tracks, so the top item of each column shouldn't carry a rule. */
.security-grid .split-item:nth-child(-n+2){border-top:none;}
@media(max-width:760px){
  .security-grid{grid-template-columns:1fr;}
  .security-grid .split-item:nth-child(2){border-top:1px solid var(--oto-border-subtle);}
  .security-grid .split-item:first-child{border-top:none;}
}
.split-item{padding:16px 0;border-top:1px solid var(--oto-border-subtle);}
.split-item:first-child{border-top:none;}
.split-item b{font-size:0.96rem;color:var(--oto-fg-primary);display:block;margin-bottom:4px;}
.split-item p{font-size:0.88rem;}

/* ===== Methodology ===== */
.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media(max-width:820px){.method-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:520px){.method-grid{grid-template-columns:1fr;}}
.method-cell{padding:32px 26px;position:relative;border:1px solid var(--oto-border-subtle);border-radius:10px;}
.method-cell .mnum{font-family:var(--oto-font-display);font-size:2rem;color:var(--oto-navy-600);position:absolute;top:20px;right:22px;line-height:1;}
.method-cell h4{font-size:1.02rem;margin-bottom:10px;position:relative;z-index:1;color:var(--oto-fg-primary);}
.method-cell p{font-size:0.86rem;position:relative;z-index:1;}

/* ===== CTEM flagship ===== */
.flagship{background:linear-gradient(180deg,var(--oto-navy-950),var(--oto-navy-900));border-bottom:1px solid var(--oto-border-subtle);}
.flagship-head{max-width:760px;}
.flagship-head h2{font-size:clamp(1.75rem,3.2vw,2.5rem);}
.flagship-lead{font-size:1.08rem;margin-top:18px;max-width:660px;}
.flagship-body{display:grid;grid-template-columns:0.92fr 1.08fr;gap:56px;align-items:start;margin-top:52px;}
@media(max-width:940px){.flagship-body{grid-template-columns:1fr;gap:40px;}}
.flagship-copy p{font-size:1rem;margin-bottom:15px;}

/* An aside in the author's voice — set apart the way a margin note would be. */
.margin-note{
  border-left:2px solid var(--oto-orange-500);padding:2px 0 2px 16px;margin-top:22px;
  font-size:0.94rem;color:var(--oto-fg-muted);font-style:italic;
}

/* ===== Risk graph ===== */
.risk-graph{background:var(--oto-navy-950);border:1px solid var(--oto-border-default);border-radius:10px;overflow:hidden;}
.rg-head{
  display:flex;justify-content:space-between;align-items:center;padding:12px 18px;
  border-bottom:1px solid var(--oto-border-subtle);background:rgba(15,33,56,0.6);
}
.rg-title{font-family:var(--oto-font-mono);font-size:0.72rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--oto-fg-muted);}
.rg-live{display:flex;align-items:center;gap:7px;font-family:var(--oto-font-mono);font-size:0.7rem;color:var(--oto-green-500);}
.rg-live i{width:6px;height:6px;border-radius:50%;background:var(--oto-green-500);animation:rg-pulse 2.2s ease-in-out infinite;}
@keyframes rg-pulse{0%,100%{opacity:1;}50%{opacity:0.25;}}
.rg-canvas{padding:14px 10px 6px;overflow-x:auto;}
.rg-canvas svg{width:100%;min-width:460px;height:auto;display:block;}

.rg-edge{fill:none;stroke:var(--oto-navy-600);stroke-width:1.4;}
.rg-edge.hot{stroke:rgba(232,130,60,0.55);stroke-width:1.8;}
.rg-edge.hot.flow{stroke:var(--oto-orange-400);stroke-dasharray:6 10;animation:rg-flow 1.6s linear infinite;}
@keyframes rg-flow{to{stroke-dashoffset:-32;}}
.rg-leader{fill:none;stroke:var(--oto-navy-600);stroke-width:1;stroke-dasharray:2 3;}
.rg-note{font-family:var(--oto-font-mono);font-size:9.5px;fill:var(--oto-fg-muted);}

.rg-node rect{fill:var(--oto-navy-900);stroke:var(--oto-border-default);stroke-width:1;}
.rg-node .rg-label{font-family:var(--oto-font-mono);font-size:11.5px;fill:var(--oto-fg-secondary);}
.rg-node .rg-sub{font-family:var(--oto-font-ui);font-size:9.5px;fill:var(--oto-fg-muted);}
.rg-node.hot rect{fill:var(--oto-navy-800);stroke:rgba(232,130,60,0.5);}
.rg-node.hot .rg-label{fill:var(--oto-fg-primary);}
.rg-node.exposure .rg-sub{fill:var(--oto-orange-400);}
.rg-node.jewel rect{stroke:var(--oto-orange-500);stroke-width:1.6;}
.rg-node.jewel .rg-sub{fill:var(--oto-orange-500);}

.rg-legend{display:flex;flex-wrap:wrap;gap:18px;padding:12px 18px 15px;border-top:1px solid var(--oto-border-subtle);}
.rg-key{display:flex;align-items:center;gap:7px;font-size:0.76rem;color:var(--oto-fg-muted);font-family:var(--oto-font-mono);}
.rg-key::before{content:"";width:14px;height:2px;background:var(--oto-navy-600);border-radius:2px;}
.rg-key.hot::before{background:var(--oto-orange-400);}
.rg-key.jewel::before{width:9px;height:9px;background:none;border:1.5px solid var(--oto-orange-500);border-radius:2px;}

/* ===== Scanner-list vs graph comparison ===== */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:38px;}
@media(max-width:820px){.compare{grid-template-columns:1fr;}}
.compare-col{border:1px solid var(--oto-border-subtle);border-radius:8px;padding:22px 24px;background:var(--oto-navy-950);}
.compare-col.after{border-color:rgba(232,130,60,0.35);background:var(--oto-navy-800);}
.compare-label{font-family:var(--oto-font-mono);font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--oto-fg-muted);margin-bottom:16px;}
.compare-col.after .compare-label{color:var(--oto-orange-500);}
.compare-row{display:flex;align-items:baseline;gap:12px;padding:9px 0;border-top:1px solid var(--oto-border-subtle);font-size:0.84rem;}
.compare-row:first-of-type{border-top:none;}
.compare-row code{font-family:var(--oto-font-mono);color:var(--oto-fg-secondary);flex:1;}
.compare-row span{color:var(--oto-fg-muted);font-family:var(--oto-font-mono);font-size:0.78rem;}
.compare-row b{color:var(--oto-fg-muted);font-weight:500;min-width:74px;text-align:right;}
.compare-row.muted code,.compare-row.muted span{color:var(--oto-navy-600);}
.compare-line{display:flex;gap:11px;padding:11px 0;border-top:1px solid var(--oto-border-subtle);font-size:0.92rem;color:var(--oto-fg-secondary);}
.compare-line:first-of-type{border-top:none;}
.compare-line .tick{color:var(--oto-orange-500);flex-shrink:0;}
.compare-line code{font-family:var(--oto-font-mono);font-size:0.85rem;color:var(--oto-fg-primary);}

/* ===== Continuous loop band ===== */
.loop-band{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:38px;position:relative;}
@media(max-width:900px){.loop-band{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.loop-band{grid-template-columns:1fr;}}
.loop-step{padding:26px 24px 26px 0;border-top:2px solid var(--oto-border-default);position:relative;padding-right:28px;}
/* The marker that sits on the rule, showing this is one continuous track. */
.loop-step::before{content:"";position:absolute;top:-5px;left:0;width:8px;height:8px;border-radius:50%;background:var(--oto-orange-500);}
.loop-step .ls-num{font-family:var(--oto-font-mono);font-size:0.74rem;color:var(--oto-orange-500);display:block;margin-bottom:10px;}
.loop-step b{display:block;font-size:1rem;color:var(--oto-fg-primary);margin-bottom:8px;}
.loop-step p{font-size:0.88rem;}

/* ===== Questions / sources ===== */
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;}
@media(max-width:820px){.qa-grid{grid-template-columns:1fr;gap:44px;}}
.q-list{list-style:none;padding:0;margin:26px 0 0;}
.q-list li{
  padding:15px 0 15px 26px;border-top:1px solid var(--oto-border-subtle);position:relative;
  font-size:0.98rem;color:var(--oto-fg-secondary);font-family:var(--oto-font-display);
}
.q-list li:first-child{border-top:none;}
.q-list li::before{content:"\201C";position:absolute;left:0;top:14px;color:var(--oto-orange-500);font-family:var(--oto-font-display);font-size:1.3rem;line-height:1;}
.src-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media(max-width:520px){.src-grid{grid-template-columns:1fr;}}
.src{padding:13px 15px;background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:5px;font-size:0.84rem;color:var(--oto-fg-secondary);font-family:var(--oto-font-mono);}

/* ===== Service card grid (AI security, partner tiers) ===== */
.assess-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px;}
@media(max-width:900px){.assess-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.assess-grid{grid-template-columns:1fr;}}
.assess-card{padding:24px 22px;background:var(--oto-navy-900);border:1px solid var(--oto-border-subtle);border-radius:7px;transition:border-color .2s, transform .2s;}
.assess-card:hover{border-color:var(--oto-border-default);transform:translateY(-2px);}
.assess-card b{display:block;font-family:var(--oto-font-display);font-size:1.06rem;color:var(--oto-fg-primary);margin-bottom:9px;}
.assess-card p{font-size:0.88rem;}


/* ===== Product blocks ===== */
.product-block{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
@media(max-width:820px){.product-block{grid-template-columns:1fr;}
  .product-block .order-2{order:0!important;}
  .product-block .order-1{order:0!important;}
}
.product-block .flagship-label{font-family:var(--oto-font-mono);font-size:0.74rem;color:var(--oto-blue-400);letter-spacing:0.1em;text-transform:uppercase;margin-bottom:14px;}
.product-block .feature-stack{display:flex;flex-direction:column;gap:12px;}
.feature-card{background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:6px;padding:16px 20px;}
.feature-card b{font-size:0.94rem;color:var(--oto-fg-primary);display:block;margin-bottom:4px;}
.feature-card p{font-size:0.86rem;}
.feature-list-item{display:flex;gap:10px;align-items:center;background:var(--oto-navy-900);border:1px solid var(--oto-border-subtle);border-radius:6px;padding:14px 18px;}
.feature-list-item .dot{width:5px;height:5px;border-radius:50%;background:var(--oto-orange-500);flex-shrink:0;}
.feature-list-item span:last-child{font-size:0.92rem;color:var(--oto-fg-secondary);}

.usp-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
@media(max-width:820px){.usp-grid-3{grid-template-columns:1fr;}}
.usp-card{padding:26px 24px;background:var(--oto-navy-950);border:1px solid var(--oto-border-subtle);border-radius:6px;}
.usp-card h4{font-size:1rem;margin-bottom:10px;color:var(--oto-fg-primary);}
.usp-card p{font-size:0.88rem;}

.chip-grid{margin-top:32px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media(max-width:760px){.chip-grid{grid-template-columns:1fr 1fr;}}
.chip{padding:18px 20px;background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:6px;font-size:0.9rem;color:var(--oto-fg-primary);text-align:center;}

/* ===== Virtual executives ===== */
/* Two seats — a pair of wide cards rather than thirds with a gap. */
.exec-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(max-width:640px){.exec-grid{grid-template-columns:1fr;}}
.exec-card{padding:28px 26px;background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:6px;}
.exec-card .abbr{font-family:var(--oto-font-display);font-size:1.6rem;color:var(--oto-orange-500);margin-bottom:10px;}
.exec-card h4{font-size:0.98rem;margin-bottom:10px;color:var(--oto-fg-primary);}
.exec-card p{font-size:0.88rem;}

/* ===== Self-service vs managed ===== */
.models{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:36px;}
@media(max-width:820px){.models{grid-template-columns:1fr;}}
.model{padding:30px 28px;background:var(--oto-navy-950);border:1px solid var(--oto-border-subtle);border-radius:9px;}
.model.managed{border-color:rgba(232,130,60,0.35);background:var(--oto-navy-900);}
.model-head{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;}
.model-tag{
  font-family:var(--oto-font-mono);font-size:0.68rem;letter-spacing:0.14em;text-transform:uppercase;
  color:var(--oto-blue-400);width:fit-content;
}
.model.managed .model-tag{color:var(--oto-orange-500);}
.model-head b{font-family:var(--oto-font-display);font-size:1.3rem;color:var(--oto-fg-primary);font-weight:600;}
.model > p{font-size:0.94rem;margin-bottom:16px;}
.model ul{list-style:none;padding:0;margin:0;}
.model li{
  position:relative;padding:9px 0 9px 20px;font-size:0.9rem;color:var(--oto-fg-secondary);
  border-top:1px solid var(--oto-border-subtle);
}
.model li:first-child{border-top:none;}
.model li::before{content:"";position:absolute;left:0;top:17px;width:6px;height:6px;border-radius:50%;background:var(--oto-navy-600);}
.model.managed li::before{background:var(--oto-orange-500);}

/* ===== Empty states =====
   Sections whose content isn't written yet. Designed deliberately, so an
   unfinished page reads as "not yet" rather than as broken. */
.empty-state{
  border:1px dashed var(--oto-border-default);border-radius:10px;
  padding:48px 44px;max-width:720px;background:var(--oto-navy-950);
}
@media(max-width:640px){.empty-state{padding:32px 24px;}}
.empty-state h3{font-size:1.5rem;margin-bottom:14px;}
.empty-state p{font-size:0.98rem;margin-bottom:12px;}
.soon{
  display:inline-block;margin-bottom:18px;padding:4px 10px;
  font-family:var(--oto-font-mono);font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--oto-orange-500);border:1px solid rgba(232,130,60,0.4);border-radius:3px;
  background:rgba(232,130,60,0.07);
}

/* ===== Blog index ===== */
.post-list{max-width:820px;}
.post-row{display:block;padding:26px 0;border-top:1px solid var(--oto-border-subtle);transition:padding-left .2s;}
.post-row:first-child{border-top:none;}
.post-row:hover{padding-left:10px;}
.post-meta{display:flex;gap:12px;align-items:center;margin-bottom:10px;}
.post-meta b{font-family:var(--oto-font-mono);font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--oto-orange-500);font-weight:500;}
.post-meta time{font-family:var(--oto-font-mono);font-size:0.74rem;color:var(--oto-fg-muted);}
.post-row h3{font-size:1.35rem;margin-bottom:8px;}
.post-row p{font-size:0.94rem;}

/* ===== Placeholder note ===== */
.placeholder-note{
  margin-top:20px;padding:13px 17px;background:rgba(232,130,60,0.07);
  border:1px dashed rgba(232,130,60,0.35);border-radius:4px;
  font-size:0.82rem;color:var(--oto-orange-400);
}

/* ===== CTA band ===== */
.cta-band{padding:96px 0;text-align:center;position:relative;overflow:hidden;background:linear-gradient(180deg,var(--oto-navy-900),var(--oto-navy-950));}
.cta-band h2{margin-bottom:18px;}
.cta-band p{max-width:520px;margin:0 auto 34px;font-size:1rem;}
.cta-band .hero-ctas{justify-content:center;margin-top:0;}

/* ===== Cross-sell card ===== */
.crosssell-card{
  background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:8px;padding:34px 38px;
  display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;
}
.crosssell-card h4{margin:0 0 8px;color:var(--oto-fg-primary);font-size:1.05rem;}
.crosssell-card p{font-size:0.93rem;max-width:520px;}

/* ===== Footer ===== */
footer{background:var(--oto-navy-950);border-top:1px solid var(--oto-border-subtle);padding:56px 0 32px;}
.footer-top{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap;margin-bottom:48px;}
.footer-brand{max-width:300px;}
.footer-brand-row{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.footer-brand p{font-size:0.85rem;color:var(--oto-fg-muted);margin:0;}
.footer-cols{display:flex;gap:56px;flex-wrap:wrap;}
.footer-col h5{font-family:var(--oto-font-mono);font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--oto-fg-muted);margin:0 0 14px;}
.footer-col a{display:block;font-size:0.86rem;color:var(--oto-fg-secondary);padding:5px 0;}
.footer-col a:hover{color:var(--oto-fg-primary);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:24px;border-top:1px solid var(--oto-border-subtle);flex-wrap:wrap;gap:12px;}
.footer-bottom span{font-size:0.78rem;color:var(--oto-fg-muted);}

/* ===== Contact form ===== */
.contact-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:64px;max-width:940px;}
@media(max-width:820px){.contact-grid{grid-template-columns:1fr;}}
.form-col{display:grid;gap:18px;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
@media(max-width:480px){.form-row-2{grid-template-columns:1fr;}}
.field label{display:block;font-size:0.78rem;color:var(--oto-fg-muted);margin-bottom:8px;font-family:var(--oto-font-mono);letter-spacing:0.05em;text-transform:uppercase;}
.field input,.field textarea{
  width:100%;background:var(--oto-navy-800);border:1px solid var(--oto-border-default);border-radius:4px;
  padding:12px 14px;color:var(--oto-fg-primary);font-family:var(--oto-font-ui);font-size:0.94rem;
}
.field textarea{min-height:110px;resize:vertical;}
.field input::placeholder,.field textarea::placeholder{color:var(--oto-fg-muted);}
.field input:focus,.field textarea:focus{outline:2px solid var(--oto-blue-400);outline-offset:1px;}
.contact-card{background:var(--oto-navy-800);border:1px solid var(--oto-border-subtle);border-radius:6px;padding:28px 30px;}
.contact-card h4{margin:0 0 4px;color:var(--oto-fg-primary);font-size:1rem;}
.contact-item{padding:15px 0;border-top:1px solid var(--oto-border-subtle);}
.contact-item:first-of-type{border-top:none;}
.contact-item b{display:block;font-size:0.9rem;color:var(--oto-fg-primary);margin-bottom:2px;}
.contact-item span{font-size:0.88rem;color:var(--oto-blue-400);}

/* Validation states — driven by site.js */
.field-error{display:block;font-size:0.78rem;color:var(--oto-orange-400);margin-top:6px;min-height:0;}
.field.has-error input,.field.has-error textarea{border-color:var(--oto-orange-500);}
.form-status{font-size:0.86rem;margin:0;}
.form-status.ok{color:var(--oto-green-500);}
.form-status.error{color:var(--oto-orange-400);}

/* ===== Motion ===== */
/* .reveal is added by site.js, never by the HTML — if the script fails to
   load, nothing is left stuck at opacity 0. */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease, transform .55s ease;}
.reveal.is-visible{opacity:1;transform:none;}

.router-card,.usp-card,.exec-card,.feature-card,.method-cell,.chip{transition:background .2s, border-color .2s, transform .2s;}
.usp-card:hover,.exec-card:hover,.feature-card:hover,.chip:hover{border-color:var(--oto-border-default);transform:translateY(-2px);}
.router-card .go{transition:transform .2s;display:inline-block;}
.router-card:hover .go{transform:translateX(4px);}

/* ==========================================================================
   DEPTH & MATERIAL
   Applied to the existing card classes rather than new ones, so every page
   picks it up without markup changes.
   ========================================================================== */

.router-card,
.prod-card,
.exec-card,
.usp-card,
.assess-card,
.feature-card,
.method-cell,
.contact-card,
.model,
.compare-col,
.crosssell-card,
.empty-state,
.risk-graph,
.chip,
.src,
.feature-list-item{
  background-image:var(--oto-face);
  box-shadow:var(--oto-shadow-1), var(--oto-edge);
  transition:transform .28s cubic-bezier(.2,0,0,1), box-shadow .28s cubic-bezier(.2,0,0,1),
             border-color .28s ease;
}
.usp-card,.compare-col{background-image:var(--oto-face-deep);}
.exec-card,.feature-card,.chip,.src{background-image:var(--oto-face-raised);}

/* Hover lifts the object and deepens the shadow beneath it. The tilt on top
   of this is applied by site.js, which reads pointer position. */
.router-card:hover,
.prod-card:hover,
.exec-card:hover,
.usp-card:hover,
.assess-card:hover,
.feature-card:hover,
.method-cell:hover,
.chip:hover{
  box-shadow:var(--oto-shadow-2), var(--oto-edge);
  border-color:var(--oto-border-default);
}

/* The tilt wrapper: perspective belongs on the parent, transform on the card. */
.tilt-scope{perspective:1100px;}
.tilt{transform-style:preserve-3d;will-change:transform;}

/* Flagship surfaces get the brand sweep along their top edge — one hairline,
   not a border on all four sides. */
.risk-graph,
.model.managed,
.compare-col.after,
.tenant-panel{position:relative;}
.risk-graph::before,
.model.managed::before,
.compare-col.after::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:var(--oto-sweep);opacity:0.85;
}
.model.managed,.compare-col.after{box-shadow:var(--oto-shadow-2), var(--oto-edge-warm);}

.risk-graph{box-shadow:var(--oto-shadow-3), var(--oto-edge);}

/* Ambient light behind the hero: two very low-alpha pools in the brand hues,
   sitting under the orbit rings. Not a gradient hero — you should not be able
   to point at where it starts. */
.hero::before,
.flagship::before,
.cta-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(760px 420px at 82% -8%, rgba(232,130,60,0.10), transparent 62%),
    radial-gradient(680px 460px at 6% 108%, rgba(62,124,177,0.11), transparent 66%);
}
.hero > *,.flagship > *,.cta-band > *{position:relative;z-index:1;}

/* Section bands get a hairline of brand colour at the seam rather than a
   flat 1px border. */
.section-band{background-image:linear-gradient(180deg,#102138 0%,#0C1A2C 100%);}
.section-band::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(232,130,60,0.34) 22%,rgba(62,124,177,0.34) 72%,transparent);
}

/* ==========================================================================
   PROSE TREATMENTS
   Ways of setting information that aren't another paragraph. Each one earns
   its place by encoding something: emphasis, a figure, an aside, a term.
   ========================================================================== */

/* Key phrase — a soft wash rather than a highlighter slab. */
.key{
  color:var(--oto-fg-primary);
  background:linear-gradient(180deg,transparent 52%,rgba(232,130,60,0.24) 52%);
  padding:0 2px;
}

/* A figure set inline in running text, so the number carries weight without
   becoming its own stat card. */
.fig{
  font-family:var(--oto-font-mono);
  font-size:1.06em;
  color:var(--oto-orange-400);
  font-variant-numeric:tabular-nums;
  letter-spacing:-0.01em;
}

/* A single large figure with the brand sweep through it. Used once per page
   at most — it stops working the moment there are two. */
.fig-hero{
  font-family:var(--oto-font-display);
  font-size:clamp(2.6rem,6vw,4.2rem);
  line-height:1;
  font-weight:600;
  background:linear-gradient(96deg,var(--oto-orange-400),var(--oto-orange-500) 42%,var(--oto-blue-400));
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
  font-variant-numeric:tabular-nums;
}

/* Pull quote — the argument, lifted out of the flow. */
.pull{
  font-family:var(--oto-font-display);
  font-size:clamp(1.25rem,2.3vw,1.7rem);
  line-height:1.32;
  color:var(--oto-fg-primary);
  margin:34px 0;
  padding-left:26px;
  border-left:2px solid transparent;
  border-image:var(--oto-sweep) 1;
  max-width:22ch;
}
.pull.wide{max-width:34ch;}

/* Opening paragraph of a long section: a serif drop cap in the accent. */
.dropcap::first-letter{
  float:left;
  font-family:var(--oto-font-display);
  font-size:3.1rem;
  line-height:0.84;
  font-weight:600;
  color:var(--oto-orange-500);
  padding:6px 12px 0 0;
}

/* A defined term the reader may not know, tagged inline. */
.term{
  border-bottom:1px dotted rgba(95,163,217,0.6);
  color:var(--oto-fg-primary);
}
.term::after{
  content:attr(data-tag);
  font-family:var(--oto-font-mono);
  font-size:0.62em;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--oto-blue-400);
  vertical-align:super;
  margin-left:3px;
}

/* Inline key/value runs — facts that would be a wasteful table. */
.kv{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
  gap:18px 24px;margin:26px 0 0;padding:0;list-style:none;
}
.kv li{display:flex;flex-direction:column;gap:4px;border-left:1px solid var(--oto-border-subtle);padding-left:14px;}
.kv b{
  font-family:var(--oto-font-mono);font-size:0.66rem;letter-spacing:0.13em;
  text-transform:uppercase;color:var(--oto-fg-muted);font-weight:400;
}
.kv span{font-size:0.98rem;color:var(--oto-fg-primary);}
/* .fig has to out-rank `.kv span`, or the figure loses its accent. */
.kv span.fig{color:var(--oto-orange-400);font-size:1.35rem;}

/* Callout — an aside with a stated posture. */
.callout{
  display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;
  background-image:var(--oto-face-deep);
  border:1px solid var(--oto-border-subtle);
  border-left:2px solid var(--oto-blue-500);
  border-radius:0 8px 8px 0;
  padding:18px 22px;margin:26px 0;
  box-shadow:var(--oto-shadow-1), var(--oto-edge);
}
.callout.warn{border-left-color:var(--oto-orange-500);}
.callout .co-tag{
  font-family:var(--oto-font-mono);font-size:0.64rem;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--oto-blue-400);padding-top:3px;white-space:nowrap;
}
.callout.warn .co-tag{color:var(--oto-orange-500);}
.callout p{margin:0;font-size:0.94rem;}
@media(max-width:560px){
  .callout{grid-template-columns:1fr;gap:8px;}
}

/* ===== Responsive refinements ===== */
/* Vertical rhythm is tuned for desktop; on a phone the same padding reads as
   dead space and pushes everything below the fold. */
@media(max-width:820px){
  section{padding:64px 0;}
  .hero{padding:80px 0 64px;}
  .cta-band{padding:72px 0;}
  .product-block{gap:40px;}
  .argument-grid{gap:40px;}
  .contact-grid{gap:40px;}
  .footer-cols{gap:36px;}
}
@media(max-width:640px){
  section{padding:52px 0;}
  .hero{padding:60px 0 48px;}
  .cta-band{padding:60px 0;}
  .router-card{padding:32px 24px;}
  .exec-card,.usp-card{padding:24px 20px;}
  .method-cell{padding:26px 22px;}
  .contact-card{padding:24px 22px;}
  .section-head{margin-bottom:32px;}
  .hero .lead{font-size:1.02rem;}
  /* Footer columns as a grid rather than a wrapping flex row — flex leaves
     ragged orphan columns at these widths. */
  .footer-cols{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px;}
  .footer-top{gap:36px;margin-bottom:36px;}
  .hero-ctas .btn{width:100%;justify-content:center;}
}
@media(max-width:400px){
  /* Keep the brand from crowding the hamburger on the narrowest phones. */
  .brand-word{font-size:0.86rem;}
  .brand-word span{display:none;}
  .footer-cols{grid-template-columns:1fr;}
}

/* ===== Accessibility ===== */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--oto-blue-400);outline-offset:2px;}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
  /* Belt and braces: site.js already skips reveals under this setting, but if
     the class ever lands anyway it must not hide content permanently. */
  .reveal{opacity:1!important;transform:none!important;}
}
