/* Home page design (2026 redesign). Loaded last on the home page only.
   Tokens: ink #0f0b2e, indigo #4f46e5, violet #7c3aed, cyan #22d3ee, pink #f472b6.
   Corners: 24px panels, 18px frames, 12px controls. No pills. */
:root {
  --ink: #0f0b2e;
  --ink-2: #2a2552;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --grad-brand: linear-gradient(100deg, #22d3ee 0%, #4f46e5 38%, #7c3aed 64%, #f472b6 100%);
  --shadow-lg: 0 30px 60px -28px rgba(15, 11, 46, .45), 0 12px 24px -16px rgba(79, 70, 229, .35);
  --shadow-md: 0 18px 36px -22px rgba(15, 11, 46, .5);
}

/* ---------- Hero ---------- */
.home-hero { padding: 36px 0 64px; }
.x-hero {
  display: grid; gap: 28px 48px; align-items: start;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "copy form" "live form";
}
.x-hero .home-copy { grid-area: copy; }
.x-hero .quote-card { grid-area: form; position: sticky; top: 96px; }
.x-hero .x-live { grid-area: live; }
@media (max-width: 960px) {
  .x-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "live"; }
  .x-hero .quote-card { position: static; }
}
.x-kicker {
  margin: 0 0 14px; font-weight: 900; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero .sub { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.home-hero .jz-lead { margin: 18px 0 14px; }

/* The form: a premium glass card */
.quote-card {
  background: rgba(255, 255, 255, .86) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(124, 58, 237, .16) !important; border-radius: 24px !important; box-shadow: var(--shadow-lg) !important;
  padding: 28px !important;
}
.quote-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem) !important; margin: 0 0 4px; }
.quote-card .field label { font-weight: 800; }
.quote-card input, .quote-card select, .quote-card textarea {
  border-radius: 12px !important; border: 2px solid #e4e0fa !important; background: #fff !important; font-size: 1.02rem !important;
  transition: border-color .2s, box-shadow .2s;
}
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus {
  border-color: var(--indigo) !important; box-shadow: 0 0 0 4px rgba(79, 70, 229, .18) !important; outline: none;
}
.x-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 26px;
  border-radius: 14px !important; border: 0; font-weight: 900 !important; font-size: 1.15rem !important; letter-spacing: .01em;
  color: #fff !important; text-shadow: none !important;
  background: linear-gradient(100deg, #4f46e5, #7c3aed 55%, #db2777) !important; background-size: 160% 100% !important;
  box-shadow: 0 14px 28px -12px rgba(124, 58, 237, .7) !important; transition: background-position .4s, transform .2s, box-shadow .2s;
}
.x-go:hover { background-position: 100% 0 !important; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(124, 58, 237, .8) !important; }
.x-go span { transition: transform .2s; }
.x-go:hover span { transform: translateX(4px); }
.quote-card .fine { text-align: center; color: var(--ink-2); font-weight: 600; }

