/* Sky Web Design — home draft 2: "The stack, assembled".
   Site tokens: Klarheit Plakat headings, Geist body, Sky blue #2E5BFF.
   Dark only (decided 10 Oct 2026). Loaded only on the new site (Skyweb_Site). */

@font-face { font-family: "Klarheit Plakat"; font-weight: 400 700; font-display: swap; src: url("/wp-content/uploads/2026/06/klarheit-plakat-800.otf") format("opentype"); }
@font-face { font-family: "Klarheit Plakat"; font-weight: 800; font-display: swap; src: url("/wp-content/uploads/2026/06/klarheit-plakat-900.otf") format("opentype"); }

:root {
  --sw-bg: #0B0B0C;
  --sw-surface: #141417;
  --sw-soft: #1B1B1F;
  --sw-line: #26262B;
  --sw-ink: #F2EFE9;
  --sw-muted: #A8A59F;
  --sw-blue: #4A72FF;
  --sw-glow: rgba(74, 114, 255, .28);
  --sw-plate-edge: rgba(255, 255, 255, .14);
  --sw-font-head: "Klarheit Plakat", "Geist", sans-serif;
  --sw-font-body: "Geist", system-ui, sans-serif;
  --sw-font-mono: "Geist Mono", ui-monospace, monospace;
  --sw-max: 1320px;
}



*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; background: var(--sw-bg); color: var(--sw-ink); font: 400 16px/1.6 var(--sw-font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--sw-font-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }

/* -------------------------------- buttons ------------------------------- */

.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.sw-btn:hover { transform: translateY(-1px); }
.sw-btn--solid { background: var(--sw-ink); color: var(--sw-bg); }
.sw-btn--ghost { border: 1px solid var(--sw-line); }
.sw-btn--ghost:hover { border-color: var(--sw-muted); }

/* -------------------------------- header -------------------------------- */

.sw-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--sw-max)) / 2 + 24px));
  background: color-mix(in srgb, var(--sw-bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.sw-header__logo img { width: 146px; }
.sw-header__nav { display: flex; gap: 4px; margin: 0 auto; }
.sw-header__nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--sw-muted); }
.sw-header__nav a:hover { color: var(--sw-ink); background: var(--sw-soft); }
.sw-header__end { display: flex; align-items: center; gap: 10px; }
.sw-header .sw-btn { min-height: 44px; }
body.admin-bar .sw-header { top: 32px; }

/* WordPress / Elementor context: our tokens win over the kit and the old
   theme's variables, which the kept widgets still read. */
body.sw-site {
  --skyweb-page-bg-color: var(--sw-bg);
  --skyweb-surface-color: #131316;
  --skyweb-dark-color: #F2EFE9;
  --skyweb-primary-color: #4A72FF;
  --skyweb-text-color: #A8A59F;
  --skyweb-muted-color: #6E6B66;
  --skyweb-heading-font-family: var(--sw-font-head);
  --skyweb-body-font-family: var(--sw-font-body);
  background: var(--sw-bg);
  color: var(--sw-ink);
  font-family: var(--sw-font-body);
}
body.sw-site .site-main, body.sw-site main#content { max-width: none; padding: 0; margin: 0; }
body.sw-site .elementor-element.e-con.sw-wide { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --content-width: 100%; }

