/* DM Sans, self-hosted (SIL Open Font License). Variable: weights 400-700. */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Phoenix Labs site. One stylesheet for every marketing page.
 *
 * Dark by design (a single visual world, like a cinema): the palette is set on
 * :root and there is no light theme. Every colour below comes from a token.
 */

:root {
  --bg: #0b0c0e;
  --bg-alt: #101216;
  --panel: #14171c;
  --panel-2: #1b1f27;
  --line: #23272e;
  --line-2: #2e333c;
  --ink: #eef1f5;
  --ink-dim: #a4acb8;
  --ink-faint: #838c99;
  --accent: #e8703a;          /* phoenix orange */
  --accent-2: #e8b56f;        /* ember gold */
  --accent-soft: rgba(232, 112, 58, 0.14);
  --glass: rgba(14, 16, 20, 0.62);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1180px;
  --font: "DM Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
/* width/height attributes give the box its shape before metadata loads */
video { height: auto; }
figure { margin: 0; }  /* UA default is 1em 40px, which eats 80px on mobile */
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-dim); }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-block; margin: 0 0 16px;
  color: var(--accent-2); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  background: rgba(11, 12, 14, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav.nav-over { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background 0.25s ease, border-color 0.25s ease; }
.nav.nav-over.scrolled { background: rgba(11, 12, 14, 0.82); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; color: var(--ink); font-size: 17px; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- buttons ---------- */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--accent); color: #170903;
  font: 650 15px/1.2 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.btn:hover, .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-faint); filter: none; }
