/* ==========================================================================
   Avanzza · Sistemas a la medida
   Arquitectura: Superwhisper ("aurora que se disuelve sobre vidrio a medianoche").
   Lienzo negro, una tarjeta aurora en teal como héroe, tarjetas oscuras con
   tinte y el blanco (pergamino) como color de acción dentro de la aurora.
   Depende de site.css (tokens, header, planes, FAQ, cierre, footer).
   ========================================================================== */

:root {
  --tint-1: #e3f0ee;
  --tint-2: #e4e9f3;
  --tint-3: #eeebe7;
  --tint-4: #e8ece3;
  --tint-5: #ece7ee;
  --tint-6: #e1eeef;
  --sol-ink: #1d1c1b;
  --sol-muted: #52504e;
  --sol-edge: rgba(29, 28, 27, 0.1);
  --ui: rgba(29, 28, 27, 0.08);
  --ui-strong: rgba(29, 28, 27, 0.18);
  --bezel: #141516;
}
[data-theme="dark"] {
  --paper: #020303;
  --paper-2: #0b0c0d;
  --ash: #242628;
  --tint-1: #031514;
  --tint-2: #04101a;
  --tint-3: #0f1012;
  --tint-4: #0d110c;
  --tint-5: #110f13;
  --tint-6: #041416;
  --sol-ink: #f3f3f2;
  --sol-muted: #a9acb1;
  --sol-edge: rgba(255, 255, 255, 0.08);
  --ui: rgba(255, 255, 255, 0.07);
  --ui-strong: rgba(255, 255, 255, 0.16);
  --bezel: #1b1d1f;
}

/* --------------------------------------------------------------------------
   1. Hero: aurora card
   -------------------------------------------------------------------------- */
.sw-hero { padding-top: 8px; }
.sw-aurora {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: clamp(640px, calc(100svh - var(--header-h) - 20px), 900px);
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 64px) 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  text-align: center;
  color: #f6f3f1;
  background-color: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.sw-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000000 0%, #010707 16%, #03201f 34%, #0a5553 50%, #139595 64%, #58c9c0 77%, #b4e7de 88%, #efe4cf 100%);
}
.sw-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sw-sky i { position: absolute; border-radius: 50%; filter: blur(50px); }
.sw-sky-a { left: -12%; bottom: 10%; width: 70%; height: 46%; background: radial-gradient(closest-side, rgba(60, 196, 192, 0.55), transparent); }
.sw-sky-b { right: -10%; bottom: 18%; width: 58%; height: 42%; background: radial-gradient(closest-side, rgba(163, 217, 212, 0.45), transparent); }
.sw-sky-c { left: 6%; bottom: -10%; width: 88%; height: 30%; background: radial-gradient(closest-side, rgba(239, 228, 207, 0.7), transparent); }