/* Hero rating strip (kept from the current site). */
.sw-rating-strip { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--sw-muted); font-size: 14px; }
.sw-hero .sw-rating-strip img { width: auto; max-width: 120px; height: 32px; object-fit: contain; }
.sw-rating-strip span { display: grid; gap: 4px; white-space: nowrap; }
.sw-rating-strip i { color: #F5A524; font-style: normal; font-size: 17px; letter-spacing: .08em; line-height: 1; }

@media (max-width: 760px) {
  .sw-rating-strip span { white-space: normal; }
}

/* Elementor's ".elementor img { height: auto }" outranks single-class rules:
   restate the image sizes that depend on a fixed height. */
body.sw-site .sw-server img { height: 600px; }
body.sw-site .sw-plate img,
body.sw-site .sw-mini-phone img,
body.sw-site .sw-phone__frame img,
body.sw-site .sw-compare img { height: 100%; }
@media (max-width: 760px) {
  body.sw-site .sw-server img { height: 520px; }
}

/* Kept sections between the layers: logo marquee, portfolio, reviews. */
.sw-keep { max-width: var(--sw-max); margin: 0 auto; padding: 0 24px; }
.sw-keep--logos { padding-top: 32px; }
.sw-keep--reviews { padding-top: 40px; }
.sw-proof--bare + * { margin-top: 0; }

/* Dropdowns (desktop). */
.sw-menu { position: relative; }
.sw-menu__top { display: inline-flex; align-items: center; gap: 6px; }
.sw-menu__top i { width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .7; }
.sw-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  display: grid;
  min-width: 250px;
  padding: 8px;
  border-radius: 16px;
  background: var(--sw-surface);
  box-shadow: 0 0 0 1px var(--sw-line), 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.sw-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sw-menu:hover .sw-menu__panel,
.sw-menu:focus-within .sw-menu__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sw-header__nav .sw-menu__panel a { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--sw-ink); }
.sw-header__nav .sw-menu__panel a:hover { background: var(--sw-soft); }
.sw-header__nav .sw-menu__panel a.sw-menu__all { margin-top: 4px; border-top: 1px solid var(--sw-line); border-radius: 0 0 10px 10px; color: #93A9FF; font-weight: 600; }

/* Phone / tablet menu. */
.sw-burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--sw-soft); cursor: pointer; }
.sw-burger i { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--sw-ink); transition: transform .25s ease; }
.sw-burger[aria-expanded="true"] i:first-child { transform: translateY(3.3px) rotate(45deg); }
.sw-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.sw-drawer { position: fixed; inset: 0; z-index: 19; display: flex; flex-direction: column; gap: 24px; padding: 96px 20px 32px; overflow-y: auto; background: var(--sw-bg); }
.sw-drawer[hidden] { display: none; }
.sw-drawer nav { display: grid; }
.sw-drawer summary, .sw-drawer__top { display: block; padding: 16px 4px; border-bottom: 1px solid var(--sw-line); font-family: var(--sw-font-head); font-size: 26px; list-style: none; cursor: pointer; }
.sw-drawer summary::-webkit-details-marker { display: none; }
.sw-drawer details a { display: block; padding: 10px 4px 10px 16px; color: var(--sw-muted); font-size: 16px; }
.sw-drawer details[open] summary { color: #93A9FF; }
.sw-drawer .sw-btn { align-self: stretch; }
html.sw-locked, html.sw-locked body { overflow: hidden; }

@media (max-width: 1100px) {
  .sw-burger { display: block; }
}
@media (max-width: 782px) {
  body.admin-bar .sw-header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .sw-header { top: 0; }
}

/* ------------------------------ hero / pin ------------------------------ */

.sw-hero { position: relative; height: 560vh; }

/* Not scrubbed (tablet/phone): ease the highlight between layers. */
.sw-stage:not(.is-scrub) .sw-plate::before,
.sw-stage:not(.is-scrub) .sw-plate::after { transition: opacity .6s ease; }

/* ---- desktop scroll story (app.js drives --intro / per-panel --w) ---- */
.sw-hero__copy,
.sw-story { transition: none; }
.sw-hero__copy {
  opacity: calc(1 - var(--intro, 0));
  transform: translate3d(0, calc(var(--intro, 0) * -60px), 0);
  pointer-events: var(--intro-pe, auto);
}
.sw-story { display: none; }

@media (min-width: 1101px) {
  .sw-hero__now { display: none !important; }
  .sw-story {
    position: relative;
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    height: 420px;
    padding-left: 44px;
    opacity: var(--intro, 0);
    pointer-events: none;
  }
  .sw-hero__copy { grid-row: 1 / span 2; align-self: center; }

  /* Five steps of a real sequence: a rail with a fill. */
  .sw-story__rail { position: absolute; left: 0; top: 8px; bottom: 8px; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
  .sw-story__rail li { position: relative; width: 3px; border-radius: 3px; background: var(--sw-line); overflow: hidden; }
  .sw-story__rail li::after { content: ""; position: absolute; inset: 0; background: var(--sw-blue); transform: scaleY(var(--f, 0)); transform-origin: top; }

  .sw-story__panel {
    position: absolute;
    left: 44px;
    right: 0;
    top: 50%;
    opacity: var(--w, 0);
    transform: translate3d(0, calc(-50% + (1 - var(--w, 0)) * var(--dir, 1) * 46px), 0);
    will-change: opacity, transform;
  }
  .sw-story__panel.is-active { pointer-events: auto; }
  .sw-story__n { display: block; margin-bottom: 14px; color: var(--sw-blue); font-family: var(--sw-font-mono); font-size: 15px; letter-spacing: .04em; }
  .sw-story__n { color: #93A9FF; }
  .sw-story__panel h2 { font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -0.035em; }
  .sw-story__panel p { max-width: 24em; margin: 20px 0 0; color: var(--sw-muted); font-size: 18px; }
  .sw-story__proof { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 16px; border-radius: 999px; background: color-mix(in srgb, var(--sw-blue) 14%, transparent); color: var(--sw-ink); font-size: 15px; font-weight: 600; }
  .sw-story__proof::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2FB27B; }
  .sw-story__panel--end .sw-btn { margin-top: 28px; }
}

.sw-hero__pin {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 24px;
  max-width: var(--sw-max);
  height: 100vh;
  min-height: 640px;
  margin: 0 auto;
  padding: 96px 24px 32px;
  overflow: hidden;
}

/* A soft field of light behind the stack. */
.sw-hero__pin::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 22%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sw-glow), transparent);
  filter: blur(10px);
  pointer-events: none;
}

.sw-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 15px; border-radius: 999px; background: color-mix(in srgb, var(--sw-blue) 14%, transparent); color: var(--sw-blue); font-size: 14px; font-weight: 500; }
.sw-chip { color: #93A9FF; }
.sw-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }

.sw-hero__title { font-size: clamp(44px, 5.4vw, 80px); line-height: .98; letter-spacing: -0.035em; }
.sw-hero__lede { max-width: 30em; margin: 24px 0 0; color: var(--sw-muted); font-size: 18px; }
.sw-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Which layer is lit, in words — changes as the stack opens. */
.sw-hero__copy { grid-column: 1; grid-row: 1; }
.sw-stage { grid-column: 2; grid-row: 1 / span 2; }

.sw-hero__now {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  max-width: 26em;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--sw-line);
  font-size: 15px;
}
.sw-hero__now span:first-child { grid-row: span 2; color: var(--sw-blue); font-family: var(--sw-font-mono); font-size: 13px; padding-top: 2px; }
.sw-hero__now span:first-child { color: #93A9FF; }
.sw-hero__now b { font-weight: 600; }
.sw-hero__now span:last-child { color: var(--sw-muted); }

/* --------------------------------- stack -------------------------------- */

.sw-stage {
  position: relative;
  height: min(76vh, 680px);
  --gap: 12px;   /* set by app.js from scroll: 12px stacked → ~96px open */
  --turn: -38deg;
}

.sw-stack {
  position: absolute;
  left: 44%;
  /* Opening lifts the top plates, so drop the stack as the gap grows to keep
     it centred in the stage. */
  top: calc(47% + var(--gap) * 1.6);
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--camx, 58deg) + var(--tilt-x, 0deg))) rotateZ(calc(var(--turn) + var(--tilt-z, 0deg))) scale(var(--zoom, 1));
}

/* Thickness: three darker copies just under each plate form its edge. */
.sw-edge {
  --w: 340px;
  --h: 212px;
  position: absolute;
  left: calc(var(--w) / -2);
  top: calc(var(--h) / -2);
  width: var(--w);
  height: var(--h);
  border-radius: 14px;
  background: var(--sw-edge, #2A2D36);
  transform: translate3d(var(--px, 0px), var(--py, 0px), calc((4 - var(--i)) * var(--gap) - var(--dz) + var(--drop, 0px) + var(--pz, 0px)));
  opacity: var(--fade, 1);
  pointer-events: none;
}
.sw-edge:nth-of-type(1) { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .55); }

