:root {
  --ink: #17131f;
  --ink-2: #4b4658;
  --ink-3: #6a6578;
  --paper: #ffffff;
  --stone: #f3f1ef;
  --mist: #dbe9ff;
  --lilac: #ece6fb;
  --line: rgba(23, 19, 31, 0.1);
  --sail: #ff5a1f;
  --sky: #3d8bf2;
  --sans:
    "Poppins", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 2vw, 24px);
  --radius: clamp(20px, 2.4vw, 32px);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 500 16px var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow:
    0 10px 30px -8px rgba(23, 19, 31, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px -10px rgba(23, 19, 31, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn.light {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 8px 24px -10px rgba(23, 19, 31, 0.3);
  backdrop-filter: blur(10px);
}
.btn.sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: 10px;
}

/* Floating header after the hero */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.35s ease;
}
.bar.on {
  transform: none;
}
.bar .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.bar .brand,
.bar-end {
  flex: none;
}
.bar-end {
  display: flex;
  gap: 20px;
  align-items: center;
}
.bar .lang {
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-2);
}
.bar .lang:hover {
  color: var(--ink);
}
.bar nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  font-size: 15px;
}
.bar nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-2);
}
.bar nav a:hover {
  color: var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 22px var(--sans);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand .wordmark {
  position: relative;
  display: block;
  height: 24px;
  aspect-ratio: 510.88 / 106.7;
}
.brand .wordmark::before,
.brand .wordmark::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.brand .wordmark::before {
  --m: url(/wordmark-text.svg);
  background: currentColor;
}
.brand .wordmark::after {
  --m: url(/wordmark-dollar.svg);
  background: currentColor;
}

/* Hero */
.hero {
  padding: var(--gutter);
  background: linear-gradient(111deg, #fff 0%, var(--mist) 92%);
}
.hero-card {
  position: relative;
  min-height: min(820px, calc(100svh - 2 * var(--gutter)));
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  box-shadow: 0 30px 80px -40px rgba(30, 60, 120, 0.55);
}
.hero-card > img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  z-index: -2;
}
/* The still image stays underneath; the loop fades in once it is actually playing. */
.hero-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.on {
  opacity: 1;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 30% at 50% 36%, rgba(30, 55, 120, 0.14), rgba(30, 55, 120, 0) 70%),
    linear-gradient(180deg, rgba(40, 70, 140, 0.14) 0%, rgba(40, 70, 140, 0) 30%);
}
.hero-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 3vw, 40px);
}
.hero-nav .brand {
  color: #fff;
}
.hero-nav nav {
  display: flex;
  gap: clamp(20px, 3.4vw, 56px);
  font-size: 16px;
}
.hero-nav nav a {
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.92;
  text-shadow: 0 1px 12px rgba(20, 40, 90, 0.35);
}
.hero-nav nav a:hover {
  opacity: 1;
}
.hero-nav > .brand,
.hero-nav > .lang {
  flex: 1 1 0;
}
.hero-nav .lang {
  text-align: right;
  text-decoration: none;
  font-size: 15px;
  text-shadow: 0 1px 12px rgba(20, 40, 90, 0.35);
}
.hero-nav .lang:hover {
  text-decoration: underline;
}
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 6vh, 72px) 20px 80px;
}
.hero-body h1 {
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-shadow:
    0 2px 6px rgba(20, 40, 90, 0.18),
    0 4px 40px rgba(20, 40, 90, 0.4);
}
.hero-body .sub {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
  text-shadow:
    0 1px 4px rgba(20, 40, 90, 0.3),
    0 2px 18px rgba(20, 40, 90, 0.45);
}
.prompt {
  margin-top: clamp(28px, 4.5vh, 48px);
  width: min(820px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 16px;
  background: rgba(232, 240, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    0 20px 50px -20px rgba(20, 40, 90, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--ink);
  text-align: left;
}
.prompt .cmd {
  flex: 1;
  min-width: 0;
  font: 400 clamp(14px, 1.3vw, 17px) var(--mono);
  overflow-wrap: anywhere;
}
.prompt .cmd .p {
  color: var(--ink-3);
}
.prompt .cmd .q {
  white-space: nowrap;
}
.prompt .cmd input {
  width: auto;
  max-width: 100%;
  field-sizing: content;
  min-width: 4ch;
  margin: 0 1px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1.5px dashed rgba(23, 19, 31, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  caret-color: var(--sail);
}
.prompt .cmd input:hover {
  border-bottom-color: var(--ink);
}
.prompt .cmd input:focus {
  outline: 0;
  border-bottom: 1.5px solid var(--sail);
  background: rgba(255, 255, 255, 0.55);
}
.prompt button {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.prompt button:hover {
  transform: scale(1.04);
}
.prompt button.done {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.prompt button .ic-done,
.prompt button.done .ic-copy {
  display: none;
}
.prompt button.done .ic-done {
  display: block;
}
.prompt button.fail {
  background: #b3261e;
  border-color: #b3261e;
  color: #fff;
}
.prompt button svg {
  width: 21px;
  height: 21px;
}
.prompt-hint {
  margin-top: 14px;
  font-size: 15px;
  color: #fff;
  text-wrap: balance;
  text-shadow:
    0 1px 2px rgba(15, 30, 70, 0.7),
    0 1px 14px rgba(15, 30, 70, 0.75);
}
.hero-ctas {
  margin-top: clamp(24px, 4.5vh, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}
.text-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-shadow:
    0 1px 2px rgba(15, 30, 70, 0.7),
    0 1px 14px rgba(15, 30, 70, 0.75);
}
.text-link:hover {
  text-decoration-thickness: 2px;
}

/* Feature rows: product windows on painted stages */
.rows {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.16 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 50% at 85% 20%, #e7e0fb 0%, rgba(231, 224, 251, 0) 70%),
    linear-gradient(170deg, #fdfbf8 0%, #f6f2fd 60%, #eee8fb 100%);
  padding: clamp(96px, 12vw, 168px) 0;
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.row + .row {
  margin-top: clamp(96px, 13vw, 176px);
}
.row p {
  margin: 22px 0 0;
  max-width: 440px;
  font-size: 17.5px;
  color: var(--ink-2);
}
.kit {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 480px;
}
.kit li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(111, 82, 181, 0.14);
  font-size: 14px;
  color: var(--ink-2);
}
.row p.tested {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  font-size: 15px;
}
.tested svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #34c77b;
  color: #fff;
}
/* Product shot on a soft colour wash: the window enters from the top left and bleeds off the right and bottom edges */
.stage {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  /* Fixed top room so the payment toast only grazes the toolbar's top edge, never the address bar */
  padding: 62px 0 0 clamp(28px, 4.2vw, 60px);
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.16 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(55% 65% at 8% 6%, var(--wash-1) 0%, transparent 70%),
    radial-gradient(60% 75% at 100% 10%, var(--wash-2) 0%, transparent 72%),
    radial-gradient(85% 70% at 55% 108%, var(--wash-3) 0%, transparent 72%), var(--wash-0);
  box-shadow:
    inset 0 0 0 1px rgba(60, 40, 120, 0.06),
    0 40px 80px -60px rgba(60, 40, 120, 0.4);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 35%);
}
.stage.sky-a {
  --wash-0: #e9e2fa;
  --wash-1: #ffc7a3;
  --wash-2: #bfadff;
  --wash-3: #a8c6ff;
}
.stage.sky-b {
  --wash-0: #e4e8f8;
  --wash-1: #a9cbff;
  --wash-2: #d0bcff;
  --wash-3: #aee5cc;
}
.stage > .window {
  border-radius: 14px 0 0 0;
}
.window {
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(20, 20, 60, 0.08),
    0 2px 4px rgba(20, 20, 60, 0.06),
    0 24px 48px -16px rgba(20, 20, 60, 0.32),
    0 70px 110px -50px rgba(40, 30, 110, 0.55);
  overflow: hidden;
}
/* Browser toolbar: lights, nav arrows, left-aligned address bar with a lock, menu */
.window .chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #fcfbf9, #f5f3f1);
  border-bottom: 1px solid rgba(20, 20, 60, 0.07);
}
.window .chrome::before {
  content: "";
  order: 1;
  flex: none;
  width: 52px;
  height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 14' fill='none' stroke='%237c778a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3L2 7l4 4M2 7h8'/%3E%3Cpath d='M20 3l4 4-4 4M24 7h-8' opacity='.45'/%3E%3Cpath d='M48 7a5 5 0 1 1-1.5-3.5M47 1v3h-3'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6159;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14);
}
.dots i + i {
  background: #ffbd2e;
}
.dots i + i + i {
  background: #28c941;
}
.window .url {
  order: 2;
  flex: 1;
  min-width: 0;
  padding: 6px 12px 6px 30px;
  border-radius: 999px;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%237c778a' stroke-width='1.2'%3E%3Crect x='2.5' y='5.5' width='7' height='5' rx='1.2'/%3E%3Cpath d='M4 5.5V4a2 2 0 0 1 4 0v1.5'/%3E%3C/svg%3E")
    12px center / 11px no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(20, 20, 60, 0.08),
    0 1px 2px rgba(20, 20, 60, 0.04);
  font: 400 12px var(--mono);
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window .chrome::after {
  content: "";
  order: 3;
  flex: none;
  width: 34px;
  height: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 14' fill='none' stroke='%237c778a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 1v8M2 4l3-3 3 3M1 9v3.5h8V9'/%3E%3Ccircle cx='24' cy='7' r='.6'/%3E%3Ccircle cx='28' cy='7' r='.6'/%3E%3Ccircle cx='32' cy='7' r='.6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.site {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}
.site .page {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.topline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.topline #site-kw {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topline .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff8a4c, #f472a6 60%, #9b7be8);
}
.topline .credits {
  flex: none;
  white-space: nowrap;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f1fb;
  font: 500 12px var(--mono);
  color: var(--ink-2);
}
/* Narrow mock window: the badge would squeeze the site name; credits still show on the result and the toast. */
.site .page {
  container-type: inline-size;
}
@container (max-width: 259px) {
  .topline .credits {
    display: none;
  }
}
.topline .credits::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b83d;
}
.result {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9e5f3;
  box-shadow: 0 12px 24px -16px rgba(20, 20, 60, 0.45);
}
.result::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(20, 20, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}
.result .meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(20, 16, 30, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 500 11.5px var(--mono);
}
.drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 6px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(111, 82, 181, 0.28);
  background: #fbfaff;
  font-size: 13px;
  color: var(--ink-3);
}
.drop b {
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, #2e2839, #17131f);
  padding: 7px 14px;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 10px -4px rgba(23, 19, 31, 0.55);
  white-space: nowrap;
}
/* Side panel: one grouped list, like a settings sheet, instead of five boxed fields */
.site .side {
  border-left: 1px solid rgba(20, 20, 60, 0.06);
  background: linear-gradient(180deg, #f8f6fd, #f2eefb);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
}
.side .label {
  margin: 0 4px 10px;
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.side .check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(111, 82, 181, 0.1);
  font-size: 13.5px;
  color: var(--ink);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.side .label + .check {
  border-radius: 12px 12px 0 0;
}
.side .check:last-child {
  border-radius: 0 0 12px 12px;
}
.js .side .check:not(.on) {
  color: var(--ink-3);
}
.js .side .check:not(.on)::before {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(111, 82, 181, 0.22);
}
.side .check::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 13px no-repeat,
    linear-gradient(180deg, #3fd38b, #20a564);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 5px -1px rgba(32, 165, 100, 0.45);
}
/* Two-column rows between ~960 and 1180px leave the side panel narrow; tighten so English items stay on one line */
@media (min-width: 961px) and (max-width: 1180px) {
  .site .side {
    padding: 18px 10px;
  }
  .side .check {
    gap: 8px;
    padding: 9px 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .side .check::before {
    width: 16px;
    height: 16px;
    background-size: 11px, auto;
  }
  .drop {
    padding-left: 12px;
    font-size: 12px;
    line-height: 1.35;
  }
  .drop b {
    padding: 7px 11px;
  }
}
.toast {
  position: absolute;
  z-index: 2;
  /* Drops in at the top right like a system notification, overlapping the toolbar */
  right: clamp(12px, 2vw, 24px);
  top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 6px rgba(20, 20, 60, 0.08),
    0 24px 48px -16px rgba(20, 20, 60, 0.45);
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
}
.toast i {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #8a84ff, #635bff 55%, #4a42e8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 14px -6px rgba(99, 91, 255, 0.8);
  color: #fff;
  font: 600 15px var(--sans);
  font-style: normal;
}
.toast b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

/* Visitor walk-through, played by site.js: guest try → out of tries → Google sign-in → credit pack → Stripe → payment toast.
   Without .play (no JS, reduced motion) the window rests on its final, signed-in state. */
.topline i {
  font-style: normal;
}
.topline .guest {
  display: none;
  flex: none;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4e8;
  color: #9a5a17;
  font: 500 12px var(--mono);
  white-space: nowrap;
}
.topline .avatar {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 22%, transparent 23%),
    radial-gradient(circle at 50% 100%, #fff 0 42%, transparent 43%),
    linear-gradient(140deg, #ffb37a, #f472a6);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(111, 82, 181, 0.18);
}
.play .topline .guest {
  display: inline-block;
}
.play:not(.is-user) .topline :is(.credits, .avatar),
.play.is-user .topline .guest {
  display: none;
}
.play.is-user .topline .avatar {
  animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.result img {
  transition:
    opacity 0.5s ease,
    filter 0.9s ease,
    transform 0.9s ease;
}
.play.is-empty .result img {
  opacity: 0;
  filter: blur(16px);
  transform: scale(1.06);
}
.play .result .meta {
  display: none;
}
/* Generating: a light band sweeps the empty frame */
.result::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%) -100% 0 / 60%
    100% no-repeat;
  pointer-events: none;
}
/* Empty frame: a soft aurora, like a latent image about to resolve */
.play.is-empty .result {
  background:
    radial-gradient(55% 75% at 26% 38%, rgba(255, 150, 96, 0.55), transparent 65%),
    radial-gradient(50% 70% at 74% 62%, rgba(132, 108, 255, 0.5), transparent 65%),
    radial-gradient(40% 55% at 58% 18%, rgba(255, 128, 186, 0.42), transparent 65%),
    radial-gradient(45% 60% at 20% 90%, rgba(120, 190, 255, 0.35), transparent 65%), #f7f3f8;
}
.is-busy .result::before {
  opacity: 1;
  animation: sweep 1.1s ease-in-out infinite;
}
.result .prog {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 0.5px rgba(23, 19, 31, 0.06);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.result .prog::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.is-busy .result .prog {
  opacity: 1;
}
.is-busy .result .prog::after {
  width: 100%;
  transition: width 1.5s cubic-bezier(0.3, 0.6, 0.4, 1);
}
/* Loop restart: jump straight to the empty first frame instead of fading the last one out */
.snap,
.snap * {
  /* biome-ignore lint/complexity/noImportantStyles: must beat every per-element transition during the restart */
  transition: none !important;
}
.drop b,
.sheet .gbtn,
.sheet .paybtn {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.drop b.press,
.sheet .press {
  transform: scale(0.93);
  box-shadow: 0 0 0 5px rgba(99, 91, 255, 0.22);
}
/* Sheets dim the whole page column, like the real site's modal, so they fit even when the result frame is small */
.site .page {
  position: relative;
  overflow: hidden;
}
@container (max-width: 300px) {
  .topline .guest > span {
    display: none;
  }
}
.sheet {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(78%, 250px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 999px rgba(20, 16, 30, 0.38),
    0 18px 40px -12px rgba(20, 16, 30, 0.6);
  font-size: 12.5px;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -44%) scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s;
}
.sheet b {
  font-weight: 500;
  color: var(--ink);
  font-size: 13.5px;
}
.is-login .sheet.login,
.is-pay .sheet.pay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.sheet .gbtn,
.sheet .paybtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.sheet .gbtn {
  box-shadow: inset 0 0 0 1px rgba(20, 20, 60, 0.16);
  color: var(--ink);
}
.sheet .gbtn svg {
  width: 15px;
  height: 15px;
}
.sheet .plan {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 60, 0.12);
  color: var(--ink-2);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.sheet .plan em {
  font: 500 12px var(--mono);
  color: var(--ink);
}
.sheet .plan + .plan,
.is-picked .sheet .plan:first-of-type {
  box-shadow: inset 0 0 0 1px rgba(20, 20, 60, 0.12);
  background: none;
}
.sheet .plan:first-of-type,
.is-picked .sheet .plan + .plan {
  box-shadow: inset 0 0 0 1.5px #635bff;
  background: #f5f4ff;
}
.sheet .paybtn {
  background: linear-gradient(180deg, #7a73ff, #635bff);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(99, 91, 255, 0.8);
}
.sheet .paybtn {
  position: relative;
}
@container (max-width: 330px) {
  .sheet {
    gap: 5px;
    padding: 10px;
    font-size: 12px;
  }
  .sheet .gbtn,
  .sheet .paybtn,
  .sheet .plan {
    padding-block: 5px;
  }
}
.sheet .paybtn.wait {
  color: transparent;
}
.sheet .paybtn.wait::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.play .toast {
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.play.is-toast .toast {
  opacity: 1;
  transform: none;
}
@keyframes sweep {
  to {
    background-position: 200% 0;
  }
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}
/* Steps + demo */
.run {
  padding: clamp(96px, 11vw, 160px) 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.16 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(200deg, #fff 0%, #f6f2ff 100%);
}
.center {
  text-align: center;
}
.center h2 {
  margin-top: 6px;
}
ol.steps {
  counter-reset: step;
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
ol.steps li {
  --accent: #ff8a4c;
  counter-increment: step;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 40, 120, 0.07),
    0 1px 2px rgba(60, 40, 120, 0.05),
    0 28px 56px -32px rgba(60, 40, 120, 0.32);
  font-size: 15px;
  color: var(--ink-2);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
ol.steps li:nth-child(2) {
  --accent: #f472a6;
}
ol.steps li:nth-child(3) {
  --accent: #9b7be8;
}
ol.steps li:nth-child(4) {
  --accent: #3d8bf2;
}
ol.steps li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(60, 40, 120, 0.08),
    0 1px 2px rgba(60, 40, 120, 0.05),
    0 40px 70px -34px rgba(60, 40, 120, 0.42);
}
ol.steps b {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 22px 16px 8px;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
}
ol.steps b::before {
  content: counter(step, decimal-leading-zero);
  font: 500 11.5px var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
ol.steps p {
  margin: 0 16px;
}
/* Each step's mini UI floats on a soft wash of the step's accent, inset in the card */
.shot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 152px;
  border-radius: 19px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font: 400 13px / 1.5 var(--mono);
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--accent) 24%, #fff) 0%, transparent 65%),
    radial-gradient(80% 110% at 100% 100%, color-mix(in srgb, var(--accent) 16%, #fff) 0%, transparent 70%),
    #f8f6fc;
  box-shadow: inset 0 0 0 1px rgba(60, 40, 120, 0.05);
}
.shot > * {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
ol.steps li:hover .shot > * {
  transform: translateY(-2px);
}
.shot.dom {
  align-items: stretch;
  gap: 12px;
}
.shot.dom .url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(60, 40, 120, 0.06),
    0 2px 4px rgba(60, 40, 120, 0.05),
    0 12px 24px -10px rgba(60, 40, 120, 0.35);
}
.shot.dom .url i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c77b;
  box-shadow: 0 0 0 3px rgba(52, 199, 123, 0.18);
}
.shot.dom .tagp {
  align-self: flex-end;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff;
  color: #a8410f;
  font-size: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 138, 76, 0.22),
    0 8px 18px -10px rgba(196, 80, 26, 0.5);
}
.shot.term {
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #1f1a2b, #14111c);
  color: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.shot.term .dots {
  display: flex;
  gap: 5px;
  margin-bottom: 2px;
}
.shot.term .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.shot.term em {
  font-style: normal;
  color: #f472a6;
}
.shot.term .ok {
  color: #5fdc9b;
}
.shot.cfg {
  color: var(--ink-2);
  padding: 20px 30px;
}
/* A floating editor card behind the config lines */
.shot.cfg::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(60, 40, 120, 0.06),
    0 14px 28px -14px rgba(60, 40, 120, 0.4);
}
.shot.cfg .f {
  align-self: start;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(155, 123, 232, 0.14);
  color: #6f52b5;
  font-size: 11px;
}
.shot.cfg em {
  font-style: normal;
  color: #6f52b5;
}
.shot.cfg u {
  text-decoration: none;
  color: #a8410f;
}
.shot.ship {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  gap: 6px;
  font-size: 12px;
}
.shot.ship span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(60, 40, 120, 0.06),
    0 8px 16px -10px rgba(60, 40, 120, 0.4);
}
.shot.ship span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat,
    linear-gradient(180deg, #62a6ff, #2f7be6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
/* Fleet: a few keyword sites standing on one shared core */
.stage.fleet {
  padding: clamp(24px, 4vw, 48px);
}
.fleet-sites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fsite {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(60, 40, 120, 0.06),
    0 14px 30px -20px rgba(40, 30, 110, 0.4);
}
.fsite b {
  font: 500 14px var(--mono);
  overflow-wrap: anywhere;
}
.fsite span {
  align-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0eef4;
  color: var(--ink-3);
  font-size: 12.5px;
}
.fsite.up span {
  background: #dff6e9;
  color: #17804b;
}
.fsite.new span {
  background: #ffe6db;
  color: #c2410c;
}
.fsite.idle {
  opacity: 0.6;
}
.fleet-core {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1e1a29 0%, #15121d 100%);
  color: #ece8f5;
  box-shadow: 0 24px 48px -20px rgba(20, 16, 50, 0.5);
}
/* Two connectors, one under each column of sites */
.fleet-core::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
  background:
    linear-gradient(rgba(60, 40, 120, 0.3), rgba(60, 40, 120, 0.3)) 25% 0 / 2px 100% no-repeat,
    linear-gradient(rgba(60, 40, 120, 0.3), rgba(60, 40, 120, 0.3)) 75% 0 / 2px 100% no-repeat;
}
.fleet-core b {
  font-weight: 500;
  font-size: 15px;
}
.fleet-core span {
  font: 400 13px var(--mono);
  color: #b9b2cc;
}
.fleet-core small {
  font-size: 13px;
  color: #7ee2a8;
}

/* Case: a live site built on shipwords */
.case {
  padding: clamp(96px, 11vw, 160px) 0;
  background: radial-gradient(ellipse 60% 70% at 20% 50%, #fbe9dc 0%, rgba(251, 233, 220, 0) 70%), #fffaf6;
  border-top: 1px solid var(--line);
}
.case .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
/* Two 9:16 clips side by side, the output set a step lower so the pair reads as before and after */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
  max-width: 620px;
}
.clip {
  margin: 0;
}
.clip.ours {
  margin-top: clamp(28px, 5vw, 64px);
}
.clip-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1410;
  aspect-ratio: 9 / 16;
  box-shadow:
    0 50px 90px -40px rgba(40, 24, 12, 0.6),
    0 2px 6px rgba(20, 20, 60, 0.08);
}
.clip-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.clip .sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(20, 14, 10, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
}
.clip .sound svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.clip .sound[aria-pressed="false"] .on,
.clip .sound[aria-pressed="true"] .off {
  display: none;
}
.clip figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
}
.clip figcaption b {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.how {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 460px;
}
.how li {
  padding-left: 18px;
  border-left: 2px solid rgba(255, 90, 31, 0.35);
  font-size: 15.5px;
  color: var(--ink-2);
}
.how b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}
.case-body p {
  margin: 22px 0 0;
  max-width: 440px;
  font-size: 17.5px;
  color: var(--ink-2);
}
.case-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Meadow: keyword marquee */
.meadow {
  position: relative;
  min-height: clamp(560px, 64vw, 820px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}
.meadow > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.meadow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 30, 60, 0.35) 0%, rgba(20, 30, 60, 0) 55%);
}
.meadow .head {
  text-align: center;
  padding: 0 20px;
}
.meadow .head p {
  margin: 12px 0 0;
  font-size: 18px;
  opacity: 0.92;
}
.meadow h2,
.meadow .head p {
  text-shadow: 0 2px 24px rgba(10, 20, 50, 0.45);
}
.meadow .head .btn {
  margin-top: 28px;
}
.marquee {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lane {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 60s linear infinite;
}
.lane.rev {
  animation-direction: reverse;
  animation-duration: 70s;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  font-size: 17px;
  white-space: nowrap;
}
.chip.w {
  background: #fff;
  color: var(--ink);
}
.chip.p {
  background: #f9b7cf;
  color: var(--ink);
  border-color: transparent;
}
.chip.v {
  background: #c9b5f2;
  color: var(--ink);
  border-color: transparent;
}
.chip small {
  font: 500 12px var(--mono);
}
.marquee:hover .lane {
  animation-play-state: paused;
}

/* FAQ */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(180deg, var(--stone) 0%, #f4f0fb 100%);
}
.faq .list {
  max-width: 860px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0 26px;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--stone);
  font-weight: 400;
  font-size: 20px;
  transition: transform 0.25s ease;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--ink-2);
  max-width: 720px;
}

footer {
  padding: 72px 0 40px;
  background: #f4f0fb;
  font-size: 15px;
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer ul a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  color: var(--ink-2);
}
footer .legal a {
  text-decoration: none;
}
footer ul a:hover,
footer .legal a:hover {
  color: var(--ink);
}
footer .blurb {
  margin: 16px 0 0;
  max-width: 300px;
  color: var(--ink-2);
}
footer .legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}

/* Language hint for Chinese browsers on the English page */
.lang-hint {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 30;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 20px 40px -16px rgba(30, 30, 80, 0.4);
  font-size: 14.5px;
  white-space: nowrap;
  animation: rise 0.4s ease both;
}
.lang-hint a {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.lang-hint button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  font-size: 20px;
  cursor: pointer;
}
.lang-hint button:hover {
  background: var(--stone);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 960px) {
  /* Narrow, tall cards crop the sides: keep the laptop in frame */
  .hero-card > img,
  .hero-video {
    object-position: 82% 60%;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .row .stage {
    order: 2;
  }
  ol.steps {
    grid-template-columns: 1fr 1fr;
  }
  .case .wrap {
    grid-template-columns: 1fr;
  }
  footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-nav nav .hide-sm,
  .bar nav .hide-sm {
    display: none;
  }
  .bar .wrap,
  .bar nav,
  .bar-end {
    gap: 14px;
  }
  .bar .btn {
    padding: 0 14px;
  }
  .hero-nav {
    gap: 12px;
    padding: 22px 16px;
  }
  .hero-nav nav {
    gap: 14px;
    font-size: 15px;
  }
  .hero-body .sub {
    font-size: 16px;
  }
  .hero-nav > .brand,
  .hero-nav > .lang {
    flex: none;
  }
  .hero-nav .brand {
    font-size: 19px;
  }
  .hero-card {
    min-height: 640px;
  }
  .hero-card > img {
    object-position: 62% 50%;
  }
  .prompt {
    padding-left: 16px;
  }
  .prompt button {
    width: 46px;
    height: 46px;
  }
  .site {
    grid-template-columns: 1fr;
  }
  .window .chrome::before,
  .window .chrome::after {
    display: none;
  }
  .site .side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  /* The component list sits right above the window on a phone; the side list would repeat it */
  .stage.sky-a .site .side {
    display: none;
  }
  /* One site per row so domains never break mid-word; one connector down the middle */
  .fleet-sites {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fsite {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 12px 14px;
  }
  .fsite b {
    font-size: 13px;
    overflow-wrap: normal;
  }
  .fsite span {
    align-self: center;
  }
  .fleet-core {
    margin-top: 22px;
  }
  .fleet-core::before {
    top: -22px;
    height: 22px;
    background: linear-gradient(rgba(60, 40, 120, 0.3), rgba(60, 40, 120, 0.3)) 50% 0 / 2px 100% no-repeat;
  }
  .stage {
    padding: 14px;
    border-radius: 22px;
  }
  .stage > .window {
    border-radius: 14px;
  }
  .stage.sky-a {
    display: flex;
    flex-direction: column;
  }
  .toast {
    position: static;
    order: 2;
    margin-top: 12px;
  }
  /* While the walk-through plays, the toast drops over the toolbar instead of holding an empty slot below */
  .play .toast {
    position: absolute;
    top: 6px;
    left: 24px;
    right: 24px;
    margin: 0;
  }
  footer ul {
    gap: 0;
  }
  footer ul a {
    padding: 10px 0;
  }
  ol.steps {
    grid-template-columns: 1fr;
  }
  details {
    padding: 0 18px;
  }
  summary {
    font-size: 16px;
  }
  .chip {
    font-size: 15px;
    padding: 11px 20px;
  }
  /* Desktop rhythm (96px+ each side) leaves a screen of blank between sections on a phone */
  .rows,
  .case,
  .run {
    padding-block: 72px;
  }
  .faq {
    padding-block: 64px;
  }
  footer {
    padding-top: 56px;
  }
  /* Taller hit areas without moving the layout */
  .hero-nav nav a,
  .hero-nav .lang,
  .bar-end .lang {
    padding-block: 10px;
    margin-block: -10px;
  }
  .text-link {
    display: inline-block;
    padding-block: 9px;
  }
  .case-ctas .btn {
    flex: 1 1 auto;
  }
  footer .legal a {
    flex: none;
    padding: 10px 0 10px 8px;
    margin-block: -10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lane,
  .lang-hint {
    animation: none;
  }
  .btn,
  .bar,
  .check {
    transition: none;
  }
}

/* CJK headings: no tight Latin tracking, and break only at punctuation or spaces. */
:lang(zh) :is(h1, h2) {
  letter-spacing: 0;
}
:lang(zh) :is(h1, h2, h3) {
  word-break: keep-all;
}

/* Chinese: Noto Sans SC for CJK glyphs, lighter and slightly smaller headings. */
:lang(zh) {
  --sans: "Poppins", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
:lang(zh) .hero-body h1 {
  font-weight: 300;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.12;
}
:lang(zh) h2 {
  font-weight: 300;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
}

/* Privacy page */
.doc {
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.doc .brand {
  display: inline-block;
  margin-bottom: 40px;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 16px;
}
.doc h2 {
  font-size: 24px;
  margin: 36px 0 8px;
}
.doc li {
  margin-bottom: 8px;
}
.doc a {
  text-decoration-color: var(--ink-3);
}
.doc .back {
  margin-top: 48px;
  color: var(--ink-3);
}
