/* Generated from WPComfy by sitecomfy/tools/build-assets.py. Edit css/sitecomfy.css instead. */
/* =========================================================
   SiteComfy — shared components (from WPComfy)
   Dark navy palette, pixel-art accents, bento cards.
   ========================================================= */

:root {
  color-scheme: dark;

  /* Night */
  --night-0: #0b101c;
  --night: #101827;
  --night-1: #131d2f;
  --night-2: #172236;
  --canopy: #1a283c;
  --moss: #26364d;

  /* Paper */
  --paper: #f3eee5;
  --paper-2: #e9e2d6;
  --paper-card: #fbf8f2;
  --ink: #161c28;
  --ink-soft: #566072;

  /* Text on dark */
  --text: #f2f0e7;
  --muted: #b7c4d4;
  --faint: #8391a4;

  /* Accents */
  --amber: #f8b19b;
  --amber-hi: #ffd0bc;
  --amber-deep: #b8674f;
  --lantern: #ffe0ce;
  --leaf: #7fa3c9;
  --violet: #8fb3d9;
  --violet-hi: #c3d8ee;

  --line: rgba(231, 241, 255, 0.11);
  --line-strong: rgba(231, 241, 255, 0.2);
  --line-paper: rgba(27, 32, 39, 0.12);

  --display: "Bricolage Grotesque", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Pixelify Sans", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --measure: 1200px;
  --gutter: 28px;
  --radius: 18px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--amber);
  color: var(--night);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--measure), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--night);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Pixel art must never be smoothed. */
.pixel-img,
.comfy-sprite,
.pixel-scene {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

svg use,
svg path {
  shape-rendering: crispEdges;
}

/* =========================================================
   Buttons & links
   ========================================================= */

.button {
  --shadow: var(--amber-deep);
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--amber);
  box-shadow: 0 4px 0 0 var(--shadow);
  color: #1a1310;
  font: 700 15px/1.2 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 120ms steps(2),
    box-shadow 120ms steps(2),
    background-color 150ms ease;
}

.button:hover {
  background: var(--amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--shadow);
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--shadow);
}

.button--ghost {
  --shadow: rgba(0, 0, 0, 0.35);
  background: rgba(243, 248, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    0 4px 0 0 var(--shadow);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  background: rgba(243, 248, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(231, 241, 255, 0.32),
    0 6px 0 0 var(--shadow);
}

.button--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.button--large {
  min-height: 58px;
  padding: 0 28px;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--amber-hi);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 2px;
  padding-bottom: 3px;
  transition: background-size 200ms ease;
}

.text-link::after {
  content: "→";
  transition: transform 160ms steps(2);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.fine {
  margin-top: 18px;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.55;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--text);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(10, 15, 21, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-row {
  display: flex;
  height: var(--header-h);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(244, 178, 153, 0.18));
  transition: transform 180ms steps(3);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) translateY(-1px);
}

.brand-text {
  display: grid;
}

.brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-wp {
  color: var(--amber);
  font-weight: 700;
  margin-right: 1px;
}

.brand-byline {
  margin-top: 3px;
  color: var(--faint);
  font-family: var(--pixel);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.main-nav a:not(.button) {
  position: relative;
  color: #e4eaf4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 140ms ease;
}

.main-nav a:not(.button):hover {
  color: var(--amber-hi);
}

.main-nav a:not(.button)::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 4px;
  height: 4px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  content: "";
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 120ms steps(2);
}

.main-nav a:not(.button):hover::before,
.main-nav a[aria-current="page"]::before {
  opacity: 1;
}

.main-nav a[aria-current="page"] {
  color: var(--amber-hi);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(243, 248, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle .menu-icon-close,
.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  min-height: clamp(660px, 100svh, 920px);
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--night-0);
  isolation: isolate;
}

.pixel-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.86) 0%, rgba(8, 12, 16, 0.62) 34%, rgba(8, 12, 16, 0.08) 62%, transparent 80%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.55) 0%, transparent 18%, transparent 72%, rgba(13, 18, 27, 0.9) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  padding-block: 40px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(244, 178, 153, 0.26);
  border-radius: 999px;
  background: rgba(244, 178, 153, 0.07);
  color: #ecccbf;
  font-family: var(--pixel);
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  box-shadow: 0 0 10px 1px rgba(244, 178, 153, 0.8);
  animation: blink 2.4s steps(1) infinite;
}

@keyframes blink {
  0%,
  78% {
    opacity: 1;
  }
  82% {
    opacity: 0.25;
  }
  86%,
  100% {
    opacity: 1;
  }
}

h1 {
  max-width: 12.5em;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.h1-soft {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, var(--lantern) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-intro {
  max-width: 34em;
  margin-bottom: 32px;
  color: #dde4ee;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.hero-price strong {
  color: var(--text);
  font-family: var(--pixel);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.dot-sep {
  width: 4px;
  height: 4px;
  background: var(--faint);
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
}

.hero-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background: var(--night-1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' shape-rendering='crispEdges'%3E%3Cpath d='M0 4h4v-4h8v4h4v4h8v-4h8v12H0z'/%3E%3C/svg%3E") 0 0 / 32px 12px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' shape-rendering='crispEdges'%3E%3Cpath d='M0 4h4v-4h8v4h4v4h8v-4h8v12H0z'/%3E%3C/svg%3E") 0 0 / 32px 12px repeat-x;
}

/* ---------- Comfy (sprite) ---------- */

.comfy {
  --p: 4;
  position: relative;
  width: calc(111px * var(--p));
  height: calc(121px * var(--p));
}

.comfy-sprite {
  width: calc(111px * var(--p));
  height: calc(121px * var(--p));
  background-image: url("../assets/comfy/comfy-gaze-3x3.webp");
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: calc(var(--col, 1) * 50%) calc(var(--row, 1) * 50%);
}

.comfy--hero {
  z-index: 1;
  margin-top: -24px;
  animation: hover-bob 1.8s steps(4, jump-none) infinite alternate;
}

@keyframes hover-bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(var(--p) * -3px));
  }
}

