:root {
  --navy-950: #051126;
  --navy-900: #07162f;
  --navy-800: #0c2348;
  --blue-600: #145cf1;
  --blue-500: #1f6fff;
  --cyan-400: #19d3e6;
  --cyan-100: #dffbff;
  --ink: #0b1830;
  --muted: #5f6f88;
  --line: #dce6f2;
  --line-dark: rgba(255,255,255,.11);
  --surface: #f5f8fc;
  --white: #fff;
  --radius-sm: .85rem;
  --radius: 1.35rem;
  --radius-lg: 1.8rem;
  --shadow: 0 1.5rem 4rem rgba(7,22,47,.1);
  --shadow-blue: 0 1.4rem 3.5rem rgba(20,92,241,.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: "Aptos", "Segoe UI", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy-900); font-family: "Aptos Display", "Segoe UI", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.045em; }
p { margin: 0; }
.container { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 7.5rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 1000; padding: .7rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(220,230,242,.85); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; }
.brand img, .brand-logo { width: 76px; height: 76px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 1.45rem; }
.main-nav a { color: #43526a; font-size: .88rem; font-weight: 650; text-decoration: none; }
.main-nav > a:not(.button):hover, .main-nav > a[aria-current="page"] { color: var(--blue-600); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy-900); transition: transform .2s, opacity .2s; }

