/* Websites, SEO & managed hosting page (/services/websites/).
   Loaded only on that route. Concept sites (.mk-*) reflow with container
   queries, so the same markup demonstrates desktop and phone layouts. */
@layer components {
  .ws-main {
    --ws-panel: rgb(8 15 25 / 82%);
    --ws-edge: rgb(140 200 235 / 22%);
    --ws-soft: rgb(67 216 242 / 9%);
  }
  /* Skip rendering work for sections below the fold until they are near. */
  .ws-main > section:nth-of-type(n + 4) {
    content-visibility: auto;
    contain-intrinsic-size: auto 1000px;
  }
  .ws-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 44px);
  }
  .ws-head h2 {
    max-width: 22ch;
  }
  .ws-head p {
    max-width: 62ch;
    color: var(--muted);
  }
  .ws-small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 18px;
    font-size: 0.92rem;
    color: var(--faint);
  }

  /* ---------- Hero ---------- */
  .ws-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
  .ws-title {
    font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  }
  .ws-title span {
    display: block;
  }
  .ws-title span:nth-child(2) {
    color: var(--cyan);
  }
  .ws-lede {
    max-width: 52ch;
    margin-top: 24px;
  }
  .ws-jump {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 36px;
    border: 1px solid var(--ws-edge);
  }
  .ws-jump a {
    display: grid;
    gap: 2px;
    min-height: 64px;
    padding: 10px 12px;
    text-decoration: none;
    border-left: 1px solid var(--ws-edge);
    transition:
      background 0.2s,
      color 0.2s;
  }
  .ws-jump a:first-child {
    border-left: 0;
  }
  .ws-jump b {
    font: 700 0.95rem/1.2 var(--display);
    color: #fff;
  }
  .ws-jump span {
    font-size: 0.8rem;
    color: var(--faint);
  }
  .ws-jump a:hover,
  .ws-jump a:focus-visible {
    background: var(--ws-soft);
  }
  .ws-jump a:hover b {
    color: var(--cyan);
  }

  .ws-hero-visual {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 0.86;
  }
  .ws-hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% -4% -6% 6%;
    background: radial-gradient(
      ellipse at 60% 55%,
      rgb(67 216 242 / 20%),
      transparent 65%
    );
    filter: blur(10px);
  }
  .ws-hv-browser,
  .ws-hv-phone {
    position: absolute;
    overflow: hidden;
    background: #fff;
    box-shadow:
      0 40px 80px rgb(0 0 0 / 55%),
      0 0 0 1px rgb(140 200 235 / 35%);
  }
  .ws-hv-browser {
    left: 0;
    top: 4%;
    width: 88%;
    height: 74%;
    border-radius: 12px;
    animation: ws-float 9s ease-in-out infinite;
  }
  .ws-hv-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    background: #0d1724;
  }
  .ws-hv-bar i,
  .ws-device-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #33475e;
  }
  .ws-hv-bar em {
    margin-left: 10px;
    padding: 1px 12px;
    border-radius: 99px;
    font: 500 0.66rem/1.6 var(--mono);
    font-style: normal;
    color: #8ea0b6;
    background: #16263a;
  }
  .ws-hv-phone {
    right: 0;
    bottom: 0;
    width: 29%;
    height: 72%;
    padding-top: 14px;
    border: 5px solid #0d1724;
    border-radius: 26px;
    animation: ws-float 9s -4.5s ease-in-out infinite;
  }
  .ws-hv-notch {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 34%;
    height: 7px;
    border-radius: 9px;
    background: #0d1724;
    transform: translateX(-50%);
  }
  .ws-hv-phone .mk {
    font-size: 4.6cqw;
  }
  .ws-hv-card {
    position: absolute;
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid rgb(140 200 235 / 35%);
    background: rgb(6 12 21 / 92%);
    box-shadow: 0 18px 40px rgb(0 0 0 / 45%);
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .ws-hv-card small {
    font: 500 0.66rem/1.3 var(--mono);
    letter-spacing: 0.04em;
    color: var(--faint);
  }
  .ws-hv-edit {
    left: 6%;
    bottom: 4%;
    width: min(62%, 290px);
    border-color: rgb(67 216 242 / 60%);
  }
  .ws-hv-edit b {
    font: 700 0.95rem/1.3 var(--display);
    color: #fff;
  }
  .ws-hv-typed {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    border-right: 2px solid var(--cyan);
    animation:
      ws-type 6s steps(28) infinite,
      ws-caret 0.8s step-end infinite;
  }
  .ws-hv-edit em {
    font-style: normal;
    font-size: 0.72rem;
    color: #7ff0b8;
  }
  .ws-hv-search {
    right: 6%;
    top: -2%;
    width: min(58%, 270px);
  }
  .ws-hv-search small {
    color: #7ff0b8;
  }
  .ws-hv-search b {
    font-weight: 600;
    color: #8ab4f8;
  }
  .ws-hv-search span {
    color: var(--muted);
  }
  .ws-hv-host {
    left: 3%;
    top: -5%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font: 500 0.7rem/1 var(--mono);
    color: #c9d6e3;
  }
  .ws-hv-host i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7ff0b8;
    box-shadow: 0 0 10px #7ff0b8;
  }
  .ws-hv-tag {
    position: absolute;
    left: 0;
    bottom: -30px;
    font: 500 0.72rem/1.3 var(--mono);
    color: var(--faint);
  }
  @keyframes ws-float {
    50% {
      transform: translateY(-8px);
    }
  }
  @keyframes ws-type {
    0% {
      width: 0;
    }
    45%,
    100% {
      width: 100%;
    }
  }
  @keyframes ws-caret {
    50% {
      border-color: transparent;
    }
  }

  /* ---------- Start paths (CSS-only reveal) ---------- */
  .ws-paths {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(18px, 3vw, 36px);
    align-items: start;
  }
  .ws-path-options {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .ws-path-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 14px 18px;
    border: 1px solid var(--ws-edge);
    cursor: pointer;
    transition:
      border-color 0.2s,
      background 0.2s;
  }
  .ws-path-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .ws-path-index {
    font: 700 0.8rem/1 var(--mono);
    color: var(--faint);
  }
  .ws-path-label {
    font: 700 clamp(1.02rem, 1.6vw, 1.2rem) / 1.3 var(--display);
  }
  .ws-path-option:hover {
    border-color: rgb(67 216 242 / 55%);
  }
  .ws-path-option:has(input:checked) {
    border-color: var(--cyan);
    background: linear-gradient(90deg, rgb(67 216 242 / 16%), transparent);
  }
  .ws-path-option:has(input:checked) .ws-path-index {
    color: var(--cyan);
  }
  .ws-path-option:has(input:focus-visible) {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
  }
  .ws-path-panel {
    display: none;
    gap: 16px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--ws-edge);
  }
  .ws-paths:has(#ws-path-new:checked) [data-path="new"],
  .ws-paths:has(#ws-path-redesign:checked) [data-path="redesign"],
  .ws-paths:has(#ws-path-manage:checked) [data-path="manage"] {
    display: grid;
    animation: ws-rise 0.4s var(--ease-out);
  }
  .ws-path-panel h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.15;
  }
  .ws-path-panel > p {
    color: #c9d6e3;
  }
  .ws-path-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
    margin-top: 6px;
  }
  /* Transform only: fading would briefly lower text contrast. */
  @keyframes ws-rise {
    from {
      transform: translateY(8px);
    }
  }

  /* ---------- Segmented radio controls ---------- */
  .ws-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .ws-seg legend {
    width: 100%;
    margin-bottom: 8px;
    font: 500 0.78rem/1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .ws-seg label {
    position: relative;
    flex: 1 1 auto;
  }
  .ws-seg input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .ws-seg span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--ws-edge);
    font: 700 0.9rem/1.2 var(--display);
    text-align: center;
    cursor: pointer;
    transition:
      background 0.2s,
      color 0.2s,
      border-color 0.2s;
  }
  .ws-seg span:hover {
    border-color: rgb(67 216 242 / 60%);
  }
  .ws-seg input:checked + span {
    color: #031018;
    background: var(--cyan);
    border-color: var(--cyan);
  }
  .ws-seg input:focus-visible + span {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  /* ---------- Studio ---------- */
  .ws-studio-ui {
    display: grid;
    grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }
  .ws-studio-controls {
    display: grid;
    gap: 26px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
  .ws-studio-controls .ws-seg:first-child label {
    flex-basis: 100%;
  }
  .ws-studio-controls .ws-seg:first-child span {
    justify-content: flex-start;
  }
  .ws-note {
    display: none;
    gap: 12px;
  }
  .ws-note h3 {
    font-size: 1rem;
  }
  .ws-studio:has(#studio-site-trades:checked) [data-site="trades"],
  .ws-studio:has(#studio-site-retail:checked) [data-site="retail"],
  .ws-studio:has(#studio-site-booking:checked) [data-site="booking"] {
    display: grid;
  }
  .ws-studio:has(#studio-site-trades:checked) .ws-url[data-site="trades"],
  .ws-studio:has(#studio-site-retail:checked) .ws-url[data-site="retail"],
  .ws-studio:has(#studio-site-booking:checked) .ws-url[data-site="booking"] {
    display: inline-block;
  }
  .ws-site {
    display: none;
    animation: ws-rise 0.45s var(--ease-out);
  }
  .ws-stage {
    min-width: 0;
    padding: clamp(14px, 2.5vw, 30px);
    border: 1px solid var(--ws-edge);
    background:
      radial-gradient(ellipse at 50% 0, rgb(67 216 242 / 12%), transparent 60%),
      linear-gradient(rgb(140 200 235 / 5%) 1px, transparent 1px) 0 0 / 28px
        28px,
      linear-gradient(90deg, rgb(140 200 235 / 5%) 1px, transparent 1px) 0 0 /
        28px 28px,
      rgb(4 8 14 / 70%);
  }
  .ws-device {
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 12px;
    background: #0d1724;
    box-shadow:
      0 30px 70px rgb(0 0 0 / 50%),
      0 0 0 1px rgb(140 200 235 / 30%);
    transition:
      max-width 0.55s var(--ease-out),
      border-radius 0.55s var(--ease-out),
      padding 0.55s var(--ease-out);
  }
  .ws-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
  }
  .ws-url {
    display: none;
    margin-inline: auto;
    padding: 2px 16px;
    border-radius: 99px;
    font: 500 0.75rem/1.6 var(--mono);
    color: #a9b8ca;
    background: #16263a;
  }
  .ws-screen {
    background: #fff;
  }
  .ws-studio:has(#studio-device-phone:checked) .ws-device {
    max-width: 380px;
    padding: 0 10px 12px;
    border-radius: 38px;
  }
  .ws-studio:has(#studio-device-phone:checked) .ws-device-bar {
    justify-content: center;
    height: 30px;
  }
  .ws-studio:has(#studio-device-phone:checked) .ws-device-bar i {
    display: none;
  }
  .ws-studio:has(#studio-device-phone:checked) .ws-url {
    font-size: 0.66rem;
  }
  .ws-studio:has(#studio-device-phone:checked) .ws-screen {
    max-height: 620px;
    overflow-y: auto;
    border-radius: 26px;
    overscroll-behavior: contain;
  }

  /* ---------- Redesign ---------- */
  .ws-redesign-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }
  .ws-gains {
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
    counter-reset: gain;
  }
  .ws-gains li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: gain;
  }
  .ws-gains li::before {
    content: "+";
    grid-row: span 2;
    font: 700 1rem/1.4 var(--mono);
    color: var(--cyan);
  }
  .ws-gains b {
    font: 700 0.98rem/1.35 var(--display);
  }
  .ws-gains span {
    font-size: 0.9rem;
    color: var(--muted);
  }
  .ws-migrate {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: clamp(22px, 3vw, 44px);
    margin-top: clamp(36px, 5vw, 60px);
    padding: clamp(22px, 3.5vw, 44px);
    border: 1px solid var(--ws-edge);
  }
  .ws-migrate-head {
    display: grid;
    align-content: start;
    gap: 14px;
  }
  .ws-migrate-head h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.12;
  }
  .ws-migrate-head p {
    color: var(--muted);
  }
  .ws-migrate-head .button {
    justify-self: start;
    margin-top: 6px;
  }
  .ws-migrate-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    position: relative;
  }
  .ws-migrate-steps li {
    position: relative;
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 0 12px 0 0;
  }
  .ws-migrate-steps span {
    position: relative;
    display: block;
    margin-bottom: 8px;
    padding-bottom: 12px;
    font: 700 0.8rem/1 var(--mono);
    color: var(--cyan);
    border-bottom: 1px solid rgb(67 216 242 / 45%);
  }
  .ws-migrate-steps span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 7px;
    height: 7px;
    background: var(--cyan);
    transform: rotate(45deg);
  }
  .ws-migrate-steps b {
    font: 700 1rem/1.25 var(--display);
  }
  .ws-migrate-steps p {
    font-size: 0.9rem;
    color: var(--muted);
  }

  /* ---------- Build types ---------- */
  .ws-build-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--ws-edge);
    border: 1px solid var(--ws-edge);
  }
  .ws-build-item {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: clamp(18px, 2.2vw, 28px);
    background: var(--bg);
    transition: background 0.25s;
  }
  .ws-build-item:hover {
    background: #0a1522;
  }
  .ws-build-item:nth-child(1),
  .ws-build-item:nth-child(7) {
    grid-column: span 2;
  }
  .ws-build-index {
    font: 700 0.78rem/1 var(--mono);
    color: var(--cyan);
  }
  .ws-build-item h3 {
    font-size: 1.12rem;
  }
  .ws-build-item p {
    font-size: 0.95rem;
    color: var(--muted);
  }
  .ws-build-proof {
    background: linear-gradient(140deg, rgb(67 216 242 / 14%), var(--bg) 70%);
  }

  /* ---------- Hosting ---------- */
  .ws-modes {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3vw, 40px);
  }
  .ws-mode {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid var(--ws-edge);
    border-top: 3px solid var(--cyan);
    background: var(--ws-panel);
  }
  .ws-mode[data-mode="hosting"] {
    border-top-color: var(--blue);
  }
  .ws-mode[data-mode="care"] {
    border-top-color: #7ff0b8;
  }
  .ws-mode + .ws-mode::before {
    content: "+";
    position: absolute;
    left: calc(clamp(26px, 3vw, 40px) / -2);
    top: 50%;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font: 700 1rem/1 var(--mono);
    color: var(--cyan);
    background: var(--bg);
    border: 1px solid var(--ws-edge);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .ws-mode small {
    font: 500 0.74rem/1.2 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
  }
  .ws-mode h3 {
    font-size: 1.25rem;
  }
  .ws-mode p {
    color: var(--muted);
  }
  .ws-modes-note {
    margin-top: 16px;
    color: var(--muted);
  }
  .ws-stack-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-top: clamp(36px, 5vw, 60px);
  }
  .ws-stack {
    display: grid;
    gap: 10px;
    perspective: 900px;
  }
  .ws-layer {
    display: grid;
    grid-template-columns: 54px 120px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--ws-edge);
    background: linear-gradient(
      90deg,
      rgb(67 216 242 / 10%),
      rgb(8 15 25 / 80%) 40%
    );
    transform: rotateX(8deg);
    transition:
      transform 0.35s var(--ease-out),
      border-color 0.35s;
  }
  .ws-layer:nth-child(2) {
    margin-left: 18px;
  }
  .ws-layer:nth-child(3) {
    margin-left: 36px;
  }
  .ws-layer:nth-child(4) {
    margin-left: 54px;
  }
  .ws-layer:hover {
    border-color: var(--cyan);
    transform: rotateX(0) translateX(-6px);
  }
  .ws-layer-id {
    font: 700 0.8rem/1 var(--mono);
    color: var(--cyan);
  }
  .ws-layer h3 {
    font-size: 1rem;
  }
  .ws-layer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 0.88rem;
    color: #c9d6e3;
  }
  .ws-layer li::before {
    content: "· ";
    color: var(--cyan);
  }
  .ws-stack-copy {
    display: grid;
    gap: 14px;
  }
  .ws-stack-copy h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
  }
  .ws-stack-copy p {
    color: var(--muted);
  }
  .ws-stack-copy .ws-small {
    margin-top: 0;
  }

  /* ---------- SEO ---------- */
  .ws-seo-lab {
    display: grid;
    gap: 22px;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--ws-edge);
  }
  .ws-seo-switch {
    max-width: 420px;
  }
  .ws-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(20px, 3vw, 40px);
  }
  .ws-seo-result h3 {
    margin-bottom: 12px;
    font-size: 1rem;
  }
  .ws-seo-lab [data-variant] {
    display: none;
  }
  .ws-seo-lab:has(#seo-view-messy:checked) [data-variant="messy"],
  .ws-seo-lab:has(#seo-view-clear:checked) [data-variant="clear"] {
    display: grid;
    animation: ws-rise 0.35s var(--ease-out);
  }
  .ws-seo-lab:has(#seo-view-messy:checked) dd[data-variant="messy"],
  .ws-seo-lab:has(#seo-view-clear:checked) dd[data-variant="clear"] {
    display: flex;
  }
  .ws-seo-rows {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .ws-seo-rows > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .ws-seo-rows dt {
    font: 500 0.78rem/1.3 var(--mono);
    letter-spacing: 0.04em;
    color: var(--faint);
  }
  .ws-seo-rows dd {
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }
  .ws-mark {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  .ws-mark-no {
    background: rgb(255 77 97 / 20%);
    box-shadow: inset 0 0 0 1px #ff8a97;
  }
  .ws-mark-no::before,
  .ws-mark-no::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 10px;
    height: 2px;
    background: #ff8a97;
    transform: rotate(45deg);
  }
  .ws-mark-no::after {
    transform: rotate(-45deg);
  }
  .ws-mark-yes {
    background: rgb(127 240 184 / 18%);
    box-shadow: inset 0 0 0 1px #7ff0b8;
  }
  .ws-mark-yes::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 5px;
    width: 8px;
    height: 5px;
    border: solid #7ff0b8;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
  }
  .ws-seo-areas {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(20px, 3vw, 40px);
    margin-top: clamp(32px, 4vw, 50px);
  }
  .ws-seo-areas li {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .ws-seo-areas h3 {
    font-size: 1.08rem;
  }
  .ws-seo-areas p {
    font-size: 0.95rem;
    color: var(--muted);
  }
  .ws-tiers {
    margin-top: clamp(28px, 4vw, 48px);
  }
  .ws-tiers-title {
    margin-bottom: 16px;
    font-size: 1.2rem;
  }
  .ws-tiers ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--ws-edge);
    border: 1px solid var(--ws-edge);
  }
  .ws-tiers li {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: clamp(18px, 2.4vw, 26px);
    background: var(--bg);
  }
  .ws-tiers li span {
    width: max-content;
    padding: 2px 9px;
    font: 500 0.72rem/1.5 var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgb(67 216 242 / 50%);
  }
  .ws-tiers h4 {
    font-size: 1.05rem;
  }
  .ws-tiers p {
    font-size: 0.94rem;
    color: var(--muted);
  }

  /* ---------- Care ---------- */
  .ws-care-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
  }
  .ws-care-route {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--ws-edge);
  }
  .ws-care-route small {
    font: 500 0.74rem/1.2 var(--mono);
    letter-spacing: 0.08em;
    color: var(--cyan);
  }
  .ws-care-route h3 {
    font-size: 1.35rem;
  }
  .ws-care-route p {
    color: var(--muted);
  }
  .ws-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
  }
  .ws-chips li {
    padding: 7px 14px;
    border: 1px solid var(--ws-edge);
    font-size: 0.9rem;
    color: #c9d6e3;
    background: rgb(8 15 25 / 60%);
  }

  /* ---------- Process ---------- */
  .ws-track {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    position: relative;
  }
  .ws-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--blue), #7ff0b8);
    opacity: 0.6;
  }
  .ws-track li {
    position: relative;
    display: grid;
    align-content: start;
    gap: 8px;
    padding-right: 16px;
  }
  .ws-node {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    font: 700 0.85rem/1 var(--mono);
    color: var(--cyan);
    background: var(--bg);
    border: 1px solid var(--cyan);
    clip-path: polygon(
      10px 0,
      100% 0,
      100% calc(100% - 10px),
      calc(100% - 10px) 100%,
      0 100%,
      0 10px
    );
  }
  .ws-track li:last-child .ws-node {
    color: #031018;
    background: #7ff0b8;
    border-color: #7ff0b8;
  }
  .ws-track h3 {
    font-size: 1.1rem;
  }
  .ws-track p {
    font-size: 0.92rem;
    color: var(--muted);
  }

  /* ---------- Responsive ---------- */
  /* Introductory prices with their conditions, beside the cost factors. */
  .scope-offer {
    margin: 4px 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--ws-edge);
    border-radius: 14px;
    background: var(--ws-panel);
  }
  .scope-offer .scope-offer-label {
    margin-bottom: 10px;
    font: 700 0.8rem/1.3 var(--mono, monospace);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
  }
  .scope-prices {
    list-style: none;
    display: grid;
  }
  .scope-prices li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .scope-prices strong {
    font: 700 1.05rem/1.3 var(--display);
    color: var(--cyan);
    text-align: right;
  }
  .scope-price-revisions {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .scope-head .scope-terms {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #d9e5ef;
  }
  .scope-terms a {
    color: var(--cyan);
    text-underline-offset: 3px;
  }

  @media (max-width: 1180px) {
    .ws-build-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ws-build-item:nth-child(7) {
      grid-column: span 1;
    }
    .ws-migrate {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 960px) {
    .ws-hero {
      grid-template-columns: 1fr;
    }
    .ws-hero-visual {
      width: min(100%, 640px);
      margin: 10px auto 30px;
    }
    .ws-paths,
    .ws-studio-ui,
    .ws-redesign-grid,
    .ws-stack-wrap,
    .ws-seo-grid {
      grid-template-columns: 1fr;
    }
    .ws-studio-controls {
      position: static;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }
    .ws-studio-controls .ws-small,
    .ws-note {
      grid-column: 1 / -1;
    }
    .ws-studio-controls .ws-seg:first-child label {
      flex-basis: auto;
    }
    .ws-gains {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 24px;
    }
    .ws-migrate-steps {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .ws-migrate-steps li {
      grid-template-columns: 52px 1fr;
      padding: 0;
    }
    .ws-migrate-steps span {
      grid-row: span 2;
      margin: 0;
      border: 0;
    }
    .ws-migrate-steps span::after {
      display: none;
    }
    .ws-modes,
    .ws-seo-areas,
    .ws-tiers ol {
      grid-template-columns: 1fr;
    }
    .ws-mode + .ws-mode::before {
      left: 50%;
      top: calc(clamp(26px, 3vw, 40px) / -2);
    }
    .ws-track {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px 0;
    }
    .ws-track::before {
      display: none;
    }
  }
  @media (max-width: 640px) {
    .ws-jump {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ws-jump a {
      border-left: 0;
      border-top: 1px solid var(--ws-edge);
    }
    .ws-jump a:nth-child(even) {
      border-left: 1px solid var(--ws-edge);
    }
    .ws-jump a:nth-child(-n + 2) {
      border-top: 0;
    }
    .ws-jump a:last-child {
      grid-column: 1 / -1;
      border-left: 0;
    }
    .ws-hv-search,
    .ws-hv-host {
      display: none;
    }
    .ws-hv-edit {
      width: 70%;
    }
    .ws-studio-controls {
      grid-template-columns: 1fr;
    }
    .ws-gains,
    .ws-care-grid,
    .ws-build-grid {
      grid-template-columns: 1fr;
    }
    .ws-build-item:nth-child(n) {
      grid-column: auto;
    }
    .ws-layer {
      grid-template-columns: 40px minmax(0, 1fr);
      margin-left: 0 !important;
      transform: none;
    }
    .ws-layer ul {
      grid-column: 1 / -1;
    }
    .ws-seo-rows > div {
      grid-template-columns: 1fr;
      gap: 4px;
    }
    .ws-track {
      grid-template-columns: 1fr;
    }
  }

  /* ---------- Motion preferences ---------- */
  @media (prefers-reduced-motion: reduce) {
    .ws-main *,
    .ws-main *::before,
    .ws-main *::after {
      animation: none !important;
      transition: none !important;
    }
    .ws-hv-typed {
      border-right-color: transparent;
    }
  }
  :root[data-motion="paused"] .ws-main *,
  :root[data-motion="paused"] .ws-main *::before,
  :root[data-motion="paused"] .ws-main *::after {
    animation-play-state: paused !important;
  }
}
