/* Conductral – conductral.de
   Palette: branding/branding.md (Hawaii Turquoise, Ocean Blue, Sunset, Palm, Sand, Night) */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/GeistVF.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMonoVF.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --turquoise: #1CCAD8;
  --ocean: #0077B6;
  --coral: #FF6F61;
  --palm: #2ECC71;
  --mint: #3DDC97;
  --sand: #F4E9D8;
  --sand-light: #FBF6EE;
  --sky: #00B4D8;
  --sky-light: #48CAE4;
  --sunset: #FF9F1C;
  --lava: #D62828;
  --night: #07223A;
  --night-soft: #0E3355;
  --ink: #0B2A44;
  --ink-soft: #3E5A73;
  --line: rgba(7, 34, 58, 0.10);
  --radius: 20px;
  --shadow-lagoon: 0 18px 40px -24px rgba(0, 119, 182, 0.55);
  --shadow-soft: 0 10px 30px -18px rgba(7, 34, 58, 0.35);
  --wrap: 1180px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.92em; background: rgba(28, 202, 216, 0.14); padding: 0.08em 0.4em; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons & chips */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn--sunset { background: linear-gradient(90deg, var(--sunset), var(--coral)); color: #fff; box-shadow: 0 12px 30px -14px rgba(255, 111, 97, .8); }
.btn--sunset:hover { box-shadow: 0 16px 34px -12px rgba(255, 111, 97, .9); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.btn--glass { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.26); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ocean); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--turquoise); }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.chip--palm { background: rgba(46, 204, 113, .15); color: #1a8f4c; }
.chip--ocean { background: rgba(0, 119, 182, .12); color: var(--ocean); }
.chip--sunset { background: rgba(255, 159, 28, .16); color: #b86a00; }
.chip--lava { background: rgba(214, 40, 40, .12); color: var(--lava); }
.chip--ghost { background: rgba(255,255,255,.08); color: #b9d3e6; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--palm { background: var(--palm); box-shadow: 0 0 0 4px rgba(46,204,113,.18); }
.dot--ocean { background: var(--ocean); }
.dot--sunset { background: var(--sunset); }
.dot--lava { background: var(--lava); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__mark { color: var(--night); }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ocean); }
.nav__cta { display: flex; gap: .6rem; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: .25rem; padding: .5rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.nav__mobile a { padding: .7rem .25rem; font-weight: 500; }
.nav__mobile .btn { justify-content: center; margin-top: .5rem; }
.nav__mobile:not([hidden]) { display: flex; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,159,28,.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(28,202,216,.45), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--night-soft) 45%, var(--ocean) 100%);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 9rem);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute; right: 12%; top: -40px; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFD166, var(--sunset) 55%, var(--coral) 100%);
  filter: blur(3px); opacity: .7; box-shadow: 0 0 140px 50px rgba(255,159,28,.28);
  animation: sunrise 12s ease-in-out infinite alternate;
}
@keyframes sunrise { from { transform: translateY(0); } to { transform: translateY(-18px); } }
.cloud { position: absolute; height: 40px; width: 160px; border-radius: 999px; background: rgba(255,255,255,.10); filter: blur(4px); animation: drift linear infinite; }
.cloud::before { content: ""; position: absolute; left: 30px; top: -22px; width: 70px; height: 70px; border-radius: 50%; background: inherit; }
.cloud--1 { top: 18%; left: -10%; animation-duration: 70s; }
.cloud--2 { top: 40%; left: 30%; width: 220px; animation-duration: 95s; animation-delay: -30s; }
.cloud--3 { top: 8%; left: 55%; width: 120px; animation-duration: 80s; animation-delay: -60s; }
@keyframes drift { from { transform: translateX(-20vw); } to { transform: translateX(120vw); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__copy .eyebrow { color: #bfe9ee; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--turquoise), #9BE7EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: rgba(255,255,255,.86); margin: 1.4rem 0 2rem; max-width: 36rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__facts { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; gap: .15rem; }
.hero__facts strong { font-weight: 650; }
.hero__facts span { font-size: .85rem; color: rgba(255,255,255,.7); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; }
.hero__wave svg { width: 100%; height: 90px; fill: #fff; }

/* App window mock */
.window { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.15); }
.window--float { animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-10px) rotate(.3deg); } }
.window__bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }
.window__dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; background: var(--coral); }
.window__dots i:nth-child(2) { background: var(--sunset); }
.window__dots i:nth-child(3) { background: var(--palm); }
.window__title { font-weight: 600; }
.window__bar .chip { margin-left: auto; }
.window__foot { display: flex; gap: 1.2rem; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-soft); flex-wrap: wrap; }
.window__foot span { display: inline-flex; align-items: center; gap: .4rem; }

