/* Calypsion — shared stylesheet for inner pages (product, How It Works, Proof, Company, Contact).
   Extracted from linkedge.html so every page shares one header, footer, palette and IBM Plex type system. */
:root {
  /* Calypsion Innovations brand palette
     Primary: Deep teal  ·  Anchor: Ocean navy  ·  Accent: Signal amber */
  --canvas: #F6F8F9;
  --surface: #FFFFFF;
  --surface-alt: #EAF7F7;
  --ink: #0C2230;
  --body: #33454E;
  --muted: #5A6B72;
  --border: #DCE3E7;
  --blue: #0A6E6E;        /* primary interactive — Teal 700 (legible on white) */
  --blue-dark: #063E3E;   /* Teal 900 — hover */
  --teal: #0E9C9C;        /* Deep teal — brand accent */
  --teal-dark: #0A6E6E;   /* Teal 700 */
  --accent: #F5900B;      /* Signal amber */
  --accent-dark: #D97E08;
  --navy: #0C2230;        /* Ocean navy — anchor */
  --navy-deep: #071722;   /* Navy 900 */
  --success: #1FA971;
  --warning: #F5900B;
  --critical: #E5484D;
  --info: #2F80B8;
  --idle: #9AA7AD;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1320px;
  --shadow-sm: 0 1px 2px rgba(14,36,56,.06), 0 1px 3px rgba(14,36,56,.05);
  --shadow-md: 0 4px 12px rgba(14,36,56,.07), 0 10px 28px rgba(14,36,56,.06);
  --shadow-lg: 0 18px 50px rgba(14,36,56,.16);
  --logo-white: url("images/logo-white-v2.png"); /* white brand mark for dark backgrounds (LogoV2) */
  --logo-blue: url("images/logo-teal.png");   /* colored brand mark for light backgrounds (LogoV2) */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--canvas); color: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; letter-spacing: -0.01em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
p { max-width: 66ch; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }

/* buttons */
.btn-notch { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 600; font-size: 16px; background: var(--teal); color: #fff; padding: 15px 26px; border: 0; cursor: pointer; text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); transition: background .18s ease; }
.btn-notch:hover { background: #0A6E6E; color: #fff; }
.btn-notch.blue { background: var(--blue); }
.btn-notch.blue:hover { background: var(--blue-dark); }
.btn-notch .arrow { transition: transform .2s ease; }
.btn-notch:hover .arrow { transform: translateX(4px); }
.txt-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 16px; position: relative; padding: 6px 2px 8px; }
.txt-link::after { content:""; position: absolute; left: 2px; right: 24px; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.txt-link:hover::after { transform: scaleX(1); }
.txt-link.light { color: #fff; }
.txt-link .arrow { color: var(--teal); transition: transform .2s ease; }
.txt-link:hover .arrow { transform: translateX(4px); }

/* ===== HEADER (transparent over dark hero -> solid) ===== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 4vw, 60px); background: transparent; border-bottom: 1px solid transparent; transition: transform .35s ease, background .25s ease, border-color .25s ease, padding .25s ease, box-shadow .25s ease; }
header.solid { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); padding-top: 13px; padding-bottom: 13px; }
header.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: inline-block; width: 38px; height: 38px; background: var(--logo-white) center/contain no-repeat; }
header.solid .brand-logo { background-image: var(--logo-blue); }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-name { font-weight: 700; color: #fff; font-size: 20px; letter-spacing: .2em; transition: color .2s; }
.brand-sub { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .34em; color: rgba(255,255,255,.68); transition: color .2s; }
header.solid .brand-name { color: var(--blue); }
header.solid .brand-sub { color: var(--teal); }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.92); font-weight: 500; font-size: 15px; padding: 10px 16px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-item > a:hover { color: #fff; background: rgba(255,255,255,.14); }
header.solid .nav-item > a { color: var(--ink); }
header.solid .nav-item > a:hover { color: var(--blue); background: var(--surface-alt); }
.caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .18s; }
.nav-item.has-menu:hover .caret { transform: rotate(-135deg); margin-top: 2px; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; list-style: none; }
.nav-item.has-menu:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--body); font-size: 14.5px; font-weight: 500; }
.dropdown a:hover { background: var(--surface-alt); color: var(--blue); }
.dropdown a.current { color: var(--blue); background: var(--surface-alt); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta { color: rgba(255,255,255,.92); font-weight: 500; font-size: 15px; }
header.solid .nav-cta { color: var(--ink); }
.nav-cta:hover { color: var(--teal); }
.hamburger { width: 44px; height: 44px; border: none; border-radius: 10px; background: transparent; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; transition: background .2s; }
.hamburger:hover { background: rgba(255,255,255,.14); }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: width .2s, background .2s; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger:hover span:nth-child(2) { width: 24px; }
header.solid .hamburger:hover { background: var(--surface-alt); }
header.solid .hamburger span { background: var(--ink); }

/* overlay */
.overlay { position: fixed; inset: 0; background: rgba(14,36,56,.55); backdrop-filter: blur(3px); z-index: 200; opacity: 0; visibility: hidden; transition: .22s; }
.overlay.open { opacity: 1; visibility: visible; }
.panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 90vw); background: var(--surface); box-shadow: var(--shadow-lg); padding: 28px; overflow-y: auto; transform: translateX(100%); transition: transform .26s ease; }
.overlay.open .panel { transform: translateX(0); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.panel .brand-logo { background-image: var(--logo-blue); }
.panel .brand-name { color: var(--blue); }
.panel .brand-sub { color: var(--teal); }
.panel-close { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: none; font-size: 22px; color: var(--ink); cursor: pointer; }
.panel h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.panel a { display: block; color: var(--ink); font-weight: 500; font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.panel a:hover { color: var(--blue); }

/* back-to-top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); }

/* section scaffolding */
section { position: relative; }
.sec { padding: 92px 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { margin: 12px 0 12px; }
.sec-head p { font-size: 18px; }
.sec-head.center p { margin: 0 auto; }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 18px 22px; vertical-align: top; font-size: 14.5px; border-bottom: 1px solid var(--border); }
thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-alt); }
tbody tr:last-child td { border-bottom: 0; }
.matrix td:first-child { font-weight: 600; color: var(--ink); width: 22%; }
.matrix td.conv { color: var(--muted); }
.matrix td.le { color: var(--body); }
.matrix td.le b { color: var(--teal-dark); }
.matrix thead th.le { color: var(--teal-dark); background: rgba(14,156,156,.08); }
.spec td:first-child { font-family: var(--mono); font-weight: 500; color: var(--ink); width: 30%; letter-spacing: .01em; }
.spec td.val { color: var(--body); }

/* footer */
footer { background: var(--ink); color: #A9BCCD; padding: 64px 0 30px; }
.foot-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-suite span { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8FB0C4; margin-right: 8px; }
.foot-suite a { font-size: 14px; font-weight: 500; color: #CFE0EE; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; padding: 6px 14px; transition: border-color .2s, color .2s, background .2s; }
.foot-suite a:hover { border-color: #6FE3E3; color: #fff; }
.foot-suite a[aria-current] { background: #0E9C9C; border-color: #0E9C9C; color: #fff; }
.foot-grid > .foot-brand { margin-right: auto; max-width: 380px; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 88px; row-gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-lockup { display: inline-flex; align-items: center; gap: 12px; }
.foot-logo { display: inline-block; width: 42px; height: 42px; background: var(--logo-white) center/contain no-repeat; }
.foot-wordwrap { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.foot-word { color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .2em; }
.foot-sub { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .32em; color: #5FC2C2; }
.foot-brand p { font-size: 14px; color: #93A9BC; margin-top: 16px; max-width: 30ch; }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #E4F3F3; }
.socials a:hover { background: rgba(255,255,255,.16); }
.foot-col h5 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-family: var(--mono); font-weight: 500; }
.foot-col a { display: block; color: #AEC2D4; font-size: 14px; padding: 6px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; color: #7E93A8; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1024px) {
  .nav-menu, .nav-cta { display: none; }
}
@media (max-width: 620px) {
  .sec { padding: 64px 0; }
}

/* ================= Shared page components ================= */
.rd-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }

/* ---- HERO ---- */
.rd-hero { position: relative; overflow: hidden; background:
    radial-gradient(1100px 620px at 82% -8%, rgba(14,156,156,.20), transparent 60%),
    radial-gradient(900px 700px at 8% 110%, rgba(10,110,110,.35), transparent 55%),
    linear-gradient(160deg, #0C2230 0%, #103F49 52%, #0C2230 100%); color: #EAF2FA; }
.rd-hero::before { content:""; position:absolute; inset:0; opacity:.5;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 78%); }
.rd-hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: clamp(128px, 15vh, 176px) 24px clamp(96px, 12vh, 128px); }
.rd-hero-text { max-width: 620px; }
.rd-hero-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(100deg, #0C2230 0%, #0C2230 30%, rgba(12,34,48,.86) 44%, rgba(12,34,48,.4) 62%, rgba(12,34,48,.08) 82%, rgba(12,34,48,0) 100%),
    linear-gradient(0deg, #0C2230 0%, rgba(12,34,48,0) 20%, rgba(12,34,48,0) 80%, rgba(12,34,48,.55) 100%); }
.rd-hero h1 { color: #fff; font-size: clamp(38px, 3.3vw, 56px); line-height: 1.06; letter-spacing: -.02em; margin: 22px 0 16px; text-wrap: balance; }
.rd-hero .rd-sub { font-family: var(--mono); font-size: clamp(15px, 1.7vw, 19px); font-weight: 500; letter-spacing: .01em; color: #6FE3E3; margin-bottom: 26px; }
.rd-hero .rd-lede { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.72; color: #B9CBDD; max-width: 52ch; }
.rd-hi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 38px 0 36px; }
.rd-hi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 18px 18px 20px; backdrop-filter: blur(4px); }
.rd-hi .rd-hi-label { display: flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; font-size: 15.5px; margin-bottom: 8px; }
.rd-hi .rd-hi-label::before { content:""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(14,156,156,.22); flex: none; }
.rd-hi p { font-size: 13.5px; line-height: 1.6; color: #A9BDD0; }
.rd-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rd-hero-media { position: absolute; z-index: 1; top: 50%; left: 46%; transform: translateY(-50%); width: min(58%, 900px); pointer-events: none; }
.rd-hero-media img { width: 100%; border-radius: 16px; display: block; transform: perspective(1900px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; box-shadow: 0 55px 100px -34px rgba(0,0,0,.9); }
.rd-hero-media .rd-stamp { position: absolute; left: 18px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #CFE4F4; background: rgba(9,24,41,.72); border: 1px solid rgba(255,255,255,.16); padding: 7px 12px; border-radius: 8px; }

/* ---- SHIFTS ---- */
.rd-sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px 56px; align-items: end; }
.rd-sec-head h2 { color: var(--ink); font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 0; letter-spacing: -.02em; }
.rd-sec-lead { color: var(--body); font-size: 16.5px; line-height: 1.6; max-width: 44ch; justify-self: end; padding-bottom: 5px; }

.rd-shift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 20px; margin-top: 46px; }
.rd-shift { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px 22px; box-shadow: 0 10px 30px rgba(14,36,56,.05); display: flex; flex-direction: column; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.rd-shift:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(14,36,56,.11); border-color: rgba(14,156,156,.42); }
.rd-shift::after { content: attr(data-num); position: absolute; top: -30px; right: 4px; font-family: var(--mono); font-weight: 700; font-size: 140px; line-height: 1; color: rgba(12,34,48,.045); pointer-events: none; z-index: 0; }
.rd-shift > * { position: relative; z-index: 1; }
.rd-shift-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rd-chip { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); background: rgba(14,156,156,.09); border: 1px solid rgba(14,156,156,.22); padding: 5px 11px; border-radius: 30px; }
.rd-shift h3 { color: var(--ink); font-size: 17.5px; line-height: 1.32; letter-spacing: -.01em; margin-bottom: 18px; }
.rd-flow { display: flex; flex-direction: column; flex: 1 1 auto; }
.rd-step { padding: 13px 15px; border-radius: 12px; }
.rd-step.from { background: var(--surface-alt); }
.rd-step.to { background: rgba(14,156,156,.06); border: 1px solid rgba(14,156,156,.2); }
.rd-step-h { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.rd-step.from .rd-step-h { color: var(--critical); }
.rd-step.from .rd-step-h::before { content:""; width: 7px; height: 7px; border-radius: 2px; background: var(--critical); }
.rd-step.to .rd-step-h { color: var(--teal-dark); }
.rd-step.to .rd-step-h::before { content:""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.rd-step p { font-size: 13px; line-height: 1.5; color: var(--body); }
.rd-flow-arrow { align-self: center; display: grid; place-items: center; margin: 6px 0; color: var(--teal); }
.rd-flow-arrow svg { width: 20px; height: 20px; }
.rd-flow-arrow > i { font-size: 18px; }
.rd-metric { display: flex; flex-direction: column; gap: 3px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.rd-metric .rd-metric-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rd-metric .rd-metric-v { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--teal-dark); }

/* ---- CORE RELIABILITY (dark band) ---- */
.rd-core-band { position: relative; overflow: hidden; padding: clamp(60px, 8vh, 94px) 0;
  background: linear-gradient(160deg, #0C2230 0%, #103F49 55%, #0C2230 100%); color: #EAF2FA; }
.rd-core-band::before { content:""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 460px at 88% -12%, rgba(14,156,156,.18), transparent 60%),
              radial-gradient(760px 520px at 4% 120%, rgba(10,110,110,.24), transparent 56%); }
.rd-core-band .wrap { position: relative; z-index: 1; }
.rd-core-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px 56px; align-items: end; margin-bottom: 38px; }
.rd-core-head .rd-eyebrow { color: #6FE3E3; }
.rd-core-head h3 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 0; letter-spacing: -.02em; }
.rd-core-head p { color: #B9CBDD; font-size: 15.5px; line-height: 1.6; max-width: 40ch; justify-self: end; padding-bottom: 4px; }
.rd-core-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; }
.rd-core-card { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; padding: 26px 24px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 12px; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.rd-core-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(14,156,156,.5); }
.rd-core-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6FE3E3; background: rgba(14,156,156,.14); border: 1px solid rgba(14,156,156,.34); padding: 5px 11px; border-radius: 30px; }
.rd-core-badge::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(14,156,156,.25); }
.rd-core-card h4 { color: #fff; font-size: 18px; letter-spacing: -.01em; margin: 2px 0 0; }
.rd-core-card p { font-size: 14px; line-height: 1.6; color: #AEC2D4; flex: 1 1 auto; margin: 0; }
.rd-core-stat { font-family: var(--mono); font-weight: 600; font-size: 12px; color: #6FE3E3; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.13); }

/* ---- MATRIX ---- */
.rd-matrix { margin-top: 44px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 12px 34px rgba(14,36,56,.05); }
.rd-mx-head, .rd-mx-row { display: grid; grid-template-columns: .92fr 1.3fr 1.3fr; }
.rd-mx-head { position: sticky; top: 66px; z-index: 2; }
.rd-mx-hc { padding: 16px 22px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rd-mx-hc.cat { background: var(--ink); color: #cfe0ee; }
.rd-mx-hc.conv { background: #22384c; color: #9fb6c9; }
.rd-mx-hc.le { background: linear-gradient(90deg, var(--teal-dark), var(--teal)); color: #fff; display:flex; align-items:center; gap:8px; }
.rd-mx-hc.le::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.rd-mx-row { border-top: 1px solid var(--border); }
.rd-mx-row:nth-child(even) { background: #FAFCFE; }
.rd-mx-cat { padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 15px; display: flex; align-items: center; }
.rd-mx-conv { padding: 20px 22px; font-size: 14px; line-height: 1.58; color: var(--muted); }
.rd-mx-le { padding: 20px 22px; font-size: 14px; line-height: 1.58; color: var(--ink); background: rgba(14,156,156,.06); border-left: 2px solid var(--teal); font-weight: 500; }
.rd-mx-label { display: none; }

/* ---- CASE STUDY ---- */
.rd-case { background:
    radial-gradient(800px 400px at 90% 0%, rgba(14,156,156,.18), transparent 60%),
    linear-gradient(155deg, #0C2230, #103F49); color: #E7F0F8; }
.rd-case-inner { display: grid; grid-template-columns: 1fr; gap: 30px; }
.rd-case-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rd-case-logo { height: 44px; width: auto; background: #fff; padding: 7px 12px; border-radius: 8px; }
.rd-case-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6FE3E3; border: 1px solid rgba(111,227,227,.4); border-radius: 30px; padding: 6px 13px; }
.rd-case h2 { color: #fff; margin: 4px 0 0; }
.rd-case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rd-case-cols h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7FA8C7; margin-bottom: 8px; }
.rd-case-cols p { color: #C3D5E5; font-size: 15px; line-height: 1.66; }
.rd-impact { display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: center; margin-top: 6px; padding: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.rd-stat .rd-stat-v { font-family: var(--mono); font-weight: 600; font-size: clamp(30px, 4vw, 44px); color: #6FE3E3; line-height: 1; }
.rd-stat .rd-stat-k { font-size: 12.5px; color: #9FBAD0; margin-top: 8px; max-width: 15ch; }
.rd-impact .rd-impact-text { color: #D7E4F0; font-size: 15px; line-height: 1.66; border-left: 1px solid rgba(255,255,255,.14); padding-left: 26px; }

/* ---- ORDERING ---- */
.rd-dl { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 30px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(14,36,56,.05); }
.rd-dl h3 { color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.rd-dl p { font-size: 14.5px; color: var(--muted); max-width: 60ch; }
.rd-models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.rd-model { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.rd-model:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,36,56,.09); border-color: rgba(14,156,156,.4); }
.rd-model .rd-model-code { font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--blue); letter-spacing: .01em; }
.rd-model p { font-size: 13.5px; line-height: 1.55; color: var(--body); margin: 12px 0 16px; }
.rd-temp { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--teal-dark); background: rgba(14,156,156,.09); border: 1px solid rgba(14,156,156,.22); border-radius: 30px; padding: 5px 12px; }
.rd-temp::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

@media (max-width: 960px) {
  .rd-hero-inner { padding-top: 108px; }
  .rd-hero-text { max-width: none; }
  .rd-hero-media, .rd-hero-scrim { display: none; }
  .rd-models { grid-template-columns: repeat(2, 1fr); }
  .rd-impact { grid-template-columns: 1fr 1fr; }
  .rd-impact .rd-impact-text { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 0; }
}
@media (max-width: 820px) {
  .rd-sec-head, .rd-core-head { grid-template-columns: 1fr; align-items: start; }
  .rd-sec-lead, .rd-core-head p { justify-self: start; max-width: 52ch; padding-bottom: 0; }
  .rd-case-cols { grid-template-columns: 1fr; }
  .rd-mx-head { display: none; }
  .rd-mx-row { grid-template-columns: 1fr; border-top: 8px solid var(--canvas); }
  .rd-mx-cat { background: var(--ink); color: #fff; font-size: 16px; }
  .rd-mx-conv, .rd-mx-le { border-left: 0; }
  .rd-mx-label { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
  .rd-mx-conv .rd-mx-label { color: var(--muted); }
  .rd-mx-le .rd-mx-label { color: var(--teal-dark); }
}
@media (max-width: 560px) {
  .rd-hi-grid { grid-template-columns: 1fr; }
  .rd-models { grid-template-columns: 1fr; }
  .rd-impact { grid-template-columns: 1fr; }
}

/* ---- PROTOCOL BADGE GRID ---- */
.rd-proto { background: var(--surface); padding: 62px 0; border-bottom: 1px solid var(--border); }
.rd-proto-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.rd-proto-head h3 { color: var(--ink); font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; margin-top: 10px; }
.rd-proto-sub { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.rd-badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: var(--maxw); margin: 0 auto; }
.rd-badge { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px; padding: 18px 14px; font-weight: 600; font-size: 14px; color: var(--ink); text-align: center; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease; }
.rd-badge::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.rd-badge:hover { transform: translateY(-3px); border-color: rgba(10,110,110,.45); color: var(--blue); background: var(--surface); box-shadow: 0 12px 26px rgba(14,36,56,.08); }
.rd-badge.more { background: transparent; border-style: dashed; color: var(--muted); font-family: var(--mono); font-size: 13px; }
.rd-badge.more::before { display: none; }
.rd-badge.more:hover { transform: none; color: var(--blue); border-color: rgba(10,110,110,.45); box-shadow: none; }

/* ================= Inner-page components (added for the new pages) ================= */

/* ---- Compact page hero (no product render) ---- */
.pg-hero .rd-hero-inner { padding-bottom: clamp(72px, 9vh, 104px); }
.pg-hero .rd-hero-text { max-width: 760px; }
.pg-hero h1 { font-size: clamp(34px, 4vw, 54px); }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #8FB0C4; margin-bottom: 18px; }
.crumbs a { color: #B9CBDD; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---- Section rhythm ---- */
.sec.alt { background: var(--surface-alt); }
.sec.white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---- Product video ---- */
.pv { margin-top: 40px; border-radius: 18px; overflow: hidden; background: var(--navy); border: 1px solid var(--border); box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; position: relative; }
.pv video, .pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-cap { position: absolute; left: 16px; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #CFE4F4; background: rgba(7,23,34,.74); border: 1px solid rgba(255,255,255,.16); padding: 7px 12px; border-radius: 8px; pointer-events: none; }

/* ---- Problem / Solution / Result (product template, spec 3.1) ---- */
.psr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.psr-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.psr-card .lab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.psr-card .lab::before { content:""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.psr-card.p { border-top: 3px solid var(--critical); }
.psr-card.s { border-top: 3px solid var(--teal); }
.psr-card.r { border-top: 3px solid var(--success); }
.psr-card.p .lab { color: var(--critical); }
.psr-card.s .lab { color: var(--teal-dark); }
.psr-card.r .lab { color: #168257; }
.psr-card h3 { font-size: 19px; }
.psr-card p { font-size: 15px; line-height: 1.62; }
.psr-card strong { color: var(--ink); }

/* Content the client still has to supply: visible on purpose so it is never shipped by accident */
.tbd { font-family: var(--mono); font-size: .88em; color: #8A5A06; background: rgba(245,144,11,.12); border: 1px dashed rgba(245,144,11,.6); border-radius: 6px; padding: 1px 7px; }
.tbd-block { border: 1.5px dashed rgba(245,144,11,.6); background: rgba(245,144,11,.06); border-radius: 14px; padding: 18px 20px; font-size: 14px; color: var(--body); }
.tbd-block b { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8A5A06; display: block; margin-bottom: 4px; }

/* ---- Feature grid ---- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 44px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14,36,56,.09); border-color: rgba(14,156,156,.42); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(14,156,156,.1); border: 1px solid rgba(14,156,156,.28); color: var(--teal-dark); margin-bottom: 16px; }
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; line-height: 1.6; }

/* ---- Product hero photo (re-uses .rd-hero-media) ---- */
.rd-hero-media.photo img { aspect-ratio: 16 / 10; object-fit: cover; }

/* ---- Product switcher (bottom of each product page) ---- */
.mods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 32px; }
.mod { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.mod:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mod b { color: var(--ink); font-size: 15px; }
.mod span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.mod.current { border-color: var(--teal); background: var(--surface-alt); pointer-events: none; }

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; margin-bottom: 14px; }
.cta-band p { color: #B9CBDD; font-size: 16.5px; line-height: 1.6; max-width: 62ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px 22px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ---- How It Works: the loop ---- */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; }
.loop-step { position: relative; padding-right: 22px; }
.loop-step .n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 15px; color: #fff; background: var(--teal); box-shadow: 0 0 0 6px rgba(14,156,156,.14); position: relative; z-index: 1; }
.loop-step:not(:last-child)::after { content:""; position: absolute; top: 26px; left: 66px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); }
.loop-step h3 { font-size: 20px; margin: 20px 0 8px; }
.loop-step p { font-size: 15px; line-height: 1.6; }
.loop-repeat { margin-top: 34px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); background: rgba(14,156,156,.08); border: 1px solid rgba(14,156,156,.24); border-radius: 30px; padding: 8px 16px; }

/* ---- How It Works: 4-layer stack ---- */
.stack { display: grid; gap: 10px; margin-top: 12px; }
.stack-head, .layer { display: grid; grid-template-columns: 70px 1fr 1.4fr 1.4fr; gap: 24px; }
.stack-head { padding: 0 24px 0 27px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #7FA8C7; margin-top: 40px; }
.layer { align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 20px 24px; }
.layer .idx { font-family: var(--mono); font-weight: 600; color: #6FE3E3; font-size: 13px; letter-spacing: .1em; }
.layer h3 { color: #fff; font-size: 20px; }
.layer .what { color: #D7E4F0; font-size: 15px; }
.layer .does { color: #AEC2D4; font-size: 14.5px; }
.layer .does b { color: #6FE3E3; font-family: var(--mono); font-weight: 600; }
.layer.l1 { border-left: 3px solid #5FC2C2; }
.layer.l2 { border-left: 3px solid var(--teal); }
.layer.l3 { border-left: 3px solid #C9EBEB; }
.layer.l4 { border-left: 3px solid var(--accent); }
.stack-flow { display: flex; justify-content: center; color: #6FE3E3; }
.stack-flow svg { width: 18px; height: 18px; }

/* ---- Fit points ---- */
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fit-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.fit-item .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(14,156,156,.1); color: var(--teal-dark); }
.fit-item h3 { font-size: 17px; margin-bottom: 4px; }
.fit-item p { font-size: 14.5px; }

/* ---- Proof: promise, filters, case cards ---- */
.promise { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 18px 22px; border-left: 3px solid #6FE3E3; background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; max-width: 640px; color: #6FE3E3; }
.promise p { color: #EAF2FA; font-size: 16px; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--body); background: var(--surface); border: 1px solid var(--border); border-radius: 30px; padding: 8px 16px; cursor: pointer; transition: all .16s; }
.filter:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter[aria-pressed="true"] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cs { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.cs[hidden] { display: none; }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 26px; border-bottom: 1px solid var(--border); background: var(--canvas); min-height: 78px; }
.cs-top img { height: 36px; width: auto; }
.cs-top .anon { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); background: rgba(14,156,156,.09); border: 1px solid rgba(14,156,156,.24); border-radius: 30px; padding: 5px 12px; white-space: nowrap; }
.cs-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.cs-body h3 { font-size: 21px; }
.cs-row .lab { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cs-row p { font-size: 14.5px; line-height: 1.6; }
.cs-res { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: auto; }
.cs-res .v { font-family: var(--mono); font-weight: 600; font-size: 30px; line-height: 1; color: var(--teal-dark); }
.cs-res .k { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 22ch; }
.cs-mods { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-mods a { font-family: var(--mono); font-size: 11.5px; color: var(--blue); background: var(--surface-alt); border-radius: 6px; padding: 4px 10px; }
.cs-mods a:hover { background: #C9EBEB; }
.format { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; counter-reset: fmt; }
.format div { counter-increment: fmt; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; font-size: 14px; }
.format div::before { content: "0" counter(fmt); display: block; font-family: var(--mono); font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.format b { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---- Company ---- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story-text h2 { margin: 12px 0 18px; }
.story-text p + p { margin-top: 16px; }
.values { display: grid; gap: 14px; }
.value { border-left: 3px solid var(--teal); background: var(--surface); border-radius: 0 12px 12px 0; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.value h3 { font-size: 17px; margin-bottom: 4px; }
.value p { font-size: 14.5px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.person .ph { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--surface-alt), #C9EBEB); display: grid; place-items: center; color: var(--teal-dark); border-bottom: 1px solid var(--border); }
.person .ph svg { width: 64px; height: 64px; opacity: .45; }
.person .pb { padding: 18px 20px 20px; }
.person h3 { font-size: 17px; }
.person .role { font-family: var(--mono); font-size: 12px; color: var(--teal-dark); margin: 4px 0 10px; letter-spacing: .02em; }
.person p { font-size: 14px; }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 36px; }
.logo-row div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; height: 84px; display: grid; place-items: center; padding: 14px 18px; }
.logo-row img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-row div:hover img { filter: none; opacity: 1; }
.jobs { margin-top: 36px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--border); }
.job:first-child { border-top: 0; }
.job h3 { font-size: 17px; }
.job .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---- Contact ---- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form h2 { grid-column: 1 / -1; font-size: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .fl { font-size: 14px; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--canvas); border: 1px solid var(--border); border-radius: 8px; padding: 11px 13px; transition: border-color .16s, box-shadow .16s, background .16s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(14,156,156,.16); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--body); background: var(--canvas); border: 1px solid var(--border); border-radius: 30px; padding: 7px 14px; cursor: pointer; }
.checks input { accent-color: var(--teal); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 42ch; }
.form-ok { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 10px; background: rgba(31,169,113,.1); border: 1px solid rgba(31,169,113,.35); color: #146B48; font-size: 14.5px; }
.form.sent .form-ok { display: block; }
.side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 17px; margin-bottom: 10px; }
.side-card ol { padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.side-card .ln { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; padding: 6px 0; }
.side-card .ln span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: 72px; flex: none; }

/* ---- FAQ ---- */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--teal); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; font-size: 15px; }

/* ---- Header CTA as a button on inner pages ---- */
.nav-cta.btn-sm { display: inline-flex; align-items: center; background: var(--teal); color: #fff; font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: 6px; }
.nav-cta.btn-sm:hover { background: var(--teal-dark); color: #fff; }
header.solid .nav-cta.btn-sm { color: #fff; }

/* keyboard focus, everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 1024px) {
  .mods { grid-template-columns: repeat(3, 1fr); }
  .stack-head, .layer { grid-template-columns: 50px 1fr; gap: 6px 18px; }
  .layer .what, .layer .does { grid-column: 2; }
  .stack-head span:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .psr, .fit, .cases, .story, .contact { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .loop-step:nth-child(2)::after { display: none; }
  .format { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .mods { grid-template-columns: 1fr 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop-step::after { display: none; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .format { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .stack-head { display: none; }
}

/* ---- footer: brand row · Link360 suite strip · bottom bar (same on every page) ---- */
footer.ft { padding: 52px 0 26px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-bottom: 30px; }
.ft-brand p { font-size: 14px; color: #93A9BC; margin-top: 12px; max-width: 46ch; }
.ft-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.ft-link { color: #CFE0EE; font-size: 14.5px; font-weight: 500; }
.ft-link:hover { color: #fff; }
.ft-cta { display: inline-flex; align-items: center; gap: 10px; background: #0E9C9C; color: #fff; font-size: 14.5px; font-weight: 600; padding: 10px 18px; border-radius: 30px; transition: background .2s; }
.ft-cta:hover { background: #0A6E6E; color: #fff; }
.ft-cta i { font-size: 12px; transition: transform .2s; }
.ft-cta:hover i { transform: translateX(3px); }
.ft-act .socials { margin: 0; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); gap: 10px; }
.ft .foot-suite { margin: 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.ft .foot-bottom { padding-top: 20px; }
.ft-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.ft-legal a { color: #7E93A8; }
.ft-legal a:hover { color: #fff; }
@media (max-width: 760px) {
  .ft-top { flex-direction: column; align-items: flex-start; }
  .ft-act .socials { padding-left: 0; border-left: 0; width: 100%; }
}

/* ---- trademark mark + footer office block ---- */
sup.tm { font-size: .5em; font-weight: 500; vertical-align: super; line-height: 0; margin-left: 1px; letter-spacing: 0; }
.ft-act { align-items: flex-start; }
.ft-office { display: grid; gap: 8px; }
.ft-lbl { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8FB0C4; }
.ft-addr { display: grid; grid-template-columns: 16px auto 12px; gap: 10px; align-items: start; color: #CFE0EE; font-size: 14.5px; line-height: 1.5; }
.ft-addr > i { color: #6FE3E3; margin-top: 4px; font-size: 13px; }
.ft-addr .ext { font-size: 10px; color: #6F8A9E; margin-top: 6px; transition: color .2s, transform .2s; }
.ft-addr:hover { color: #fff; }
.ft-addr:hover .ext { color: #6FE3E3; transform: translate(2px, -2px); }
.ft-ct { display: inline-flex; align-items: center; gap: 10px; color: #CFE0EE; font-size: 14.5px; }
.ft-ct:hover { color: #fff; }
.ft-act .socials { align-self: center; }

/* ---- footer contact rows + copy buttons ---- */
.ft-row { display: flex; align-items: center; gap: 8px; }
.ft-row .ft-addr { flex: 0 1 auto; }
.ft-ct > i { color: #6FE3E3; font-size: 12px; width: 16px; text-align: center; }
.ft-copy { position: relative; width: 28px; height: 28px; flex: none; border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #8FB0C4; cursor: pointer; display: grid; place-items: center; font-size: 12px; transition: color .2s, border-color .2s, background .2s; }
.ft-copy:hover, .ft-copy:focus-visible { color: #fff; border-color: #6FE3E3; outline: none; }
.ft-copy.ok { color: #04161A; background: #6FE3E3; border-color: #6FE3E3; }
.ft-copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: #04161A; background: #6FE3E3; border-radius: 5px; padding: 2px 7px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ft-copy.ok .ft-copied { opacity: 1; }

/* ---- footer top row: brand | office | contact | follow ---- */
.ft-top { align-items: flex-start; }
.ft-act { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 56px; }
.ft-col { display: grid; gap: 10px; align-content: start; }
.ft-col .ft-lbl { margin-bottom: 2px; }
.ft-act .socials { padding-left: 0; border-left: 0; margin: 0; align-self: start; }
@media (max-width: 900px) { .ft-act { gap: 24px 40px; } }

/* ---- Link360 Suite dropdown: two-column product panel ---- */
.dropdown.suite-dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 540px; min-width: 0; padding: 10px; left: 50%; transform: translate(-50%, 8px); border-radius: 14px; }
.nav-item.has-menu:hover .dropdown.suite-dd, .nav-item.has-menu:focus-within .dropdown.suite-dd { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.dropdown.suite-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.suite-dd li { list-style: none; }
.suite-dd a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.suite-dd .sd-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-alt); color: var(--teal-dark); font-size: 15px; transition: background .2s, color .2s; }
.suite-dd .sd-tx b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.suite-dd .sd-tx small { display: block; margin-top: 3px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.suite-dd a:hover, .suite-dd a.current { background: var(--surface-alt); }
.suite-dd a:hover .sd-ic, .suite-dd a.current .sd-ic { background: var(--teal); color: #fff; }
.suite-dd a:hover .sd-tx b, .suite-dd a.current .sd-tx b { color: var(--teal-dark); }
.suite-dd .sd-foot { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.suite-dd .sd-foot a { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--teal-dark); padding: 10px 12px; }
.suite-dd .sd-foot a i { font-size: 12px; transition: transform .2s; }
.suite-dd .sd-foot a:hover i { transform: translateX(3px); }

/* ---- footer: IIoT Academy link ---- */
.foot-suite .fs-sp { flex: 1; margin: 0; }
.foot-suite a.ft-academy { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; color: #fff; font-weight: 600; border-color: rgba(111,227,227,.45); background: rgba(111,227,227,.07); }
.ft-academy .fa-graduation-cap { color: #6FE3E3; font-size: 13px; }
.ft-academy b { font-weight: 600; }
.ft-academy small { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8FB0C4; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.18); }
.ft-academy .ar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #6FE3E3; color: #071722; font-size: 11px; transition: transform .2s; }
.foot-suite a.ft-academy:hover { border-color: #6FE3E3; background: rgba(111,227,227,.14); }
.foot-suite a.ft-academy:hover .ar { transform: translateX(2px); }
.foot-suite a.ft-academy[aria-current] { background: #0E9C9C; border-color: #0E9C9C; }
.foot-suite a.ft-academy[aria-current] small, .foot-suite a.ft-academy[aria-current] .fa-graduation-cap { color: #fff; }
@media (max-width: 760px) { .foot-suite .fs-sp { flex-basis: 100%; height: 4px; } }
