/* Conduit Project Flow — marketing site design system */
:root {
  --ink: #0f1720; --navy: #0e1623; --band1: #15233b; --band2: #0e1828; --band-br: #28354a;
  --top: #131b28; --steel: #93b5da; --steel-mute: #9fb3d4; --blue: #3f8cf4; --deep-blue: #1d4ed8;
  --orange: #e85d04; --orange-600: #cf5104; --orange-tint: #fdf1e9;
  --page: #f4f6f9; --card: #ffffff; --line: #e2e6ec; --line-2: #eef1f5;
  --text: #17212e; --muted: #5b6675; --muted-2: #8a94a3;
  --green: #15803d; --red: #b91c1c; --amber: #b45309;
  --maxw: 1200px; --radius: 12px; --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(16,23,32,.05), 0 10px 30px rgba(16,23,32,.08);
  --shadow-lg: 0 24px 60px rgba(9,15,25,.28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--orange); margin: 0 0 14px; }
.eyebrow.steel { color: var(--steel); }
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #c3cbd6; background: #fff; }
.btn-ondark { background: rgba(255,255,255,.08); color: #eef3f9; border-color: rgba(255,255,255,.18); }
.btn-ondark:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,22,35,.92);
  backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand > span:last-child { font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1; color: #c9cdd3; text-transform: uppercase; }
.brand small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 2.4px;
  color: var(--steel); text-transform: uppercase; margin-top: 2px; }
.rails { display: inline-flex; align-items: flex-end; gap: 2px; }
.rails span { width: 4px; height: 24px; background: var(--steel); }
.rails span:nth-child(2) { height: 30px; background: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: #cdd6e2; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #1b2c47 0%, var(--navy) 55%);
  color: #eaf0f7; padding: 74px 0 80px; border-bottom: 1px solid var(--band-br); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .sub { font-size: 1.24rem; color: var(--steel); margin: 18px 0 0; max-width: 40ch; font-weight: 500; }
.hero .body { color: #b9c6d6; margin: 22px 0 0; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 0; flex-wrap: wrap; }
.hero-media { margin-top: 44px; }
.hero-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center; }
.hero-split .hero-media { margin-top: 0; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 30px; } }

/* media: app-window frame + video/photo placeholders */
.frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--band-br);
  background: #0c1320; box-shadow: var(--shadow-lg); }
.frame .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0f1826;
  border-bottom: 1px solid rgba(255,255,255,.06); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #33415a; display: block; }