.comfy-lantern {
  position: absolute;
  top: 58%;
  left: 12%;
  z-index: -1;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 176, 0.55) 0%, rgba(244, 178, 153, 0.22) 38%, transparent 70%);
  filter: blur(6px);
  animation: lantern 3.2s ease-in-out infinite;
}

.comfy--hero::after {
  position: absolute;
  inset: 8% -6% 0;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(113, 145, 192, 0.16), transparent);
  content: "";
}

@keyframes lantern {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ---------- pixel dialog box ---------- */

.dialog-box {
  --b: 4px;
  --edge: #e9cec1;
  position: absolute;
  right: -3%;
  bottom: 3%;
  z-index: 2;
  width: 262px;
  padding: 14px 16px 14px;
  background: #121924;
  box-shadow:
    var(--b) 0 0 0 var(--edge),
    calc(var(--b) * -1) 0 0 0 var(--edge),
    0 var(--b) 0 0 var(--edge),
    0 calc(var(--b) * -1) 0 0 var(--edge),
    inset 0 0 0 var(--b) #202938,
    calc(var(--b) * 2) calc(var(--b) * 3) 0 0 rgba(0, 0, 0, 0.38);
  font-family: var(--pixel);
  animation: dialog-in 700ms steps(5) 400ms both;
}

.dialog-box::before {
  /* stepped pixel tail pointing up toward Comfy */
  position: absolute;
  top: calc(var(--b) * -4);
  left: 36px;
  width: calc(var(--b) * 3);
  height: calc(var(--b) * 3);
  background: var(--edge);
  content: "";
  clip-path: polygon(0 0, 33.34% 0, 33.34% 33.34%, 66.67% 33.34%, 66.67% 66.67%, 100% 66.67%, 100% 100%, 0 100%);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dialog-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(233, 206, 193, 0.22);
}

.dialog-title span {
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
}

.dialog-title em {
  color: var(--faint);
  font-size: 11.5px;
  font-style: normal;
}

.dialog-list {
  display: grid;
  gap: 5px;
  padding: 0;
  list-style: none;
  color: #eef5ff;
  font-size: 14px;
  line-height: 1.35;
}

.dialog-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  animation: line-in 1ms linear forwards;
}

.dialog-list li:nth-child(1) { animation-delay: 1.1s; }
.dialog-list li:nth-child(2) { animation-delay: 1.7s; }
.dialog-list li:nth-child(3) { animation-delay: 2.3s; }
.dialog-list li:nth-child(4) { animation-delay: 2.9s; }

@keyframes line-in {
  to {
    opacity: 1;
  }
}

.dialog-list svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: var(--leaf);
}

.dialog-list .is-typing {
  color: var(--faint);
}

.caret {
  width: 8px;
  height: 12px;
  flex: none;
  margin-inline: 2px 2px;
  background: var(--amber);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* =========================================================
   Trust strip
   ========================================================= */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--night-1);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-row p {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #e8eff8;
  font-size: 14.5px;
  font-weight: 500;
}

.trust-row p + p {
  border-left: 1px solid var(--line);
}

.trust-row svg {
  width: 24px;
  height: 24px;
  fill: var(--amber);
}

/* =========================================================
   Sections — shared
   ========================================================= */

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 128px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
}

.kicker::before {
  width: 6px;
  height: 6px;
  background: currentColor;
  content: "";
}

.section-head h2,
.final-copy h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-head > p:not(.kicker):not(.fine),
.section-head--wide > p {
  max-width: 36em;
  color: var(--muted);
  font-size: 17px;
}

.section-head > p + p:not(.fine) {
  margin-top: 16px;
}

.section-head--wide {
  display: grid;
  align-items: end;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  margin-bottom: 52px;
}

.section-head--wide h2 {
  margin-bottom: 0;
}

.section-head--wide > p {
  padding-bottom: 8px;
}

.section-head--center {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head--center p:not(.kicker) {
  margin-inline: auto;
}

.split {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
}

.split--center {
  align-items: center;
}

h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Paper sections get a pixel "crenellated" edge top and bottom. */
.section--paper,
.section--plans {
  background: var(--paper);
  color: var(--ink);
}

.section--plans {
  background: var(--paper-2);
}

.section--paper::before,
.section--plans::before,
.section--paper::after,
.section--plans::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 12px;
  background: inherit;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' shape-rendering='crispEdges'%3E%3Cpath d='M0 4h4v-4h8v4h4v4h8v-4h8v12H0z'/%3E%3C/svg%3E") 0 0 / 32px 12px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' shape-rendering='crispEdges'%3E%3Cpath d='M0 4h4v-4h8v4h4v4h8v-4h8v12H0z'/%3E%3C/svg%3E") 0 0 / 32px 12px repeat-x;
}

.section--paper::before,
.section--plans::before {
  top: -11px;
}

.section--paper::after,
.section--plans::after {
  bottom: -11px;
  transform: scaleY(-1);
}

.section--paper .kicker,
.section--plans .kicker {
  color: #8a5b48;
}

.section--paper .section-head p:not(.kicker),
.section--plans .section-head p:not(.kicker) {
  color: var(--ink-soft);
}

.section--paper .text-link,
.section--plans .text-link {
  color: #6b4435;
}

/* =========================================================
   Problem
   ========================================================= */

.section--problem {
  background: var(--night-1);
}

.quote-stack {
  display: grid;
  gap: 14px;
}

.quote-card {
  position: relative;
  padding: 26px 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.035), rgba(243, 248, 255, 0.01));
}

.quote-card::before {
  position: absolute;
  top: 30px;
  left: -1px;
  width: 4px;
  height: 20px;
  background: var(--amber);
  content: "";
}