.button { min-height: 52px; padding: .78rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid var(--blue-600); border-radius: .75rem; color: white; background: var(--blue-600); box-shadow: var(--shadow-blue); font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button svg { width: 1.1rem; height: 1.1rem; }
.button:hover { transform: translateY(-2px); background: #0b4dd7; }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.button-small { min-height: 41px; padding: .55rem .95rem; color: white !important; box-shadow: none; }
.button-secondary { color: var(--navy-900); border-color: var(--line); background: white; box-shadow: none; }
.button-secondary:hover { color: var(--blue-600); background: var(--surface); }
.button-light { color: var(--navy-900); border-color: white; background: white; box-shadow: none; }
.button-light:hover { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.eyebrow { margin-bottom: .9rem; color: var(--blue-600); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: var(--cyan-400); }

.hero { position: relative; overflow: hidden; padding: 7.5rem 0 8rem; background: linear-gradient(135deg, #fff 0%, #f6faff 54%, #ecfcff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(20,92,241,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,92,241,.045) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg,transparent 2%,#000 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .96fr 1.04fr; gap: 5rem; align-items: center; }
.hero h1 { max-width: 680px; font-size: clamp(3.4rem, 6vw, 6.1rem); }
.hero h1 span { display: block; color: var(--blue-600); }
.hero-lead { max-width: 650px; margin-top: 1.7rem; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.hero-actions { margin-top: 2.1rem; display: flex; gap: .8rem; align-items: center; }
.hero-proof { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .75rem; color: #66758d; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-400); }

.system-map { position: relative; min-height: 535px; padding: 1.4rem; display: grid; grid-template-columns: minmax(112px,1fr) 168px minmax(112px,1fr); grid-template-rows: 116px 168px 116px; gap: 1.6rem 1rem; align-content: center; align-items: center; justify-items: center; border: 1px solid #d5e4f4; border-radius: 2rem; background: rgba(255,255,255,.76); box-shadow: 0 2.5rem 6rem rgba(7,22,47,.13); }
.system-map::before { content: ""; position: absolute; inset: 1rem; border: 1px solid #e1ebf5; border-radius: 1.45rem; background: radial-gradient(circle at center,rgba(25,211,230,.09),transparent 45%); }
.system-lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.system-node, .system-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.system-node { width: min(134px,100%); min-height: 116px; padding: .8rem; border: 1px solid #dbe6f2; border-radius: 1rem; background: white; box-shadow: 0 .8rem 2rem rgba(7,22,47,.09); }
.system-node small, .system-core small { color: #8493a7; font-size: .64rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.system-node strong { margin-top: .1rem; color: var(--navy-900); font-size: .9rem; }
.system-node em, .system-core em { color: #7a899e; font-size: .67rem; font-style: normal; }
.node-icon { width: 31px; height: 31px; margin-bottom: .35rem; display: grid; place-items: center; color: var(--blue-600); }
.node-icon svg { width: 25px; height: 25px; }
.node-icon img { width: 24px; height: 24px; }
.node-client { grid-column: 1; grid-row: 2; }
.node-channel { grid-column: 2; grid-row: 1; }
.node-intelligence { grid-column: 3; grid-row: 2; }
.node-tools { grid-column: 2; grid-row: 3; }
.system-core { grid-column: 2; grid-row: 2; width: 168px; height: 168px; padding: 1rem; border: 1px solid rgba(25,211,230,.35); border-radius: 50%; color: white; background: var(--navy-900); box-shadow: 0 1.6rem 3.5rem rgba(7,22,47,.27), inset 0 0 0 .5rem rgba(255,255,255,.025); }
.system-core .core-logo { width: 104px; height: 104px; margin: -.5rem 0 -.45rem; object-fit: contain; }
.system-core strong { color: white; font-size: 1.08rem; }
.system-core small { color: var(--cyan-400); }
.system-core em { color: #9eb1c9; }
.core-orbit { position: absolute; inset: -.9rem; border: 1px dashed rgba(20,92,241,.35); border-radius: 50%; animation: orbit 24s linear infinite; }
.core-orbit::before { content: ""; position: absolute; top: 47%; left: -.27rem; width: .48rem; height: .48rem; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 1rem var(--cyan-400); }
.map-status { position: absolute; right: 1.6rem; bottom: 1.3rem; display: flex; align-items: center; gap: .45rem; color: #718198; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.map-status span { width: 6px; height: 6px; border-radius: 50%; background: #29c787; box-shadow: 0 0 0 4px rgba(41,199,135,.12); }
@keyframes orbit { to { transform: rotate(360deg); } }

.section-heading { margin-bottom: 3.6rem; display: grid; grid-template-columns: 1.1fr .7fr; gap: 6rem; align-items: end; }
.section-heading h2 { font-size: clamp(2.35rem, 4.3vw, 4rem); }
.section-heading > p { max-width: 500px; color: var(--muted); }
.solutions-section { background: var(--surface); }
.solutions-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.solution-card { position: relative; min-height: 300px; padding: 2.1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: transform .25s, box-shadow .25s; }
.solution-card:hover { z-index: 1; transform: translateY(-5px); box-shadow: var(--shadow); }
.solution-card > span { position: absolute; top: 2rem; right: 2rem; color: #91a0b5; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #d9e7fb; border-radius: .85rem; color: var(--blue-600); background: #eff5ff; }
.feature-icon svg { width: 25px; height: 25px; }
.solution-card .feature-icon { margin-bottom: 3rem; }
.solution-card h3 { margin-bottom: .8rem; font-size: 1.35rem; letter-spacing: -.025em; }
.solution-card p { color: var(--muted); }

.process-section { position: relative; overflow: hidden; color: white; background: var(--navy-950); }
.process-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0,rgba(20,92,241,.24),transparent 40%); }
.heading-light { position: relative; }
.heading-light h2 { color: white; }
.heading-light > p { color: #a8b9cf; }
.process-visual { position: relative; padding: 3rem 1rem 1rem; }
.process-line { position: absolute; top: 4.55rem; left: 3.5%; width: 93%; height: 70px; opacity: .65; }
.process-steps { position: relative; z-index: 1; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6,1fr); gap: 1.2rem; list-style: none; }
.process-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-number { margin-bottom: .55rem; color: #7189aa; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.process-icon { width: 64px; height: 64px; margin-bottom: 1.25rem; display: grid; place-items: center; border: 1px solid rgba(25,211,230,.28); border-radius: 1rem; color: var(--cyan-400); background: var(--navy-900); box-shadow: 0 0 0 .45rem var(--navy-950); }
.process-icon svg { width: 27px; height: 27px; }
.process-steps strong { max-width: 150px; color: white; font-size: .91rem; line-height: 1.3; }
.process-steps small { max-width: 145px; margin-top: .35rem; color: #788da9; font-size: .72rem; line-height: 1.4; }

.integrations-section { background: white; }
.integrations-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 6rem; align-items: center; }
.integrations-copy h2 { font-size: clamp(2.35rem,4vw,3.8rem); }
.integrations-copy > p:not(.eyebrow) { margin-top: 1.4rem; color: var(--muted); }
.integrations-copy .brand-note { padding-left: 1rem; border-left: 2px solid var(--cyan-400); font-size: .78rem; line-height: 1.55; }
.brand-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; }
.brand-grid article { min-height: 112px; padding: 1.15rem; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: 1fr 1fr; column-gap: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); transition: border-color .2s, transform .2s; }
.brand-grid article:hover { transform: translateY(-3px); border-color: #b9cef0; }
.brand-badge { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; align-self: center; border-radius: .8rem; background: white; box-shadow: 0 .4rem 1.2rem rgba(7,22,47,.08); }
.brand-badge img, .brand-badge svg { width: 24px; height: 24px; }
.brand-badge.whatsapp img { filter: invert(61%) sepia(84%) saturate(444%) hue-rotate(89deg) brightness(89%); }
.brand-badge.calendar img { filter: invert(42%) sepia(87%) saturate(2025%) hue-rotate(205deg) brightness(100%); }
.brand-badge.sheets img { filter: invert(44%) sepia(81%) saturate(485%) hue-rotate(94deg) brightness(86%); }
.brand-badge.n8n img { filter: invert(48%) sepia(88%) saturate(2413%) hue-rotate(334deg) brightness(104%); }
.brand-badge.ai { color: var(--blue-600); }
.brand-badge.payments { color: #7b46e8; }
.brand-grid strong { align-self: end; color: var(--navy-900); font-size: .92rem; }
.brand-grid small { color: #7c8ba0; font-size: .73rem; }

.use-cases-section { background: var(--surface); }
.use-cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.use-card { min-height: 235px; padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.use-card img { width: 28px; height: 28px; margin-bottom: 2.6rem; color: var(--blue-600); filter: invert(31%) sepia(99%) saturate(2382%) hue-rotate(218deg) brightness(97%); }
.use-card h3 { margin-bottom: .7rem; font-size: 1.18rem; letter-spacing: -.02em; }
.use-card p { color: var(--muted); font-size: .93rem; }

.current-demo-section { padding-top: 2rem; background: white; }
.demo-showcase { position: relative; overflow: hidden; padding: 4.5rem; display: grid; grid-template-columns: 150px 1fr; gap: 2.75rem 3rem; color: white; border-radius: var(--radius-lg); background: linear-gradient(135deg,#0b3f9c,#082a64 60%,#06172f); box-shadow: 0 2.5rem 6rem rgba(8,42,100,.22); }
.demo-showcase::after { content: ""; position: absolute; width: 32rem; height: 32rem; right: -10rem; bottom: -14rem; border: 1px solid rgba(25,211,230,.2); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(25,211,230,.035),0 0 0 8rem rgba(25,211,230,.025); pointer-events: none; }
.demo-label { position: relative; z-index: 1; height: max-content; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.25); display: grid; }
.demo-label span { font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.demo-label small { color: #8eacd2; }
.demo-showcase-copy { position: relative; z-index: 1; max-width: 720px; }
.demo-showcase h2 { color: white; font-size: clamp(2.6rem,5vw,4.6rem); }
.demo-showcase-copy > p:not(.eyebrow) { margin-top: 1.35rem; color: #b8cae1; }
.demo-showcase-copy > strong { margin: 1.3rem 0 2rem; display: block; color: #dffcff; font-size: 1.05rem; }
.demo-mini-map { position: relative; z-index: 2; grid-column: 1 / -1; width: 100%; display: flex; align-items: center; }
.demo-mini-map div { flex: 0 0 auto; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.15); border-radius: .75rem; background: rgba(255,255,255,.06); }
.demo-mini-map span { margin-right: 1rem; color: #d9e9fb; font-size: .75rem; }
.demo-mini-map b { color: var(--cyan-400); font-size: .66rem; }
.demo-mini-map i { height: 1px; flex: 1; background: repeating-linear-gradient(90deg,rgba(25,211,230,.5) 0 6px,transparent 6px 12px); }

.contact-section { padding-top: 1rem; }
.contact-panel { padding: 4rem; display: grid; grid-template-columns: 1fr .7fr; gap: 6rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg,#f7faff,#effcff); }
.contact-panel h2 { font-size: clamp(2.3rem,4vw,3.8rem); }
.contact-panel > div:last-child p { color: var(--muted); }
.contact-panel > div:last-child::after { content: "Solicita el canal oficial al representante de SP Flow con quien estás coordinando."; display: block; margin-top: 1rem; color: var(--blue-600); font-weight: 700; }

.demo-bar { min-height: 36px; padding: .38rem 1rem; display: flex; align-items: center; justify-content: center; gap: .55rem; color: #c7faff; background: var(--navy-950); font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-align: center; }
.demo-bar svg { width: 16px; height: 16px; color: var(--cyan-400); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(25,211,230,.12); }
.demo-hero { position: relative; overflow: hidden; padding: 7rem 0; color: white; background: var(--navy-950); }
.demo-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 28%,rgba(20,92,241,.3),transparent 32%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: auto,55px 55px,55px 55px; }
.demo-hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5.5rem; align-items: center; }
.demo-kicker { margin-bottom: 1.7rem; padding: .38rem .72rem; display: inline-flex; border: 1px solid rgba(25,211,230,.35); border-radius: 999px; color: #c5faff; background: rgba(25,211,230,.08); font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.demo-hero h1 { color: white; font-size: clamp(3.3rem,5.7vw,5.7rem); }
.demo-hero-copy > p:not(.eyebrow) { margin-top: 1.5rem; color: #adbed4; font-size: 1.08rem; }
.demo-warning { margin: 1.6rem 0 1.8rem; padding: 1rem; display: grid; grid-template-columns: 37px 1fr; gap: .85rem; border: 1px solid rgba(25,211,230,.18); border-radius: .85rem; background: rgba(25,211,230,.06); }
.demo-warning svg { width: 29px; height: 29px; color: var(--cyan-400); }
.demo-warning strong, .demo-warning span { display: block; }
.demo-warning strong { color: white; font-size: .9rem; }
.demo-warning span { color: #9fb4ce; font-size: .78rem; }
.demo-terminal { padding: 1.2rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1.4rem; background: #091c37; box-shadow: 0 2.5rem 5rem rgba(0,0,0,.3); }
.terminal-head { padding: 0 .2rem 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: #8298b4; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.terminal-head > div { display: flex; gap: .35rem; }
.terminal-head > div span { width: 7px; height: 7px; border-radius: 50%; background: #29415f; }
.terminal-head > div span:nth-child(2) { background: #2561ad; }
.terminal-head > div span:nth-child(3) { background: #1bbaa0; }
.terminal-head b { justify-self: end; color: var(--cyan-400); font-size: .62rem; }
.terminal-body { padding: 1.4rem; border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; background: var(--navy-950); }
.chat-row { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.chat-row .avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: .65rem; color: #9fb6d2; background: #142a49; }
.chat-row .avatar svg, .chat-row .avatar img { width: 22px; height: 22px; object-fit: contain; }
.chat-row .avatar .avatar-logo { width: 32px; height: 32px; }
.chat-row small { color: #7187a4; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.chat-row p { margin-top: .25rem; padding: .75rem .9rem; border-radius: .75rem; color: #d7e4f3; background: #132b4a; font-size: .86rem; }
.flow-chat { margin-left: 3rem; }
.flow-chat .avatar { background: rgba(25,211,230,.09); }
.flow-chat p { color: #06343d; background: #bef7ff; }
.terminal-event { margin: .8rem 0; display: flex; align-items: center; gap: .7rem; color: #637997; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.terminal-event i { height: 1px; flex: 1; background: rgba(255,255,255,.08); }
.terminal-actions { margin: 1rem 0 0 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.terminal-actions span { padding: .65rem; border: 1px solid rgba(25,211,230,.14); border-radius: .55rem; color: #7088a6; background: rgba(25,211,230,.04); font-size: .67rem; }
.terminal-actions b { display: block; color: #c8faff; font-size: .8rem; }
.terminal-foot { padding: .9rem .3rem 0; display: flex; justify-content: space-between; color: #58708d; font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; }
.terminal-foot > span:first-child { display: flex; align-items: center; gap: .4rem; }
.terminal-foot i { width: 6px; height: 6px; border-radius: 50%; background: #2bc78b; }

.demo-flow-section { background: var(--surface); }
.demo-flow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.demo-flow li { position: relative; min-height: 205px; padding: 1.6rem; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.demo-flow li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -10px; top: 50%; width: 18px; height: 18px; border-top: 1px solid #a6bde0; border-right: 1px solid #a6bde0; background: white; transform: translateY(-50%) rotate(45deg); }
.demo-flow .flow-index { position: absolute; top: 1.1rem; right: 1.2rem; color: #9aabc0; font-size: .65rem; font-weight: 800; }
.flow-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: .85rem; color: var(--blue-600); background: #edf4ff; }
.flow-icon svg, .flow-icon img { width: 26px; height: 26px; }
.flow-icon.brand-flow img { filter: invert(61%) sepia(84%) saturate(444%) hue-rotate(89deg) brightness(89%); }
.demo-flow small { color: #8796aa; font-size: .63rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.demo-flow strong { display: block; color: var(--navy-900); font-size: 1rem; }
.demo-flow p { color: var(--muted); font-size: .82rem; }
.demo-flow li:last-child { grid-column: 2; }
.salon-case-section { background: white; }
.salon-case-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; align-items: start; }
.salon-case-copy { position: sticky; top: 120px; }
.salon-case-copy h2 { font-size: clamp(2.4rem,4vw,3.8rem); }
.salon-case-copy > p:not(.eyebrow) { margin-top: 1.3rem; color: var(--muted); }
.adaptable-note { margin-top: 2rem; padding: 1.2rem; display: grid; grid-template-columns: 40px 1fr; gap: .85rem; border: 1px solid #cde6f1; border-radius: .9rem; background: #effcff; }
.adaptable-note svg { width: 28px; height: 28px; color: var(--blue-600); }
.adaptable-note span { color: #52627a; font-size: .86rem; }
.adaptable-note strong { display: block; color: var(--navy-900); }
.salon-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.salon-steps li { padding: 1.15rem .4rem; display: grid; grid-template-columns: 60px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.salon-steps span { color: var(--blue-600); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.salon-steps p { color: #3d4d65; font-weight: 600; }
.demo-safety-section { background: var(--surface); }
.safety-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.safety-card { padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.safety-card .feature-icon { margin-bottom: 2rem; }
.safety-card h3 { margin-bottom: .7rem; font-size: 1.2rem; }
.safety-card p { color: var(--muted); font-size: .9rem; }

.cta-section { padding: 2rem 0 6rem; }
.cta-panel { padding: 5rem; border-radius: var(--radius-lg); color: white; text-align: center; background: linear-gradient(130deg,#145cf1,#08398d 62%,#061b3b); box-shadow: 0 2rem 5rem rgba(8,57,141,.22); }
.cta-panel h2 { color: white; font-size: clamp(2.5rem,5vw,4.4rem); }
.cta-panel > p:not(.eyebrow) { max-width: 660px; margin: 1.3rem auto 2rem; color: #c6d8f1; }
.site-footer { padding: 4rem 0; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; align-items: end; gap: 3rem; }
.footer-grid .footer-logo { width: 150px; height: 150px; object-fit: contain; }
.footer-grid > div p { margin-top: .7rem; color: var(--muted); font-size: .88rem; }
.footer-grid nav { display: grid; gap: .38rem; }
.footer-grid a { color: #45546c; font-size: .84rem; text-decoration: none; }
.footer-grid a:hover { color: var(--blue-600); }
.copyright { color: #7a899d; font-size: .78rem; text-align: right; }

.legal-hero { padding: 6.5rem 0 5rem; background: linear-gradient(135deg,#f4f8fd,#eefcff); }
.legal-width { max-width: 840px; }
.legal-hero h1 { font-size: clamp(3rem,6vw,5rem); }
.legal-hero .legal-width > p:not(.eyebrow) { max-width: 680px; margin-top: 1.25rem; color: var(--muted); font-size: 1.12rem; }
.legal-meta { margin-top: 2rem; display: flex; gap: 1rem; color: #718198; font-size: .82rem; }
.legal-meta strong { color: var(--navy-900); }
.legal-body { padding: 5rem 0 7rem; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,720px); justify-content: center; gap: 5rem; }
.legal-aside { position: sticky; top: 110px; height: max-content; display: grid; gap: .55rem; }
.legal-aside strong { margin-bottom: .4rem; }
.legal-aside a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.legal-aside a:hover { color: var(--blue-600); }
.legal-content section { padding: 2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 105px; }
.legal-content section:first-of-type { padding-top: 1rem; }
.legal-content h2 { margin-bottom: .85rem; font-size: 1.4rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #52627a; }
.legal-content p + p { margin-top: 1rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--blue-600); font-weight: 650; }
.legal-callout { margin-bottom: 1.5rem; padding: 1.4rem; border-radius: .9rem; color: #40516a; background: var(--cyan-100); }
.legal-callout strong { color: #087e8d; }
.legal-callout p { margin-top: .3rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease,transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .core-orbit { animation: none; }
}

@media (max-width: 1040px) {
  .main-nav { gap: .9rem; }
  .main-nav a { font-size: .8rem; }
  .hero-grid, .demo-hero-grid { gap: 3rem; }
  .system-map { min-height: 520px; grid-template-columns: minmax(108px,1fr) 156px minmax(108px,1fr); }
  .system-core { width: 156px; height: 156px; }
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(3,1fr); row-gap: 3rem; }
  .process-line { display: none; }
  .integrations-layout { gap: 3.5rem; }
}

@media (max-width: 860px) {
  .section { padding: 5.5rem 0; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.4rem; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; gap: .1rem; background: white; box-shadow: 0 1.5rem 2rem rgba(7,22,47,.1); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: .65rem .75rem; font-size: .9rem; }
  .main-nav .button { margin-top: .5rem; }
  .hero { padding: 5.5rem 0; }
  .hero-grid, .demo-hero-grid, .integrations-layout, .salon-case-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .system-map { width: min(600px,100%); min-height: 535px; margin-inline: auto; grid-template-columns: minmax(112px,1fr) 168px minmax(112px,1fr); }
  .system-core { width: 168px; height: 168px; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .integrations-copy { max-width: 650px; }
  .use-cases-grid { grid-template-columns: repeat(2,1fr); }
  .demo-showcase { padding: 3.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .demo-label { width: 150px; }
  .demo-mini-map { margin-top: .5rem; }
  .demo-hero-copy { text-align: center; }
  .demo-warning { text-align: left; }
  .demo-terminal { width: min(620px,100%); margin-inline: auto; }
  .demo-flow { grid-template-columns: repeat(2,1fr); }
  .demo-flow li:last-child { grid-column: auto; }
  .salon-case-copy { position: static; }
  .safety-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-aside { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); grid-template-columns: repeat(3,auto); }
  .legal-aside strong { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 1.5rem,1180px); }
  .brand img, .brand-logo { width: 66px; height: 66px; }
  .nav-wrap { min-height: 76px; }
  .demo-bar { font-size: .65rem; line-height: 1.35; }
  .hero h1, .demo-hero h1 { font-size: clamp(2.75rem,14vw,4.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { flex-wrap: wrap; }
  .system-map { min-height: auto; padding: 1.5rem; grid-template-columns: 1fr; grid-template-rows: none; gap: 1.35rem; }
  .system-lines { display: none; }
  .system-map::after { content: ""; position: absolute; z-index: 0; top: 3rem; bottom: 3rem; left: 50%; width: 1px; background: repeating-linear-gradient(to bottom,#7fcfde 0 7px,transparent 7px 14px); }
  .system-node, .system-core { grid-column: 1; grid-row: auto; }
  .system-node { width: min(240px,85%); min-height: 108px; }
  .system-core { width: 156px; height: 156px; }
  .map-status { display: none; }
  .solutions-grid, .brand-grid, .use-cases-grid, .process-steps, .demo-flow { grid-template-columns: 1fr; }
  .solution-card { min-height: 270px; }
  .process-visual { padding-inline: 0; }
  .process-steps { position: relative; gap: 0; }
  .process-steps::before { content: ""; position: absolute; top: 2rem; bottom: 2rem; left: 31px; width: 1px; background: repeating-linear-gradient(to bottom,rgba(25,211,230,.45) 0 7px,transparent 7px 14px); }
  .process-steps li { position: relative; min-height: 105px; display: grid; grid-template-columns: 26px 64px 1fr; column-gap: .75rem; text-align: left; }
  .process-number { align-self: center; }
  .process-icon { margin: 0; }
  .process-steps strong, .process-steps small { grid-column: 3; max-width: none; }
  .process-steps strong { align-self: end; }
  .process-steps small { align-self: start; }
  .demo-showcase { padding: 2.4rem 1.3rem; }
  .demo-mini-map { display: grid; grid-template-columns: 1fr; gap: .4rem; }
  .demo-mini-map i { width: 1px; height: .5rem; margin-left: 2rem; }
  .demo-mini-map div { display: flex; justify-content: space-between; }
  .contact-panel, .cta-panel { padding: 2.5rem 1.25rem; gap: 1.5rem; }
  .terminal-head small { display: none; }
  .terminal-head { grid-template-columns: 1fr 1fr; }
  .flow-chat, .terminal-actions { margin-left: 0; }
  .terminal-actions { grid-template-columns: 1fr; }
  .demo-flow li { min-height: 165px; }
  .demo-flow li::after { display: none; }
  .legal-hero { padding: 4.5rem 0 3.5rem; }
  .legal-aside { grid-template-columns: repeat(2,auto); }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}
