:root {
  --ink: #070707;
  --ink-raised: #0d0d0d;
  --panel: #121212;
  --panel-soft: #171717;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.22);
  --paper: #f2efe8;
  --paper-muted: #aaa69f;
  --paper-faint: #716f6b;
  --brand: #d38047;
  --brand-light: #eca56e;
  --brand-dark: #6e3b20;
  --red: #d05a4a;
  --blue: #4797e6;
  --green: #44b979;
  --violet: #9c64df;
  --yellow: #e9b43e;
  --tag-orange: #d88447;
  --tag-blue: #2f9bf0;
  --tag-green: #36b574;
  --tag-violet: #9257d6;
  --tag-yellow: #f2b720;
  --font-display: "Geist", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-heading: "Barlow Condensed", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-hero: "Geist", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-brand: "Geist", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Menlo, Consolas, "Source Han Sans SC", "Noto Sans SC", monospace;
  --page: 1240px;
  --gutter: clamp(20px, 4vw, 54px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(211, 128, 71, 0.08), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

::selection {
  color: var(--ink);
  background: var(--brand-light);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 4px;
}

.page-shell {
  width: min(100%, var(--page));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transition: top 0.2s;
}

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

section[id] {
  scroll-margin-top: 96px;
}

/* Header */
.site-header {
  position: fixed;
  top: 14px;
  right: 0;
  left: 0;
  z-index: 100;
  padding-inline: 14px;
  pointer-events: none;
}

.nav-shell {
  width: min(100%, 1180px);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 10px 8px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(9, 9, 9, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    0 18px 60px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
  transition:
    transform 0.45s var(--ease),
    background 0.3s,
    border-color 0.3s;
}

.site-header.scrolled .nav-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    rgba(9, 9, 9, 0.68);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.brand img,
.footer-brand img,
.hero-app-badge img,
.cta-logo {
  display: block;
  border-radius: 22%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--paper-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-blog-mobile {
  display: none;
  padding: 8px 4px;
  color: var(--paper-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.language-control {
  height: 40px;
  padding-inline: 11px 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.language-control select {
  width: 61px;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.language-control option {
  color: var(--paper);
  background: #111;
}

.nav-cta {
  min-height: 40px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  transition:
    transform 0.25s var(--ease),
    background 0.2s;
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Shared type and motion */
.section {
  position: relative;
  padding-block: clamp(100px, 12vw, 176px);
  border-top: 1px solid var(--line);
}

.section-index {
  color: var(--brand-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.split-intro,
.editor-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  text-wrap: balance;
}

h2 {
  max-width: 900px;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 700;
}

.section-copy {
  max-width: 650px;
  margin-top: 26px;
  color: var(--paper-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.56;
  letter-spacing: -0.015em;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.09s !important;
}

.reveal-delay-2 {
  transition-delay: 0.18s !important;
}

.reveal-delay-3 {
  transition-delay: 0.27s !important;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  display: inline-block;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(208, 90, 74, 0.12);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(140px, 15vw, 198px) 0 96px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -18rem;
  right: -14rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid rgba(211, 128, 71, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 7rem rgba(211, 128, 71, 0.018),
    0 0 0 15rem rgba(211, 128, 71, 0.012);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
}

.eyebrow {
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-family: var(--font-hero);
  font-size: clamp(60px, 8.1vw, 112px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
}

h1 .accent-line {
  margin-top: 0.12em;
  color: var(--brand-light);
}

.hero-lede {
  max-width: 650px;
  margin-top: 34px;
  color: var(--paper-muted);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.52;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.hero-actions,
.cta-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #130c07;
  background: var(--brand-light);
  box-shadow: 0 16px 40px rgba(211, 128, 71, 0.15);
}

.button-primary:hover {
  background: #f3b17c;
}

.button-quiet {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.truth-row {
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 25px;
  border-top: 1px solid var(--line);
}

.truth-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.truth-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.truth-row b {
  font-weight: 500;
}

html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero-visual {
  position: relative;
  min-height: 725px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.visual-grid {
  position: absolute;
  inset: 4% -12% 2%;
  z-index: -2;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.46;
  mask-image: radial-gradient(ellipse, black 20%, transparent 72%);
}

.hero-visual::after {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: -1;
  width: 390px;
  height: 120px;
  border-radius: 50%;
  content: "";
  background: rgba(211, 128, 71, 0.14);
  filter: blur(56px);
  transform: translateX(-50%);
}

.phone {
  position: relative;
  width: min(326px, 75vw);
  aspect-ratio: 1206 / 2622;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 49px;
  background: #020202;
  box-shadow:
    0 52px 100px rgba(0, 0, 0, 0.58),
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 0 0 9px rgba(255, 255, 255, 0.07);
  transform: rotate(2.2deg);
  transition: transform 0.8s var(--ease);
}

.hero-visual:hover .phone {
  transform: rotate(0deg) translateY(-6px);
}

.phone img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 41px;
  object-fit: cover;
}

.phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 76px;
  height: 23px;
  border-radius: 100px;
  background: #000;
  transform: translateX(-50%);
  opacity: 0.96;
}

.hero-app-badge {
  position: absolute;
  top: 40px;
  left: -18px;
  z-index: 3;
  padding: 10px 13px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(13, 13, 13, 0.82);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-app-badge span {
  display: grid;
  gap: 1px;
}

.hero-app-badge b {
  font-size: 14px;
}

.hero-app-badge small {
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.marker-card {
  position: absolute;
  z-index: 4;
  min-width: 145px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(18, 18, 18, 0.86);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.marker-card-a {
  top: 32%;
  right: -34px;
}

.marker-card-b {
  right: -12px;
  bottom: 22%;
}

.marker-card > span:last-child {
  display: grid;
  gap: 2px;
}

.marker-card small {
  color: var(--paper-faint);
  font-size: 8px;
}

.marker-card b {
  font-size: 13px;
  font-weight: 600;
}

.ios-tag-badge {
  --tag-size: 58px;
  position: relative;
  width: var(--tag-size);
  height: var(--tag-size);
  flex: 0 0 var(--tag-size);
  display: inline-grid;
  place-items: center;
  overflow: visible;
  border: 3px solid var(--tag-color, var(--tag-orange));
  border-radius: 50%;
  color: #efefef;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -12px 18px rgba(0, 0, 0, 0.14),
    0 3px 8px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  backdrop-filter: blur(12px) saturate(1.08);
}

.ios-tag-badge::after {
  position: absolute;
  inset: -6px;
  pointer-events: none;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.18s var(--ease),
    transform 0.24s var(--ease),
    border-color 0.18s;
}

.ios-tag-badge .tag-glyph {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

.tag-badge-mini {
  --tag-size: 38px;
  border-width: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 7px 16px rgba(0, 0, 0, 0.34),
    0 0 22px color-mix(in srgb, var(--tag-color) 12%, transparent);
}

.tag-badge-mini .tag-glyph {
  font-size: 14px;
}

.screenshot-caption {
  position: absolute;
  bottom: 0;
  left: 3%;
  max-width: 170px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--paper-faint);
  font-size: 11px;
  line-height: 1.35;
}

.screenshot-caption .mono {
  color: var(--brand-light);
}

/* Signal strip */
.signal-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0a0a0a;
}

.signal-track {
  width: min(100%, var(--page));
  min-height: 74px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-track > span {
  padding-inline: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid var(--line);
}

.signal-track > span:last-child {
  border-right: 1px solid var(--line);
}

.signal-track i {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
}

.signal-track b {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Workflow */
.workflow-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24rem),
    var(--ink);
}

.event-rail {
  position: relative;
  padding-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 5vw, 76px);
}

.rail-line {
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-strong);
}

.rail-progress {
  width: 52%;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, var(--red), var(--brand), var(--blue));
}

.event-stop {
  position: relative;
  padding-top: 54px;
}

.event-time {
  position: absolute;
  top: -26px;
  left: 0;
  color: var(--paper-faint);
  font-size: 10px;
}

.event-node {
  position: absolute;
  top: 11px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 1px currentColor;
}

.node-live {
  color: var(--red);
  background: var(--red);
}

.node-tag {
  color: var(--brand);
  background: var(--brand);
}

.node-edit {
  color: var(--blue);
  background: var(--blue);
}

.event-overline {
  margin-bottom: 15px;
  color: var(--brand-light);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.event-stop h3 {
  max-width: 290px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.event-stop > p:last-child {
  max-width: 330px;
  margin-top: 18px;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.58;
}

.honesty-note {
  margin-top: clamp(70px, 9vw, 118px);
  padding: 23px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.68fr) 2fr;
  gap: 30px;
  align-items: baseline;
  border-block: 1px solid var(--line);
}

.honesty-label {
  color: var(--brand-light);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.honesty-note p {
  max-width: 710px;
  font-size: clamp(18px, 2.3vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* Capture */
.capture-section {
  background: #0a0a0a;
}

.capture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(54px, 9vw, 132px);
  align-items: center;
}

.capture-copy h2 {
  margin-top: 26px;
  font-size: clamp(40px, 5.4vw, 68px);
}

.fact-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.fact-row {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.fact-number {
  padding-top: 4px;
  color: var(--brand);
  font-size: 9px;
}

.fact-row h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fact-row p {
  max-width: 480px;
  margin-top: 7px;
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.55;
}

.tag-console {
  position: relative;
  min-height: 660px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #050505;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.tag-console::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.console-top {
  position: relative;
  z-index: 2;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eca99f;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.console-status b {
  font-weight: 500;
}

.console-timer {
  color: var(--paper);
  font-size: 13px;
}

.console-set {
  justify-self: end;
  color: var(--paper-faint);
  font-size: 8px;
}

.console-viewfinder {
  position: relative;
  height: 290px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
}

.console-viewfinder::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 6, 7, 0.14), transparent 38%, transparent 66%, rgba(4, 5, 6, 0.24)),
    radial-gradient(ellipse at 50% 48%, transparent 48%, rgba(0, 0, 0, 0.22) 100%);
}

.console-viewfinder > span {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-color: rgba(255, 255, 255, 0.38);
  border-style: solid;
}

.console-viewfinder > span:nth-child(1) {
  top: 18px;
  left: 18px;
  border-width: 1px 0 0 1px;
}

.console-viewfinder > span:nth-child(2) {
  top: 18px;
  right: 18px;
  border-width: 1px 1px 0 0;
}

.console-viewfinder > span:nth-child(3) {
  right: 18px;
  bottom: 18px;
  border-width: 0 1px 1px 0;
}

.console-viewfinder > span:nth-child(4) {
  bottom: 18px;
  left: 18px;
  border-width: 0 0 1px 1px;
}

.match-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-scene-capture {
  z-index: 0;
  object-position: 50% 45%;
  filter: brightness(0.78) saturate(0.9) contrast(1.04);
}

.tag-pad {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin-top: 14px;
  padding-block: 8px 2px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.tag-pad::before {
  position: absolute;
  inset: -18px -8px -10px;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.055), transparent 58%),
    radial-gradient(ellipse at 50% 76%, rgba(216, 132, 71, 0.09), transparent 72%);
  opacity: 0.78;
}

.tag-key {
  min-width: 0;
  min-height: 96px;
  padding: 8px 4px 6px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    opacity 0.2s;
}

.tag-key:hover {
  transform: translateY(-3px);
}

.tag-key.pressed {
  animation: tag-confirm 0.28s var(--ease);
}

.tag-symbol {
  margin: 2px 0 3px;
  opacity: 0.88;
  transition:
    opacity 0.2s,
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.tag-key:hover .tag-symbol,
.tag-key:focus-visible .tag-symbol {
  opacity: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.32),
    0 0 28px color-mix(in srgb, var(--tag-color) 18%, transparent);
}

.tag-key.pressed .tag-symbol {
  opacity: 1;
}

.tag-key.pressed .tag-symbol::after {
  border-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  transform: scale(1);
}

.tag-key b {
  max-width: 100%;
  overflow: hidden;
  color: rgba(184, 178, 170, 0.86);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-orange {
  --tag-color: var(--tag-orange);
  color: var(--tag-color);
}

.tag-blue {
  --tag-color: var(--tag-blue);
  color: var(--tag-color);
}

.tag-green {
  --tag-color: var(--tag-green);
  color: var(--tag-color);
}

.tag-violet {
  --tag-color: var(--tag-violet);
  color: var(--tag-color);
}

@keyframes tag-confirm {
  0% {
    transform: scale(1);
  }
  44% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.console-feedback {
  position: relative;
  z-index: 2;
  min-height: 58px;
  margin-top: 14px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper-muted);
  font-size: 11px;
}

.feedback-pulse {
  width: 9px;
  height: 9px;
  border: 1px solid var(--brand-light);
  border-radius: 50%;
}

.feedback-pulse.active {
  animation: feedback-pulse 0.45s var(--ease);
}

@keyframes feedback-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 165, 110, 0.55);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(236, 165, 110, 0);
  }
}

.console-caption {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-align: center;
}

/* Editor */
.editor-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 58%, rgba(71, 151, 230, 0.07), transparent 34rem),
    var(--ink);
}

.editor-intro > div {
  max-width: 900px;
}

.editor-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #090a0b;
  box-shadow:
    0 70px 120px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.editor-window::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 24%);
}

.editor-appbar {
  min-height: 66px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #111315;
}

.editor-appbar-side {
  display: flex;
  align-items: center;
  gap: 9px;
}

.editor-appbar-side.end {
  justify-content: flex-end;
}

.editor-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #d6d6d4;
}

.editor-filter {
  min-height: 34px;
  padding-inline: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  color: #c7c6c1;
  font-size: 10px;
}

.editor-filter i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--brand);
}

.editor-project {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.editor-project b {
  font-size: 11px;
  font-weight: 600;
}

.editor-project span {
  color: #777;
  font-size: 7px;
}

.editor-export {
  min-height: 35px;
  padding-inline: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  color: #17100b;
  background: var(--brand-light);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
}

.editor-preview-wrap {
  padding: 20px 22px 0;
  display: grid;
  place-items: center;
  background: #070809;
}

.editor-preview {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #15191b;
}

.arena-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #101214;
}

.match-scene-editor {
  object-position: 50% 42%;
  filter: brightness(0.82) saturate(0.9) contrast(1.04);
}

.editor-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 30%, transparent 65%, rgba(0, 0, 0, 0.48));
}

.preview-meta,
.preview-tag,
.preview-time {
  position: absolute;
  z-index: 5;
  font-size: 9px;
}

.preview-meta {
  top: 12px;
  left: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.preview-tag {
  bottom: 13px;
  left: 13px;
  min-height: 34px;
  padding: 5px 10px 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.preview-tag-badge {
  --tag-size: 22px;
  border-width: 2px;
  background: rgba(16, 18, 20, 0.82);
  box-shadow: none;
}

.preview-tag-badge .tag-glyph {
  font-size: 9px;
}

.preview-time {
  right: 13px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.68);
}

.editor-transport {
  min-height: 52px;
  padding-inline: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: #101214;
}

.transport-time,
.transport-zoom {
  color: #787a7a;
  font-size: 8px;
}

.transport-time b {
  color: #d8d8d5;
  font-weight: 500;
}

.transport-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8a8c8c;
  font-size: 11px;
}

.transport-play {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #121212;
  background: #e5e3de;
  font-size: 9px;
}

.transport-zoom {
  justify-self: end;
}

.editor-timeline {
  position: relative;
  padding: 12px 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0c0e0f;
}

.timeline-ruler {
  height: 24px;
  padding-inline: 4px;
  display: flex;
  justify-content: space-between;
  color: #545758;
  font-size: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.timeline-row {
  position: relative;
  min-height: 72px;
  padding: 8px 5px;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.timeline-clip {
  position: relative;
  min-width: 0;
  padding: 9px 8px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: var(--brand);
  background: color-mix(in srgb, currentColor 17%, #111);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    filter 0.2s,
    box-shadow 0.2s;
}

.timeline-clip:hover {
  filter: brightness(1.16);
  transform: translateY(-2px);
}

.timeline-clip.selected {
  box-shadow:
    inset 4px 0 0 currentColor,
    0 0 0 1px currentColor;
}

.timeline-clip span {
  color: #f1efea;
  font-size: 9px;
  font-weight: 600;
}

.timeline-clip small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
}

.clip-orange {
  flex: 1.08;
  color: var(--tag-orange);
}

.clip-blue {
  flex: 0.78;
  color: var(--tag-blue);
}

.clip-green {
  flex: 1.22;
  color: var(--tag-green);
}

.clip-violet {
  flex: 0.92;
  color: var(--tag-violet);
}

.timeline-playhead {
  position: absolute;
  top: -25px;
  bottom: -47px;
  left: 31%;
  z-index: 5;
  width: 1px;
  pointer-events: none;
  background: #f2d6bb;
  box-shadow: 0 0 8px rgba(242, 214, 187, 0.5);
}

.timeline-playhead::before {
  position: absolute;
  top: 0;
  left: -4px;
  width: 9px;
  height: 7px;
  content: "";
  background: #f2d6bb;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.audio-row {
  min-height: 38px;
  align-items: center;
  color: #6e7171;
}

.audio-icon {
  font-size: 9px;
}

.waveform {
  width: 100%;
  height: 18px;
  opacity: 0.38;
  background: repeating-linear-gradient(
    90deg,
    #8a8c8c 0 2px,
    transparent 2px 5px
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    black 25%,
    black 75%,
    transparent 100%
  );
}

.editor-tools {
  min-height: 83px;
  padding: 11px 16px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  background: #111315;
}

.editor-tool {
  padding: 7px 4px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #777a7a;
}

.editor-tool.active {
  border-color: rgba(211, 128, 71, 0.32);
  color: var(--brand-light);
  background: rgba(211, 128, 71, 0.08);
}

.editor-tool i {
  font-family: var(--font-mono);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.editor-tool b {
  font-size: 8px;
  font-weight: 500;
}

.editor-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.editor-proof span {
  min-height: 62px;
  padding: 15px;
  display: grid;
  place-items: center;
  color: var(--paper-muted);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.editor-proof span:last-child {
  border-right: 0;
}

.editor-caption {
  margin-top: 17px;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-align: center;
}

/* Export */
.export-section {
  background: #0a0a0a;
}

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

.export-row {
  padding-block: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1.7fr) minmax(180px, 0.8fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  border-bottom: 1px solid var(--line-strong);
}

.export-number {
  color: var(--brand-light);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.export-main h3 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.export-main p {
  max-width: 640px;
  margin-top: 16px;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.62;
}

.export-spec {
  display: grid;
  gap: 10px;
}

.export-spec span {
  padding-bottom: 9px;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.local-first {
  margin-top: clamp(70px, 9vw, 112px);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  border: 1px solid rgba(211, 128, 71, 0.28);
  background:
    linear-gradient(120deg, rgba(211, 128, 71, 0.12), transparent 55%),
    #0d0d0d;
}

.local-icon {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(211, 128, 71, 0.35);
  border-radius: 50%;
  color: var(--brand-light);
}

.local-first .mono {
  color: var(--brand-light);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.local-first h3 {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(27px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.local-first div:last-child > p:last-child {
  max-width: 720px;
  margin-top: 17px;
  color: var(--paper-muted);
}

/* Audience */
.audience-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    var(--ink);
  background-size: 18vw 100%;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2fr);
  gap: clamp(28px, 6vw, 92px);
}

.audience-grid h2 {
  max-width: 900px;
}

.audience-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audience-tags span {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

/* CTA */
.cta-section {
  position: relative;
  min-height: 760px;
  padding-block: clamp(120px, 16vw, 210px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, rgba(211, 128, 71, 0.16), transparent 35rem);
}

.cta-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 94vw);
  aspect-ratio: 1;
  border: 1px solid rgba(211, 128, 71, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(211, 128, 71, 0.018),
    0 0 0 180px rgba(211, 128, 71, 0.012);
  transform: translate(-50%, -50%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.cta-logo {
  margin-bottom: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.cta-kicker {
  color: var(--brand-light);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.cta-inner h2 {
  max-width: 900px;
  margin-top: 25px;
}

.cta-inner > p:not(.cta-kicker, .cta-note) {
  max-width: 620px;
  margin-top: 25px;
  color: var(--paper-muted);
  font-size: 18px;
}

.cta-actions {
  justify-content: center;
}

.cta-note {
  margin-top: 31px;
  color: var(--paper-faint);
  font-size: 8px;
  letter-spacing: 0.1em;
}

/* Footer */
.site-footer {
  padding-block: 38px 44px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand > span {
  display: grid;
  gap: 1px;
}

.footer-brand b {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand small {
  color: var(--paper-faint);
  font-size: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 21px;
}

.footer-links a,
.footer-meta {
  color: var(--paper-faint);
  font-size: 10px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-meta {
  text-align: right;
}

/* TestFlight request dialog */
body.beta-modal-open {
  overflow: hidden;
}

.beta-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(circle at 50% 40%, rgba(211, 128, 71, 0.13), transparent 30rem),
    rgba(2, 2, 2, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(0.8);
  backdrop-filter: blur(14px) saturate(0.8);
}

.beta-dialog-backdrop[hidden] {
  display: none;
}

.beta-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--paper);
  border: 0;
  background: transparent;
}

.beta-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 40%, rgba(211, 128, 71, 0.13), transparent 30rem),
    rgba(2, 2, 2, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(0.8);
  backdrop-filter: blur(14px) saturate(0.8);
}

.beta-dialog[open] {
  animation: beta-dialog-in 0.42s var(--ease);
}

body.beta-modal-fallback .beta-dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;
  margin: 0;
  animation: none;
  transform: translate(-50%, -50%);
}

.beta-dialog-panel {
  position: relative;
  isolation: isolate;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 36px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background:
    radial-gradient(circle at 95% 0, rgba(211, 128, 71, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(22, 22, 22, 0.98), rgba(8, 8, 8, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 120px rgba(0, 0, 0, 0.72);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.beta-dialog-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.beta-dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--paper-muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.3s var(--ease);
}

.beta-dialog-close:hover {
  color: var(--paper);
  border-color: var(--line-strong);
  transform: rotate(8deg);
}

.beta-dialog-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.beta-dialog-brand img {
  display: block;
  border-radius: 22%;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.beta-dialog-brand span {
  color: var(--brand-light);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.beta-dialog-copy > h2,
.beta-success h2 {
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.beta-dialog-copy > p {
  max-width: 620px;
  margin-top: 17px;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.65;
}

.beta-form {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.beta-form-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
}

.beta-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.beta-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.beta-field b {
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
}

.beta-field small {
  color: var(--paper-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.beta-field input,
.beta-field select,
.beta-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.beta-field textarea {
  min-height: 88px;
  resize: vertical;
}

.beta-field input::placeholder,
.beta-field textarea::placeholder {
  color: #77736d;
}

.beta-field input:hover,
.beta-field select:hover,
.beta-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.beta-field input:focus,
.beta-field select:focus,
.beta-field textarea:focus {
  border-color: rgba(236, 165, 110, 0.64);
  outline: 0;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(211, 128, 71, 0.1);
}

.beta-field select {
  cursor: pointer;
}

.beta-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 11px;
  color: var(--paper-muted);
  font-size: 11px;
  line-height: 1.55;
}

.beta-consent label {
  cursor: pointer;
}

.beta-consent input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--brand-light);
}

.beta-consent a {
  margin-left: 5px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.beta-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.beta-submit {
  flex: none;
  min-width: 176px;
  cursor: pointer;
}

.beta-submit:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.beta-form-note {
  max-width: 290px;
  color: var(--paper-faint);
  font-size: 10px;
  line-height: 1.5;
}

.beta-form-status {
  min-height: 18px;
  margin-top: -4px;
  color: var(--paper-muted);
  font-size: 11px;
}

.beta-form-status.is-error {
  color: #ef9e92;
}

.beta-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beta-success {
  min-height: 490px;
  padding: 58px 5% 34px;
  text-align: center;
}

.beta-success[hidden],
.beta-dialog-copy[hidden] {
  display: none;
}

.beta-success-mark {
  width: 92px;
  height: 92px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  color: #1a0f08;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow:
    0 0 0 18px rgba(211, 128, 71, 0.08),
    0 30px 70px rgba(211, 128, 71, 0.2);
}

.beta-success > p.mono {
  margin-top: 42px;
  color: var(--brand-light);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.beta-success h2 {
  margin-inline: auto;
}

.beta-success > p:not(.mono) {
  max-width: 490px;
  margin: 20px auto 0;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.65;
}

.beta-success .button {
  min-width: 144px;
  margin-top: 32px;
  cursor: pointer;
}

@keyframes beta-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 30px;
  }

  .marker-card-a {
    right: -5px;
  }

  .marker-card-b {
    right: 8px;
  }

  .hero-app-badge {
    left: 0;
  }

  .capture-grid {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 50px;
  }

  .tag-key {
    min-height: 92px;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-blog-mobile {
    display: inline-flex;
  }

  .hero {
    padding-top: 138px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .truth-row {
    justify-content: center;
  }

  h1,
  .hero-lede {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(100%, 610px);
    min-height: 710px;
    margin-inline: auto;
  }

  .signal-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-track > span {
    min-height: 60px;
    border-bottom: 1px solid var(--line);
  }

  .signal-track > span:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .split-intro,
  .editor-intro,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .event-rail {
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rail-line {
    top: 0;
    bottom: 0;
    left: 7px;
    width: 1px;
    height: auto;
  }

  .rail-progress {
    width: 1px;
    height: 58%;
    background: linear-gradient(var(--red), var(--brand), var(--blue));
  }

  .event-stop {
    padding: 14px 0 54px 46px;
  }

  .event-time {
    position: static;
    margin-bottom: 16px;
    display: block;
  }

  .event-node {
    top: 16px;
    left: 0;
  }

  .honesty-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .tag-console {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .export-row {
    grid-template-columns: 110px 1fr;
  }

  .export-spec {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    top: 8px;
    padding-inline: 8px;
  }

  .nav-shell {
    min-height: 58px;
    border-radius: 15px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand span {
    font-size: 15px;
  }

  .language-control {
    padding-inline: 8px 4px;
  }

  .language-control svg {
    display: none;
  }

  .language-control select {
    width: 54px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .beta-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .beta-dialog-panel {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 25px 18px 22px;
    border-radius: 20px;
  }

  .beta-dialog-close {
    top: 14px;
    right: 14px;
  }

  .beta-dialog-brand img {
    width: 42px;
    height: 42px;
  }

  .beta-dialog-brand span {
    max-width: 150px;
    line-height: 1.45;
  }

  .beta-dialog-copy > h2,
  .beta-success h2 {
    margin-top: 24px;
    font-size: clamp(32px, 10vw, 42px);
  }

  .beta-dialog-copy > p {
    font-size: 14px;
  }

  .beta-form {
    margin-top: 24px;
    gap: 16px;
  }

  .beta-form-grid {
    grid-template-columns: 1fr;
  }

  .beta-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .beta-submit {
    width: 100%;
  }

  .beta-success {
    min-height: 520px;
    padding: 74px 2% 30px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 72px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
    line-height: 0.91;
  }

  .hero-lede {
    margin-top: 27px;
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .truth-row {
    padding-inline: 8px;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    min-height: 650px;
    margin-top: 30px;
  }

  .phone {
    width: min(292px, 75vw);
    border-radius: 43px;
  }

  .phone img {
    border-radius: 35px;
  }

  .phone-speaker {
    top: 14px;
  }

  .hero-app-badge {
    top: 36px;
    left: -2px;
  }

  .marker-card {
    min-width: 126px;
  }

  .marker-card-a {
    top: 32%;
    right: -2px;
  }

  .marker-card-b {
    right: 0;
    bottom: 17%;
  }

  .screenshot-caption {
    bottom: -8px;
    left: 0;
  }

  .signal-track {
    padding-inline: 0;
  }

  .signal-track > span {
    padding-inline: 13px;
  }

  .signal-track b {
    font-size: 8px;
  }

  .section {
    padding-block: 94px;
  }

  h2 {
    font-size: clamp(36px, 10.8vw, 54px);
  }

  .section-copy {
    font-size: 16px;
  }

  .tag-console {
    min-height: 0;
    padding: 10px;
  }

  .console-top {
    grid-template-columns: 1fr auto;
  }

  .console-set {
    display: none;
  }

  .console-viewfinder {
    height: 220px;
  }

  .tag-pad {
    grid-template-columns: repeat(2, 1fr);
  }

  .tag-key {
    min-height: 88px;
  }

  .editor-window {
    margin-inline: -10px;
  }

  .editor-appbar {
    grid-template-columns: 1fr auto;
  }

  .editor-appbar-side:first-child .editor-filter {
    display: none;
  }

  .editor-project {
    display: none;
  }

  .editor-preview-wrap {
    padding: 12px 10px 0;
  }

  .editor-preview {
    aspect-ratio: 4 / 3;
  }

  .editor-transport {
    padding-inline: 10px;
  }

  .transport-zoom {
    display: none;
  }

  .editor-transport {
    grid-template-columns: 1fr auto;
  }

  .timeline-ruler span:nth-child(even) {
    display: none;
  }

  .timeline-row {
    overflow: hidden;
  }

  .timeline-clip {
    min-width: 90px;
    flex: none;
  }

  .editor-tools {
    padding-inline: 8px;
    gap: 2px;
  }

  .editor-tool {
    padding-inline: 1px;
  }

  .editor-tool b {
    max-width: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .editor-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .editor-proof span:nth-child(2) {
    border-right: 0;
  }

  .editor-proof span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .export-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .export-spec {
    grid-column: auto;
  }

  .local-first {
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }

  .cta-section {
    min-height: 680px;
  }

  .cta-logo {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 379px) {
  .brand span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-shell,
  .marker-card,
  .hero-app-badge {
    background: rgba(12, 12, 12, 0.97);
  }
}