.quote-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.25;
}

.quote-card p {
  color: var(--muted);
}

/* =========================================================
   Care bento
   ========================================================= */

.section--care {
  background:
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(113, 145, 192, 0.08), transparent),
    var(--night);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 26px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #171f2a, #131821);
}

.tile--wide {
  grid-column: span 2;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tile-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.tile h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.tile p {
  color: var(--muted);
  font-size: 15px;
}

.tile:not(.tile--wide) .viz:not(.viz-backups) {
  height: 112px;
}

.viz {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--night-0);
}

/* updates: segmented bars that fill in steps */
.viz-updates {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.viz-row {
  display: grid;
  align-items: center;
  grid-template-columns: 118px 1fr 14px;
  gap: 12px;
  color: #e3eaf4;
  font-family: var(--pixel);
  font-size: 13px;
}

.bar {
  display: block;
  height: 12px;
  background: repeating-linear-gradient(90deg, #222b39 0 10px, transparent 10px 12px);
}

.bar b {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 12px);
  box-shadow: 0 0 12px rgba(244, 178, 153, 0.25);
}

.viz-row svg {
  width: 14px;
  height: 14px;
  fill: var(--leaf);
}

.can-reveal .viz-updates .bar b {
  width: 0;
}

.can-reveal .viz-updates .viz-row svg {
  opacity: 0;
}

.is-revealed .viz-updates .bar b {
  animation: fill-bar 900ms steps(10) forwards;
}

.is-revealed .viz-updates .viz-row svg {
  animation: line-in 1ms linear forwards;
}

.viz-row:nth-child(1) b { animation-delay: 200ms !important; }
.viz-row:nth-child(2) b { animation-delay: 1100ms !important; }
.viz-row:nth-child(3) b { animation-delay: 2000ms !important; }
.viz-row:nth-child(4) b { animation-delay: 2900ms !important; }
.viz-row:nth-child(1) svg { animation-delay: 1100ms !important; }
.viz-row:nth-child(2) svg { animation-delay: 2000ms !important; }
.viz-row:nth-child(3) svg { animation-delay: 2900ms !important; }
.viz-row:nth-child(4) svg { animation-delay: 3800ms !important; }

@keyframes fill-bar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* backups: seven lanterns, one per day */
.viz-backups {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 20px;
}

.viz-backups span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 4px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(244, 178, 153, 0.35);
  color: #2b1b15;
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 600;
}

.is-revealed .viz-backups span {
  animation: lamp 4.2s steps(1) infinite;
}

.viz-backups span:nth-child(2) { animation-delay: 0.3s !important; }
.viz-backups span:nth-child(3) { animation-delay: 0.6s !important; }
.viz-backups span:nth-child(4) { animation-delay: 0.9s !important; }
.viz-backups span:nth-child(5) { animation-delay: 1.2s !important; }
.viz-backups span:nth-child(6) { animation-delay: 1.5s !important; }
.viz-backups span:nth-child(7) { animation-delay: 1.8s !important; }

@keyframes lamp {
  0%,
  6% {
    background: var(--lantern);
    box-shadow: 0 0 22px rgba(255, 217, 200, 0.7);
  }
  7%,
  100% {
    background: var(--amber);
    box-shadow: 0 0 14px rgba(244, 178, 153, 0.35);
  }
}

/* monitoring: a stepped pulse that scrolls */
.viz-pulse {
  display: flex;
  height: 104px;
  align-items: flex-end;
  gap: 8px;
  overflow: hidden;
  padding: 14px;
}

.pulse-line {
  position: absolute;
  top: 18px;
  left: 0;
  width: 200%;
  max-width: none;
  height: 44px;
  fill: none;
  stroke: var(--leaf);
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  animation: pulse-scroll 3.4s steps(28) infinite;
  filter: drop-shadow(0 0 6px rgba(113, 145, 192, 0.5));
}

.pulse-line path {
  vector-effect: non-scaling-stroke;
}

@keyframes pulse-scroll {
  to {
    transform: translateX(-50%);
  }
}

.pill {
  position: relative;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(113, 145, 192, 0.14);
  color: #b1caf1;
  font-family: var(--pixel);
  font-size: 12.5px;
  line-height: 1;
}

.pill::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: var(--leaf);
  content: "";
  vertical-align: 1px;
  animation: blink 1.6s steps(1) infinite;
}

/* form check */
.viz-form {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.viz-form i {
  display: block;
  height: 14px;
  border-radius: 3px;
  background: #1f2733;
}

.viz-form i.short {
  width: 60%;
}

.form-send {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 11px;
  border-radius: 6px;
  background: var(--amber);
  color: #2b1b15;
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.form-send svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

/* rollback */
.viz-undo {
  display: grid;
  height: 104px;
  place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(243, 248, 255, 0.04) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(0deg, rgba(243, 248, 255, 0.04) 0 1px, transparent 1px 16px),
    var(--night-0);
}

.viz-undo svg {
  width: 60px;
  height: 60px;
  fill: var(--amber);
  filter: drop-shadow(0 0 10px rgba(244, 178, 153, 0.35));
}

.is-revealed .viz-undo svg {
  animation: undo-nudge 2.6s steps(3) infinite;
}

@keyframes undo-nudge {
  0%,
  70%,
  100% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(-10px);
  }
}

/* report */
.viz-report {
  display: grid;
  gap: 9px;
  padding: 22px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.3);
  transform: rotate(-1.2deg);
}