/* ---------- Browser frame (shared by the live preview, studio and portfolio) ---------- */
.x-browser { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(15, 11, 46, .1); box-shadow: var(--shadow-lg); }
.x-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f1fc; border-bottom: 1px solid #e8e5f7; }
.x-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d1f0; }
.x-bar i:nth-child(1) { background: #f87171; } .x-bar i:nth-child(2) { background: #fbbf24; } .x-bar i:nth-child(3) { background: #34d399; }
.x-url { margin-left: 10px; flex: 1; min-width: 0; padding: 4px 12px; border-radius: 8px; background: #fff; color: #5b5680; font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Live preview ---------- */
.x-live-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.x-pulse { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: x-pulse 1.8s infinite; flex: none; }
@keyframes x-pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.x-site { --p: #4f46e5; --a: #22d3ee; background: #fff; transition: --p .4s; }
.x-site-nav { display: flex; align-items: center; gap: 16px; padding: 14px 18px; font-size: .92rem; color: #5b5680; border-bottom: 1px solid #f0eef9; }
.x-site-nav b { margin-right: auto; color: var(--p); font-size: 1.05rem; font-weight: 900; transition: color .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.x-site-hero { padding: 26px 22px 24px; color: #fff; background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 55%, #0f0b2e)); transition: background .5s; }
.x-site-kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--a); }
.x-site-h { margin: 0 0 18px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.x-site-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.x-b1, .x-b2 { display: inline-block; padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: .92rem; }
.x-b1 { background: var(--a); color: #0f0b2e; }
.x-b2 { border: 2px solid rgba(255, 255, 255, .8); color: #fff; }
.x-site-services { list-style: none; margin: 0; padding: 16px 22px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.x-site-services li { padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--p) 8%, #fff); color: #0f0b2e; font-weight: 800; font-size: .9rem; border-top: 3px solid var(--p); }
@media (max-width: 520px) { .x-site-services { grid-template-columns: 1fr; } .x-site-nav span { display: none; } }
.x-pop { animation: x-pop .7s ease; }
@keyframes x-pop { 0% { opacity: .2; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

/* ---------- Journey ---------- */
.x-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.x-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 3px; border-radius: 3px; background: var(--grad-brand); opacity: .55; }
@media (max-width: 960px) { .x-steps { grid-template-columns: 1fr 1fr; } .x-steps::before { display: none; } }
@media (max-width: 600px) { .x-steps { grid-template-columns: 1fr; } }
.x-step {
  position: relative; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); transition: transform .3s, border-color .3s, background .3s;
}
.x-step:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .5); background: rgba(255, 255, 255, .09); }
.x-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; position: relative; z-index: 1;
  font-weight: 900; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #22d3ee, #7c3aed 60%, #f472b6);
  box-shadow: 0 10px 22px -10px rgba(34, 211, 238, .8);
}
.x-step h3 { margin: 0 0 8px; font-size: 1.25rem; color: #fff; }
.x-step p { margin: 0 0 16px; font-size: 1.05rem; }
.x-mini { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(15, 11, 46, .55); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.x-f { display: grid; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; }
.x-f em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a5f3fc; }
.x-f-on { outline: 2px solid #22d3ee; }
.x-bar-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; color: #fff; }
.x-bar-row b { font-weight: 800; font-size: .85rem; }
.x-bar-row i { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.x-bar-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: var(--grad-brand); animation: x-fill 3.2s ease-in-out infinite; }
@keyframes x-fill { 0% { width: 0; } 60%, 100% { width: var(--w); } }
.x-msg { justify-self: start; max-width: 90%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; }
.x-msg-us { justify-self: end; border-radius: 12px 12px 4px 12px; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.x-mini-live { grid-template-columns: auto 1fr; align-items: center; }
.x-lock { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(34, 197, 94, .2); }
.x-mini-live b { display: block; color: #fff; }
.x-mini-live em { font-style: normal; color: #86efac; font-weight: 800; font-size: .85rem; }

/* ---------- Style studio ---------- */
.x-studio { background: radial-gradient(800px 400px at 90% 10%, rgba(34, 211, 238, .14), transparent 70%), radial-gradient(700px 400px at 5% 90%, rgba(244, 114, 182, .14), transparent 70%), #fbfaff; }
.x-studio-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .x-studio-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.x-studio .intro { color: var(--ink-2) !important; font-size: 1.1rem; }
.x-controls { display: grid; gap: 18px; margin: 22px 0 14px; }
.x-controls fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.x-controls legend { width: 100%; margin-bottom: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--violet); }
.x-controls label { position: relative; cursor: pointer; }
.x-controls input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x-controls label span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px;
  border: 2px solid #e4e0fa; background: #fff; color: var(--ink); font-weight: 800; transition: all .2s;
}
.x-controls label:hover span { border-color: #c4b8f7; transform: translateY(-1px); }
.x-controls input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 20px -12px rgba(15, 11, 46, .8); }
.x-controls input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.x-sw span::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.x-studio .fine { color: var(--ink-2); }

.x-demo { --p: #4f46e5; --a: #22d3ee; --bg: #fff; --fg: #0f0b2e; --muted: #57537a; --r: 12px; --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--fg); font-family: var(--font); transition: background .5s, color .5s; }
.x-demo[data-font="serif"] { --font: Georgia, "Times New Roman", serif; }
.x-demo[data-font="round"] { --font: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif; }
.x-demo-nav { display: flex; align-items: center; gap: 16px; padding: 16px 22px; font-size: .92rem; color: var(--muted); }
.x-demo-nav b { margin-right: auto; font-weight: 900; font-size: 1.1rem; color: var(--p); transition: color .5s; }
.x-demo-hero { padding: 34px 26px 30px; transition: background .5s, color .5s; background: color-mix(in srgb, var(--p) 8%, var(--bg)); }
.x-demo-kicker { margin: 0 0 8px; font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--p); transition: color .5s; }
.x-demo-h { margin: 0 0 10px; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.1; font-weight: 900; letter-spacing: -.015em; transition: all .4s; }
.x-demo-p { margin: 0 0 18px; color: var(--muted); font-size: 1rem; max-width: 460px; }
.x-demo-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.x-demo .x-b1 { background: var(--p); color: #fff; border-radius: var(--r); transition: all .5s; }
.x-demo .x-b2 { border: 2px solid var(--p); color: var(--p); border-radius: var(--r); transition: all .5s; }
.x-demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 22px 24px; }
.x-demo-cards span { display: grid; gap: 4px; padding: 14px; border-radius: var(--r); background: color-mix(in srgb, var(--a) 14%, var(--bg)); border-top: 3px solid var(--a); font-size: .88rem; color: var(--muted); transition: all .5s; }
.x-demo-cards b { color: var(--fg); font-size: 1rem; }
@media (max-width: 520px) { .x-demo-cards { grid-template-columns: 1fr; } .x-demo-nav span { display: none; } }
/* Style variants */
.x-demo[data-style="bold"] { --r: 4px; }
.x-demo[data-style="bold"] .x-demo-hero { background: var(--p); color: #fff; }
.x-demo[data-style="bold"] .x-demo-h { text-transform: uppercase; font-size: clamp(1.6rem, 3.8vw, 2.6rem); }
.x-demo[data-style="bold"] .x-demo-kicker { color: var(--a); }
.x-demo[data-style="bold"] .x-demo-p { color: rgba(255, 255, 255, .85); }
.x-demo[data-style="bold"] .x-b1 { background: var(--a); color: #0f0b2e; }
.x-demo[data-style="bold"] .x-b2 { border-color: #fff; color: #fff; }
.x-demo[data-style="warm"] { --bg: #fffaf3; --fg: #2d2a26; --muted: #6b5f55; --r: 22px; }
.x-demo[data-style="warm"] .x-demo-hero { background: color-mix(in srgb, var(--a) 18%, var(--bg)); }
.x-demo[data-style="warm"] .x-demo-h { color: var(--p); font-weight: 800; }
.x-demo[data-style="premium"] { --bg: #0f0f14; --fg: #f5f5f5; --muted: #a1a1aa; --r: 2px; }
.x-demo[data-style="premium"] .x-demo-hero { background: linear-gradient(135deg, #15151d, #0f0f14); }
.x-demo[data-style="premium"] .x-demo-h { font-weight: 400; letter-spacing: .01em; }
.x-demo[data-style="premium"] .x-demo-nav b, .x-demo[data-style="premium"] .x-demo-kicker { color: var(--a); }
.x-demo[data-style="premium"] .x-b1 { background: var(--a); color: #0f0f14; }
.x-demo[data-style="premium"] .x-b2 { border-color: var(--a); color: var(--a); }
.x-demo[data-style="premium"] .x-demo-cards span { background: #17171f; border-top-color: var(--a); }
.x-studio-frame { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .6s; }
.x-studio-frame:hover { transform: none; }
@media (max-width: 960px) { .x-studio-frame { transform: none; } }

/* ---------- Trades band ---------- */
.x-trades .intro { font-size: 1.1rem; }

/* ---------- Portfolio ---------- */
.x-work-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 30px; }
.x-project {
  display: grid; align-content: start; gap: 18px; padding: 18px; border-radius: 24px; text-decoration: none; color: #fff !important;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .35s, border-color .35s, background .35s;
}
.x-project:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .55); background: rgba(255, 255, 255, .09); }
.x-project-big { grid-row: span 2; }
.x-project .x-browser { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); border-color: rgba(255, 255, 255, .15); }
.x-project img { display: block; width: 100%; height: auto; transition: transform .8s ease; }
.x-project:hover img { transform: scale(1.03); }
.x-project-text h3 { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.x-project-text p { margin: 0 0 12px; color: #d9d5ff !important; font-size: 1.05rem; }
.x-visit { font-weight: 900; color: #67e8f9; letter-spacing: .02em; }
.x-type-art {
  display: grid; place-content: center; min-height: 190px; border-radius: 18px; text-align: center; line-height: .9;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, .35), transparent 55%), radial-gradient(circle at 85% 80%, rgba(244, 114, 182, .35), transparent 55%), #1b1550;
  border: 1px solid rgba(255, 255, 255, .12);
}
.x-type-art span { font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.03em; text-transform: uppercase; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-project-next { place-content: center; text-align: left; background: linear-gradient(135deg, rgba(79, 70, 229, .5), rgba(244, 114, 182, .35)); }
.x-next-h { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
.x-project-next p { margin: 0; color: #f5f3ff !important; }
@media (max-width: 860px) { .x-work-grid { grid-template-columns: minmax(0, 1fr); } .x-project-big { grid-row: auto; } }

/* ---------- Final call to action ---------- */
.x-final { background: linear-gradient(110deg, #4f46e5, #7c3aed 50%, #db2777); color: #fff; text-align: center; padding: 84px 0 !important; }
.x-final h2 { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; font-size: clamp(2.2rem, 6vw, 4rem) !important; }
.x-final p { font-size: 1.2rem; margin: 0 auto 26px; max-width: 560px; color: #f5f3ff; }
.x-final-btn { background: #fff !important; color: var(--ink) !important; box-shadow: 0 18px 34px -14px rgba(15, 11, 46, .6) !important; }
.x-final-btn:hover { background: #fff !important; }

/* Light sections keep readable body text */
#pricing .intro, #pricing p, #pricing li { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .x-pulse, .x-bar-row i::after, .x-pop { animation: none !important; }
  .x-step, .x-project, .x-studio-frame, .x-project img { transition: none !important; transform: none !important; }
}

/* ---------- Fixes after the first review ---------- */
/* Studio: example site sits between the heading and the controls on phones */
.x-studio-grid { grid-template-areas: "head frame" "ctrl frame"; align-items: start; }
.x-studio-head { grid-area: head; } .x-studio-ctrl { grid-area: ctrl; } .x-studio-frame { grid-area: frame; align-self: center; }
@media (max-width: 960px) { .x-studio-grid { grid-template-areas: "head" "frame" "ctrl"; } .x-controls { margin-top: 4px; } }
@media (max-width: 600px) { .x-controls label span { min-height: 42px; padding: 0 12px; font-size: .95rem; } }
/* Pricing: readable text on the dark yearly card */
#pricing .plan-card--best p, #pricing .plan-card--best .plan-line { color: #e4e1ff !important; }
#pricing .plan-card--best .plan-tag { color: #67e8f9 !important; }
/* Floating start bar only on phones and small tablets; desktop has the header START button */
@media (min-width: 961px) { .wc-dock { display: none !important; } }
/* Keep the drawn line inside the headline column */
.x-hero .wc-line { width: calc(100% + 40px) !important; }
.x-studio-grid { grid-template-rows: auto 1fr; row-gap: 0; }
.x-studio-ctrl { align-self: start; }

/* ---------- Fixes after the independent review ---------- */
/* Shapes always behind content, never over text */
.jz-has-shapes > *:not(.jz-shape) { position: relative; z-index: 2; }
.jz-shape { z-index: 0 !important; }
.jz-shape.jz-light { opacity: .16 !important; }
main > section:not(.tone-dark):not(.tone-pink):not(.home-hero) .jz-shape { opacity: .14 !important; }
.home-hero .home-copy > *:not(.wc-line) { position: relative; z-index: 2; }
.home-hero .wc-line { z-index: 0 !important; opacity: .55; }
/* Floating bar: rounded rectangle, never a pill */
.wc-dock, .wc-dock a { border-radius: 12px !important; }
/* Portfolio: equal-height cards, no empty space */
.x-work-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto; }
.x-project-big { grid-row: auto; }
.x-project { display: flex; flex-direction: column; }
.x-project-type .x-type-art { flex: 1; }
.x-project-next { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.x-project-next p:not(.x-next-h) { flex: 1 1 260px; }
@media (max-width: 860px) { .x-work-grid { grid-template-columns: minmax(0, 1fr); } }
/* Sub-headings in the pricing block use the bold uppercase style */
#pricing .home-compare h3, #pricing .included h3 { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.3rem, 3vw, 1.7rem);
  background: linear-gradient(90deg, #4f46e5, #7c3aed 50%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Phone strip: the visitor's homepage, live, while they type */
.x-strip { --p: #4f46e5; --a: #22d3ee; position: fixed; left: 10px; right: 10px; top: 80px; z-index: 55; display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 10px 14px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 55%, #0f0b2e));
  box-shadow: 0 16px 30px -14px rgba(15, 11, 46, .6); transform: translateY(-140%); opacity: 0; transition: transform .35s, opacity .35s; pointer-events: none; }
.x-strip.on { transform: none; opacity: 1; }
.x-strip-url { font-size: .72rem; font-weight: 700; opacity: .8; }
.x-strip-name { color: var(--a); font-weight: 900; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-strip-h { font-weight: 800; font-size: .9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 961px) { .x-strip { display: none; } }
@media (prefers-reduced-motion: reduce) { .x-strip { transition: none; } }

/* ---------- Second review fixes ---------- */
/* Shapes truly behind text: own stacking context per section, shapes at z -1 */
.jz-has-shapes { isolation: isolate; }
.jz-has-shapes > .jz-shape, .jz-shape { z-index: -1 !important; }
@media (max-width: 960px) {
  .jz-shape { max-width: 70px; max-height: 70px; }
  .jz-shape:nth-of-type(odd) { left: -34px !important; right: auto !important; }
  .jz-shape:nth-of-type(even) { left: auto !important; right: -34px !important; }
}
/* No 3D tilt on the example site, so its small text stays sharp */
.x-studio-frame, .x-studio-frame:hover { transform: none !important; }
/* Angled bands meet without white wedges */
main > section.tone-dark + section.tone-pink, main > section.tone-pink + section.tone-dark,
main > section.tone-dark + section.tone-dark, main > section.tone-pink + section.tone-pink { margin-top: -48px; }
/* Studio on phones: compact controls first, example site straight underneath */
@media (max-width: 960px) {
  .x-studio-grid { grid-template-areas: "head" "ctrl" "frame"; }
  .x-controls { gap: 12px; margin: 8px 0 6px; }
  .x-controls fieldset { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .x-controls fieldset::-webkit-scrollbar { display: none; }
  .x-controls label span { white-space: nowrap; }
  .x-studio .fine { margin-bottom: 8px; }
}

/* ---------- Live trade showcase ---------- */
.x-show { margin-top: 26px; }
.sc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tabs button {
  flex: none; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; padding: 11px 18px; border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); color: #fff; transition: all .2s;
}
.sc-tabs button:hover { background: rgba(255, 255, 255, .22); }
.sc-tabs button[aria-selected="true"] { background: #fff; color: #0f0b2e; border-color: #fff; box-shadow: 0 10px 22px -12px rgba(15, 11, 46, .7); }
.sc-tabs button:focus-visible { outline: 3px solid #22d3ee; outline-offset: 2px; }
.sc-stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: center; margin-top: 14px; }
@media (max-width: 960px) { .sc-stage { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.sc-frame { box-shadow: 0 40px 70px -30px rgba(15, 11, 46, .75); }
.sc-aside { color: #fff; }
.sc-note { margin: 0 0 12px; font-size: 1rem; color: #fdf4ff !important; }
.sc-now { margin: 0 0 18px; font-size: 1.25rem; color: #fff !important; }
.sc-now b { font-weight: 900; }
.sc-use { width: 100%; background: #fff !important; color: #0f0b2e !important; }
.sc-hint { margin: 12px 0 0; font-size: .9rem; color: #fdf4ff !important; opacity: .9; }
@media (hover: none) { .sc-hint { display: none; } }

/* The example site itself (crisp HTML, no pictures) */
.sc-site { --p: #0f766e; --a: #facc15; background: #fff; color: #0f0b2e; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 430px; }
.sc-nav { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid #f0eef6; font-size: .95rem; color: #55516e; }
.sc-nav b { margin-right: auto; color: var(--p); font-size: 1.15rem; font-weight: 900; letter-spacing: -.01em; }
.sc-nav-cta { padding: 8px 14px; border-radius: 10px; background: var(--p); color: #fff; font-weight: 800; }
.sc-hero { padding: 34px 26px; color: #fff; background: radial-gradient(500px 260px at 100% 0%, color-mix(in srgb, var(--a) 35%, transparent), transparent 70%), linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, #0b0820)); }
.sc-hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: center; }
.sc-hero-centre { text-align: center; }
.sc-hero-centre .sc-ctas, .sc-hero-centre .sc-strip { justify-content: center; }
.sc-hero-centre .sc-sub { margin-left: auto; margin-right: auto; }
.sc-kicker { margin: 0 0 10px; font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--a); }
.sc-h { margin: 0 0 12px; font-weight: 900; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; }
.sc-sub { margin: 0 0 20px; max-width: 460px; font-size: 1.02rem; color: rgba(255, 255, 255, .88); }
.sc-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-b1, .sc-b2 { display: inline-block; padding: 12px 18px; border-radius: 10px; font-weight: 800; font-size: .95rem; }
.sc-b1 { background: var(--a); color: #0f0b2e; }
.sc-b2 { border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
.sc-wide { display: block; text-align: center; margin-top: 12px; }
.sc-side { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.sc-side-h { margin: 0 0 10px; font-weight: 900; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--a); }
.sc-tick { margin: 8px 0 0; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.sc-tick::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--a); color: #0f0b2e; font-weight: 900; font-size: .8rem; flex: none; }
.sc-menu { margin: 0; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .3); font-weight: 700; }
.sc-menu:last-child { border-bottom: 0; }
.sc-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-slots span { padding: 10px; border-radius: 10px; text-align: center; font-weight: 800; background: rgba(255, 255, 255, .14); }
.sc-slots span.on { background: #fff; color: var(--p); }
.sc-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-weight: 800; font-size: .95rem; }
.sc-strip span::before { content: "✓ "; color: var(--a); }
.sc-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 24px 24px; }
.sc-card { padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--p) 6%, #fff); border-top: 3px solid var(--p); }
.sc-card i { display: block; font-style: normal; font-weight: 900; font-size: .78rem; color: var(--p); margin-bottom: 4px; }
.sc-card b { font-size: .98rem; }
@media (max-width: 700px) {
  .sc-hero-split { grid-template-columns: minmax(0, 1fr); }
  .sc-services { grid-template-columns: 1fr 1fr; }
  .sc-nav span:not(.sc-nav-cta) { display: none; }
  .sc-site { min-height: 0; }
}
/* Build-in animation each time a trade is picked */
.sc-in .sc-nav, .sc-in .sc-kicker, .sc-in .sc-h, .sc-in .sc-sub, .sc-in .sc-ctas, .sc-in .sc-side, .sc-in .sc-strip, .sc-in .sc-card { animation: sc-rise .55s cubic-bezier(.2, .9, .3, 1) both; }
.sc-in .sc-kicker { animation-delay: .05s; } .sc-in .sc-h { animation-delay: .1s; } .sc-in .sc-sub { animation-delay: .16s; }
.sc-in .sc-ctas { animation-delay: .22s; } .sc-in .sc-side, .sc-in .sc-strip { animation-delay: .28s; }
.sc-in .sc-card { animation-delay: calc(.32s + var(--d, 0ms)); }
.sc-in .sc-hero { animation: sc-wash .6s ease both; }
@keyframes sc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sc-wash { from { filter: saturate(.4) brightness(1.2); } to { filter: none; } }
@media (prefers-reduced-motion: reduce) { .sc-in * { animation: none !important; } }
/* On a light page (Examples) */
.x-show-light .sc-tabs button { border-color: #e4e0fa; background: #fff; color: #0f0b2e; }
.x-show-light .sc-tabs button[aria-selected="true"] { background: #0f0b2e; color: #fff; border-color: #0f0b2e; }
.x-show-light .sc-aside, .x-show-light .sc-note, .x-show-light .sc-now, .x-show-light .sc-hint { color: #0f0b2e !important; }
.x-show-light .sc-use { background: linear-gradient(100deg, #4f46e5, #7c3aed 55%, #db2777) !important; color: #fff !important; }
.prose .x-show-light .sc-stage { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero: form lines up with the copy and live preview ---------- */
@media (min-width: 961px) {
  .x-hero { align-items: stretch; }
  .x-hero .quote-card { position: static; align-self: stretch; display: flex; flex-direction: column; padding: 34px !important; }
  .x-hero .quote-card .field { margin-bottom: 18px; }
  .x-hero .quote-card textarea { flex: 1; min-height: 150px; }
  .x-hero .quote-card .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
  .x-hero .quote-card input, .x-hero .quote-card select { min-height: 54px; }
  .x-hero .quote-card .x-go { margin-top: 8px; }
}
/* Form fills its column with a "what happens next" panel instead of a giant text box */
@media (min-width: 961px) {
  .x-hero .quote-card textarea { flex: none; min-height: 96px; }
  .x-hero .quote-card .field:has(textarea) { flex: none; }
  .x-next { margin-top: auto; }
}
.x-next { margin-top: 22px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #f5f3ff, #fdf2f8); border: 1px solid #ece6fb; }
.x-next-t { margin: 0 0 10px; font-weight: 900; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #7c3aed; }
.x-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.x-next li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; counter-increment: n; }
.x-next li::before { content: counter(n); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #4f46e5, #db2777); color: #fff; font-weight: 900; font-size: .9rem; }
.x-next b { font-weight: 800; color: #0f0b2e; }
.x-next span { color: #2a2552; font-size: .95rem; }
.sc-stage { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 960px) { .sc-stage { grid-template-columns: minmax(0, 1fr); } }
.sc-use { white-space: nowrap; font-size: 1.05rem !important; }
@media (min-width: 961px) {
  .x-hero .quote-card { padding: 28px !important; }
  .x-hero .quote-card .field { margin-bottom: 13px; }
  .x-hero .quote-card textarea { min-height: 84px; }
  .x-next ol { gap: 8px; }
}
@media (min-width: 961px) { .x-hero .home-copy .sub { margin-bottom: 8px; } .x-hero .x-live { align-self: end; } .x-hero .quote-card .hint { margin-bottom: 6px; } }

/* Showcase photos: full colour on the right, fading into the trade colour behind the text */
.sc-hero { position: relative; overflow: hidden; isolation: isolate; }
.sc-photo { position: absolute; top: 0; right: 0; height: 100%; width: 68%; object-fit: cover; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.sc-hero-split::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--p) 15%, transparent) 30%, color-mix(in srgb, var(--p) 25%, rgba(11, 8, 32, .35)) 100%); }
.sc-hero-in { position: relative; }
.sc-hero-split .sc-side { background: rgba(10, 8, 30, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .25); }
.sc-hero-centre .sc-photo { width: 100%; -webkit-mask-image: none; mask-image: none; }
.sc-hero-centre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--p) 78%, transparent), color-mix(in srgb, var(--p) 92%, #0b0820)); }
.sc-h, .sc-sub, .sc-kicker { text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.sc-in .sc-photo { animation: sc-photo 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sc-photo { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .sc-photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 70%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 70%); }
  .sc-hero-split::after { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 55%, transparent) 0%, color-mix(in srgb, var(--p) 92%, #0b0820) 55%); }
}
@media (prefers-reduced-motion: reduce) { .sc-in .sc-photo { animation: none; } }
/* Example sites keep their own text colours inside coloured bands */
main > section .sc-site .sc-hero p, main > section .sc-site .sc-hero .sc-h { color: #fff !important; }
main > section .sc-site .sc-hero .sc-kicker, main > section .sc-site .sc-hero .sc-side-h { color: var(--a) !important; }
main > section .sc-site .sc-hero .sc-sub { color: rgba(255, 255, 255, .9) !important; }
main > section .sc-site .sc-hero .sc-slots span.on { color: var(--p) !important; }
.sc-hero-centre::after { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 66%, transparent), color-mix(in srgb, var(--p) 88%, #0b0820)); }

/* ---------- Trade picker: search, filters and a photo rail ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-find { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.sc-search { position: relative; flex: 1 1 260px; max-width: 380px; }
.sc-search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: #7c3aed; stroke-width: 2.4; stroke-linecap: round; }
.sc-search input { width: 100%; min-height: 50px; padding: 0 16px 0 44px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .8); background: #fff; color: #0f0b2e; font: inherit; font-size: 1.02rem; font-weight: 600; box-shadow: 0 12px 26px -16px rgba(15, 11, 46, .6); }
.sc-search input:focus { outline: none; border-color: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .35); }
.sc-groups { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sc-groups::-webkit-scrollbar { display: none; }
.sc-groups button { flex: none; font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; padding: 10px 14px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s; }
.sc-groups button:hover { background: rgba(255, 255, 255, .26); }
.sc-groups button[aria-pressed="true"] { background: #0f0b2e; color: #fff; }
.sc-rail-wrap { position: relative; }
.sc-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 12px; scrollbar-width: none; scroll-padding: 0 48px; }
.sc-rail::-webkit-scrollbar { display: none; }
.sc-pick {
  flex: none; width: 150px; scroll-snap-align: start; padding: 0; border: 0; cursor: pointer; text-align: left; font: inherit;
  border-radius: 14px; overflow: hidden; background: #fff; color: #0f0b2e; box-shadow: 0 10px 22px -14px rgba(15, 11, 46, .7);
  transition: transform .25s, box-shadow .25s, outline-color .2s; outline: 3px solid transparent; outline-offset: 2px;
}
.sc-pick img { display: block; width: 150px; height: 90px; object-fit: cover; transition: transform .5s; }
.sc-pick span { display: block; padding: 9px 11px 10px; font-weight: 800; font-size: .92rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-pick:hover { transform: translateY(-4px); }
.sc-pick:hover img { transform: scale(1.08); }
.sc-pick[aria-selected="true"] { outline-color: #fff; box-shadow: 0 0 0 6px rgba(15, 11, 46, .35), 0 16px 30px -12px rgba(15, 11, 46, .8); }
.sc-pick[aria-selected="true"] span { background: #0f0b2e; color: #fff; }
.sc-pick:focus-visible { outline-color: #22d3ee; }
.sc-pick[hidden] { display: none; }
.sc-arrow {
  position: absolute; top: 34px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer;
  background: #fff; color: #0f0b2e; font-size: 1.7rem; font-weight: 900; line-height: 1; box-shadow: 0 10px 22px -10px rgba(15, 11, 46, .7);
}
.sc-prev { left: -12px; } .sc-next { right: -12px; }
.sc-arrow:hover { background: #0f0b2e; color: #fff; }
@media (hover: none), (max-width: 700px) { .sc-arrow { display: none; } }
.sc-count { margin: 4px 0 0; font-weight: 800; color: #fdf4ff !important; font-size: .95rem; }
@media (max-width: 600px) { .sc-pick { width: 124px; } .sc-pick img { width: 124px; height: 76px; } .sc-search { max-width: none; } }
.x-show-light .sc-groups button { background: #f1eefe; color: #0f0b2e; }
.x-show-light .sc-groups button[aria-pressed="true"] { background: #0f0b2e; color: #fff; }
.x-show-light .sc-search input { border-color: #e4e0fa; }
.x-show-light .sc-count { color: #2a2552 !important; }
.x-show-light .sc-pick[aria-selected="true"] { outline-color: #7c3aed; }
.sc-arrow { top: auto; bottom: -46px; width: 40px; height: 36px; font-size: 1.5rem; }
.sc-next { right: 0; } .sc-prev { left: auto; right: 48px; }

/* ---------- Journey stepper ---------- */
.jr { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; margin-top: 30px; align-items: stretch; }
@media (max-width: 960px) { .jr { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.jr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jr-steps button {
  position: relative; width: 100%; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: 20px; cursor: pointer; font: inherit; color: #fff; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, border-color .3s, transform .3s;
}
.jr-steps button:hover { background: rgba(255, 255, 255, .09); }
.jr-steps button[aria-selected="true"] { background: rgba(255, 255, 255, .12); border-color: rgba(34, 211, 238, .6); transform: translateX(6px); }
.jr-steps button:focus-visible { outline: 3px solid #22d3ee; outline-offset: 2px; }
.jr-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-weight: 900; font-size: 1.25rem; background: rgba(255, 255, 255, .1); color: #c4b5fd; transition: all .3s; }
.jr-steps button[aria-selected="true"] .jr-n, .jr-steps button.done .jr-n { background: linear-gradient(135deg, #22d3ee, #7c3aed 60%, #f472b6); color: #fff; box-shadow: 0 10px 22px -10px rgba(34, 211, 238, .8); }
.jr-t b { display: block; font-size: 1.15rem; font-weight: 900; color: #fff; }
.jr-t em { display: block; font-style: normal; color: #d9d5ff; font-size: 1rem; margin-top: 2px; }
.jr-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.jr-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22d3ee, #f472b6); }
.jr.auto [aria-selected="true"] .jr-bar i { animation: jr-fill var(--dur, 5200ms) linear forwards; }
@keyframes jr-fill { to { width: 100%; } }

.jr-stage {
  position: relative; min-height: 360px; border-radius: 24px; padding: 28px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(420px 260px at 85% 10%, rgba(34, 211, 238, .25), transparent 70%), radial-gradient(420px 280px at 10% 100%, rgba(244, 114, 182, .25), transparent 70%), rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
}
.jr-scene { width: 100%; max-width: 460px; }
.jr-scene.play { animation: jr-in .5s cubic-bezier(.2, .9, .3, 1); }
@keyframes jr-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.jr-card { background: #fff; color: #0f0b2e; border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.jr-label { margin: 0 0 12px; font-weight: 900; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #7c3aed; }
.jr-field { display: grid; gap: 4px; margin-bottom: 12px; }
.jr-field em { font-style: normal; font-weight: 800; font-size: .85rem; color: #57537a; }
.jr-field span { min-height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; border: 2px solid #e4e0fa; font-weight: 700; }
.jr-field span::after { content: ""; width: 2px; height: 20px; margin-left: 2px; background: #4f46e5; animation: jr-caret 1s steps(1) infinite; }
@keyframes jr-caret { 50% { opacity: 0; } }
.jr-choices { display: flex; gap: 8px; margin: 4px 0 14px; }
.jr-choices span { flex: 1; text-align: center; padding: 10px; border-radius: 10px; border: 2px solid #e4e0fa; font-weight: 800; font-size: .92rem; }
.jr-choices .on { border-color: #7c3aed; background: #f5f3ff; }
.play .jr-choices .on { animation: jr-pick .5s 2.8s both; }
@keyframes jr-pick { from { border-color: #e4e0fa; background: #fff; } to { border-color: #7c3aed; background: #f5f3ff; } }
.jr-progress { height: 8px; border-radius: 6px; background: #eeeafc; overflow: hidden; }
.jr-progress i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #22d3ee, #7c3aed, #f472b6); }
.play .jr-progress i { animation: jr-prog 4.5s ease forwards; }
@keyframes jr-prog { from { width: 20%; } to { width: 40%; } }

.jr-build { display: grid; gap: 10px; }
.jr-b { border-radius: 12px; background: #f1eefe; padding: 12px; font-weight: 800; }
.jr-b-nav { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ece9fb; }
.jr-b-nav b { margin-right: auto; color: #1d4ed8; }
.jr-b-nav i { width: 38px; height: 8px; border-radius: 4px; background: #e4e0fa; }
.jr-b-hero { min-height: 110px; display: grid; align-content: center; gap: 12px; color: #fff; font-size: 1.25rem; font-weight: 900; line-height: 1.15; background: linear-gradient(135deg, #1d4ed8, #0b1d5c); }
.jr-b-hero i { width: 120px; height: 34px; border-radius: 10px; background: #38bdf8; }
.jr-b-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jr-b-row .jr-b { font-size: .9rem; border-top: 3px solid #1d4ed8; }
.play .jr-build > *, .play .jr-b-row .jr-b { animation: jr-drop .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.play .jr-b-nav { animation-delay: .2s; } .play .jr-b-hero { animation-delay: .7s; }
.play .jr-b-row .jr-b:nth-child(1) { animation-delay: 1.3s; } .play .jr-b-row .jr-b:nth-child(2) { animation-delay: 1.5s; } .play .jr-b-row .jr-b:nth-child(3) { animation-delay: 1.7s; }
.play .jr-status { animation-delay: 0s; }
@keyframes jr-drop { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
.jr-status { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-weight: 800; color: #57537a; }
.jr-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #e4e0fa; border-top-color: #7c3aed; animation: jr-rot .8s linear infinite; }
@keyframes jr-rot { to { transform: rotate(360deg); } }

.jr-change { display: grid; gap: 16px; }
.jr-mini { border-radius: 14px; overflow: hidden; border: 1px solid #ece9fb; }
.jr-mini-head { padding: 22px 16px; color: #fff; background: #1d4ed8; font-size: 1.1rem; transition: background .6s; }
.play .jr-mini-head { animation: jr-green .6s 2.4s forwards; }
@keyframes jr-green { to { background: #166534; } }
.jr-mini-body { height: 54px; background: repeating-linear-gradient(180deg, #f1eefe 0 10px, #fff 10px 20px); }
.jr-chat { display: grid; gap: 10px; }
.jr-msg { margin: 0; justify-self: start; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #f1eefe; font-weight: 700; }
.jr-us { justify-self: end; border-radius: 14px 14px 4px 14px; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.play .jr-msg { animation: jr-drop .5s both; }
.play .jr-msg:nth-child(1) { animation-delay: .4s; } .play .jr-msg:nth-child(2) { animation-delay: 2s; } .play .jr-msg:nth-child(3) { animation-delay: 3.4s; }

.jr-live { text-align: center; }
.jr-url { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #f5f3ff; font-weight: 800; font-size: 1.15rem; }
.jr-lock { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #dcfce7; font-size: 1rem; }
.jr-live-badge { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 16px; padding: 10px 18px; border-radius: 12px; background: #dcfce7; color: #166534; font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.play .jr-live-badge { animation: jr-drop .6s 1.4s both; }
.jr-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.jr-ticks li { padding: 12px 14px; border-radius: 12px; background: #f5f3ff; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.jr-ticks li::before { content: "✓"; color: #16a34a; font-weight: 900; }
.play .jr-ticks li { animation: jr-drop .5s both; }
.play .jr-ticks li:nth-child(1) { animation-delay: 1.9s; } .play .jr-ticks li:nth-child(2) { animation-delay: 2.1s; } .play .jr-ticks li:nth-child(3) { animation-delay: 2.3s; } .play .jr-ticks li:nth-child(4) { animation-delay: 2.5s; }
@media (max-width: 600px) { .jr-stage { padding: 16px; min-height: 0; } .jr-steps button { grid-template-columns: 46px 1fr; padding: 12px 14px; } .jr-n { width: 46px; height: 46px; font-size: 1.05rem; } .jr-steps button[aria-selected="true"] { transform: none; } }
@media (prefers-reduced-motion: reduce) { .jr *, .jr-scene { animation: none !important; } .jr-field span::after { display: none; } }
/* Journey cards keep dark text inside the dark band */
main > section .jr-card, main > section .jr-card p, main > section .jr-card li, main > section .jr-card b, main > section .jr-card span:not(.jr-lock) { color: #0f0b2e !important; }
main > section .jr-card .jr-label { color: #7c3aed !important; }
main > section .jr-card .jr-status { color: #57537a !important; }
main > section .jr-card .jr-us { color: #fff !important; }
main > section .jr-card .jr-live-badge { color: #166534 !important; }
main > section .jr-card .jr-b-hero, main > section .jr-card .jr-b-hero span { color: #fff !important; }
main > section .jr-card .jr-mini-head b { color: #fff !important; }
main > section .jr-card .jr-b-nav b { color: #1d4ed8 !important; }
/* Typing cursor only on the field being typed */
.jr-field span::after { display: none; }
.jr-field span.typing::after { display: inline-block; }
@media (max-width: 960px) { .jr-stage { order: -1; min-height: 430px; align-content: center; } }
@media (min-width: 961px) { .jr-stage { min-height: 460px; } }
/* "This is a first draft" messaging */
.sc-draft { flex: none; margin-left: 10px; font-weight: 900; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #7c3aed; white-space: nowrap; }
@media (max-width: 420px) { .sc-draft { font-size: .68rem; } }
.sc-change { margin: 6px 0 18px; padding: 16px 18px; border-radius: 16px; background: rgba(15, 11, 46, .32); border: 1px solid rgba(255, 255, 255, .22); }
.sc-change-h { margin: 0 0 8px; font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: #fff !important; }
.sc-change ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.sc-change li { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #fff !important; }
.sc-change li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #22d3ee; color: #0f0b2e; font-size: .75rem; font-weight: 900; flex: none; }
.sc-change-f { margin: 0; font-size: .95rem; color: #fdf4ff !important; }
.x-show-light .sc-change { background: #f5f3ff; border-color: #e4e0fa; }
.x-show-light .sc-change-h, .x-show-light .sc-change li { color: #0f0b2e !important; }
.x-show-light .sc-change-f { color: #2a2552 !important; }
@media (max-width: 960px) { .sc-change ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sc-change ul { grid-template-columns: 1fr; } }

/* Photos in the live preview and the Make it yours example (same treatment as the trade examples) */
.x-ph { position: relative; overflow: hidden; isolation: isolate; }
.x-ph > *:not(.x-photo) { position: relative; }
.x-photo { position: absolute; top: 0; right: 0; height: 100%; width: 66%; object-fit: cover; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%); mask-image: linear-gradient(90deg, transparent 0%, #000 50%); }
.x-site-hero.x-ph { min-height: 190px; }
.x-site-hero.x-ph::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--p) 20%, transparent), rgba(11, 8, 32, .25)); }
.x-site-h, .x-site-kicker { text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.x-demo-hero.x-ph { min-height: 230px; }
.x-demo-hero .x-photo { opacity: .95; }
/* Light styles: photo sits on the right and fades out behind the text */
.x-demo[data-style="modern"] .x-demo-hero .x-photo, .x-demo[data-style="warm"] .x-demo-hero .x-photo { width: 48%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
.x-demo[data-style="modern"] .x-demo-p, .x-demo[data-style="warm"] .x-demo-p { max-width: 58%; }
.x-demo[data-style="modern"] .x-demo-h, .x-demo[data-style="warm"] .x-demo-h { max-width: 62%; }
.x-demo[data-style="bold"] .x-demo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--p) 35%, color-mix(in srgb, var(--p) 35%, transparent)); }
.x-demo[data-style="bold"] .x-demo-hero .x-photo { width: 70%; -webkit-mask-image: none; mask-image: none; }
.x-demo[data-style="premium"] .x-demo-hero .x-photo { width: 62%; filter: grayscale(.5) brightness(.6); }
@media (max-width: 600px) {
  .x-photo, .x-demo[data-style] .x-demo-hero .x-photo { width: 100% !important; -webkit-mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.25)) !important; mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.25)) !important; }
  .x-site-hero.x-ph::after { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 45%, transparent), color-mix(in srgb, var(--p) 92%, #0b0820) 75%); }
  .x-demo[data-style="modern"] .x-demo-hero::after, .x-demo[data-style="warm"] .x-demo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), var(--bg) 70%); }
  .x-demo[data-style] .x-demo-p, .x-demo[data-style] .x-demo-h { max-width: none; }
}
/* Portfolio: WasteRemoval beside "Your site next" until the other two sites are added */
.x-work-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; }
.x-project-next { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; }
@media (max-width: 860px) { .x-work-grid { grid-template-columns: minmax(0, 1fr); } }
.x-project-next p:not(.x-next-h) { flex: none; margin: 12px 0 18px; }
/* Portfolio: big WasteRemoval card; VM Services in a phone frame; Your site next */
.x-work-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.x-project-big { grid-row: span 2; }
.x-project-phone { flex-direction: row; align-items: center; gap: 18px; }
.x-phone { flex: none; width: 150px; padding: 8px; border-radius: 26px; background: #0b0820; border: 2px solid rgba(255, 255, 255, .2); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .8); }
.x-phone img { display: block; width: 100%; height: auto; border-radius: 18px; }
.x-project-phone .x-project-text h3 { font-size: 1.3rem; }
@media (max-width: 860px) { .x-project-big { grid-row: auto; } .x-project-phone { flex-direction: column; align-items: flex-start; } .x-phone { width: min(260px, 100%); } }
@media (max-width: 860px) { .x-work-grid { grid-template-columns: minmax(0, 1fr) !important; } .x-project-big { grid-row: auto !important; } }
@media (min-width: 861px) { .x-phone { width: 170px; } }

/* Make it yours on phones: example on top, controls stick to the bottom of the screen while in this section */
@media (max-width: 960px) {
  .x-studio-grid { grid-template-areas: "head" "frame" "ctrl" !important; }
  .x-studio-ctrl {
    position: sticky; bottom: 0; z-index: 30; margin: 14px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #ece9fb; border-radius: 18px 18px 0 0; box-shadow: 0 -14px 30px -18px rgba(15, 11, 46, .45);
  }
  .x-controls { gap: 6px !important; margin: 0 !important; }
  .x-controls legend { margin-bottom: 4px !important; font-size: .7rem !important; }
  .x-controls label span { min-height: 38px !important; padding: 0 12px !important; font-size: .9rem !important; border-radius: 10px !important; }
  .x-sw span::before { width: 18px !important; height: 18px !important; }
  .x-studio-ctrl .fine { display: none; }
  body.in-studio .wc-dock { transform: translate(-50%, 160%) !important; }
}

/* ---------- Hero, second pass: aurora background, phone visual (phones), tighter type ---------- */
.home-hero { background: #f6f4ff !important; }
.home-hero::before {
  content: "" !important; position: absolute !important; inset: -20% !important; z-index: 0 !important; pointer-events: none;
  background:
    radial-gradient(38% 34% at 18% 22%, rgba(34, 211, 238, .45), transparent 70%),
    radial-gradient(36% 32% at 82% 18%, rgba(124, 58, 237, .40), transparent 70%),
    radial-gradient(40% 36% at 70% 78%, rgba(244, 114, 182, .42), transparent 70%),
    radial-gradient(34% 30% at 20% 85%, rgba(79, 70, 229, .32), transparent 70%) !important;
  filter: blur(30px); animation: hv-aurora 18s ease-in-out infinite alternate !important; opacity: 1 !important;
}
@keyframes hv-aurora { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(3%, -2%) rotate(6deg) scale(1.06); } 100% { transform: translate(-3%, 2%) rotate(-5deg) scale(1.02); } }
.home-hero .x-kicker { position: relative; z-index: 3; }

/* Phone visual and big button: phones and tablets only (desktop has the form beside the headline) */
.hv, .hv-cta, .hv-under { display: none; }
@media (max-width: 960px) {
  .home-hero { padding-top: 22px; }
  .home-hero h1 { font-size: clamp(2.5rem, 11.5vw, 4rem) !important; margin-bottom: 10px; }
  .x-kicker { font-size: .78rem; margin-bottom: 10px; }
  /* one alignment: everything on the left */
  .home-hero .jz-lead { text-align: left !important; margin: 4px 0 0 !important; font-size: 1.25rem !important; line-height: 1.25 !important; }
  .home-hero .jz-lead br { display: none; }
  .home-hero .jz-lead .jz-word { display: inline !important; font-size: inherit !important; margin: 0 !important; }
  .home-hero .sub { font-size: 1.02rem !important; margin-top: 18px !important; }
  .hv { display: block; position: relative; height: 380px; margin: 22px 0 6px; }
  .hv-glow { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); border-radius: 50%;
    background: conic-gradient(from 0deg, #22d3ee, #7c3aed, #f472b6, #22d3ee); filter: blur(46px); opacity: .55; animation: hv-spin 12s linear infinite; }
  @keyframes hv-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
  .hv-phone { position: absolute; left: 50%; top: 0; width: 210px; height: 370px; margin-left: -105px; padding: 9px; border-radius: 34px; background: #0f0b2e;
    box-shadow: 0 40px 60px -30px rgba(15, 11, 46, .7), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(-6deg); animation: hv-float 6s ease-in-out infinite; }
  @keyframes hv-float { 50% { transform: rotate(-4deg) translateY(-10px); } }
  .hv-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; }
  .hv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; animation: hv-cycle 12s infinite; }
  .hv-slide:nth-child(2) { animation-delay: 3s; } .hv-slide:nth-child(3) { animation-delay: 6s; } .hv-slide:nth-child(4) { animation-delay: 9s; }
  @keyframes hv-cycle { 0% { opacity: 0; transform: scale(1.04); } 4%, 25% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; } }
  .hv-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 14px 10px; }
  .hv-nav b { font-size: .9rem; font-weight: 900; color: var(--p); }
  .hv-nav i { width: 18px; height: 3px; border-radius: 3px; background: var(--p); box-shadow: 0 5px 0 var(--p), 0 -5px 0 var(--p); }
  .hv-hero { position: relative; flex: 1 1 auto; max-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px; color: #fff; overflow: hidden; isolation: isolate; }
  .hv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .hv-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, color-mix(in srgb, var(--p) 92%, #000) 85%); }
  .hv-hero p { margin: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.12; color: #fff !important; }
  .hv-hero span { align-self: flex-start; padding: 7px 11px; border-radius: 8px; background: var(--a); color: #0f0b2e; font-weight: 800; font-size: .72rem; }
  .hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 14px; }
  .hv-cards i { height: 44px; border-radius: 8px; background: color-mix(in srgb, var(--p) 10%, #fff); border-top: 3px solid var(--p); }
  .hv-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #0f0b2e;
    box-shadow: 0 18px 36px -16px rgba(15, 11, 46, .55); font-size: .9rem; }
  .hv-card b { display: block; font-weight: 900; }
  .hv-card em { display: block; font-style: normal; color: #57537a; font-size: .8rem; }
  .hv-card-a { left: 0; bottom: 34px; animation: hv-bob 5s ease-in-out infinite; }
  .hv-card-b { right: 0; top: 46px; display: block; text-align: center; animation: hv-bob 5s 1.2s ease-in-out infinite; }
  .hv-card-b b { font-size: 1.35rem; background: linear-gradient(90deg, #4f46e5, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
  @keyframes hv-bob { 50% { transform: translateY(-8px); } }
  .hv-tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #dcfce7; color: #16a34a; font-weight: 900; }
  .hv-cta { display: flex; width: 100%; margin-top: 18px; }
  .hv-under { display: block; margin: 10px 0 0; text-align: center; font-weight: 700; color: #2a2552; font-size: .95rem; }
  /* the drawn line sits lower so it never crosses the small heading */
  .home-hero .wc-line { opacity: .35 !important; }
}
@media (max-width: 360px) { .hv-card { font-size: .8rem; padding: 8px 10px; } }
@media (prefers-reduced-motion: reduce) {
  .home-hero::before, .hv-glow, .hv-phone, .hv-card { animation: none !important; }
  .hv-slide { animation: none !important; } .hv-slide:first-child { opacity: 1; }
}
@media (max-width: 960px) {
  @keyframes hv-cycle { 0% { opacity: 0; transform: scale(1.04); } 4%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }
  .home-hero .jz-lead .jz-word { margin: 0 .28em !important; }
}

/* ---------- Desktop hero: phone visual beside the headline ---------- */
.hv-ticks { display: none; }
@media (min-width: 961px) {
  .x-hero .home-copy { display: grid; grid-template-columns: minmax(0, 1fr) 270px; column-gap: 14px;
    grid-template-areas: "kicker kicker" "h1 h1" "lead hv" "ticks hv" "sub sub"; align-content: start; }
  .x-hero .home-copy .x-kicker { grid-area: kicker; }
  .x-hero .home-copy h1 { grid-area: h1; }
  .x-hero .home-copy .jz-lead { grid-area: lead; text-align: left !important; margin: 14px 0 0 !important; font-size: 1.55rem !important; line-height: 1.25 !important; }
  .x-hero .home-copy .jz-lead br { display: none; }
  .x-hero .home-copy .jz-lead .jz-word { display: inline !important; font-size: inherit !important; margin: 0 .25em !important; }
  .x-hero .home-copy .sub { grid-area: sub; margin-top: 18px !important; }
  .hv-ticks { grid-area: ticks; display: grid; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; align-self: start; }
  .hv-ticks li { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 1.05rem; color: #0f0b2e; }
  .hv-ticks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #22d3ee, #7c3aed); color: #fff; font-size: .8rem; font-weight: 900; }

  .hv { grid-area: hv; display: block; position: relative; height: 380px; margin: 4px 0 0; }
  .hv-glow { position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; transform: translate(-50%, -50%); border-radius: 50%;
    background: conic-gradient(from 0deg, #22d3ee, #7c3aed, #f472b6, #22d3ee); filter: blur(46px); opacity: .5; animation: hv-spin 12s linear infinite; }
  @keyframes hv-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
  .hv-phone { position: absolute; left: 50%; top: 0; width: 200px; height: 360px; margin-left: -100px; padding: 9px; border-radius: 34px; background: #0f0b2e;
    box-shadow: 0 40px 60px -30px rgba(15, 11, 46, .7), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(-6deg); animation: hv-float 6s ease-in-out infinite; }
  @keyframes hv-float { 50% { transform: rotate(-4deg) translateY(-10px); } }
  .hv-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; }
  .hv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; animation: hv-cycle 12s infinite; }
  .hv-slide:nth-child(2) { animation-delay: 3s; } .hv-slide:nth-child(3) { animation-delay: 6s; } .hv-slide:nth-child(4) { animation-delay: 9s; }
  @keyframes hv-cycle { 0% { opacity: 0; transform: scale(1.04); } 4%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }
  .hv-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 14px 10px; }
  .hv-nav b { font-size: .88rem; font-weight: 900; color: var(--p); }
  .hv-nav i { width: 18px; height: 3px; border-radius: 3px; background: var(--p); box-shadow: 0 5px 0 var(--p), 0 -5px 0 var(--p); }
  .hv-hero { position: relative; flex: 1 1 auto; max-height: 215px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px; color: #fff; overflow: hidden; isolation: isolate; }
  .hv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .hv-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, color-mix(in srgb, var(--p) 92%, #000) 85%); }
  .hv-hero p { margin: 0; font-size: 1rem; font-weight: 900; line-height: 1.12; color: #fff !important; }
  .hv-hero span { align-self: flex-start; padding: 7px 11px; border-radius: 8px; background: var(--a); color: #0f0b2e; font-weight: 800; font-size: .72rem; }
  .hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 14px; }
  .hv-cards i { height: 42px; border-radius: 8px; background: color-mix(in srgb, var(--p) 10%, #fff); border-top: 3px solid var(--p); }
  .hv-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #0f0b2e;
    box-shadow: 0 18px 36px -16px rgba(15, 11, 46, .55); font-size: .88rem; z-index: 2; white-space: nowrap; }
  .hv-card b { display: block; font-weight: 900; }
  .hv-card em { display: block; font-style: normal; color: #57537a; font-size: .78rem; }
  .hv-card-a { left: -34px; bottom: 30px; animation: hv-bob 5s ease-in-out infinite; }
  .hv-card-b { right: -12px; top: 40px; display: block; text-align: center; animation: hv-bob 5s 1.2s ease-in-out infinite; }
  .hv-card-b b { font-size: 1.3rem; background: linear-gradient(90deg, #4f46e5, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
  @keyframes hv-bob { 50% { transform: translateY(-8px); } }
  .hv-tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #dcfce7; color: #16a34a; font-weight: 900; }
  .home-hero .wc-line { opacity: .35 !important; }
}
@media (min-width: 961px) and (prefers-reduced-motion: reduce) { .hv-glow, .hv-phone, .hv-card, .hv-slide { animation: none !important; } .hv-slide:first-child { opacity: 1; } }
@media (min-width: 961px) { .x-hero .home-copy .sub { display: none; } .hv-card-a { left: -6px; } }

/* ---------- Desktop: laptop instead of phone ---------- */
.mb-cycle, .mb-base { display: none; }
@media (min-width: 961px) {
  .hv { display: none !important; }
  .x-hero .home-copy { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "kicker" "h1" "lead" "ticks" !important; }
  .hv-ticks { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 10px; margin-top: 20px; }
  .hv-ticks li { font-size: 1rem; }
  /* the laptop */
  .mb { position: relative; margin-top: 4px; }
  .mb-screen { position: relative; padding: 14px 14px 16px; border-radius: 22px 22px 6px 6px; background: linear-gradient(180deg, #1c1830, #0b0820);
    box-shadow: 0 50px 80px -40px rgba(15, 11, 46, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); }
  .mb-screen::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c2847; }
  .mb-screen > .x-browser { border-radius: 8px; box-shadow: none; border: 0; }
  .mb-base { display: block; position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 16px 16px;
    background: linear-gradient(180deg, #d9d6e8, #a9a5bf 70%, #8a86a2); box-shadow: 0 18px 28px -14px rgba(15, 11, 46, .55); }
  .mb-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 18%; height: 7px; margin-left: -9%; border-radius: 0 0 10px 10px; background: #9e9ab5; }
  /* before typing: example first drafts cycle on the screen */
  .mb-cycle { display: block; position: absolute; inset: 14px 14px 16px; border-radius: 8px; overflow: hidden; background: #fff; transition: opacity .6s; z-index: 2; }
  .x-live-on .mb-cycle { opacity: 0; pointer-events: none; }
  .mb-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; animation: hv-cycle 12s infinite; background: #fff; }
  .mb-slide:nth-child(2) { animation-delay: 3s; } .mb-slide:nth-child(3) { animation-delay: 6s; } .mb-slide:nth-child(4) { animation-delay: 9s; }
  .mb-nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; font-size: .85rem; color: #57537a; border-bottom: 1px solid #f0eef6; }
  .mb-nav b { margin-right: auto; color: var(--p); font-weight: 900; font-size: 1rem; }
  .mb-cta { padding: 6px 10px; border-radius: 8px; background: var(--p); color: #fff; font-weight: 800; }
  .mb-hero { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px 22px; color: #fff; overflow: hidden; isolation: isolate; }
  .mb-hero img { position: absolute; top: 0; right: 0; height: 100%; width: 70%; object-fit: cover; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
  .mb-hero::after { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 60%, #0b0820)); }
  .mb-hero p { margin: 0; max-width: 60%; font-size: 1.45rem; font-weight: 900; line-height: 1.1; color: #fff !important; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
  .mb-hero span { align-self: flex-start; padding: 8px 12px; border-radius: 8px; background: var(--a); color: #0f0b2e; font-weight: 800; font-size: .8rem; }
  .mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 18px 16px; }
  .mb-cards i { height: 46px; border-radius: 10px; background: color-mix(in srgb, var(--p) 8%, #fff); border-top: 3px solid var(--p); }
}
@media (min-width: 961px) and (prefers-reduced-motion: reduce) { .mb-slide { animation: none !important; } .mb-slide:first-child { opacity: 1; } }
@media (min-width: 961px) { .x-hero .x-live { align-self: start !important; margin-top: 18px; } .x-hero { align-items: start !important; } }
.jz-paynote { display: block; margin-top: 8px; font-size: clamp(.95rem, 2.4vw, 1.1rem); font-weight: 700; letter-spacing: 0; text-transform: none; color: #3f3b63; }

/* ---------- AI editor in action ---------- */
.x-ai { position: relative; }
.x-ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.x-ai h2 { margin: 6px 0 14px; }
.x-ai-lead { font-size: 1.2rem; line-height: 1.55; color: #f5f3ff; margin: 0 0 18px; max-width: 520px; }
main > section.x-ai .x-ai-lead, main > section.x-ai .x-ai-points li { color: #f5f3ff; }
.x-ai-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.x-ai-points li { position: relative; padding-left: 34px; font-size: 1.12rem; font-weight: 700; color: #fff; }
.x-ai-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #34d399); }
.x-ai-points li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 10px; border: solid #0f0b2e; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.x-ai-stage { position: relative; display: grid; gap: 16px; max-width: 520px; justify-self: center; width: 100%; }
/* The chat box */
.x-ai-chat { position: relative; z-index: 2; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 2px solid rgba(165, 180, 252, .35); backdrop-filter: blur(6px); box-shadow: 0 24px 50px -30px rgba(34, 211, 238, .6); }
.x-ai-label { margin: 0 0 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; background: linear-gradient(90deg, #22d3ee, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.x-ai-input { min-height: 56px; padding: 14px 16px; border-radius: 12px; background: #fff; color: #0f0b2e; font-size: 1.12rem; font-weight: 600; display: flex; align-items: center; border: 2px solid #6d5fd8; transition: border-color .3s ease, box-shadow .3s ease; }
.x-ai-stage.typing .x-ai-input { border-color: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); }
.x-ai-caret { display: inline-block; width: 2px; height: 1.2em; margin-left: 2px; background: #4f46e5; animation: x-ai-blink 1s steps(1) infinite; }
@keyframes x-ai-blink { 50% { opacity: 0; } }
.x-ai-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.x-ai-go { flex: none; padding: 11px 18px; border-radius: 10px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #22d3ee, #7c3aed, #f472b6); transition: transform .15s ease, filter .15s ease; }
.x-ai-stage.pressed .x-ai-go { transform: scale(.94); filter: brightness(1.15); }
.x-ai-bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; opacity: 0; transition: opacity .2s ease; }
.x-ai-bar i { display: block; width: 40%; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #22d3ee, #f472b6); animation: ai-run 1.1s ease-in-out infinite; }
.x-ai-stage.working .x-ai-bar { opacity: 1; }
main > section .x-ai-note { margin: 12px 0 0; min-height: 1.5em; font-weight: 800; font-size: 1.05rem; color: #fff; }
.x-ai-stage.done .x-ai-note { color: #6ee7b7; }
/* The example site */
.x-ai-site { position: relative; border-radius: 16px; overflow: hidden; background: #fff; color: #0f0b2e; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.1); transition: opacity .4s ease, box-shadow .4s ease; font-size: 15px; }
.x-ai-site.reset { opacity: .2; }
.x-ai-site.flash { box-shadow: 0 0 0 4px #22d3ee, 0 0 60px 6px rgba(34, 211, 238, .55); }
.ds-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f0f8; font-size: 12px; color: #57537a; }
.ds-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; } .ds-bar i:nth-child(2) { background: #fbbf24; } .ds-bar i:nth-child(3) { background: #34d399; }
.ds-bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 6px; padding: 3px 8px; }
.ds-bar b { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #7c3aed; font-size: 11px; }
.ds-nav { display: flex; gap: 14px; align-items: center; padding: 10px 14px; transition: background .6s ease, color .6s ease; }
.ds-nav b { flex: 1; color: #0f766e; font-size: 16px; transition: color .6s ease; }
.ds-nav span { font-size: 13px; color: #3f3b63; transition: color .6s ease; }
.ds-hero { position: relative; height: 190px; overflow: hidden; }
.ds-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 118, 110, .78), rgba(15, 118, 110, .2)); transition: background .6s ease; }
.ds-hero-in { position: relative; z-index: 1; padding: 22px 18px; color: #fff; max-width: 70%; }
.ds-h { margin: 0 0 12px; font-size: 20px; font-weight: 900; line-height: 1.15; color: #fff; }
main > section .x-ai-site .ds-h { color: #fff; }
.ds-phone { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #facc15; color: #0f0b2e; font-weight: 800; font-size: 13px; transition: font-size .5s cubic-bezier(.3, 1.5, .5, 1), padding .5s ease, box-shadow .5s ease; }
.ds-hours { max-height: 0; overflow: hidden; padding: 0 14px; background: #fef3c7; color: #78350f; font-size: 14px; transition: max-height .5s ease, padding .5s ease; }
.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.ds-cards span { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: #f5f5f4; font-size: 12px; color: #44403c; line-height: 1.3; }
.ds-cards b { font-size: 13px; color: #0f0b2e; }
/* The changes */
.x-ai-site.is-phone .ds-phone { font-size: 21px; padding: 10px 16px; box-shadow: 0 10px 24px -8px rgba(250, 204, 21, .8); }
.x-ai-site.is-hours .ds-hours { max-height: 60px; padding: 10px 14px; }
.x-ai-site.is-dark .ds-nav { background: #0f172a; }
.x-ai-site.is-dark .ds-nav b { color: #fff; }
.x-ai-site.is-dark .ds-nav span { color: #cbd5e1; }
.x-ai-site.is-dark .ds-hero::after { background: linear-gradient(90deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .45)); }
@media (max-width: 960px) {
  .x-ai-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .ds-hero { height: 160px; } .ds-h { font-size: 17px; } .ds-hero-in { max-width: 85%; }
  .ds-cards { grid-template-columns: 1fr 1fr; } .ds-cards span:nth-child(3) { display: none; }
  .x-ai-site.is-phone .ds-phone { font-size: 18px; }
}
@keyframes ai-run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* Why choose us: four bold reasons, high contrast. */
.x-why .why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 700px) { .x-why .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .x-why .why-grid { grid-template-columns: repeat(4, 1fr); } }
.x-why .why-item { padding: 24px 22px; border-radius: 18px; background: linear-gradient(150deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 16px 36px rgba(79, 70, 229, .25); }
.x-why .why-item:nth-child(even) { background: linear-gradient(150deg, #7c3aed, #db2777); }
.x-why .why-item b { display: block; font-size: 1.35rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.x-why .why-item p { margin: 10px 0 0; font-size: 1.12rem; line-height: 1.45; color: #fff !important; }

/* Make it yours: the easy editor line. */
.x-studio-edit { margin: 14px 0 0; font-size: 1.25rem; font-weight: 800; line-height: 1.45; color: #1e1b4b; }
.x-studio-edit .grad-text { font-weight: 900; text-transform: uppercase; }