/* Assemble on load: every plate starts high and drops into place,
   server first, website last. app.js removes .is-entering. */
.sw-stack.is-entering .sw-plate,
.sw-stack.is-entering .sw-edge {
  transition: transform 1s cubic-bezier(.2, .9, .25, 1), opacity .5s ease;
  transition-delay: calc((4 - var(--i)) * .14s + .2s);
}
.sw-stack.is-waiting .sw-plate,
.sw-stack.is-waiting .sw-edge { --drop: 420px; --fade: 0; }

.sw-plate {
  --w: 340px;
  --h: 212px;
  position: absolute;
  left: calc(var(--w) / -2);
  top: calc(var(--h) / -2);
  width: var(--w);
  height: var(--h);
  overflow: hidden;
  border-radius: 14px;
  background: var(--sw-surface);
  box-shadow: 0 0 0 1px var(--sw-plate-edge);
  transform: translate3d(var(--px, 0px), var(--py, 0px), calc((4 - var(--i)) * var(--gap) + var(--drop, 0px) + var(--pz, 0px)));
  opacity: var(--fade, 1);
  transition: opacity .5s ease;
  backface-visibility: hidden;
}

[data-layer="0"] { --i: 0; }
[data-layer="1"] { --i: 1; }
[data-layer="2"] { --i: 2; }
[data-layer="3"] { --i: 3; }
[data-layer="4"] { --i: 4; }

/* Once open, the lit layer stays bright and the rest step back. */
/* Dim and highlight with overlays that only change opacity. A CSS filter or
   an animated box-shadow on a 3D plate breaks depth sorting (lower plates'
   text painted over upper ones) and repaints every scroll frame. */
.sw-plate { box-shadow: 0 0 0 1px var(--sw-plate-edge); will-change: transform; }
.sw-plate::before,
.sw-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
}
.sw-plate::before { background: rgba(8, 8, 12, .5); opacity: var(--dim, 0); }
.sw-plate::after { box-shadow: inset 0 0 0 2px var(--sw-blue), inset 0 0 40px -8px var(--sw-glow); opacity: var(--hl, 0); }

.sw-plate--site img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .8s ease;
}
.sw-plate--site img.is-on { opacity: 1; }

.sw-plate--design { background: #16171d; }
.sw-design { position: absolute; inset: 0; padding: 18px; }
.sw-design__grid { position: absolute; inset: 0 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sw-design__grid i { background: color-mix(in srgb, var(--sw-blue) 8%, transparent); border-inline: 1px solid color-mix(in srgb, var(--sw-blue) 30%, transparent); }
.sw-design__type { position: absolute; left: 24px; top: 18px; font-family: var(--sw-font-head); font-size: 64px; line-height: 1; color: var(--sw-ink); }
.sw-design__swatches { position: absolute; right: 24px; top: 26px; display: flex; gap: 6px; }
.sw-design__swatches i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--sw-plate-edge); }
.sw-design__blocks { position: absolute; left: 26px; right: 24px; bottom: 22px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.sw-design__blocks i { height: 70px; border-radius: 8px; border: 1.5px dashed color-mix(in srgb, var(--sw-blue) 60%, transparent); }

.sw-plate--code { background: #0F1117; color: #C9D1E4; padding: 20px 22px; }
.sw-code { font-family: var(--sw-font-mono); font-size: 11.5px; line-height: 1.75; white-space: nowrap; }
.sw-code p { margin: 0; }
.sw-code .in { padding-left: 18px; }
.sw-code .k { color: #7AA2FF; font-style: normal; }
.sw-code .f { color: #F5C26B; font-style: normal; }
.sw-code s { color: #8BD5A8; text-decoration: none; }
.sw-code b { color: #E58BD8; font-weight: 400; }
.sw-chips { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 6px; }
.sw-chips span { padding: 5px 10px; border-radius: 6px; background: #1C2030; font-size: 11px; font-weight: 600; color: #E6EBF8; }

.sw-plate--app { display: flex; align-items: center; justify-content: center; gap: 22px; background: color-mix(in srgb, var(--sw-blue) 16%, var(--sw-surface)); }
.sw-mini-phone { width: 92px; aspect-ratio: 9 / 19.5; padding: 4px; border-radius: 16px; background: #111; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); overflow: hidden; }
.sw-mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; }

.sw-plate--server { background: #1A1C20; }
.sw-plate--server img { width: 100%; height: 100%; object-fit: cover; }

/* Labels sit beside each plate; app.js moves them to the plate's centre. */
.sw-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.sw-labels li {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  padding-left: 18px;
  border-left: 1.5px solid var(--sw-line);
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition: opacity .4s ease, border-color .4s ease, transform .18s linear;
  white-space: nowrap;
}

/* Leader line back to the plate. */
.sw-labels li::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 34px;
  border-top: 1px dashed color-mix(in srgb, var(--sw-muted) 60%, transparent);
}
.sw-labels li.is-lit::before { border-top: 1px solid var(--sw-blue); }
.sw-labels li b { font-weight: 600; }
.sw-labels li span { color: var(--sw-muted); font-size: 13px; }
.sw-stage.is-open .sw-labels li { opacity: .55; }
.sw-stage.is-open .sw-labels li.is-lit { opacity: 1; border-color: var(--sw-blue); }

/* --------------------------------- logos -------------------------------- */

.sw-logos { max-width: var(--sw-max); margin: 0 auto; padding: 40px 24px 0; text-align: center; }
.sw-logos p { margin: 0 0 26px; color: var(--sw-muted); font-size: 15px; }
.sw-logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; color: var(--sw-muted); font-family: var(--sw-font-head); font-size: 21px; opacity: .8; }

/* -------------------------------- layers -------------------------------- */

.sw-layer { max-width: var(--sw-max); margin: 0 auto; padding: 160px 24px 0; }

.sw-layer__head { max-width: 760px; margin-bottom: 56px; }

.sw-layer__n {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-weight: 600;
  font-size: 15px;
}

/* The layer number sits on a small plate, echoing the stack. */
.sw-layer__n span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--sw-blue);
  color: #fff;
  font-family: var(--sw-font-mono);
  font-size: 14px;
  transform: perspective(200px) rotateX(18deg);
  box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--sw-blue) 45%, #000);
}

.sw-layer h2 { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -0.035em; }
.sw-layer__intro { max-width: 36em; margin: 22px 0 0; color: var(--sw-muted); font-size: 18px; }

/* 1 — website rail */
.sw-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(640px, 80vw);
  gap: 20px;
  margin: 0 -24px;
  padding: 0 24px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.sw-rail::-webkit-scrollbar { display: none; }
.sw-case { display: grid; gap: 14px; scroll-snap-align: start; }
.sw-case__img { display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: var(--sw-soft); }
.sw-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.sw-case:hover .sw-case__img img { transform: scale(1.04); }
.sw-case__meta { display: flex; align-items: baseline; gap: 10px; padding: 0 4px; }
.sw-case__meta b { font-weight: 600; }
.sw-case__meta i { font-style: normal; color: var(--sw-muted); font-size: 14px; }
.sw-case__title { padding: 0 4px; font-family: var(--sw-font-head); font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; max-width: 22em; }
.sw-rail__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 24px; }
.sw-rail__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sw-line); background: transparent; color: var(--sw-ink); font-size: 18px; cursor: pointer; }
.sw-rail__nav button:hover { border-color: var(--sw-muted); }