.viz-report-title {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.viz-report i {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: #e1e9f5;
}

.viz-report i.short {
  width: 55%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chips span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7dcd6;
  color: #5e4237;
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1;
}

/* Comfy tile */
.tile--comfy {
  align-items: flex-start;
  justify-content: space-between;
  background:
    radial-gradient(circle at 30% 30%, rgba(244, 178, 153, 0.16), transparent 55%),
    linear-gradient(180deg, #1b2532, #131b27);
}

.tile--comfy .pixel-img {
  --p: 2;
  width: calc(115px * var(--p));
  height: auto;
  margin: -8px 0 -6px -10px;
  filter: drop-shadow(0 0 22px rgba(244, 178, 153, 0.22));
}

.tile--comfy .text-link {
  margin-top: 16px;
}

/* Desktop: Comfy straddles the gap between the report tile and its own tile,
   so neither tile grows taller to fit the illustration. */
@media (min-width: 981px) {
  .bento {
    --comfy-w: 230px;
  }

  .tile--report {
    padding-right: calc(var(--comfy-w) / 2 + 20px);
  }

  .tile--comfy {
    z-index: 1;
    justify-content: center;
    overflow: visible;
    padding-left: calc(var(--comfy-w) / 2 + 12px);
  }

  .tile--comfy .pixel-img {
    position: absolute;
    top: 50%;
    left: calc(var(--comfy-w) / -2 - 8px);
    margin: -119px 0 0;
    pointer-events: none;
  }
}

.comfy-float {
  animation: hover-bob 1.6s steps(4, jump-none) infinite alternate;
}

/* =========================================================
   Testimonials
   ========================================================= */


.t-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-paper);
  border-radius: 20px;
  background: var(--paper-card);
}






.t-card blockquote {
  position: relative;
  margin-bottom: 24px;
  padding-top: 34px;
  color: #2d333c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.t-card blockquote::before {
  /* pixel quotation mark */
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 18px;
  background: #b57d67;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h3v1H1zM0 1h2v4H0zM2 3h2v2H2zM1 5h3v1H1zM3 6h1v2H3zM2 8h1v1H2zM7 0h3v1H7zM6 1h2v4H6zM8 3h2v2H8zM7 5h3v1H7zM9 6h1v2H9zM8 8h1v1H8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h3v1H1zM0 1h2v4H0zM2 3h2v2H2zM1 5h3v1H1zM3 6h1v2H3zM2 8h1v1H2zM7 0h3v1H7zM6 1h2v4H6zM8 3h2v2H8zM7 5h3v1H7zM9 6h1v2H9zM8 8h1v1H8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-paper);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.t-author img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.t-author strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}


/* =========================================================
   Developer time
   ========================================================= */

.section--dev {
  background: var(--night);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-1);
  transition:
    border-color 180ms ease,
    transform 180ms steps(3);
}

.card:hover {
  border-color: rgba(244, 178, 153, 0.35);
  transform: translateY(-4px);
}

.px-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background: rgba(244, 178, 153, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 178, 153, 0.22);
}

.px-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--amber);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card-note {
  margin-top: auto;
  padding-top: 20px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 13.5px;
}

.request-flow {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(140, 173, 201, 0.14), transparent 60%),
    var(--night-1);
}

.request-flow h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.2;
}

.request-flow p:not(.fine) {
  color: var(--muted);
}

.flow-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(243, 248, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
}

.flow-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 6px;
  background: var(--violet);
  color: #ffffff;
  font-family: var(--pixel);
  font-size: 14px;
}

.section--dev > .wrap > .text-link {
  margin-top: 28px;
}

/* =========================================================
   Reporting
   ========================================================= */

.section--report {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(244, 178, 153, 0.08), transparent),
    var(--canopy);
}

.report {
  padding: 30px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 0 rgba(0, 0, 0, 0.28);
}

.report-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.report-head img {
  width: 44px;
  height: 44px;
  image-rendering: pixelated;
}

.report h3 {
  font-size: 23px;
  line-height: 1.2;
}

.report-head p {
  color: var(--ink-soft);
  font-family: var(--pixel);
  font-size: 13px;
}

.report dl > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line-paper);
}

.report dl > div::before {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  background: #7191c0;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.report dt {
  font-weight: 700;
}

.report dd {
  color: var(--ink-soft);
  font-size: 15px;
}

/* =========================================================
   Plans
   ========================================================= */

.plans-head {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr minmax(0, 470px);
  gap: 40px;
}

.hosting {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  padding: 20px;
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  background: var(--paper-card);
}

.hosting-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #ece2dc;
}

.hosting-icon svg {
  width: 24px;
  height: 24px;
  fill: #575d68;
}

.hosting-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
}

.hosting-copy p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.switch {
  display: inline-flex;
  grid-column: 2;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  flex: none;
  border-radius: 6px;
  background: #dce3ed;
  box-shadow: inset 0 0 0 2px #989ea7;
  transition: background-color 150ms steps(2);
}

.switch-track::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  content: "";
  transition: transform 150ms steps(3);
}

.switch input:checked + .switch-track {
  background: var(--violet);
  box-shadow: inset 0 0 0 2px #6888a3;
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
}

.plan-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 132px;
}

.plan {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line-paper);
  border-radius: 20px;
  background: var(--paper-card);
}