.sw-hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; max-width: 900px; }
.sw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 241, 0.74);
}
.sw-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background-color: #3cc4c0; box-shadow: 0 0 12px 2px rgba(60, 196, 192, 0.6); }
.sw-title {
  max-width: 10em;
  margin-top: 22px;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #ffffff;
}
.sw-title em { color: #a6ece6; }
.sw-sub { max-width: 50ch; margin-top: 26px; line-height: 1.7; color: rgba(246, 243, 241, 0.8); }
.sw-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: 36px; }
.pill--night {
  color: #f6f3f1;
  background-color: rgba(4, 18, 18, 0.38);
  box-shadow: inset 0 0 0 1px rgba(246, 243, 241, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pill--night:hover { background-color: rgba(4, 18, 18, 0.62); }
.sw-aurora :focus-visible { outline-color: #a6ece6; }
.sw-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(246, 243, 241, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
}
.sw-inline .icon { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); }
.sw-inline:hover { color: #ffffff; }
.sw-inline:hover .icon { transform: translateX(3px); }

/* Silhouettes: a laptop and a phone rising from the horizon */
.sw-silhouette { --ui: rgba(255, 255, 255, 0.05); --ui-strong: rgba(255, 255, 255, 0.09); position: absolute; inset: auto 0 0; z-index: 1; height: 46%; pointer-events: none; }
.sw-laptop { position: absolute; right: -5%; bottom: -16%; width: min(60%, 760px); }
.sw-laptop-screen {
  display: grid;
  grid-template-columns: 17% minmax(0, 1fr);
  gap: 14px;
  aspect-ratio: 16 / 10;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0a0c0c, #040505);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 -40px 90px -30px rgba(0, 0, 0, 0.7);
  transform: perspective(1600px) rotateY(-16deg) rotateX(6deg);
  transform-origin: 80% 100%;
}
.sw-phone { position: absolute; left: 5%; bottom: -24%; width: min(18%, 220px); }
.sw-phone-screen {
  display: grid;
  align-content: start;
  gap: 10px;
  aspect-ratio: 9 / 19;
  padding: 36px 14px 14px;
  border-radius: 34px;
  background: #050606;
  box-shadow: inset 0 0 0 6px #0d0f0f, inset 0 0 0 7px rgba(255, 255, 255, 0.08), 0 -30px 70px -20px rgba(0, 0, 0, 0.65);
  transform: perspective(1200px) rotateY(18deg) rotateZ(-5deg);
}
.sw-phone-screen i { display: block; height: 40px; border-radius: 10px; background-color: var(--ui); }
.sw-phone-screen .sw-ui-pill,
.sw-handset-screen .sw-ui-pill { width: 58%; height: 10px; border-radius: 5px; background-color: rgba(60, 196, 192, 0.5); }
.sw-phone-screen .sw-ui-tab { height: 26px; margin-top: 6px; }

/* Shared faux-UI pieces (hero silhouettes and the device showcase) */
.sw-ui-side { display: grid; align-content: start; gap: 10px; padding-top: 6px; }
.sw-ui-side i { display: block; height: 8px; border-radius: 4px; background-color: var(--ui); }
.sw-ui-side i:first-child { width: 72%; background-color: rgba(60, 196, 192, 0.45); }
.sw-ui-main { display: grid; align-content: start; gap: 14px; min-width: 0; }
.sw-ui-kpis { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 10px; }
.sw-ui-kpis i { display: block; height: 46px; border-radius: 8px; background-color: var(--ui); box-shadow: inset 0 0 0 1px var(--ui); }
.sw-ui-chart { display: block; width: 100%; height: 90px; }
.sw-ui-line { fill: none; stroke: #3cc4c0; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sw-ui-rows { display: grid; gap: 8px; }
.sw-ui-rows i { display: block; height: 10px; border-radius: 5px; background-color: var(--ui); }
.sw-ui-rows i:nth-child(2) { width: 82%; }
.sw-ui-rows i:nth-child(3) { width: 64%; }

/* --------------------------------------------------------------------------
   2. Stack
   -------------------------------------------------------------------------- */
.sw-stack { padding-top: clamp(40px, 6vw, 72px); }
.sw-stack-inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.sw-stack-label { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.sw-stack-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; list-style: none; }
.sw-stack-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); opacity: 0.8; transition: opacity var(--dur-fast) var(--ease-out); }
.sw-stack-list li:hover { opacity: 1; }
.sw-stack-list .logo { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   3. Statement
   -------------------------------------------------------------------------- */
.sw-statement-text {
  max-width: 21ch;
  margin-top: 28px;
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.sw-statement-text em { color: var(--accent-text); }
.sw-word { display: inline-block; }
.sw-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 32px;
  list-style: none;
  box-shadow: inset 0 1px 0 var(--ash);
}
.sw-principles li { display: grid; align-content: start; gap: 10px; }
.sw-principles .icon { width: 22px; height: 22px; margin-bottom: 8px; color: var(--accent-text); }
.sw-principles b { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.sw-principles span { max-width: 32ch; font-size: 14px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   4. Solutions: tinted dark cards on a horizontal rail
   -------------------------------------------------------------------------- */
.sw-solutions { padding-top: max(0px, calc(var(--section-pad) - var(--header-h) - 24px)); }
.sw-solutions-pin { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; min-height: 100svh; padding-block: calc(var(--header-h) + 24px) 40px; overflow: hidden; }
.sw-solutions-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sw-solutions-head h2 { margin-top: 18px; }
.sw-counter { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--graphite); }
.sw-counter b { font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 350; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sw-rail {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scrollbar-width: none;
}
.sw-rail::-webkit-scrollbar { display: none; }
.sw-rail:focus-visible { outline-offset: -4px; }
.sw-sol { scroll-snap-align: start; }
.sw-solutions-pin.is-pinned .sw-rail { overflow: visible; scroll-snap-type: none; }
.sw-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  list-style: none;
}
.sw-sol {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: none;
  width: clamp(300px, 31vw, 430px);
  min-height: clamp(460px, 58vh, 540px);
  overflow: hidden;
  border-radius: 24px;
  color: var(--sol-muted);
  background-color: var(--tint);
  box-shadow: inset 0 0 0 1px var(--sol-edge);
}
.sw-sol-visual { position: relative; display: grid; place-items: center; height: clamp(220px, 30vh, 270px); padding: 24px; overflow: hidden; }
.sw-sol-copy { display: grid; align-content: end; gap: 10px; padding: 8px 28px 28px; }
.sw-sol-num { font-size: 11.5px; letter-spacing: 0.14em; color: var(--accent-text); }
.sw-sol h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 350; line-height: 1.05; letter-spacing: -0.02em; color: var(--sol-ink); }
.sw-sol-copy > p:last-child { font-size: 14px; line-height: 1.65; }
.sw-hprogress { height: 2px; margin-top: 28px; overflow: hidden; border-radius: 2px; background-color: var(--ash); }
.sw-hprogress i { display: block; height: 100%; background-color: var(--accent); transform-origin: left center; transform: scaleX(0); }

.sw-browser { width: 100%; max-width: 320px; overflow: hidden; border-radius: 12px; background-color: var(--paper); box-shadow: 0 0 0 1px var(--sol-edge), 0 24px 48px -30px rgba(0, 0, 0, 0.55); }
.sw-browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; box-shadow: inset 0 -1px 0 var(--sol-edge); }
.sw-browser-bar i { width: 7px; height: 7px; border-radius: 50%; background-color: var(--ui-strong); }
.sw-browser-bar span { margin-left: 8px; font-size: 10px; color: var(--graphite); }
.sw-browser-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px 12px; padding: 16px; }
.sw-sk { display: block; grid-column: 1; height: 10px; border-radius: 5px; background-color: var(--ui-strong); }
.sw-sk--title { height: 14px; }
.sw-sk--short { width: 70%; }
.sw-sk--text { width: 90%; height: 7px; background-color: var(--ui); }
.sw-sk-cta { grid-column: 1; width: 58px; height: 18px; margin-top: 4px; border-radius: 9px; background-color: #139595; }
.sw-sk-img { grid-column: 2; grid-row: 1 / span 4; min-height: 90px; border-radius: 8px; background: linear-gradient(135deg, #139595, #a3d9d4); }
.sw-gauge { position: absolute; right: 22px; bottom: 18px; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background-color: var(--paper); box-shadow: 0 0 0 1px var(--sol-edge), 0 14px 28px -16px rgba(0, 0, 0, 0.6); }
.sw-gauge svg { position: absolute; inset: 6px; transform: rotate(-90deg); }
.sw-gauge circle { fill: none; stroke: var(--ui); stroke-width: 3; }
.sw-gauge .sw-gauge-fill { stroke: #139595; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 8; }
.sw-gauge b { font-size: 8.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }

.sw-mobile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  width: 152px;
  aspect-ratio: 9 / 17;
  margin-top: 70px;
  padding: 16px 10px 10px;
  border-radius: 26px;
  background-color: var(--paper);
  box-shadow: 0 0 0 5px var(--bezel), 0 30px 50px -30px rgba(0, 0, 0, 0.7);
}
.sw-mobile-top { display: flex; align-items: center; justify-content: space-between; }
.sw-mobile-top b { font-family: var(--font-serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.sw-mobile-top i { width: 18px; height: 18px; border-radius: 50%; background-color: var(--ui-strong); }
.sw-mobile-list { display: grid; align-content: start; gap: 6px; }
.sw-mobile-list span { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 7px; border-radius: 8px; background-color: var(--paper-2); }
.sw-mobile-list i { width: 18px; height: 18px; border-radius: 5px; background-color: var(--ui-strong); }
.sw-mobile-list b { height: 6px; border-radius: 3px; background-color: var(--ui-strong); }
.sw-mobile-list em,
.sw-portal-row em { padding: 2px 6px; border-radius: var(--radius-pill); font-size: 8px; font-style: normal; color: var(--graphite); box-shadow: inset 0 0 0 1px var(--ui-strong); }
.sw-mobile-list em.is-go,
.sw-portal-row em.is-go { color: #041212; background-color: #a3d9d4; box-shadow: none; }
.sw-mobile-list em.is-ok,
.sw-portal-row em.is-ok { color: #041212; background-color: #3cc4c0; box-shadow: none; }
.sw-mobile-tabs { display: flex; justify-content: space-around; padding-top: 8px; box-shadow: inset 0 1px 0 var(--ui); }
.sw-mobile-tabs i { width: 16px; height: 4px; border-radius: 2px; background-color: var(--ui-strong); }
.sw-mobile-tabs i.is-on { background-color: #139595; }
.sw-fab { position: absolute; right: 10px; bottom: 42px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #041212; background-color: #139595; box-shadow: 0 8px 16px -8px rgba(19, 149, 149, 0.8); }
.sw-fab .icon { width: 16px; height: 16px; stroke-width: 2; }

.sw-dash { display: grid; gap: 12px; width: 100%; max-width: 320px; padding: 14px; border-radius: 12px; background-color: var(--paper); box-shadow: 0 0 0 1px var(--sol-edge), 0 24px 48px -30px rgba(0, 0, 0, 0.55); }
.sw-dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sw-dash-kpis span { display: grid; gap: 6px; padding: 8px; border-radius: 8px; background-color: var(--paper-2); }
.sw-dash-kpis em { font-size: 8.5px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.sw-dash-kpis b { width: 70%; height: 10px; border-radius: 4px; background-color: var(--ink); opacity: 0.72; }
.sw-dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 8px 4px 0; box-shadow: inset 0 -1px 0 var(--ui); }
.sw-dash-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #3cc4c0, #139595); transform-origin: 50% 100%; }

.sw-portal { display: grid; gap: 8px; width: 100%; max-width: 300px; padding: 16px; border-radius: 12px; background-color: var(--paper); box-shadow: 0 0 0 1px var(--sol-edge), 0 24px 48px -30px rgba(0, 0, 0, 0.55); }
.sw-portal-hi { margin-bottom: 6px; font-family: var(--font-serif); font-size: 18px; color: var(--ink); }
.sw-portal-hi b { font-style: italic; font-weight: 400; }
.sw-portal-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 11px; color: var(--ink); background-color: var(--paper-2); }
.sw-portal-row em { font-size: 9.5px; padding: 3px 8px; }

.sw-nodes { position: relative; width: 100%; max-width: 320px; aspect-ratio: 3 / 2; }
.sw-nodes-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sw-nodes-lines path { fill: none; stroke: var(--ui-strong); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.sw-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink);
  background-color: var(--paper);
  box-shadow: 0 0 0 1px var(--sol-edge);
  transform: translate(-50%, -50%);
}
.sw-node--hub { left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 16px; box-shadow: 0 0 0 1px #139595, 0 0 30px 4px rgba(19, 149, 149, 0.35); }
.sw-node--hub .brand-mark { width: 26px; height: 26px; }

.sw-flow { display: grid; gap: 8px; width: 100%; max-width: 300px; list-style: none; }
.sw-flow li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 30px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 12px; color: var(--ink); background-color: var(--paper); box-shadow: 0 0 0 1px var(--sol-edge); }
.sw-flow .icon { width: 16px; height: 16px; color: var(--accent-text); }
.sw-flow li > i { position: relative; width: 30px; height: 18px; border-radius: var(--radius-pill); background-color: var(--ui-strong); transition: background-color 0.4s var(--ease-out); }
.sw-flow li > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background-color: var(--paper); transition: transform 0.4s var(--ease-out); }
.sw-flow li > i.is-on { background-color: #139595; }
.sw-flow li > i.is-on::after { transform: translateX(12px); }

/* --------------------------------------------------------------------------
   5. Screens
   -------------------------------------------------------------------------- */
.sw-screens-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sw-screens-copy { display: grid; justify-items: start; gap: 24px; }
.sw-screens-copy h2 { max-width: 12ch; }
.sw-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; list-style: none; }
.sw-platforms li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--radius-pill); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ash); }
.sw-platforms .icon { width: 16px; height: 16px; color: var(--accent-text); }
.sw-devices { position: relative; aspect-ratio: 7 / 5; }
.sw-monitor { position: absolute; left: 0; top: 0; width: 78%; }
.sw-monitor-screen { display: grid; grid-template-columns: 16% minmax(0, 1fr); gap: 12px; aspect-ratio: 16 / 10; padding: 16px; border-radius: 14px; background-color: var(--paper-2); box-shadow: 0 0 0 8px var(--bezel), 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.sw-monitor-stand { display: block; width: 22%; height: 34px; margin: 8px auto 0; background-color: var(--bezel); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.sw-tablet { position: absolute; right: 9%; bottom: 2%; width: 33%; }
.sw-tablet-screen { display: grid; align-content: start; gap: 10px; aspect-ratio: 3 / 4; padding: 14px; border-radius: 16px; background-color: var(--paper-2); box-shadow: 0 0 0 7px var(--bezel), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.sw-handset { position: absolute; right: 0; bottom: -4%; width: 16%; }
.sw-handset-screen { display: grid; align-content: start; gap: 8px; aspect-ratio: 9 / 19; padding: 16px 8px 8px; border-radius: 18px; background-color: var(--paper-2); box-shadow: 0 0 0 5px var(--bezel), 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
.sw-tablet .sw-ui-chart { height: 70px; }
.sw-handset .sw-ui-chart { height: 44px; }
.sw-handset .sw-ui-kpis i { height: 34px; }

/* --------------------------------------------------------------------------
   6. Process: waveform timeline
   -------------------------------------------------------------------------- */
.sw-wave { position: relative; height: clamp(90px, 10vw, 140px); margin-top: clamp(3rem, 6vw, 5rem); }
.sw-wave-bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; }
.sw-wave-bars i { flex: 1; min-height: 4px; height: var(--h); border-radius: 3px; background-color: var(--ash); }
.sw-wave-bars--lit i { background: linear-gradient(180deg, #3cc4c0, #139595); }
.sw-wave-bars--lit { clip-path: inset(0 100% 0 0); }
.sw-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; list-style: none; }
.sw-phase { display: grid; align-content: start; gap: 10px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--ash); transition: opacity 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.sw-phases.is-armed .sw-phase { opacity: 0.42; }
.sw-phases.is-armed .sw-phase.is-lit { opacity: 1; box-shadow: inset 0 2px 0 var(--accent); }
.sw-phase-time { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.sw-phase h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 350; line-height: 1.1; letter-spacing: -0.02em; }
.sw-phase p { font-size: 14px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .sw-aurora { min-height: 780px; }
  .sw-silhouette { height: 32%; }
  .sw-laptop { right: -14%; bottom: -24%; width: 82%; }
  .sw-phone { left: 3%; bottom: -30%; width: 24%; }

  .sw-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sw-solutions { padding-top: var(--section-pad); }
  .sw-solutions-pin { min-height: 0; padding-block: 0; }
  .sw-rail { scroll-padding-inline: var(--gutter); }
  .sw-track { padding-inline: var(--gutter); }
  .sw-sol { width: min(82vw, 400px); min-height: 480px; }
  .sw-hprogress { display: none; }

  .sw-screens-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-devices { margin-top: 24px; }

  .sw-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 767px) {
  .sw-hero { padding-top: 4px; }
  .sw-aurora { min-height: 770px; padding: 56px 18px 0; border-radius: 22px; }
  .sw-ctas { flex-direction: column; width: 100%; max-width: 360px; }
  .sw-ctas .pill { width: 100%; }
  .sw-silhouette { height: 21%; }
  .sw-laptop { right: -34%; bottom: -30%; width: 112%; }
  .sw-laptop-screen { padding: 12px; gap: 10px; border-radius: 14px; }
  .sw-phone { left: -2%; bottom: -34%; width: 34%; }
  .sw-phone-screen { padding: 26px 10px 10px; border-radius: 26px; }

  .sw-stack-list { gap: 12px 22px; }
  .sw-stack-list li { font-size: 13px; }

  .sw-principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sw-solutions-head { align-items: flex-start; flex-direction: column; gap: 8px; }

  .sw-phases { grid-template-columns: minmax(0, 1fr); }
  .sw-wave-bars { gap: 2px; }
}

/* --------------------------------------------------------------------------
   8. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sw-wave-bars--lit { clip-path: none; }
  .sw-hprogress i { transform: scaleX(1); }
}

@media (prefers-reduced-transparency: reduce) {
  .pill--night { background-color: #0a2e2d; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (forced-colors: active) {
  .sw-aurora,
  .sw-sol { border: 1px solid CanvasText; }
}

/* --------------------------------------------------------------------------
   9. Liquid glass sprint card over the laptop (always night glass)
   -------------------------------------------------------------------------- */
.sw-glass {
  position: absolute;
  left: 47%;
  top: 9%;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 232px;
  padding: 16px 18px;
  border-radius: 18px;
  text-align: left;
  color: #f6f3f1;
}
.sw-glass-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #a6ece6; }
.sw-glass-title { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.01em; color: #ffffff; }
.sw-glass-bar { height: 4px; margin-top: 4px; overflow: hidden; border-radius: 4px; background-color: rgba(255, 255, 255, 0.18); }
.sw-glass-bar i { display: block; width: 50%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #139595, #a6ece6); transform-origin: left center; }

@media (max-width: 1023px) {
  .sw-glass { display: none; }
}