/* 2 — design board */
.sw-layer--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.sw-layer--split .sw-layer__head { margin-bottom: 0; }
.sw-facts { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.sw-facts li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--sw-line); }
.sw-facts b { min-width: 9em; font-family: var(--sw-font-head); font-size: 20px; font-weight: 700; }
.sw-facts span { color: var(--sw-muted); }

.sw-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  background: var(--sw-soft);
  background-image: radial-gradient(color-mix(in srgb, var(--sw-ink) 12%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
}
.sw-board__col { position: relative; padding: 22px; border-radius: 18px; background: var(--sw-surface); border: 1px solid var(--sw-line); min-height: 200px; }
.sw-board__col--wide { grid-column: span 2; }
.sw-board__tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 6px; background: color-mix(in srgb, var(--sw-blue) 14%, transparent); color: var(--sw-blue); font-family: var(--sw-font-mono); font-size: 12px; }
.sw-board__tag { color: #93A9FF; }
.sw-board__type { font-family: var(--sw-font-head); font-size: 96px; line-height: 1; }
.sw-board__col p { margin: 8px 0 0; color: var(--sw-muted); font-size: 14px; }
.sw-board__sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.sw-board__sw i { aspect-ratio: 1 / 1.6; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px var(--sw-line); }
.sw-board__wire { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 60px 90px; gap: 8px; }
.sw-board__wire i { border-radius: 10px; border: 1.5px dashed color-mix(in srgb, var(--sw-blue) 55%, transparent); background: color-mix(in srgb, var(--sw-blue) 5%, transparent); }
.sw-board__wire i:first-child { grid-column: span 3; }

/* 1 — site explorer, full width: client tabs, one big browser, the
   client's whole home page scrolling inside it, details underneath. */
.sw-explore { display: grid; gap: 18px; }

.sw-explore__list {
  display: flex;
  gap: 8px;
  margin: 0 -24px;
  padding: 0 24px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: 24px;
}
.sw-explore__list::-webkit-scrollbar { display: none; }

.sw-explore__item {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  padding: 11px 18px;
  overflow: hidden;
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  background: none;
  color: var(--sw-muted);
  font: inherit;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.sw-explore__item:hover { color: var(--sw-ink); border-color: var(--sw-muted); }
.sw-explore__item.is-on { color: var(--sw-ink); border-color: var(--sw-ink); background: var(--sw-surface); }
.sw-explore__item:focus-visible { outline: 2px solid var(--sw-blue); outline-offset: 2px; }
.sw-explore__name { font-weight: 600; font-size: 15px; }
.sw-explore__type { font-size: 13px; color: var(--sw-muted); }
.sw-explore__more { display: none; }

/* Fills while the page auto-scrolls; the next client follows. */
.sw-explore__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.sw-explore__bar i { display: block; width: 100%; height: 100%; background: var(--sw-blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.sw-explore__item:not(.is-on) .sw-explore__bar i { transform: scaleX(0); }

/* Browser */
.sw-explore__view {
  overflow: hidden;
  border-radius: 22px;
  background: var(--sw-surface);
  box-shadow: 0 0 0 1px var(--sw-line), 0 60px 120px -60px rgba(0, 0, 0, .7);
}
.sw-explore__chrome { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--sw-line); background: var(--sw-soft); }
.sw-explore__dots { display: flex; gap: 6px; }
.sw-explore__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--sw-line); }
.sw-explore__url { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; max-width: 460px; margin: 0 auto; padding: 8px 15px; border-radius: 999px; background: var(--sw-surface); color: var(--sw-muted); font-size: 13.5px; }
.sw-explore__url svg { flex: 0 0 auto; width: 12px; height: 12px; color: #2FB27B; }
.sw-explore__url b { overflow: hidden; font-weight: 500; color: var(--sw-ink); white-space: nowrap; text-overflow: ellipsis; }
.sw-explore__switch { display: flex; padding: 3px; border-radius: 999px; background: var(--sw-surface); }
.sw-explore__switch button { padding: 6px 13px; border: 0; border-radius: 999px; background: none; color: var(--sw-muted); font: 500 13px var(--sw-font-body); cursor: pointer; }
.sw-explore__switch button.is-on { background: var(--sw-ink); color: var(--sw-bg); }
.sw-explore__visit { padding: 8px 15px; border-radius: 999px; background: var(--sw-blue); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }

.sw-explore__screen { position: relative; height: min(80vh, 780px); min-height: 480px; background: var(--sw-bg); }
.sw-explore__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sw-explore__scroll:focus-visible { outline: 2px solid var(--sw-blue); outline-offset: -2px; }
.sw-explore__scroll img { display: block; width: 100%; transition: opacity .35s ease; }
.sw-explore__scroll img.is-loading { opacity: 0; }
/* Screen recording mode: the video fills the screen instead of the capture. */
.sw-explore__scroll video { display: none; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #FFFFFF; }
.sw-explore.is-video .sw-explore__scroll { overflow: hidden; }
.sw-explore.is-video .sw-explore__scroll video { display: block; }
.sw-explore.is-video .sw-explore__scroll img, .sw-explore.is-video .sw-explore__hint { display: none; }

/* Phone mode: the page sits inside a phone, centred. */
.sw-explore__view[data-device="phone"] .sw-explore__screen { display: grid; place-items: center; padding: 26px 0; background: radial-gradient(50% 60% at 50% 50%, var(--sw-glow), transparent), var(--sw-bg); }
.sw-explore__view[data-device="phone"] .sw-explore__scroll { width: 330px; height: 100%; border: 10px solid #0F0F11; border-radius: 46px; box-shadow: 0 0 0 1px #2A2A30, 0 30px 60px -20px rgba(0, 0, 0, .6); scrollbar-width: none; }
.sw-explore__view[data-device="phone"] .sw-explore__scroll::-webkit-scrollbar { display: none; }

.sw-explore__hint { position: absolute; right: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 12, .65); color: #fff; font-size: 12px; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .3s ease; }
.sw-explore.is-touched .sw-explore__hint { opacity: 0; }

/* Selected client's details, under the browser. */
.sw-explore__details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px 40px; align-items: start; padding: 10px 4px 0; }
.sw-explore__details .sw-explore__line { font-family: var(--sw-font-head); font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.sw-explore__details ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.sw-explore__details li { position: relative; padding-left: 18px; color: var(--sw-muted); font-size: 15px; }
.sw-explore__details li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--sw-blue); }
.sw-explore__details a { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--sw-line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.sw-explore__details a:hover { border-color: var(--sw-muted); }
.sw-explore__links { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; text-align: center; }
.sw-explore__links .sw-explore__case { background: var(--sw-ink); border-color: var(--sw-ink); color: var(--sw-bg); }
.sw-explore__links .sw-explore__case:hover { border-color: var(--sw-ink); }
.sw-explore__links span { padding: 11px 18px; color: var(--sw-muted); font-size: 14px; white-space: nowrap; }
.sw-explore__visit[hidden] { display: none; }

/* GetPaid prints its payment pop-up on every page, but its styles load only
   where invoices are (Skyweb_Speed): keep the closed pop-up hidden. */
#getpaid-payment-modal:not(.show) { display: none; }

/* 2 — wireframe → live site compare */
.sw-compare {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  background: var(--sw-soft);
  box-shadow: 0 0 0 1px var(--sw-line), 0 40px 80px -40px rgba(0, 0, 0, .5);
  touch-action: pan-y;
}
.sw-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sw-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
  pointer-events: none;
}
.sw-compare__handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.sw-compare__handle i::before,
.sw-compare__handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid #111;
  border-width: 0 0 2px 2px;
}
.sw-compare__handle i::before { left: 12px; transform: rotate(45deg); }
.sw-compare__handle i::after { right: 12px; transform: rotate(-135deg); }
.sw-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.sw-compare__tag { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(10, 10, 12, .6); color: #fff; font-size: 12px; font-weight: 500; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.sw-compare__tag--l { left: 14px; }
.sw-compare__tag--r { right: 14px; }
.sw-compare figcaption { position: absolute; left: 0; right: 0; bottom: -34px; color: var(--sw-muted); font-size: 14px; }
.sw-compare:has(.sw-compare__range:focus-visible) { outline: 3px solid var(--sw-blue); outline-offset: 4px; }
.sw-layer--split { padding-bottom: 34px; }

/* 5 — uptime strip, status-page style */
.sw-uptime { margin-top: 20px; padding: 22px 26px; border-radius: 22px; background: var(--sw-surface); border: 1px solid var(--sw-line); }
.sw-uptime__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; }
.sw-uptime__head b { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.sw-uptime__head b i { width: 9px; height: 9px; border-radius: 50%; background: #2FB27B; box-shadow: 0 0 0 4px rgba(47, 178, 123, .2); animation: sw-pulse 2.4s ease-in-out infinite; }
.sw-uptime__head span, .sw-uptime__foot { color: var(--sw-muted); font-size: 13px; }
.sw-uptime__bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 3px; height: 34px; }
.sw-uptime__bars i { border-radius: 2px; background: #2FB27B; opacity: .9; transform-origin: bottom; }
.sw-uptime.is-in .sw-uptime__bars i { animation: sw-bar .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--n) * 8ms); }
.sw-uptime__foot { display: flex; justify-content: space-between; margin-top: 10px; }
@keyframes sw-bar { from { transform: scaleY(.1); opacity: 0; } }
@keyframes sw-pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 178, 123, 0); } }