.plan--featured {
  z-index: 1;
  border-color: #6888a3;
  background: linear-gradient(180deg, #303a42, #262e35);
  box-shadow: 0 8px 0 0 #1a2127, 0 24px 44px rgba(39, 54, 66, 0.28);
  color: #f2ece9;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-name {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.plan-tag {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(193, 218, 240, 0.16);
  color: var(--violet-hi);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.plan-tag--woo {
  background: rgba(140, 173, 201, 0.12);
  color: #63819c;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
  white-space: nowrap;
}

.plan-price strong {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price span,
.plan-host {
  color: var(--ink-soft);
  font-size: 13px;
}

.plan-host {
  min-height: 20px;
  margin-top: 6px;
  font-family: var(--pixel);
}

.plan-desc {
  min-height: 66px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-paper);
  list-style: none;
  color: #454b54;
  font-size: 14px;
  line-height: 1.45;
}

.plan-list li {
  position: relative;
  padding-left: 21px;
}

.plan-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  background: #637da3;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath d='M6 1h2v1H6zM5 2h2v1H5zM0 3h2v1H0zM4 3h2v1H4zM1 4h4v1H1zM2 5h2v1H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-list b {
  font-family: var(--pixel);
  font-weight: 600;
  font-size: 15px;
}

.plan-foot {
  margin: auto 0 14px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.plan-cta {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(27, 32, 39, 0.2),
    0 3px 0 0 rgba(27, 32, 39, 0.2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 120ms steps(2),
    box-shadow 120ms steps(2);
}

.plan-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(27, 32, 39, 0.3),
    0 5px 0 0 rgba(27, 32, 39, 0.2);
}

.plan-cta:active {
  transform: translateY(3px);
  box-shadow: inset 0 0 0 1px rgba(27, 32, 39, 0.3);
}

.plan--featured .plan-price span,
.plan--featured .plan-host,
.plan--featured .plan-desc,
.plan--featured .plan-foot {
  color: #cbd4dc;
}

.plan--featured .plan-list {
  border-color: rgba(242, 249, 255, 0.16);
  color: #e5ebf0;
}

.plan--featured .plan-list li::before {
  background: var(--amber);
}

.plan--featured .plan-cta {
  background: var(--amber);
  box-shadow: 0 4px 0 0 var(--amber-deep);
  color: #1a1310;
}

.plan--featured .plan-cta:hover {
  background: var(--amber-hi);
  box-shadow: 0 6px 0 0 var(--amber-deep);
}

/* Comfy peeking over the Studio card, still following the cursor. */
.comfy--peek {
  --p: 2;
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  z-index: -1;
  height: calc(56px * var(--p));
  overflow: hidden;
  transform: translateX(-50%);
}

.comfy--peek .comfy-sprite {
  transform: translateY(calc(var(--p) * 2px));
  transition: transform 260ms steps(3);
}

.plan--featured:hover .comfy--peek .comfy-sprite {
  transform: translateY(calc(var(--p) * -3px));
}

.plans-foot {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px 40px;
  margin-top: 32px;
}

.plans-foot .fine {
  margin-top: 0;
  color: var(--ink-soft);
}

.plan-help {
  color: var(--ink);
  font-size: 16px;
}

.plan-help a {
  font-weight: 700;
  text-underline-offset: 4px;
}

/* =========================================================
   WooCommerce, onboarding, about — Comfy poses
   ========================================================= */

.pose {
  --p: 3;
  position: relative;
  display: grid;
  place-items: center;
}

.pose .pixel-img {
  width: calc(var(--w) * var(--p) * 1px);
  height: auto;
}

.pose-glow {
  position: absolute;
  inset: 12% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 178, 153, 0.2), transparent);
  animation: lantern 3.6s ease-in-out infinite;
}

/* Poses arrive like a sprite flying in from their side of the layout:
   stepped movement, a small overshoot, then a lantern flash and pixel sparks
   on landing. `translate` composes with the bob (`transform`) and the mirror
   (`scale`), so all three can run together. */
.pose {
  --from-x: -160px;
  --from-y: 70px;
}

.pose--lock {
  --from-x: 160px;
}

.pose--guide {
  --from-y: 110px;
}

.can-reveal .pose[data-reveal] .pixel-img {
  opacity: 0;
}

.can-reveal .pose.is-revealed .pixel-img {
  animation:
    comfy-arrive 1.1s forwards,
    hover-bob 1.6s steps(4, jump-none) 1.1s infinite alternate;
}

@keyframes comfy-arrive {
  0% {
    opacity: 0;
    translate: var(--from-x) var(--from-y);
    animation-timing-function: steps(7);
  }
  12% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    translate: calc(var(--from-x) * -0.06) -14px;
    animation-timing-function: steps(3);
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

.can-reveal .pose[data-reveal] .pose-glow {
  opacity: 0;
}

.can-reveal .pose.is-revealed .pose-glow {
  animation:
    glow-land 1.5s forwards,
    lantern 3.6s ease-in-out 1.5s infinite;
}

@keyframes glow-land {
  0%,
  62% {
    opacity: 0;
    transform: scale(0.6);
  }
  78% {
    opacity: 1;
    transform: scale(1.25);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}

/* pixel sparks that burst once when Comfy lands */
.pose::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: transparent;
  box-shadow:
    -150px -40px 0 0 var(--amber),
    150px -60px 0 0 var(--lantern),
    -110px 110px 0 0 var(--lantern),
    130px 100px 0 0 var(--amber),
    0 -170px 0 0 var(--amber),
    -170px 40px 0 0 rgba(244, 178, 153, 0.6),
    170px 30px 0 0 rgba(255, 217, 200, 0.6),
    40px 160px 0 0 rgba(244, 178, 153, 0.6);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.can-reveal .pose.is-revealed::after {
  animation: sparks 1.6s steps(5) forwards;
}

@keyframes sparks {
  0%,
  60% {
    opacity: 0;
    transform: scale(0.4);
  }
  70% {
    opacity: 1;
    transform: scale(0.75);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.section--woo {
  background: var(--night-1);
}

.woo-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
}

.woo-copy {
  display: grid;
  gap: 44px;
}

.woo-copy .list-lines {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.woo-copy .list-lines article,
.woo-copy .list-lines article:first-child {
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
}

.woo-copy .list-lines h3 {
  font-size: 18px;
}

.list-lines {
  display: grid;
}

.list-lines article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.list-lines article:first-child {
  padding-top: 0;
  border-top: 0;
}

.list-lines h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.list-lines p {
  color: var(--muted);
  font-size: 15px;
}

.list-lines .text-link {
  margin-top: 12px;
  font-size: 14px;
}

.section--agency {
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(140, 173, 201, 0.12), transparent),
    var(--canopy);
}

.agency-top {
  display: grid;
  align-items: end;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: 48px;
}

.white-label {
  --b: 4px;
  --edge: rgba(193, 218, 240, 0.55);
  padding: 30px;
  background: rgba(23, 29, 34, 0.55);
  box-shadow:
    var(--b) 0 0 0 var(--edge),
    calc(var(--b) * -1) 0 0 0 var(--edge),
    0 var(--b) 0 0 var(--edge),
    0 calc(var(--b) * -1) 0 0 var(--edge);
}

.white-label-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  background: var(--violet);
  color: #ffffff;
  font-family: var(--pixel);
  font-size: 13px;
  line-height: 1;
}

.white-label h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.2;
}

.white-label p:not(.white-label-badge) {
  color: #c7ccd7;
}

.card--dark {
  background: rgba(13, 18, 27, 0.4);
}

.section--onboarding {
  background: var(--night);
}

.onboarding-head {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}

.pose--lock {
  justify-self: end;
}

/* Face the copy on the left. `scale` composes with the bob/scan animations on `transform`. */
.pose--lock .pixel-img {
  scale: -1 1;
}

.quest {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.quest::before {
  /* dotted pixel path linking the steps */
  position: absolute;
  top: 26px;
  right: calc(25% - 16px);
  left: 28px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(244, 178, 153, 0.5) 0 4px, transparent 4px 12px);
  content: "";
}

.quest li {
  position: relative;
}

.quest-step {
  --b: 4px;
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  background: var(--night);
  box-shadow:
    var(--b) 0 0 0 var(--amber),
    calc(var(--b) * -1) 0 0 0 var(--amber),
    0 var(--b) 0 0 var(--amber),
    0 calc(var(--b) * -1) 0 0 var(--amber);
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 20px;
  font-weight: 600;
}

.quest li:last-child .quest-step {
  background: var(--amber);
  color: #231610;
}

.quest h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.quest p {
  color: var(--muted);
  font-size: 15px;
}

.section--onboarding .fine {
  margin-top: 36px;
}

.section--about {
  border-top: 1px solid var(--line);
  background: var(--night-1);
}

/* =========================================================
   FAQ
   ========================================================= */

.section--faq {
  background: var(--night);
}

.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 96px);
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 140ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--amber-hi);
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: var(--amber);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Cpath d='M2 0h1v2h2v1H3v2H2V3H0V2h2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Cpath d='M2 0h1v2h2v1H3v2H2V3H0V2h2z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms steps(3);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 15.5px;
}