.liveflow { position: relative; height: 300px; background: linear-gradient(180deg, #F7FCFD, #EEF8FA); }
.liveflow__edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.liveflow__edges path { fill: none; stroke: url(#edge); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 3s linear infinite; opacity: .8; }
@keyframes dash { to { stroke-dashoffset: -56; } }
.node {
  position: absolute; width: 150px; padding: .55rem .7rem .6rem; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: .78rem; line-height: 1.3;
}
.node b { display: block; font-family: var(--mono); font-weight: 600; font-size: .78rem; }
.node span { color: var(--ink-soft); }
.node::before { content: ""; position: absolute; left: -4px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--palm); }
.node.run::before { background: var(--ocean); }
.node.wait::before { background: var(--sunset); }
.node .bar { position: absolute; left: .7rem; right: .7rem; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(0,119,182,.15); overflow: hidden; }
.node .bar::after { content: ""; position: absolute; inset: 0; width: 71%; background: linear-gradient(90deg, var(--turquoise), var(--ocean)); animation: progress 2.4s ease-in-out infinite alternate; }
@keyframes progress { from { width: 62%; } to { width: 78%; } }
.n1 { left: 3%; top: 8%; }  .n2 { left: 3%; top: 38%; }  .n3 { left: 3%; top: 68%; }
.n4 { left: 38%; top: 38%; } .n5 { right: 3%; top: 18%; } .n6 { right: 3%; top: 58%; }

.toast {
  position: absolute; right: -4%; bottom: 0; width: 300px; display: flex; gap: .7rem; padding: .9rem 1rem;
  background: rgba(7,34,58,.92); color: #fff; border-radius: 16px; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); backdrop-filter: blur(8px); font-size: .82rem;
  animation: toastin 1s .8s both cubic-bezier(.2,.8,.2,1);
}
.toast img { filter: invert(1); opacity: .9; margin-top: .1rem; }
.toast b { display: block; color: var(--turquoise); margin-bottom: .15rem; }
.toast p { color: rgba(255,255,255,.85); }
@keyframes toastin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__visual { position: relative; padding-bottom: 7.5rem; }

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem 0; font-size: .85rem; color: var(--ink-soft); flex-wrap: wrap; }
.strip ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.strip li { position: relative; }
.strip li + li::before { content: "·"; position: absolute; left: -1rem; color: var(--turquoise); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section__head { max-width: 46rem; margin-bottom: 3rem; }
.section__head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; }
.section--night { background: linear-gradient(180deg, var(--night) 0%, var(--night-soft) 100%); color: #fff; }
.section--night .section__head p { color: rgba(255,255,255,.72); }
.section--sand { background: linear-gradient(180deg, var(--sand-light), var(--sand)); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem;
  box-shadow: var(--shadow-lagoon); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(28,202,216,.5); box-shadow: 0 30px 50px -28px rgba(0,119,182,.55); }
.card h3 { margin: 1.1rem 0 .5rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--ocean { background: rgba(0,119,182,.12); color: var(--ocean); }
.icon--turquoise { background: rgba(28,202,216,.16); color: #0d98a3; }
.icon--sunset { background: rgba(255,159,28,.16); color: #d97706; }
.icon--palm { background: rgba(46,204,113,.16); color: #1a8f4c; }

/* Tabs + product panels */
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); margin-bottom: 1.6rem; }
.tab { border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-weight: 600; padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: #fff; }
.tab.is-active { background: linear-gradient(90deg, var(--turquoise), var(--ocean)); color: #fff; box-shadow: 0 8px 20px -10px rgba(28,202,216,.9); }
.panel { display: none; }
.panel.is-active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.app { display: grid; grid-template-columns: 200px 1fr; min-height: 440px; background: #F7FBFC; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.app__side { background: linear-gradient(180deg, var(--turquoise), var(--ocean)); color: #fff; padding: 1.1rem .9rem; display: flex; flex-direction: column; gap: .2rem; }
.app__logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1rem; padding: .3rem .5rem; }
.app__logo img { filter: invert(1); }
.app__side a { padding: .5rem .7rem; border-radius: 10px; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.85); }
.app__side a.is-active { background: rgba(255,255,255,.18); color: #fff; }
.app__main { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.app__main--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: start; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-soft); }
.kpi span { display: block; font-size: .72rem; color: var(--ink-soft); }
.kpi b { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.02em; }
.kpi--palm b { color: #1a8f4c; } .kpi--ocean b { color: var(--ocean); } .kpi--sunset b { color: #d97706; } .kpi--lava b { color: var(--lava); }
.grid { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .85rem; box-shadow: var(--shadow-soft); }
.grid th, .grid td { padding: .6rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.grid th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); background: #FBFDFE; }
.grid tr:last-child td { border-bottom: 0; }
.grid td:first-child { font-family: var(--mono); font-weight: 600; }
.st { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--ok { background: rgba(46,204,113,.14); color: #1a8f4c; }
.st--run { background: rgba(0,119,182,.12); color: var(--ocean); }
.st--run::before { animation: pulse 1.2s ease-in-out infinite; }
.st--wait { background: rgba(7,34,58,.07); color: var(--ink-soft); }
.st--sla { background: rgba(255,159,28,.16); color: #b86a00; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.canvas { position: relative; height: 260px; background: radial-gradient(circle, rgba(7,34,58,.08) 1px, transparent 1px) 0 0/18px 18px, #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; }
.canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas path { fill: none; stroke: var(--ocean); stroke-width: 2; opacity: .6; }
.cnode--end { right: 3%; }
.cnode { position: absolute; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .5rem .7rem; font-family: var(--mono); font-size: .78rem; font-weight: 600; box-shadow: var(--shadow-soft); }
.cnode--sel { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(28,202,216,.25), var(--shadow-soft); }
.tag { display: block; font-family: var(--font); font-style: normal; font-weight: 600; font-size: .66rem; padding: .1rem .45rem; border-radius: 6px; margin-bottom: .3rem; width: max-content; }
.tag--cron { background: rgba(0,119,182,.12); color: var(--ocean); }
.tag--file { background: rgba(46,204,113,.16); color: #1a8f4c; }
.tag--dep { background: rgba(28,202,216,.18); color: #0d98a3; }
.tag--sla { background: rgba(255,159,28,.18); color: #b86a00; }
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.props div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; font-size: .8rem; }
.props span { display: block; color: var(--ink-soft); font-size: .7rem; }
.props b { font-weight: 600; }

.log { display: flex; flex-direction: column; gap: .8rem; }
.log pre { margin: 0; background: var(--night); color: #cfe6f3; padding: 1rem; border-radius: 14px; font-family: var(--mono); font-size: .76rem; line-height: 1.6; overflow: auto; }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--shadow-soft); }
.chat__head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; }
.chat__head .chip { margin-left: auto; background: rgba(7,34,58,.07); color: var(--ink-soft); }
.msg { border-radius: 14px; padding: .7rem .9rem; font-size: .84rem; line-height: 1.5; }
.msg--user { background: rgba(0,119,182,.10); align-self: flex-end; max-width: 90%; }
.msg--ai { background: linear-gradient(180deg, rgba(28,202,216,.10), rgba(28,202,216,.04)); border: 1px solid rgba(28,202,216,.3); }
.msg--ai p + p { margin-top: .5rem; }
.chat__input { border: 1px dashed var(--line); border-radius: 999px; padding: .55rem .9rem; font-size: .82rem; color: var(--ink-soft); }

/* Architecture */
.arch { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.arch__copy p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: rgba(46,204,113,.18); }
.checks li::after { content: ""; position: absolute; left: 6px; top: .62rem; width: 6px; height: 3px; border-left: 2px solid #1a8f4c; border-bottom: 2px solid #1a8f4c; transform: rotate(-45deg); }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; }
.stack span { font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--sand); color: var(--ink); }

.arch__diagram { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.2rem; text-align: center; box-shadow: var(--shadow-lagoon); min-width: 150px; }
.tier b { display: block; font-weight: 650; }
.tier b small { font-family: var(--mono); font-weight: 500; color: var(--ink-soft); margin-left: .3rem; }
.tier span { font-size: .78rem; color: var(--ink-soft); }
.tier--tower { background: linear-gradient(135deg, var(--night), var(--night-soft)); color: #fff; border-color: transparent; min-width: 320px; }
.tier--tower span { color: rgba(255,255,255,.7); }
.tier--tower i { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--turquoise), var(--coral)); }
.tier--server { border-top: 3px solid var(--ocean); }
.tier--lotse { border-top: 3px solid var(--palm); min-width: 120px; padding: .7rem .9rem; }
.tier-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.pipe { width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--turquoise) 0 6px, transparent 6px 12px); animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 0 12px; } }
.pipe--split { width: 60%; height: 30px; background:
  linear-gradient(90deg, transparent calc(50% - 1px), var(--turquoise) calc(50% - 1px), var(--turquoise) calc(50% + 1px), transparent calc(50% + 1px)) top / 100% 50% no-repeat,
  linear-gradient(var(--turquoise), var(--turquoise)) center / 100% 2px no-repeat;
  animation: none; }

/* Migration */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--sunset), var(--coral)); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: .93rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.compare__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.compare__col h4 { font-size: 1rem; margin-bottom: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.compare__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; color: var(--ink-soft); font-size: .95rem; }
.compare__col li { padding-left: 1.4rem; position: relative; }
.compare__col li::before { content: "–"; position: absolute; left: 0; color: var(--coral); }
.compare__col--us { background: linear-gradient(135deg, var(--night), var(--night-soft)); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(7,34,58,.7); }
.compare__col--us h4 { color: var(--turquoise); }
.compare__col--us h4 img { filter: invert(1); }
.compare__col--us ul { color: rgba(255,255,255,.88); }
.compare__col--us li::before { content: "✓"; color: var(--palm); }

/* CTA */
.cta { padding-top: 0; }
.cta__box {
  position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.5rem; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--turquoise) 55%, var(--sunset) 130%);
  box-shadow: 0 40px 80px -40px rgba(0,119,182,.8);
}
.cta__sun { position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #FFD166, var(--coral)); opacity: .55; filter: blur(6px); }
.cta__box > :not(.cta__sun) { position: relative; }
.cta__box .eyebrow { color: rgba(255,255,255,.85); }
.cta__box p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin: .9rem auto 1.8rem; max-width: 34rem; }
.cta__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta__note { font-size: .85rem !important; margin-top: 1.6rem !important; opacity: .85; }
.cta__note a { text-decoration: underline; }

/* Footer */
.footer { background: var(--night); color: rgba(255,255,255,.8); padding: 2.6rem 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2rem; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand img { filter: invert(1); }
.footer__brand b { display: block; color: #fff; }
.footer__brand span { font-size: .85rem; }
.footer__links { display: flex; gap: 1.4rem; font-size: .9rem; }
.footer__links a:hover { color: var(--turquoise); }
.footer__copy { grid-column: 1 / -1; font-size: .8rem; color: rgba(255,255,255,.55); }

/* Legal pages */
.legal { padding: 3.5rem 0 5rem; max-width: 46rem; }
.legal h1 { font-size: 2.2rem; margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: .6rem; }
.legal .todo { background: rgba(255,159,28,.14); border: 1px dashed var(--sunset); border-radius: 12px; padding: .8rem 1rem; color: #7a4a00; font-size: .9rem; margin-bottom: 1.5rem; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal--delay { transition-delay: .15s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 2rem; }
  .toast { right: 0; bottom: -18%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .props { grid-template-columns: repeat(2, 1fr); }
  .app__main--split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav:not(.nav--static) .nav__links, .nav__cta { display: none; }
  .nav--static .nav__inner { flex-wrap: wrap; height: auto; padding: .8rem 0; gap: .5rem 1rem; }
  .nav--static .nav__links { width: 100%; margin-left: 0; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; }
  .nav__burger { display: block; }
  .canvas { height: 220px; }
  .cnode { width: 30%; font-size: .62rem; padding: .35rem .45rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cnode .tag { font-size: .55rem; padding: .05rem .35rem; }
  .cnode--sel { left: 35% !important; }
  .cnode--end { right: 2%; }
  .cards, .steps, .compare { grid-template-columns: 1fr; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app__main { min-width: 0; padding: 1rem; }
  .app__top { flex-wrap: wrap; }
  .grid { font-size: .74rem; table-layout: fixed; }
  .grid th, .grid td { padding: .5rem .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: .55rem .4rem; font-size: .88rem; }
  .app__side { flex-direction: row; flex-wrap: wrap; gap: .3rem; }
  .app__logo { width: 100%; margin-bottom: .3rem; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid th:nth-child(2), .grid td:nth-child(2), .grid th:nth-child(4), .grid td:nth-child(4) { display: none; }
  .liveflow { height: 340px; }
  .node { width: 31%; font-size: .66rem; padding: .45rem .5rem .45rem .7rem; }
  .node b, .node span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .n4 { left: 34.5%; }
  .hero__visual { padding-bottom: 0; }
  .toast { position: static; width: auto; margin-top: 1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__facts { gap: 1.2rem; }
}