.sw-store { margin-top: 10px; padding: 7px 14px; border: 1px solid var(--sw-line); border-radius: 999px; font-style: normal; font-size: 13px; font-weight: 500; transition: border-color .2s ease; }
.sw-phone:hover .sw-store { border-color: var(--sw-muted); }

/* 3 — plugin list, in the WordPress plugins-screen idiom */
.sw-plugins { border: 1px solid var(--sw-line); border-radius: 22px; overflow: hidden; background: var(--sw-surface); }
.sw-plugins__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.2fr) 120px; gap: 24px; align-items: center; padding: 22px 28px; border-top: 1px solid var(--sw-line); transition: background .2s ease; }
.sw-plugins__row:first-child { border-top: 0; }
a.sw-plugins__row:hover { background: var(--sw-soft); }
.sw-plugins__row--head { padding-block: 14px; color: var(--sw-muted); font-size: 13px; font-weight: 500; background: var(--sw-soft); }
.sw-plugins__row span:first-child { display: flex; align-items: center; gap: 14px; }
.sw-plugins__row b { font-family: var(--sw-font-head); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.sw-plugins__row span:nth-child(2) { color: var(--sw-muted); font-size: 15.5px; }
.sw-mark { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--mark); color: #fff; font-style: normal; font-family: var(--sw-font-head); font-size: 18px; }
.sw-on { display: inline-flex; align-items: center; gap: 8px; justify-self: end; font-size: 14px; font-weight: 600; color: #2FB27B; }
.sw-on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.sw-plugins__row--more { grid-template-columns: 1fr; font-weight: 600; color: var(--sw-blue); }
.sw-plugins__row--more { color: #93A9FF; }

/* 4 — phones */
.sw-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 48px; }
.sw-phone { display: grid; justify-items: center; gap: 4px; text-align: center; }
.sw-phone__frame { display: block; width: 100%; aspect-ratio: 9 / 19.5; margin-bottom: 18px; padding: 10px; border-radius: 46px; background: #0F0F11; box-shadow: 0 0 0 1px #2A2A30, 0 40px 80px -30px rgba(0, 0, 0, .55); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.sw-phone__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; }
.sw-phone--mid .sw-phone__frame { transform: translateY(-36px); }
.sw-phone:hover .sw-phone__frame { transform: translateY(-8px); }
.sw-phone--mid:hover .sw-phone__frame { transform: translateY(-44px); }
.sw-phone b { font-family: var(--sw-font-head); font-size: 22px; }
.sw-phone > span:last-child { color: var(--sw-muted); font-size: 15px; }

/* 5 — server */
.sw-server { position: relative; overflow: hidden; border-radius: 32px; background: #121316; }
.sw-server img { width: 100%; height: 600px; object-fit: cover; object-position: 50% 40%; }
.sw-server::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 12, 0) 45%, rgba(10, 10, 12, .88)); pointer-events: none; }
.sw-server__stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0 40px 36px; list-style: none; color: #F2EFE9; }
.sw-server__stats li { padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .22); }
.sw-server__stats b { display: block; font-family: var(--sw-font-head); font-size: clamp(30px, 3.4vw, 52px); line-height: 1; }
.sw-server__stats span { display: block; margin-top: 6px; color: rgba(242, 239, 233, .7); font-size: 14px; line-height: 1.35; }
.sw-server__cta { position: absolute; top: 28px; right: 28px; z-index: 1; background: #F2EFE9; color: #0B0B0C; }

/* ------------------------------ proof + CTA ----------------------------- */

.sw-proof { max-width: var(--sw-max); margin: 0 auto; padding: 160px 24px 0; }
.sw-proof__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.sw-proof__head h2 { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -0.035em; }
.sw-proof__head p { margin: 0; color: var(--sw-muted); font-size: 18px; }
.sw-proof__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0; border-top: 1px solid var(--sw-line); }
.sw-proof__nums div { padding: 28px 0 0; }
.sw-proof__nums b { display: block; font-family: var(--sw-font-head); font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em; }
.sw-proof__nums span { color: var(--sw-muted); }
.sw-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sw-reviews figure { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 30px; border-radius: 22px; background: var(--sw-surface); border: 1px solid var(--sw-line); }
.sw-reviews blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.sw-reviews blockquote::before { content: "★★★★★"; display: block; margin-bottom: 14px; color: #F5A524; letter-spacing: .1em; font-size: 14px; }
.sw-reviews figcaption { margin-top: auto; color: var(--sw-muted); font-size: 14px; }

.sw-cta { max-width: calc(var(--sw-max) + 80px); margin: 160px auto 0; padding: 104px 24px 112px; border-radius: 40px; background: var(--sw-blue); color: #fff; text-align: center; }
.sw-cta h2 { max-width: 12em; margin: 0 auto; font-size: clamp(38px, 6vw, 88px); letter-spacing: -0.035em; }
.sw-cta p { max-width: 34em; margin: 24px auto 0; opacity: .85; font-size: 18px; }
.sw-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.sw-cta .sw-btn--solid { background: #fff; color: #0B0B0C; }
.sw-cta .sw-btn--ghost { border-color: rgba(255, 255, 255, .4); }

/* The stack, assembled: five plates closed into one. */
.sw-cta__stack { position: relative; width: 120px; height: 90px; margin: 0 auto 36px; transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; }
.sw-cta__stack i { position: absolute; inset: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); }
.sw-cta__stack i:nth-child(1) { transform: translateZ(0); }
.sw-cta__stack i:nth-child(2) { transform: translateZ(7px); }
.sw-cta__stack i:nth-child(3) { transform: translateZ(14px); }
.sw-cta__stack i:nth-child(4) { transform: translateZ(21px); }
.sw-cta__stack i:nth-child(5) { transform: translateZ(28px); background: #fff; }

.sw-footer { padding: 72px 24px; text-align: center; color: var(--sw-muted); font-size: 14px; }

/* -------------------------------- tablet -------------------------------- */

@media (max-width: 1100px) {
  .sw-header__nav { display: none; }
  .sw-header__end { margin-left: auto; }

  /* No pin below desktop: the stack opens by itself once in view. */
  .sw-hero { height: auto; }
  .sw-hero__pin { position: relative; grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; padding-top: 128px; overflow: clip; }
  .sw-hero__pin::before { right: 50%; transform: translateX(50%); top: 46%; width: min(640px, 100%); }
  .sw-hero__copy, .sw-stage, .sw-hero__now { grid-column: 1; grid-row: auto; }
  .sw-stage { height: 620px; }
  .sw-hero__now { justify-self: center; max-width: 30em; margin-top: 8px; }

  .sw-layer--split { grid-template-columns: 1fr; gap: 40px; }
  .sw-explore__details { grid-template-columns: 1fr; gap: 10px; }
  .sw-proof__head { grid-template-columns: 1fr; gap: 20px; }
  .sw-reviews { grid-template-columns: 1fr; }
  .sw-cta { margin-inline: 16px; }
}

/* --------------------------------- phone -------------------------------- */

@media (max-width: 760px) {
  .sw-header { padding: 12px 16px; }
  .sw-header__logo img { width: 118px; }
  .sw-header .sw-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .sw-hero__pin { padding: 104px 16px 0; gap: 0; }
  .sw-hero__title { font-size: clamp(38px, 11vw, 50px); }
  .sw-hero__lede { font-size: 16px; }
  .sw-hero__actions .sw-btn { flex: 1 1 auto; }

  /* The whole stack scales as one picture. */
  .sw-stage { order: 1; height: 340px; margin: 40px -16px 16px; }
  .sw-stack { left: 50%; top: calc(51% + var(--gap) * 1.05); scale: .64; }
  .sw-labels { display: none; }
  .sw-hero__now { order: 2; justify-self: stretch; margin: 0; padding-top: 16px; }
  .sw-hero__pin::before { top: 52%; height: 420px; width: 420px; }

  .sw-logos { padding: 24px 16px 0; }
  .sw-logos__row { gap: 12px 26px; font-size: 16px; }

  .sw-layer, .sw-proof { padding: 96px 16px 0; }
  .sw-layer__head { margin-bottom: 32px; }
  .sw-layer h2, .sw-proof__head h2 { font-size: 34px; }
  .sw-layer__intro, .sw-proof__head p { font-size: 16px; }
  .sw-explore__list { margin: 0 -16px; padding: 0 16px 2px; scroll-padding-inline: 16px; }
  .sw-explore__item { padding: 9px 15px; }
  .sw-explore__type { display: none; }
  .sw-explore__chrome { gap: 8px; padding: 10px; }
  .sw-explore__dots, .sw-explore__visit { display: none; }
  .sw-explore__url { padding: 6px 10px; font-size: 12px; }
  .sw-explore__switch button { padding: 5px 10px; font-size: 12px; }
  .sw-explore__screen { height: 540px; min-height: 0; }
  .sw-explore__view[data-device="phone"] .sw-explore__scroll { width: 250px; border-width: 7px; border-radius: 36px; }
  .sw-explore__details .sw-explore__line { font-size: 20px; }

  .sw-facts b { min-width: 7.5em; font-size: 17px; }
  .sw-compare { border-radius: 18px; }
  .sw-compare__handle i { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .sw-uptime { padding: 18px; }
  .sw-uptime__bars { gap: 2px; height: 28px; }
  .sw-store { font-size: 11px; padding: 5px 9px; }

  .sw-plugins__row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px; }
  .sw-plugins__row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; }
  .sw-plugins__row--head { display: none; }
  .sw-plugins__row b { font-size: 18px; }

  .sw-phones { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sw-phone__frame { padding: 4px; border-radius: 22px; margin-bottom: 10px; }
  .sw-phone__frame img { border-radius: 18px; }
  .sw-phone--mid .sw-phone__frame { transform: translateY(-16px); }
  .sw-phone b { font-size: 15px; }
  .sw-phone > span:last-child { font-size: 12px; }

  .sw-server { border-radius: 22px; }
  .sw-server img { height: 520px; }
  .sw-server__stats { grid-template-columns: 1fr 1fr; row-gap: 22px; padding: 0 16px 24px; }
  .sw-server__stats li { padding: 0 14px; }
  .sw-server__cta { left: 16px; right: 16px; top: 16px; }

  .sw-proof__nums { grid-template-columns: repeat(3, 1fr); margin: 36px 0; }
  .sw-proof__nums b { font-size: 44px; }
  .sw-proof__nums span { font-size: 13px; }
  .sw-cta { margin: 96px 12px 0; padding: 64px 20px; border-radius: 28px; }
  .sw-cta h2 { font-size: 36px; }
  .sw-cta p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================== inner pages ============================ */

/* Page hero: copy left, photo/video right with the page's preview card. */
.sw-phero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  max-width: var(--sw-max);
  margin: 0 auto;
  padding: 150px 24px 96px;
}
.sw-phero--text { grid-template-columns: minmax(0, 860px); justify-content: center; text-align: center; padding-bottom: 8px; }
.sw-phero--text + * , .e-con:has(.sw-phero--text) + .e-con { --padding-top: 24px; }
.sw-phero--text .sw-crumbs ol, .sw-phero--text .sw-hero__actions { justify-content: center; }
.sw-phero--text .sw-phero__intro { margin-inline: auto; }
.sw-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--sw-muted); font-size: 13px; }
.sw-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.sw-crumbs a:hover { color: var(--sw-ink); }
.sw-phero__title { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.035em; }
.sw-phero__intro { max-width: 34em; margin-top: 22px; color: var(--sw-muted); font-size: 18px; }
.sw-phero__intro p { margin: 0 0 .8em; }
.sw-phero__intro a { color: var(--sw-ink); text-decoration: underline; text-underline-offset: 3px; }
.sw-phero__ticks { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.sw-phero__ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.sw-phero__ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, #2FB27B 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232FB27B' d='m10 15.17 9.19-9.19 1.42 1.41L10 18 3.64 11.64l1.41-1.41z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sw-phero .sw-hero__actions { margin-top: 30px; }

.sw-phero__media { position: relative; }
.sw-phero__media.has-card { padding-bottom: 90px; padding-left: 40px; }
.sw-phero__frame { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3.3; background: var(--sw-surface); box-shadow: 0 0 0 1px var(--sw-line), 0 50px 100px -50px rgba(0, 0, 0, .8); }
.sw-phero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 12, .45)); pointer-events: none; }
body.sw-site .sw-phero__frame img,
.sw-phero__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-phero__card { position: absolute; left: 0; bottom: 0; width: 430px; transform: scale(.78); transform-origin: bottom left; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.sw-phero__card .elementor-widget-container { margin: 0; }

/* Older sections below the hero: keep their content, match the new look. */
body.sw-site .elementor-widget-heading .elementor-heading-title { font-family: var(--sw-font-head); letter-spacing: -0.025em; }
body.sw-site .elementor-widget-accordion .elementor-accordion-item { border-color: var(--sw-line); }
body.sw-site .elementor-counter-number-wrapper { font-family: var(--sw-font-head); letter-spacing: -0.03em; }

@media (max-width: 1100px) {
  .sw-phero { grid-template-columns: 1fr; gap: 48px; padding-top: 128px; }
  .sw-phero__card { left: 0; }
}
@media (max-width: 760px) {
  .sw-phero { padding: 108px 16px 64px; gap: 36px; }
  .sw-phero__title { font-size: clamp(34px, 9.5vw, 44px); }
  .sw-phero__intro { font-size: 16px; }
  .sw-phero__frame { border-radius: 20px; }
  .sw-phero__media.has-card { padding: 0 0 60px 16px; }
  .sw-phero__card { width: 360px; transform: scale(.7); }
}

/* ===================== plain pages, shop and account ===================== */

/* Anything not built in Elementor (shop, basket, checkout, account, 404,
   policy text pages): a titled, readable column under the fixed header. */
body.sw-site:not(.elementor-page) main#content,
body.sw-site.woocommerce-page main#content,
body.sw-site.woocommerce-page main#main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 150px 24px 110px;
}
body.sw-site .page-header .entry-title,
body.sw-site.woocommerce-page .woocommerce-products-header__title {
  margin: 0 0 36px;
  font-family: var(--sw-font-head);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
}
body.sw-site:not(.elementor-page) .page-content h2 { margin: 1.6em 0 .5em; font-size: clamp(24px, 2.4vw, 32px); }
body.sw-site:not(.elementor-page) .page-content p,
body.sw-site:not(.elementor-page) .page-content li { color: var(--sw-muted); }
body.sw-site:not(.elementor-page) .page-content strong { color: var(--sw-ink); }
body.sw-site:not(.elementor-page) .page-content a { color: #93A9FF; }
body.error404 .page-content p { font-size: 18px; }
body.error404 .page-content::after { content: ""; display: block; }

/* WooCommerce, dark. */
body.sw-site .woocommerce,
body.sw-site .woocommerce-page { color: var(--sw-ink); }
body.sw-site .woocommerce a { color: #93A9FF; }
body.sw-site .woocommerce .button,
body.sw-site .woocommerce button.button,
body.sw-site .woocommerce a.button,
body.sw-site .woocommerce input.button,
body.sw-site .woocommerce #respond input#submit,
body.sw-site .wc-block-components-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--sw-ink) !important;
  color: var(--sw-bg) !important;
  font: 600 15px var(--sw-font-body);
}
body.sw-site .woocommerce .button:hover { opacity: .9; }
body.sw-site .woocommerce input.input-text,
body.sw-site .woocommerce select,
body.sw-site .woocommerce textarea,
body.sw-site .woocommerce .select2-selection,
body.sw-site .woocommerce-ordering select {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  background: var(--sw-surface);
  color: var(--sw-ink);
  font: 15px var(--sw-font-body);
}
body.sw-site .woocommerce table.shop_table,
body.sw-site .woocommerce-MyAccount-content table { border: 1px solid var(--sw-line); border-radius: 16px; border-collapse: separate; overflow: hidden; }
body.sw-site .woocommerce table.shop_table th,
body.sw-site .woocommerce table.shop_table td { border-color: var(--sw-line); padding: 14px 16px; }
body.sw-site .woocommerce-message,
body.sw-site .woocommerce-info,
body.sw-site .woocommerce-error { padding: 16px 20px; border: 1px solid var(--sw-line); border-radius: 14px; background: var(--sw-surface); color: var(--sw-ink); list-style: none; }
body.sw-site .woocommerce-info .button,
body.sw-site .woocommerce-message .button { float: right; margin-left: 12px; }
body.sw-site ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
body.sw-site ul.products::before, body.sw-site ul.products::after { display: none; }
body.sw-site ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 18px; border: 1px solid var(--sw-line); border-radius: 18px; background: var(--sw-surface); }
body.sw-site ul.products li.product img { border-radius: 12px; background: var(--sw-soft); }
body.sw-site ul.products .woocommerce-loop-product__title { font-family: var(--sw-font-head); font-size: 20px; }
body.sw-site .woocommerce .price { color: var(--sw-muted) !important; }
body.sw-site .woocommerce-result-count { color: var(--sw-muted); }