/* =========================================================
   Final CTA
   ========================================================= */

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 150px);
  background: var(--night-0);
  isolation: isolate;
}

.final-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(13, 18, 27, 0.4) 22%, rgba(8, 12, 16, 0.2) 60%, rgba(8, 12, 16, 0.7) 100%),
    radial-gradient(ellipse 50% 60% at 62% 50%, rgba(8, 12, 16, 0.75), transparent 75%);
}

.final-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
}

.pose--guide {
  --p: 3;
}

.final-copy h2 {
  font-size: clamp(38px, 5.2vw, 66px);
}

.final-copy > p {
  max-width: 34em;
  color: #dfe6f1;
  font-size: 17.5px;
}

.final-copy > p + .button {
  margin-top: 30px;
}

.contact-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.contact-prompts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(243, 248, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14.5px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.contact-prompts svg {
  width: 10px;
  height: 10px;
  fill: var(--amber);
}

.contact-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.contact-note a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--night-0);
  color: var(--faint);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 0.6fr));
  gap: 40px;
  padding-block: 64px 44px;
}

.footer-brand p {
  max-width: 30em;
  margin-top: 16px;
  color: var(--muted);
}

.brand--footer {
  margin-right: 0;
}

.brand--footer .brand-mark {
  width: 32px;
  height: 32px;
}

.brand--footer .brand-name {
  color: var(--text);
  font-size: 20px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-title {
  margin-bottom: 4px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: 14px;
}

.footer-col a {
  color: #e0e5ed;
  text-decoration: none;
  transition: color 140ms ease;
}

.footer-col a:hover {
  color: var(--amber-hi);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-firefly {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pixel);
}

.footer-firefly svg {
  width: 10px;
  height: 10px;
  fill: var(--amber);
  animation: blink 2.8s steps(1) infinite;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   Reveal
   ========================================================= */

.can-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.can-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.can-reveal .bento [data-reveal]:nth-child(2),
.can-reveal .cards-3 [data-reveal]:nth-child(2),
.can-reveal .plan-grid [data-reveal]:nth-child(2),
.can-reveal .quest [data-reveal]:nth-child(2) {
  transition-delay: 80ms;
}

.can-reveal .bento [data-reveal]:nth-child(3),
.can-reveal .cards-3 [data-reveal]:nth-child(3),
.can-reveal .plan-grid [data-reveal]:nth-child(3),
.can-reveal .quest [data-reveal]:nth-child(3) {
  transition-delay: 160ms;
}

.can-reveal .plan-grid [data-reveal]:nth-child(4),
.can-reveal .quest [data-reveal]:nth-child(4),
.can-reveal .bento [data-reveal]:nth-child(4) {
  transition-delay: 240ms;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1120px) {
  .comfy--hero {
    --p: 3;
  }

  .hero-stage {
    min-height: 440px;
  }

  .dialog-box {
    right: -4%;
    bottom: 0;
  }

  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
  }

  .plan--featured {
    margin-top: 110px;
  }

  .plan-grid .plan:nth-child(4) {
    margin-top: 110px;
  }

  .plan-desc {
    min-height: 0;
  }

  .plans-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .woo-copy .list-lines {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 980px) {
  .main-nav a:not(.button) {
    font-size: 13px;
  }

  .main-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
  }

  .section-head--wide,
  .tile--wide,
  .request-flow,
  .onboarding-head,
  .agency-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .tile--comfy {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }

  .plans-foot {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .quest::before {
    display: none;
  }

  .pose--lock {
    justify-self: start;
  }

  .woo-grid {
    grid-template-columns: 1fr;
  }

  .pose--key {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
    --gutter: 20px;
  }

  /* Full-screen menu (100dvh) under the header */
  .main-nav {
    position: fixed;
    top: var(--menu-top, var(--header-h));
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #0a0f15;
    overscroll-behavior: contain;
  }

  .is-menu-open .main-nav {
    display: flex;
    animation: menu-in 180ms steps(3) both;
  }

  .main-nav a:not(.button) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .main-nav .nav-cta {
    justify-content: center;
    margin-top: auto;
  }

  /* No blur while open: a backdrop-filter would trap the fixed menu inside the header box. */
  .site-header.is-menu-open {
    background: #0a0f15;
    backdrop-filter: none;
  }

  .is-menu-locked,
  .is-menu-locked body {
    overflow: hidden;
  }

  .main-nav a:not(.button)::before {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 0;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 36px 40px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 12, 16, 0.8) 0%, rgba(8, 12, 16, 0.55) 45%, rgba(8, 12, 16, 0.15) 70%, rgba(13, 18, 27, 0.9) 100%);
  }

  .hero-stage {
    min-height: 0;
    padding-bottom: 12px;
  }

  .comfy--hero {
    margin-top: 0;
  }

  .dialog-box {
    right: 0;
    bottom: 0;
    left: auto;
    width: 236px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    padding-block: 6px;
  }

  .trust-row p {
    min-height: 54px;
    justify-content: flex-start;
  }

  .trust-row p + p {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split,
  .faq-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }

  .final-grid .pose--guide {
    justify-self: start;
    --p: 2;
  }
}