.frame img { width: 100%; display: block; }
.on-light .frame { border-color: var(--line); box-shadow: var(--shadow); background: #fff; }
.on-light .frame .bar { background: #f1f3f7; border-color: var(--line-2); }
.on-light .frame .bar i { background: #cfd6e0; }

.slot { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slot img { width: 100%; filter: saturate(.9) brightness(.62); }
.slot .tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(232,93,4,.92); padding: 7px 12px; border-radius: 999px; }
.slot .play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.slot .play::after { content: ""; border-left: 22px solid var(--ink); border-top: 13px solid transparent;
  border-bottom: 13px solid transparent; margin-left: 6px; }
.slot .note { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #dfe7f1;
  font-size: 13px; background: linear-gradient(transparent, rgba(6,11,20,.85)); }
.photo-slot { border: 2px dashed #c2ccd9; border-radius: var(--radius-lg); background: #eef1f6;
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px; color: var(--muted); gap: 10px; }
.photo-slot .pill { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-tint); padding: 6px 12px; border-radius: 999px; }
.photo-slot strong { color: var(--text); font-size: 15px; max-width: 34ch; }

/* sections */
.section { padding: 82px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--navy); color: #dfe7f1; }
.section.dark h2 { color: #fff; }
.section-head { max-width: 62ch; }
.section-head h2 + p { margin-top: 16px; }

/* feature rows (alternating) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 86px; }
.row.flip .col-text { order: 2; }
.row .col-text h2 { margin-bottom: 6px; }
.row .col-text .body { margin-top: 16px; color: var(--muted); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--orange-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e85d04' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
  background-size: 12px; background-position: center; background-repeat: no-repeat; }
.section.dark .checks li { color: #dfe7f1; }
.row .col-text .btn { margin-top: 26px; }

/* value props */
.props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.prop { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.prop h3 { margin-bottom: 8px; }
.prop p { color: var(--muted); font-size: 16px; }

/* feature grid (cards) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.fcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fcard .thumb { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line-2); background: #eef1f6; }
.fcard .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.fcard .body { padding: 20px 22px 24px; }
.fcard h3 { margin-bottom: 7px; }
.fcard p { color: var(--muted); font-size: 15px; }
.fcard .eyebrow { margin-bottom: 10px; }

/* problem band */
.problem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--band1), var(--band2)); color: #eaf0f7;
  border-radius: var(--radius-lg); padding: 54px 56px; text-align: center; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto; }
.cta-band p { color: var(--steel); margin: 16px auto 0; max-width: 52ch; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* footer */
.footer { background: var(--ink); color: #9fb0c4; padding: 60px 0 34px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: #7f90a5; max-width: 34ch; }
.footer h4 { color: #cdd8e6; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: #fff; }
.footer .base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #6d7e93; font-size: 13px; }

/* utilities */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; }

/* responsive */
@media (max-width: 900px) {
  .row, .problem-grid { grid-template-columns: 1fr; gap: 34px; }
  .row.flip .col-text { order: 0; }
  .props, .grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nav-in { flex-wrap: wrap; justify-content: center; height: auto; padding: 11px 0; row-gap: 9px; column-gap: 22px; }
  .nav-links { margin-left: 0; justify-content: center; gap: 22px; font-size: 14px; }
  .nav-cta { justify-content: center; }
  .nav-cta a.nav-links { display: none !important; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 26px; }
}
@media (max-width: 620px) {
  /* phones: a tidy centered stack — brand, then the links, then the demo button */
  .nav-in { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 11px; padding: 12px 0; }
  .nav-links { gap: 26px; }
  .nav-cta .btn-primary { padding: 11px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 60px; }
  .grid { grid-template-columns: 1fr; }
}

/* ===== visual polish pass (v1) ===== */
html { scroll-padding-top: 84px; }
::selection { background: rgba(232, 93, 4, 0.18); }
a { transition: color 0.12s ease; }
.btn { transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(232, 93, 4, 0.22); }
.fcard { transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.15s ease; }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(16, 23, 32, 0.14); border-color: #d4dbe5; }
.prop { transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.15s ease; }
.prop:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 23, 32, 0.1); border-color: #d4dbe5; }
.frame, .slot { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hero-media .frame:hover, .hero-media .slot:hover { transform: translateY(-3px); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.footer a:hover { color: #fff; }
.checks li { line-height: 1.55; }
@media (max-width: 900px) { .nav-links a::after { display: none; } }

/* ===== visual polish pass (v2) ===== */
html { scroll-behavior: smooth; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ===== brand panels (designed visual in place of lifestyle photos) ===== */
.brandpanel { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 300px; padding: 44px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(155deg, #17293f 0%, #0b1626 72%);
  border: 1px solid var(--band-br); box-shadow: var(--shadow-lg); }
.brandpanel::before { content: ""; position: absolute; right: -70px; top: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,93,4,.20), transparent 66%); pointer-events: none; }
.brandpanel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--steel) 0 34%, var(--orange) 34% 66%, var(--steel) 66% 100%); }
.brandpanel .rails-xl { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 26px; position: relative; z-index: 1; }
.brandpanel .rails-xl span { width: 12px; height: 80%; background: var(--steel); }
.brandpanel .rails-xl span:nth-child(2) { height: 100%; background: var(--orange); }
.brandpanel .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--steel); margin: 0 0 14px; position: relative; z-index: 1; }
.brandpanel h3 { color: #fff; font-size: 1.5rem; line-height: 1.2; position: relative; z-index: 1; }
.brandpanel p { color: #a8b6c8; margin-top: 12px; font-size: 15px; max-width: 34ch; position: relative; z-index: 1; }

/* ===== active-page nav indicator ===== */
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav-links a[aria-current="page"] { color: var(--orange); } }

/* ===== image lightbox ===== */
.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw; background: rgba(6,11,20,.88); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: zoom-out; }
.lightbox figcaption { color: #cdd8e6; font-size: 14px; text-align: center; max-width: 74ch; margin: 0 auto; }
.lightbox .lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 24px;
  line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-close:hover { background: rgba(255,255,255,.2); }
body.lb-lock { overflow: hidden; }

/* ===== embedded video player ===== */
.videoembed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--band-br); box-shadow: var(--shadow-lg); background: #0c1320; line-height: 0; }
.videoembed video { width: 100%; height: auto; display: block; }
.on-light .videoembed { border-color: var(--line); box-shadow: var(--shadow); }

/* hero visuals: a 2-column video (home, get-started) or a brand panel (features, who-its-for) */