/* My account: side menu + content. */
body.sw-site .woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
body.sw-site .woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.sw-site .woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; border: 1px solid var(--sw-line); border-radius: 16px; background: var(--sw-surface); list-style: none; }
body.sw-site .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--sw-muted); text-decoration: none; }
body.sw-site .woocommerce-MyAccount-navigation .is-active a,
body.sw-site .woocommerce-MyAccount-navigation a:hover { background: var(--sw-soft); color: var(--sw-ink); }
body.sw-site .woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
body.sw-site .woocommerce form.login,
body.sw-site .woocommerce form.register { padding: 28px; border: 1px solid var(--sw-line); border-radius: 18px; background: var(--sw-surface); }

@media (max-width: 760px) {
  body.sw-site:not(.elementor-page) main#content,
  body.sw-site.woocommerce-page main#content,
  body.sw-site.woocommerce-page main#main { padding: 110px 16px 80px; }
  body.sw-site .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================ phone polish ============================ */
@media (max-width: 760px) {
  /* Client logos: edge to edge, smaller, no chopped logos inside a box. */
  .elementor-element.e-con.sw-keep--logos { --padding-left: 0px; --padding-right: 0px; --content-width: 100%; padding-inline: 0 !important; }
  .sw-keep--logos .skyweb-logobar__logo { height: 26px !important; }
  .sw-keep--logos .skyweb-logobar__item { padding-inline: 18px; }
  .sw-keep--logos { padding-top: 8px; padding-bottom: 8px; }

  /* Hero: tighter stage, caption closer to the stack. */
  .sw-stage { height: 300px; margin: 28px -16px 8px; }
  .sw-hero__now { padding-top: 14px; }

  /* Sections: one consistent gutter and rhythm. */
  .sw-layer, .sw-proof { padding: 80px 16px 0; }
  .sw-layer__head { margin-bottom: 28px; }
  .sw-keep--reviews { padding: 32px 16px 0; }
  .sw-cta { margin-top: 80px; }

  /* Browser preview: hint off the phone frame; details spaced. */
  .sw-explore__hint { right: 10px; bottom: 10px; font-size: 11px; }
  .sw-explore__details { padding: 6px 2px 0; }
  .sw-explore__details a { display: flex; justify-content: center; }

  /* Apps: names don't break mid-word. */
  .sw-phone b { font-size: 14px; line-height: 1.2; }
  .sw-phone > span:last-child { line-height: 1.3; }

  /* Footer (Elementor template): sensible logo and gutters. */
  .sw-footer-wrap .elementor-widget-skyweb_site_logo img,
  .sw-footer-wrap .elementor-widget-skyweb_site_logo svg { max-width: 150px !important; height: auto !important; }
  .sw-footer-wrap > .elementor > .e-con { --padding-left: 16px; --padding-right: 16px; }
}