@media (max-width: 640px) {
  .bento,
  .cards-3,
  .plan-grid,
  .quest {
    grid-template-columns: 1fr;
  }

  .tile--wide,
  .tile--comfy {
    grid-column: auto;
  }

  .tile--comfy {
    flex-direction: column;
    align-items: flex-start;
  }

  .tile,
  .card,
  .t-card,
  .request-flow,
  .report,
  .white-label {
    padding: 22px;
  }

  .viz-row {
    grid-template-columns: 96px 1fr 14px;
    font-size: 12px;
  }

  .plan-grid .plan:nth-child(4) {
    margin-top: 0;
  }

  .hosting {
    grid-template-columns: 1fr;
  }

  .switch {
    grid-column: auto;
  }

  .hosting-icon {
    display: none;
  }

  .pose {
    --p: 2;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .hero-price {
    display: grid;
    gap: 4px;
  }

  .dot-sep {
    display: none;
  }
}

@media (max-width: 400px) {
  .comfy--hero {
    --p: 2;
  }

  .dialog-box {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }

  .comfy--hero,
  .comfy-float {
    animation: none !important;
  }
}

/* =========================================================
   Notification bar (WP Admin → WPComfy → Notification bar)
   ========================================================= */

body.has-notice {
	--notice-h: 44px;
}

.notice-bar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 51;
	height: var(--notice-h);
	border-bottom: 1px solid rgba(244, 178, 153, 0.22);
	background:
		repeating-linear-gradient(90deg, rgba(244, 178, 153, 0.05) 0 2px, transparent 2px 8px),
		linear-gradient(90deg, #202935, #262e35);
	color: var(--text);
	font-size: 14px;
}

.notice-bar-row {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	gap: 12px;
	position: relative;
}

.notice-bar-link {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.notice-bar-tag {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--amber);
	color: #1d130f;
	font-family: var(--pixel);
	font-size: 12.5px;
	line-height: 1;
}

.notice-bar-tag svg {
	width: 9px;
	height: 9px;
	fill: currentColor;
}

.notice-bar-text {
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.notice-bar-cta {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	color: var(--amber-hi);
	font-weight: 700;
}

.notice-bar-cta svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
	transition: transform 160ms steps(2);
}

a.notice-bar-link:hover .notice-bar-cta svg {
	transform: translateX(3px);
}

a.notice-bar-link:hover .notice-bar-text {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.notice-bar-close {
	position: absolute;
	right: 0;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}

.notice-bar-close:hover {
	background: rgba(243, 248, 255, 0.08);
	color: var(--text);
}

.notice-bar-close svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

/* Push the fixed header and the first hero below the bar; header returns to the top once scrolled. */
.has-notice .site-header {
	top: var(--notice-h);
	transition:
		top 200ms ease,
		background-color 200ms ease,
		border-color 200ms ease;
}

.has-notice .site-header.is-scrolled {
	top: 0;
}

.has-notice .hero,
.has-notice .page-hero,
.has-notice .wpc-account-hero,
.has-notice .wpc-thanks-hero {
	padding-top: calc(var(--header-h) + var(--notice-h));
}

@media (max-width: 640px) {
	body.has-notice {
		--notice-h: 52px;
	}

	.notice-bar {
		font-size: 13px;
	}

	.notice-bar-row {
		justify-content: flex-start;
		padding-right: 36px;
	}

	.notice-bar-text {
		display: -webkit-box;
		white-space: normal;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		line-height: 1.3;
	}

	.notice-bar-cta {
		display: none;
	}
}

.switch-note {
	margin-left: 4px;
	color: var(--ink-soft);
	font-family: var(--pixel);
	font-size: 12.5px;
	font-weight: 500;
}

.footer-company {
	line-height: 1.6;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.footer-legal a {
	color: #e0e5ed;
	text-decoration: none;
}

.footer-legal a:hover {
	color: var(--amber-hi);
}

/* =========================================================
   Wordmark (no byline): bigger mark and name, with a small pixel firefly light
   ========================================================= */
.site-header .brand-mark {
  width: 40px;
  height: 40px;
}

.site-header .brand-name {
  font-size: 25px;
}

.brand-name {
  position: relative;
  padding-right: 11px;
}

.brand-name::after {
  position: absolute;
  top: -1px;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--amber);
  box-shadow:
    0 0 6px 1px rgba(244, 178, 153, 0.75),
    0 0 14px 3px rgba(244, 178, 153, 0.28);
  content: "";
  animation: brand-glow 3.2s steps(4) infinite;
}

.brand--footer .brand-name::after {
  top: 0;
  width: 4px;
  height: 4px;
}

@keyframes brand-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-name::after {
    animation: none;
  }
}

/* =========================================================
   Centered hero (Comfy on top) with the 30-second tour below
   ========================================================= */
.hero--center {
  display: block;
  min-height: 0;
  padding-bottom: 48px;
}

.hero--center .hero-shade {
  background:
    radial-gradient(ellipse 58% 46% at 50% 34%, rgba(8, 12, 16, 0.78) 0%, rgba(8, 12, 16, 0.45) 55%, transparent 80%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.55) 0%, transparent 16%, transparent 60%, rgba(13, 18, 27, 0.92) 100%);
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(20px, 3vh, 40px);
  text-align: center;
}