.btn-light { background: var(--ink); color: #0b0c0e; }
.link-arrow { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- home hero: full-bleed video ---------- */
.home-hero {
  position: relative; min-height: min(92vh, 900px); display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.home-hero video, .home-hero .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.15) 30%, rgba(11, 12, 14, 0.55) 62%, var(--bg) 100%),
    radial-gradient(ellipse 60% 55% at 15% 85%, rgba(232, 112, 58, 0.22), transparent 70%);
}
.home-hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 160px 28px 56px; }
.display {
  font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.0;
  margin: 0 0 22px; max-width: 13ch;
}
.display em { font-style: normal; color: var(--accent-2); }
.hero-sub { color: #d3d8df; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.home-hero .hero-actions { margin: 0; }

/* Product rail: the four tools, just under the hero's fold. */
.product-rail {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  position: relative; z-index: 2; margin-top: -8px;
}
.rail-item {
  display: grid; gap: 4px; padding: 18px 18px 16px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.rail-item:hover { border-color: rgba(232, 112, 58, 0.55); transform: translateY(-2px); background: var(--panel-2); }
.rail-item strong { font-size: 15.5px; }
.rail-item span { color: var(--ink-dim); font-size: 13.5px; line-height: 1.45; }
.rail-item small { color: var(--accent-2); font-size: 12.5px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ---------- product page hero (two columns) ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 76px 28px 56px;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
}
.hero > :only-child { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; }
.lede, .lead { color: var(--ink-dim); font-size: 18.5px; max-width: 46ch; }
.fineprint { color: var(--ink-faint); font-size: 14px; margin: 0; }
.hero-shot figcaption, .video-pair figcaption {
  color: var(--ink-faint); font-size: 14px; margin-top: 10px; text-align: center;
}
.hero-shot > img, .hero-shot > video { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; background: #000; }

/* ---------- before / after (images) ---------- */
.ba {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #000; line-height: 0;
  user-select: none;
}
.ba img { width: 100%; }
.ba-clip {
  position: absolute; inset: 0; width: 50%;
  overflow: hidden; border-right: 2px solid rgba(255, 255, 255, 0.85);
}
.ba-clip img { width: auto; height: 100%; max-width: none; }
.ba-range, .vc-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; z-index: 3;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-handle, .vc-handle {
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: #fff; z-index: 2; pointer-events: none;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.ba-handle::before, .ba-handle::after, .vc-handle::before, .vc-handle::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border: 5px solid transparent;
}
.ba-handle::before, .vc-handle::before { left: 8px; margin-top: -5px; border-right-color: #111; }
.ba-handle::after, .vc-handle::after { right: 8px; margin-top: -5px; border-left-color: #111; }
.ba-tag, .vc-tag {
  position: absolute; top: 14px; z-index: 2;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.62); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6;
  pointer-events: none;
}
.ba-tag-l, .vc-tag-l { left: 14px; }
.ba-tag-r, .vc-tag-r { right: 14px; }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }

/* ---------- before / after (video): two synced clips, one wiped over the other ---------- */
.vcompare {
  position: relative; overflow: hidden; line-height: 0; user-select: none;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #000;
  --pos: 50%;
}
.vcompare video { width: 100%; height: auto; }
.vcompare .vc-before { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vcompare .vc-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); z-index: 2; pointer-events: none; }
.vcompare .vc-handle { left: var(--pos); }

/* ---------- strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: var(--max); margin: 0 auto; padding: 22px 28px;
  color: var(--ink-dim); font-size: 15px;
  border-block: 1px solid var(--line);
}
.strip strong { color: var(--ink); font-weight: 650; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 28px; }
.section-alt {
  background: var(--bg-alt); max-width: none;
  padding-inline: max(28px, calc((100% - var(--max)) / 2 + 28px));
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--ink-dim); max-width: 62ch; margin-bottom: 30px; font-size: 18px; }
.section-head .section-sub { margin-bottom: 0; }
.center .section-sub { margin-inline: auto; }
.credit { color: var(--ink-faint); font-size: 13.5px; margin-top: 18px; }

.video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-pair video { border-radius: var(--radius); border: 1px solid var(--line); background: #000; width: 100%; }

/* Walkthrough video: our thumbnail until pressed, then YouTube's player (site.js) */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 960px; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--line); }
.yt button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.yt img, .yt iframe, .yt video { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt button:hover img { filter: brightness(1.08); }
.yt button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.yt-play { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(6px); color: var(--ink); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.yt-play svg { width: 34px; height: 34px; padding: 10px 9px 10px 11px; border-radius: 50%; background: var(--accent); color: #fff; box-sizing: border-box; }
.yt + .fineprint { margin-top: 14px; }

.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 44px; }
.how-grid > div {
  padding: 24px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}
.how-grid p { color: var(--ink-dim); margin: 0; font-size: 15.5px; }
.paths-grid { margin-bottom: 0; }
.path-card { display: flex; flex-direction: column; }
.path-eyebrow { color: var(--ink-faint); font-size: 14px; margin: 0 0 6px; }
.path-card h3 { margin: 0 0 12px; }
.path-card p { margin-bottom: 22px; }
.path-card .btn { align-self: flex-start; margin-top: auto; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; padding: 0; margin-block: 0; }
.steps li { display: flex; align-items: baseline; gap: 14px; color: var(--ink-dim); max-width: 62ch; }
.steps span {
  flex: 0 0 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700;
}
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-grid > div {
  padding: 24px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}
.step-num {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.step-grid h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step-grid p { color: var(--ink-dim); margin: 0; font-size: 15px; }

/* ---------- home: product cards ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel);
  text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { border-color: rgba(232, 112, 58, 0.5); transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(232, 112, 58, 0.45); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.product-media video, .product-media > img { width: 100%; height: 100%; object-fit: cover; }
.product-media .ba { position: absolute; inset: 0; border: 0; border-radius: 0; }
.product-media .ba img { height: 100%; object-fit: cover; }
.product-media .pan { animation: pan 18s ease-in-out infinite alternate; object-position: 0% 0%; }
@keyframes pan { to { object-position: 100% 60%; } }
.product-body { display: grid; gap: 10px; padding: 24px 26px 26px; align-content: start; }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.product-body h3 { font-size: 1.4rem; margin: 0; }
.product-body p { color: var(--ink-dim); margin: 0; font-size: 15.5px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-dim); font-size: 12.5px; font-weight: 500;
}
.price-chip { color: var(--accent-2); font-weight: 650; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* ---------- home: feature bands ---------- */
.band { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.band.flip { grid-template-columns: 1.15fr 1fr; }
.band.flip .band-copy { order: 2; }
.band-copy p { color: var(--ink-dim); font-size: 17.5px; max-width: 48ch; }
.band-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.band-list li { padding-left: 26px; position: relative; color: var(--ink-dim); font-size: 16px; }
.band-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 11px; border: solid var(--accent);
  border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.shot { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.shot img, .shot video { width: 100%; }

.clip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clip-row figure { display: grid; gap: 8px; }
.clip-row video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.clip-row figcaption { color: var(--ink-faint); font-size: 13.5px; line-height: 1.45; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { padding: 28px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg-alt)); }
.principle .num { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.principle h3 { font-size: 1.25rem; }
.principle p { color: var(--ink-dim); margin: 0; font-size: 15.5px; }

/* ---------- price ---------- */
.price-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 46px; align-items: start; }
.price-card {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), #0f1216);
}
.price-eyebrow { color: var(--ink-faint); font-size: 14px; margin: 0 0 6px; }
.price-amount { font-size: 3.1rem; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 18px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--ink-faint); margin-left: 9px; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-card li { padding-left: 26px; position: relative; color: var(--ink-dim); font-size: 15.5px; }
.price-card li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 11px; border: solid var(--accent);
  border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.price-card .fineprint { margin-top: 14px; text-align: center; }
.price-aside h3 { margin-top: 22px; }
.price-aside h3:first-child { margin-top: 0; }
.price-aside p { color: var(--ink-dim); max-width: 54ch; }

/* ---------- download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.dl {
  display: grid; gap: 4px; padding: 22px 24px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  transition: border-color 0.14s ease;
}
.dl:hover { border-color: var(--accent); }
.dl span { color: var(--ink-faint); font-size: 14px; }
.dl-soon { border-style: dashed; background: transparent; }
.dl-soon strong { color: var(--ink-dim); }
.dl-soon:hover { border-color: var(--line); }
.dl-grid + .fineprint { max-width: 72ch; margin-top: -22px; }
.fineprint + .req { margin-top: 44px; }
.req p { color: var(--ink-dim); max-width: 66ch; }
.req-table {
  width: 100%; max-width: 640px; border-collapse: collapse; margin: 22px 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.req-table th, .req-table td { padding: 12px 16px; text-align: left; font-size: 15px; }
.req-table thead th { color: var(--ink-faint); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.req-table tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.req-table tbody td { color: var(--ink-dim); }
.req-table tbody tr { border-top: 1px solid var(--line); }
.req-table .muted { color: var(--ink-faint); font-size: 13px; }
.table-wrap { overflow-x: auto; }

/* ---------- faq ---------- */
.compare-table { max-width: none; }
.compare-table tbody th { white-space: normal; width: 26%; }
.compare-table th, .compare-table td { vertical-align: top; }
.compare-table thead th:nth-child(2) { color: var(--accent-2); }
.compare-table tbody td:nth-child(2) { color: var(--ink); }
.faq { display: grid; gap: 0; max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-faint); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-dim); margin: 0 0 20px; font-size: 15.5px; }

/* ---------- cta ---------- */
.cta {
  text-align: center; padding: 110px 28px; border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 50% 110%, rgba(232, 112, 58, 0.22), transparent 70%),
    var(--bg-alt);
}
.cta h2 { margin-bottom: 14px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta p { color: var(--ink-dim); max-width: 56ch; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot-grid {
  max-width: var(--max); margin: 0 auto; padding: 56px 28px 28px;
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px;
}
.foot-brand p { color: var(--ink-faint); font-size: 14px; max-width: 30ch; margin-top: 14px; }
.foot-col .foot-h { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.foot-col a { display: block; color: var(--ink-faint); text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-legal {
  max-width: var(--max); margin: 0 auto; padding: 18px 28px 40px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--ink-faint); font-size: 13.5px; border-top: 1px solid var(--line);
}
.foot-legal a { color: var(--ink-faint); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }
.foot-news { margin-top: 18px; max-width: 34ch; }
.foot-news label { display: block; color: var(--ink-faint); font-size: 14px; margin-bottom: 8px; }
.foot-news-row { display: flex; gap: 8px; }
.foot-news input[type=email] { flex: 1; min-width: 0; font: inherit; font-size: 14.5px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.foot-news button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--accent, #e8732c); color: #fff; cursor: pointer; }
.foot-news input:focus-visible, .foot-news button:focus-visible { outline: 2px solid var(--accent, #e8732c); outline-offset: 2px; }
.foot-news .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.foot-news-msg { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-dim); min-height: 1em; }
.foot-badges {
  max-width: var(--max); margin: 0 auto; padding: 14px 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  border-top: 1px solid var(--line);
}
.foot-badges a { display: inline-flex; opacity: 0.55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.foot-badges a:hover, .foot-badges a:focus-visible { opacity: 1; filter: none; }
.foot-badges img { height: 26px; width: auto; }
.foot-badges .foot-badge-text { color: var(--ink-faint); font-size: 13px; text-decoration: none; }
@media (max-width: 560px) { .foot-badges { padding-inline: 16px; } }
/* Older pages' single-line footer. */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 30px 28px 50px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--ink-faint); font-size: 14px;
}
.foot a { color: var(--ink-faint); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- reveal on scroll (site.js adds .is-visible) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- content / legal / guide pages ---------- */
.content-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.content-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.content-page h2 { font-size: 21px; margin: 38px 0 10px; color: var(--ink); }
.content-page h3 { font-size: 17px; margin: 26px 0 8px; }
.content-page p, .content-page li { color: var(--ink-dim); line-height: 1.7; font-size: 16.5px; }
.content-page ul, .content-page ol { padding-left: 1.2em; margin: 8px 0; }
.content-page li { margin: 6px 0; }
.content-page a { color: var(--accent); }
.content-page .muted { color: var(--ink-faint); font-size: 14.5px; }
.content-page .page-date { margin: 0 0 8px; font-size: 13.5px; }
.damage-table { max-width: none; }
.damage-table tbody th { white-space: normal; width: 34%; font-weight: 500; }
.damage-table th, .damage-table td { vertical-align: top; }
.damage-table td:last-child { color: var(--ink); }
.content-page .btn, .content-page .btn-primary { color: #170903; }

/* ---------- code ---------- */
code { font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.88em; }
.content-page :not(pre) > code {
  padding: 1px 6px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); overflow-wrap: anywhere;
}
.code { margin: 12px 0 22px; border: 1px solid var(--line); border-radius: 12px; background: #07080a; overflow: hidden; }
.code-label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 8px 7px 14px; border-bottom: 1px solid var(--line);
  color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.02em;
}
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; color: #e9e4dc; }
.code-copy {
  font: 600 12.5px/1 var(--font); color: var(--ink-dim); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px;
}
.code-copy:hover { color: var(--ink); border-color: var(--ink-faint); }
.code-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- developers page ---------- */
.dev-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 8px; }
.dev-facts > div { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.dev-facts dt { color: var(--ink-faint); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.dev-facts dd { margin: 6px 0 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.dev-facts dd code { font-size: 13px; }
.dev-tools { max-width: none; }
.dev-tools tbody th { white-space: nowrap; }
.dev-tools td:last-child { white-space: nowrap; color: var(--ink); }
@media (max-width: 720px) {
  .dev-facts { grid-template-columns: 1fr; }
  .dev-tools td:last-child { white-space: normal; }
}
.badge {
  display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.content-cta {
  margin-top: 44px; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg-alt));
}
.content-cta h2 { margin-top: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before, .guide-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 11px; border: solid var(--accent);
  border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.guide-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 11px; max-width: 62ch; }
.guide-list li { padding-left: 26px; position: relative; color: var(--ink-dim); line-height: 1.65; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .product-rail { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { padding: 12px 16px; gap: 12px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px 12px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.7);
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .nav .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 46px 16px 40px; }
  .home-hero-inner { padding: 120px 16px 40px; }
  .product-rail { padding: 0 16px; }
  .strip, .how-grid, .video-pair, .ba-row, .dl-grid, .step-grid, .products, .band, .band.flip, .clip-row, .principles { grid-template-columns: 1fr; }
  .band { gap: 30px; }
  .band.flip .band-copy { order: 0; }
  .price-wrap { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 64px 16px; }
  .section-alt { padding-inline: 16px; }
  .strip { padding: 22px 16px; gap: 14px; }
  .foot-grid, .foot-legal { padding-inline: 16px; }
}
@media (max-width: 560px) {
  .product-rail { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  /* A phone-width thumbnail has no room for the chip: just the play circle */
  .yt-play { right: 8px; top: 8px; padding: 0; background: none; backdrop-filter: none; }
  .yt-play svg { width: 30px; height: 30px; padding: 8px 7px 8px 9px; }
  .yt-dur { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-card, .rail-item, .yt img { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-media .pan { animation: none; }
}

/* Product marks: the Phoenix bird in each product's colour. */
.pmark { display: inline-block; vertical-align: -0.22em; margin-right: 0.45em; object-fit: contain; }
.rail-item strong .pmark { width: 22px; height: 22px; }
.product-top h3 .pmark { width: 26px; height: 26px; }
.hero-pmark { display: block; width: 64px; height: 64px; margin: 0 0 14px -4px; object-fit: contain; }
/* Phone screenshots (Phoenix Local AI): a narrow framed shot with the product's blue glow. */
.phone-shot { justify-self: center; width: min(320px, 78vw); margin: 0; position: relative; }
.phone-shot::before {
  content: ""; position: absolute; inset: 12% -18% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 134, 255, 0.32), rgba(61, 134, 255, 0) 72%);
}
.hero-shot.phone-shot > img { border-radius: 30px; border: 6px solid var(--line-2); }
/* Home: the Local AI card spans both columns, phone shot on the left. */
.product-rail { grid-template-columns: repeat(5, 1fr); }
.product-card-wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.product-card-wide .product-body { align-content: center; padding: 32px 36px; }
.phone-media {
  aspect-ratio: auto; min-height: 300px; display: grid; place-items: end center; padding: 28px 28px 0;
  background: radial-gradient(60% 70% at 50% 80%, rgba(61, 134, 255, 0.28), rgba(61, 134, 255, 0) 70%), var(--bg-alt);
}
.phone-media > img { width: min(220px, 60%); height: 260px; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; border: 5px solid var(--line-2); border-bottom: 0; }
@media (max-width: 1000px) { .product-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .product-card-wide { grid-template-columns: 1fr; } .product-card-wide .product-body { padding: 24px 26px 26px; } }
@media (max-width: 560px) { .product-rail { grid-template-columns: 1fr; } }
/* Local AI: companions, copy beside a phone shot. */
.companions { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.companions .how-grid { margin-bottom: 0; }
@media (max-width: 900px) { .companions { grid-template-columns: 1fr; gap: 40px; } }