.hero-center .eyebrow {
  margin-bottom: 16px;
}


.hero-center h1 {
  max-width: 16em;
  margin-bottom: 16px;
  font-size: clamp(36px, min(4.4vw, 7.2vh), 64px);
}

.hero-center .h1-soft {
  display: inline;
}

.hero-center .hero-intro {
  max-width: 46em;
  margin-bottom: 22px;
  font-size: clamp(16px, 1.25vw, 17.5px);
}

.hero-center .hero-actions,
.hero-center .hero-price {
  justify-content: center;
}

.hero-center .hero-price {
  margin-top: 14px;
}

.hero-tour {
  /* Shared by the frame and the Comfys beside it. */
  --tour-w: min(100%, 920px, max(560px, calc((100svh - 430px) * 16 / 9)));
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 30px;
}

.tour-frame {
  position: relative;
  z-index: 2;
  /* On short desktop screens the frame shrinks so most of it shows without scrolling. */
  width: var(--tour-w);
  background: #080c12;
  box-shadow:
    4px 0 0 0 #e9cec1,
    -4px 0 0 0 #e9cec1,
    0 4px 0 0 #e9cec1,
    0 -4px 0 0 #e9cec1,
    12px 16px 0 0 rgba(0, 0, 0, 0.45),
    0 0 90px rgba(244, 178, 153, 0.12);
}

.tour-frame iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #070b10;
}

.tour-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #070b10;
}

.tour-start {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.tour-start[hidden] {
  display: none;
}

.tour-start::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 16, 0.85));
  content: "";
  pointer-events: none;
}

.tour-start:focus-visible,
.tour-frame video:focus-visible,
.tour-frame iframe:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}





.tour-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.tour-caption em {
  margin-left: 8px;
  color: var(--muted);
  font-family: var(--pixel);
  font-style: normal;
  font-weight: 500;
}

.tour-buddy {
  --p: 2;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: hover-bob 1.8s steps(4, jump-none) infinite alternate;
}

.tour-buddy--left {
  bottom: -22px;
  left: calc(50% - var(--tour-w) / 2 - 170px);
}

.tour-buddy--right {
  top: -46px;
  right: calc(50% - var(--tour-w) / 2 - 170px);
  scale: -1 1;
  animation-delay: -0.9s;
}

.tour-play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 1;
  width: 80px;
  height: 80px;
  background: var(--amber);
  box-shadow: 0 4px 0 0 var(--amber-deep), 0 0 24px rgba(244, 178, 153, 0.45);
  transition: transform 120ms steps(2);
}

.tour-play::after {
  position: absolute;
  inset: 0;
  background: #1a1310;
  content: "";
  /* stepped pixel play triangle */
  clip-path: polygon(38% 26%, 46% 26%, 46% 32%, 54% 32%, 54% 38%, 62% 38%, 62% 44%, 70% 44%, 70% 56%, 62% 56%, 62% 62%, 54% 62%, 54% 68%, 46% 68%, 46% 74%, 38% 74%);
}

.tour-start:hover .tour-play {
  transform: translateY(-2px);
}









.tour-transcript {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .tour-buddy {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-center {
    align-items: flex-start;
    text-align: left;
  }

  .hero-center .hero-actions,
  .hero-center .hero-price {
    justify-content: flex-start;
  }

  .hero-tour {
    margin-top: 40px;
  }

  .tour-play {
    width: 56px;
    height: 56px;
  }

  .tour-caption {
    bottom: 10px;
    left: 12px;
    font-size: 14px;
  }
}

/* =========================================================
   Client feedback: light infinite marquee (CSS transform; JS clones the set once)
   ========================================================= */
#clients {
  overflow-x: clip;
}

.t-marquee {
  --t-gap: 18px;
  margin-top: 8px;
  margin-inline: calc(50% - 50vw);
  padding-block: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000000 7%, #000000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000000 7%, #000000 93%, transparent);
}

.t-marquee::-webkit-scrollbar {
  display: none;
}

.t-track {
  display: flex;
  width: max-content;
  gap: var(--t-gap);
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.t-marquee .t-card {
  width: min(380px, 82vw);
  flex: none;
  grid-column: auto;
}

.t-marquee.is-looping {
  overflow: hidden;
}

.t-marquee.is-looping .t-track {
  padding: 0;
  animation: t-marquee var(--t-duration, 70s) linear infinite;
}

.t-marquee.is-looping:hover .t-track,
.t-marquee.is-looping:focus-within .t-track {
  animation-play-state: paused;
}

@keyframes t-marquee {
  to {
    transform: translateX(calc(-50% - var(--t-gap) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-marquee.is-looping {
    overflow-x: auto;
  }

  .t-marquee.is-looping .t-track {
    padding: 0 24px;
    animation: none;
  }
}

.t-author img.t-avatar-pixel {
  image-rendering: pixelated;
}
