:root {
  --ink: #0a0b0b;
  --ink-soft: #141716;
  --paper: #f0eee8;
  --paper-bright: #f8f6ef;
  --warm: #e9e3d7;
  --moss: #6d806d;
  --moss-bright: #a7c4a6;
  --red: #d85c4a;
  --line-dark: rgba(244, 240, 230, 0.14);
  --line-light: rgba(10, 11, 11, 0.12);
  --display: "Bahnschrift", "Aptos Display", "Microsoft YaHei UI", sans-serif;
  --body: "Aptos", "Microsoft YaHei UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  /* Smooth section flips are driven by features.js (snap + native smooth fights in Chromium). */
  scroll-behavior: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--ink);
}
html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}
main > section {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  content: "";
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--paper-bright);
  border-radius: 999px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.section-pagination {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: clamp(0.8rem, 1.45vw, 1.65rem);
  display: grid;
  gap: 0.68rem;
  padding: 0.75rem 0.58rem;
  background: rgba(248, 247, 243, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 0.9rem 2.8rem rgba(48, 43, 34, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  transition:
    background 550ms var(--ease),
    box-shadow 550ms var(--ease);
}

.section-pagination.is-on-dark {
  background: rgba(10, 11, 11, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0.9rem 2.8rem rgba(0, 0, 0, 0.12);
}

.section-pagination a {
  position: relative;
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  background: rgba(10, 11, 11, 0.22);
  border-radius: 50%;
  transition:
    background 500ms var(--ease),
    box-shadow 500ms var(--ease),
    transform 500ms var(--ease);
}

.section-pagination.is-on-dark a {
  background: rgba(243, 239, 230, 0.25);
}

.section-pagination a:hover,
.section-pagination a:focus-visible {
  background: rgba(10, 11, 11, 0.58);
  transform: scale(1.22);
}

.section-pagination.is-on-dark a:hover,
.section-pagination.is-on-dark a:focus-visible {
  background: rgba(243, 239, 230, 0.72);
}

.section-pagination a.is-active {
  background: var(--ink);
  box-shadow: 0 0 0 0.26rem rgba(10, 11, 11, 0.08);
  transform: scale(1.3);
}

.section-pagination.is-on-dark a.is-active {
  background: var(--paper-bright);
  box-shadow: 0 0 0 0.26rem rgba(243, 239, 230, 0.09);
}

.section-pagination span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.feature-nav {
  position: fixed;
  z-index: 40;
  top: 1.35rem;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(78vw, 64rem);
  min-height: 3.25rem;
  padding: .4rem .45rem .4rem .85rem;
  color: var(--paper-bright);
  background: rgba(15, 16, 16, .75);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 1.1rem;
  box-shadow: 0 1.2rem 3.8rem rgba(0, 0, 0, .16);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: color .5s var(--ease), background .5s var(--ease);
}
.feature-nav.is-light {
  color: var(--ink);
  background: rgba(248, 247, 243, .84);
  border-color: rgba(10, 11, 11, .06);
}
.feature-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -.03em;
}
.feature-brand svg {
  width: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}
.feature-nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.25rem);
  color: rgba(245, 241, 232, .64);
  font-size: .82rem;
}
.feature-nav.is-light .feature-nav-links { color: rgba(10, 11, 11, .55); }
.feature-nav-links a { transition: color .25s ease, transform .25s ease; }
.feature-nav-links a:hover, .feature-nav-links a:focus-visible { color: currentColor; transform: translateY(-1px); }
.feature-nav-links a.is-current { color: currentColor; }
.feature-nav-links a.is-current::after {
  display: block;
  width: 1rem;
  height: 1px;
  margin: .32rem auto 0;
  content: "";
  background: currentColor;
  opacity: .58;
}
.feature-login {
  padding: .72rem 1.1rem;
  font-size: .81rem;
  border: 1px solid rgba(245, 241, 232, .28);
  border-radius: 999px;
}
.feature-nav.is-light .feature-login { border-color: rgba(10, 11, 11, .2); }

.feature-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 9rem max(7vw, 1.4rem) 10rem;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 78% 24%, rgba(109, 128, 109, .2), transparent 32rem),
    var(--ink);
}
.feature-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.feature-hero-orbit {
  position: absolute;
  border: 1px solid rgba(240, 238, 232, .12);
  border-radius: 50%;
}
.feature-hero-orbit::after {
  position: absolute;
  width: .55rem;
  height: .55rem;
  content: "";
  background: var(--moss-bright);
  border-radius: 50%;
  box-shadow: 0 0 1.5rem rgba(167, 196, 166, .6);
}
.feature-hero-orbit-a { right: -10rem; bottom: -22rem; width: 48rem; height: 48rem; opacity: .58; transform: rotate(-15deg); }
.feature-hero-orbit-a::after { top: 8.7rem; left: 4.2rem; }
.feature-hero-orbit-b { top: 10rem; right: 8vw; width: 18rem; height: 18rem; opacity: .58; }
.feature-hero-orbit-b::after { right: 1.6rem; bottom: 3.7rem; }
.feature-hero-copy {
  position: relative;
  z-index: 2;
  width: min(76rem, 100%);
  margin-top: -2rem;
}
.eyebrow, .demo-number {
  margin: 0 0 1.8rem;
  color: var(--moss-bright);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.feature-hero h1 {
  max-width: 76rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.25rem, 5.2vw, 6.1rem);
  font-weight: 520;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.feature-hero h1 span { display: block; }
.feature-hero h1 span:last-child { color: rgba(246, 242, 233, .43); }
.feature-hero-lead {
  max-width: 39rem;
  margin: 1.65rem 0 0;
  color: rgba(246, 242, 233, .68);
  font-size: clamp(.96rem, 1.08vw, 1.08rem);
  line-height: 1.75;
}
.feature-hero-actions, .feature-closing-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.9rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  min-height: 3.25rem;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--paper-bright); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .2); }
.button-dark { color: var(--paper-bright); background: var(--ink); }
.text-link { border-bottom: 1px solid currentColor; font-size: .9rem; opacity: .72; }
.feature-index {
  position: absolute;
  z-index: 2;
  right: max(7vw, 1.4rem);
  bottom: 1.8rem;
  left: max(7vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(76rem, calc(100% - max(14vw, 2.8rem)));
  padding: 0;
  margin: 0 auto;
  list-style: none;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
}
.feature-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .85rem;
  min-height: 5.25rem;
  padding: .9rem 1.1rem;
  background: rgba(15, 16, 16, .86);
  transition: background .3s ease;
}
.feature-index a:hover { background: rgba(109, 128, 109, .14); }
.feature-index span { grid-row: 1 / 3; color: var(--moss-bright); font: 650 .7rem var(--display); }
.feature-index strong { font: 600 .93rem var(--display); }
.feature-index small { color: rgba(246, 242, 233, .48); font-size: .74rem; }

.demo-section {
  display: grid;
  grid-template-columns: minmax(26rem, 34rem) minmax(34rem, 62rem);
  align-items: center;
  justify-content: center;
  gap: clamp(4rem, 6vw, 7rem);
  min-height: 100svh;
  padding: clamp(8rem, 10vw, 10rem) clamp(2rem, 6vw, 7rem);
}
.demo-section:nth-of-type(odd) {
  grid-template-columns: minmax(34rem, 62rem) minmax(26rem, 34rem);
}
.demo-section:nth-of-type(odd) .demo-copy { order: 2; }
.demo-section:nth-of-type(odd) .demo-media { order: 1; }
.demo-section-light { background: var(--paper-bright); }
.demo-section-paper { background: var(--paper); }
.demo-section-dark { color: var(--paper-bright); background: var(--ink-soft); }
.demo-copy { width: 100%; max-width: 34rem; justify-self: center; }
.demo-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.65rem, 2.8vw, 3.3rem);
  font-weight: 540;
  line-height: 1.09;
  letter-spacing: -.055em;
}
.demo-copy h2 > span { display: block; white-space: nowrap; }
.demo-value {
  max-width: 31rem;
  margin: 1.6rem 0 2rem;
  color: rgba(10, 11, 11, .62);
  font-size: 1.03rem;
  line-height: 1.8;
}
.demo-section-dark .demo-value { color: rgba(245, 241, 232, .62); }
.demo-steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line-light); }
.demo-section-dark .demo-steps { border-color: var(--line-dark); }
.demo-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .8rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.demo-section-dark .demo-steps li { border-color: var(--line-dark); }
.demo-steps li > span {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--moss);
  font: 650 .7rem var(--display);
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
}
.demo-section-dark .demo-steps li > span { color: var(--moss-bright); }
.demo-steps p { margin: 0; color: rgba(10, 11, 11, .56); font-size: .9rem; line-height: 1.55; }
.demo-section-dark .demo-steps p { color: rgba(245, 241, 232, .55); }
.demo-steps strong { display: block; margin-bottom: .12rem; color: var(--ink); font-size: .95rem; }
.demo-section-dark .demo-steps strong { color: var(--paper-bright); }
.demo-steps-live li.is-active { transform: translateX(.5rem); }
.demo-steps-live li.is-active > span { color: var(--paper-bright); background: var(--moss); }
.demo-steps-live li:not(.is-active) { opacity: .52; }
.demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  padding-bottom: .35rem;
  font-size: .92rem;
  border-bottom: 1px solid currentColor;
}
.demo-live-badge, .production-state {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.demo-live-badge {
  margin-bottom: 1.25rem;
  padding: .4rem .7rem;
  color: #526853;
  font-size: .72rem;
  background: rgba(109, 128, 109, .12);
  border: 1px solid rgba(109, 128, 109, .22);
  border-radius: 999px;
}
.demo-live-badge i, .production-state i {
  width: .4rem;
  height: .4rem;
  background: var(--moss-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 .25rem rgba(167, 196, 166, .1);
}

.demo-media { min-width: 0; }
.storyboard {
  position: relative;
  padding: 1rem;
  padding-bottom: 0;
  color: var(--paper-bright);
  background: #0d0f0e;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 1.4rem;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, .24);
}
.storyboard-head {
  display: flex;
  justify-content: space-between;
  padding: .3rem .25rem 1rem;
  color: rgba(245, 241, 232, .48);
  font: 600 .68rem var(--display);
  letter-spacing: .12em;
}
.production-state { color: rgba(245, 241, 232, .68); letter-spacing: 0; }
.production-state i { background: #d1a55e; box-shadow: none; }
.production-state.is-ready i { background: var(--moss-bright); box-shadow: 0 0 0 .24rem rgba(167, 196, 166, .08); }
.storyboard-caption {
  padding: .9rem .25rem .1rem;
  margin: 0;
  color: rgba(245, 241, 232, .44);
  font-size: .76rem;
  text-align: center;
}
.browser-frame, .agent-frame {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: #ece9e1;
  border-radius: .75rem;
}
.browser-frame *, .agent-frame *, .compose-frame * { pointer-events: none; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  height: 2.4rem;
  padding: 0 .7rem;
  background: #d8d4cb;
}
.browser-bar > i { width: .45rem; height: .45rem; background: #b5afa4; border-radius: 50%; }
.browser-address {
  flex: 1;
  max-width: 18rem;
  padding: .35rem .8rem;
  margin-left: .45rem;
  color: #716e68;
  font-size: .63rem;
  background: rgba(255, 255, 255, .58);
  border-radius: 999px;
}
.extension-mark { display: grid; width: 1.55rem; height: 1.55rem; color: #fff; background: var(--ink); border-radius: .35rem; place-items: center; }
.collect-layout { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; min-height: 25.6rem; padding: 2rem; }
.collect-image {
  background:
    linear-gradient(150deg, transparent 35%, rgba(255, 255, 255, .16)),
    url("/starvault-samples/03-81838918223592053-Pin_on_Refs.jpg") center / cover;
  border-radius: .4rem;
}
.collect-copy-lines { padding-top: 2rem; }
.collect-copy-lines i { display: block; height: .55rem; margin-bottom: .7rem; background: #cbc7bd; border-radius: 999px; }
.collect-copy-lines i:first-child { width: 70%; height: 1.4rem; background: #2c2d2c; }
.collect-copy-lines i:nth-child(3) { width: 82%; }
.collect-copy-lines i:nth-child(4) { width: 45%; }
.collect-callout {
  position: absolute;
  right: 1.4rem;
  bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  width: 12rem;
  padding: .85rem 1rem;
  color: #fff;
  font-size: .78rem;
  background: var(--ink);
  border-radius: .6rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .22);
}
.collect-panel {
  position: absolute;
  z-index: 4;
  top: 3.15rem;
  right: 1rem;
  width: 14rem;
  padding: 1rem;
  color: #202320;
  background: rgba(249, 247, 241, .98);
  border: 1px solid rgba(10, 11, 11, .1);
  border-radius: .75rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .26);
  opacity: 0;
  transform: translateY(-.7rem) scale(.96);
  transform-origin: top right;
  transition: opacity .38s ease, transform .48s var(--ease);
}
.collect-panel-head { display: flex; align-items: center; gap: .65rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(10, 11, 11, .1); }
.collect-panel-head > b { display: grid; width: 2rem; height: 2rem; color: #fff; background: #171918; border-radius: .45rem; place-items: center; }
.collect-panel-head strong, .collect-panel-head small { display: block; }
.collect-panel-head strong { font-size: .72rem; }
.collect-panel-head small { margin-top: .18rem; color: #797b77; font-size: .55rem; }
.collect-panel > label { display: block; margin: .8rem 0 .35rem; color: #777a75; font-size: .56rem; }
.collect-panel button { width: 100%; border: 0; border-radius: .4rem; }
.collect-category { display: flex; justify-content: space-between; padding: .62rem .7rem; color: #30332f; font-size: .62rem; text-align: left; background: #eceae4; }
.collect-category i { font-style: normal; }
.collect-submit { padding: .67rem; margin-top: .65rem; color: #fff; font-size: .64rem; background: #6d806d; }
.collect-success, .compose-toast {
  position: absolute;
  z-index: 7;
  top: 1rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 12.5rem;
  padding: .72rem .85rem;
  color: #eef3ee;
  background: rgba(20, 24, 21, .96);
  border: 1px solid rgba(168, 192, 167, .28);
  border-radius: .65rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translate(-50%, -.7rem);
  transition: opacity .35s ease, transform .4s var(--ease);
}
.collect-success > b, .compose-toast > b { display: grid; width: 1.6rem; height: 1.6rem; color: #111412; background: #a8c0a7; border-radius: 50%; place-items: center; }
.collect-success strong, .collect-success small, .compose-toast strong, .compose-toast small { display: block; }
.collect-success strong, .compose-toast strong { font-size: .66rem; }
.collect-success small, .compose-toast small { margin-top: .12rem; color: rgba(238, 243, 238, .5); font-size: .52rem; }
.collect-gallery-result {
  position: absolute;
  z-index: 5;
  inset: 2.4rem 0 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  color: #e5eae5;
  background: #121513;
  opacity: 0;
  transform: translateX(3%);
  transition: opacity .55s ease, transform .65s var(--ease);
}
.collect-gallery-side { display: flex; flex-direction: column; align-items: center; gap: .65rem; padding-top: .7rem; background: #0c0e0d; }
.collect-gallery-side b { display: grid; width: 1.55rem; height: 1.55rem; color: #101210; font-size: .55rem; background: #aac0a9; border-radius: .35rem; place-items: center; }
.collect-gallery-side i { width: .55rem; height: .55rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: .15rem; }
.collect-gallery-main { padding: 1.3rem; }
.collect-gallery-main > small { display: block; color: rgba(229, 234, 229, .35); font-size: .53rem; letter-spacing: .08em; }
.collect-gallery-main > strong { display: block; margin: .22rem 0 .8rem; font: 600 1rem var(--display); }
.collect-gallery-main > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.collect-gallery-main article { position: relative; aspect-ratio: .84; overflow: hidden; background: #252a26; border-radius: .45rem; }
.collect-gallery-main article:first-child { border: 2px solid #a8c0a7; }
.collect-gallery-main article:first-child > div { position: absolute; inset: 0; background: url("/starvault-samples/03-81838918223592053-Pin_on_Refs.jpg") center / cover; }
.collect-gallery-main article:nth-child(2) { background: url("/starvault-samples/07-1112178070494938844-Pinterest.jpg") center / cover; opacity: .55; }
.collect-gallery-main article:nth-child(3) { background: url("/starvault-samples/08-629729960432759173-Pin_on_b___g__i.jpg") center / cover; opacity: .55; }
.collect-gallery-main article > span { position: absolute; z-index: 1; top: .4rem; right: .4rem; padding: .25rem .36rem; color: #111412; font: 700 .46rem var(--display); background: #a8c0a7; border-radius: .25rem; }
.collect-gallery-main article > small { position: absolute; z-index: 1; right: .4rem; bottom: .4rem; left: .4rem; color: #fff; font-size: .48rem; }
.flow-cursor {
  position: absolute;
  z-index: 9;
  width: 1.35rem;
  filter: drop-shadow(0 .15rem .2rem rgba(0, 0, 0, .38));
  transition: top .8s var(--ease), right .8s var(--ease), bottom .8s var(--ease), left .8s var(--ease), transform .2s ease;
}
.flow-cursor svg { width: 100%; fill: #fff; stroke: #151716; stroke-width: 1.2; }
.collect-cursor { top: 52%; left: 43%; }
.flow-demo[data-flow-demo="collect"][data-phase="1"] .collect-cursor { top: 1rem; left: calc(100% - 2.6rem); transform: scale(.85); }
.flow-demo[data-flow-demo="collect"][data-phase="2"] .collect-panel,
.flow-demo[data-flow-demo="collect"][data-phase="3"] .collect-panel { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="collect"][data-phase="2"] .collect-cursor { top: 10.5rem; left: calc(100% - 8rem); }
.flow-demo[data-flow-demo="collect"][data-phase="3"] .collect-cursor { top: 15rem; left: calc(100% - 7.2rem); transform: scale(.82); }
.flow-demo[data-flow-demo="collect"][data-phase="4"] .collect-success { opacity: 1; transform: translate(-50%, 0); }
.flow-demo[data-flow-demo="collect"][data-phase="4"] .collect-panel { opacity: 0; }
.flow-demo[data-flow-demo="collect"][data-phase="4"] .collect-cursor { top: 3rem; left: 50%; }
.flow-demo[data-flow-demo="collect"][data-phase="5"] .collect-gallery-result { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="collect"][data-phase="5"] .collect-cursor { top: 9rem; left: 29%; }
.agent-frame { display: flex; flex-direction: column; padding: 1.25rem; color: var(--ink); background: #e8e5dd; }
.agent-top { display: flex; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px solid rgba(10, 11, 11, .1); }
.agent-top span { font: 650 .85rem var(--display); }
.agent-top small { color: var(--moss); }
.agent-message, .agent-link {
  align-self: flex-end;
  max-width: 75%;
  padding: .8rem 1rem;
  margin-top: 1.2rem;
  font-size: .78rem;
  background: #fff;
  border-radius: .8rem .8rem .15rem .8rem;
  opacity: 0;
  transform: translateY(.6rem);
  transition: opacity .4s ease, transform .45s var(--ease);
}
.agent-link { margin-top: .35rem; color: #74736e; background: rgba(255, 255, 255, .55); }
.agent-file {
  display: flex;
  align-items: center;
  gap: .65rem;
  align-self: flex-end;
  max-width: 76%;
  padding: .65rem .8rem;
  margin-top: .45rem;
  color: #363936;
  background: rgba(255, 255, 255, .58);
  border-radius: .7rem .15rem .7rem .7rem;
  opacity: 0;
  transform: translateY(.5rem);
  transition: opacity .4s ease, transform .45s var(--ease);
}
.agent-file > b { padding: .35rem; color: #fff; font-size: .48rem; background: #8f685f; border-radius: .25rem; }
.agent-file strong, .agent-file small { display: block; }
.agent-file strong { font-size: .59rem; }
.agent-file small { margin-top: .1rem; color: #777a75; font-size: .49rem; }
.agent-thinking {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .8rem;
  margin-top: 1.2rem;
  color: #696d68;
  font-size: .57rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.agent-thinking i { width: 1.2rem; height: 1.2rem; border: 2px solid rgba(109, 128, 109, .18); border-top-color: var(--moss); border-radius: 50%; animation: spin 1s linear infinite; }
.agent-result {
  display: flex;
  gap: .8rem;
  align-items: center;
  max-width: 86%;
  padding: 1rem;
  margin-top: 2rem;
  background: rgba(109, 128, 109, .12);
  border: 1px solid rgba(109, 128, 109, .24);
  border-radius: .8rem .8rem .8rem .15rem;
  opacity: 0;
  transform: translateY(.6rem);
  transition: opacity .4s ease, transform .45s var(--ease);
}
.agent-result > i { display: grid; width: 1.8rem; height: 1.8rem; color: #fff; background: var(--moss); border-radius: 50%; place-items: center; }
.agent-result strong, .agent-result small { display: block; }
.agent-result strong { font-size: .79rem; }
.agent-result small { margin-top: .3rem; color: #696b67; font-size: .68rem; }
.knowledge-preview {
  position: absolute;
  inset: 2.4rem 0 0;
  padding: 2rem;
  color: #252825;
  background: #f0eee8;
  opacity: 0;
  transform: translateX(3%);
  transition: opacity .55s ease, transform .65s var(--ease);
}
.knowledge-preview-head { display: flex; justify-content: space-between; color: #747873; }
.knowledge-preview-head small { font-size: .56rem; letter-spacing: .06em; }
.knowledge-preview-head span { padding: .3rem .5rem; color: #526653; font-size: .5rem; background: rgba(109, 128, 109, .14); border-radius: 999px; }
.knowledge-preview h3 { max-width: 20rem; margin: 2.2rem 0 .8rem; font: 600 clamp(1.4rem, 2.5vw, 2.2rem) / 1.1 var(--display); letter-spacing: -.04em; }
.knowledge-preview p { max-width: 25rem; color: #666a65; font-size: .7rem; line-height: 1.7; }
.knowledge-preview > div:nth-of-type(2) { margin-top: 1.4rem; }
.knowledge-preview > div:nth-of-type(2) b { display: block; margin-bottom: .7rem; font-size: .68rem; }
.knowledge-preview > div:nth-of-type(2) i { display: block; width: 76%; height: .42rem; margin-top: .45rem; background: #d3d1ca; border-radius: 999px; }
.knowledge-preview > div:nth-of-type(2) i:nth-child(3) { width: 91%; }
.knowledge-preview > div:nth-of-type(2) i:nth-child(4) { width: 58%; }
.knowledge-preview footer { position: absolute; right: 2rem; bottom: 1.4rem; left: 2rem; padding-top: .7rem; color: #848680; font-size: .52rem; border-top: 1px solid rgba(10, 11, 11, .1); }
.ingest-cursor { top: 70%; left: 25%; }
.flow-demo[data-flow-demo="ingest"][data-phase="1"] .agent-message,
.flow-demo[data-flow-demo="ingest"][data-phase="1"] .agent-link,
.flow-demo[data-flow-demo="ingest"][data-phase="2"] .agent-message,
.flow-demo[data-flow-demo="ingest"][data-phase="2"] .agent-link,
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .agent-message,
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .agent-link { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="ingest"][data-phase="1"] .agent-file,
.flow-demo[data-flow-demo="ingest"][data-phase="2"] .agent-file,
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .agent-file { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="ingest"][data-phase="1"] .ingest-cursor { top: 36%; left: 76%; }
.flow-demo[data-flow-demo="ingest"][data-phase="2"] .agent-thinking { opacity: 1; }
.flow-demo[data-flow-demo="ingest"][data-phase="2"] .ingest-cursor { top: 59%; left: 34%; }
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .agent-result { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .agent-thinking { opacity: 0; }
.flow-demo[data-flow-demo="ingest"][data-phase="3"] .ingest-cursor { top: 68%; left: 42%; }
.flow-demo[data-flow-demo="ingest"][data-phase="4"] .knowledge-preview { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="ingest"][data-phase="4"] .ingest-cursor { top: 18%; left: 72%; }

.compose-frame {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr;
  align-items: center;
  gap: .7rem;
  min-height: 28rem;
  padding: clamp(1rem, 2.8vw, 2.5rem);
  background: #191c1a;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: .75rem;
}
.compose-mini-card, .compose-result-card { position: relative; aspect-ratio: .72; overflow: hidden; background: #262a27; border-radius: .5rem; }
.compose-mini-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.compose-mini-card > i {
  position: absolute;
  z-index: 2;
  top: .45rem;
  right: .45rem;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  color: #111412;
  font-size: .55rem;
  font-style: normal;
  font-weight: 800;
  background: #a8c0a7;
  border-radius: 50%;
  opacity: 0;
  place-items: center;
  transform: scale(.5);
  transition: opacity .3s ease, transform .35s var(--ease);
}
.compose-mini-card small, .compose-result-card small {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  left: .5rem;
  padding: .35rem;
  font-size: .63rem;
  text-align: center;
  background: rgba(8, 9, 9, .7);
  border-radius: .3rem;
}
.compose-frame > b, .compose-frame > strong { color: rgba(245, 241, 232, .35); text-align: center; }
.compose-result-card {
  display: grid;
  border: 1px solid rgba(167, 196, 166, .32);
  place-items: center;
}
.compose-result-card span { position: absolute; top: .7rem; left: .7rem; color: var(--moss-bright); font: 600 .55rem var(--display); letter-spacing: .12em; }
.compose-result-card > i {
  width: 2.3rem;
  height: 2.3rem;
  border: 2px solid rgba(167, 196, 166, .16);
  border-top-color: var(--moss-bright);
  border-radius: 50%;
  opacity: 0;
  animation: spin 1.2s linear infinite;
}
.compose-result-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.compose-result-card > small { z-index: 2; }
.compose-queue-overlay {
  position: absolute;
  z-index: 5;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: .8rem;
  color: #e7ece7;
  background: rgba(17, 20, 18, .96);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .65rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .45s ease, transform .5s var(--ease);
}
.compose-queue-head { display: flex; justify-content: space-between; padding-bottom: .55rem; }
.compose-queue-head strong { font-size: .68rem; }
.compose-queue-head small { color: rgba(231, 236, 231, .42); font-size: .5rem; }
.compose-queue-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: .55rem; background: rgba(255, 255, 255, .04); border-radius: .4rem; }
.compose-queue-row > span { color: rgba(231, 236, 231, .45); font-size: .52rem; }
.compose-queue-row > div { display: flex; gap: .3rem; }
.compose-queue-row > div i { width: 1.5rem; height: 1.8rem; background: #5f6a61; border-radius: .2rem; }
.compose-queue-row > div i:nth-child(2) { background: #8b8c7b; }
.compose-queue-row > div i:nth-child(3) { background: #4d695b; }
.compose-queue-row button { padding: .45rem .65rem; color: #111412; font-size: .53rem; background: #a8c0a7; border: 0; border-radius: .32rem; }
.compose-toast { top: 1rem; }
.compose-cursor { top: 68%; left: 12%; }
.flow-demo[data-flow-demo="compose"][data-phase="1"] .compose-mini-card > i { opacity: 1; transform: scale(1); }
.flow-demo[data-flow-demo="compose"][data-phase="1"] .compose-cursor { top: 24%; left: 59%; }
.flow-demo[data-flow-demo="compose"][data-phase="2"] .compose-mini-card > i,
.flow-demo[data-flow-demo="compose"][data-phase="3"] .compose-mini-card > i,
.flow-demo[data-flow-demo="compose"][data-phase="4"] .compose-mini-card > i { opacity: 1; transform: scale(1); }
.flow-demo[data-flow-demo="compose"][data-phase="2"] .compose-queue-overlay,
.flow-demo[data-flow-demo="compose"][data-phase="3"] .compose-queue-overlay { opacity: 1; transform: none; }
.flow-demo[data-flow-demo="compose"][data-phase="2"] .compose-cursor { top: 78%; left: 81%; transform: scale(.84); }
.flow-demo[data-flow-demo="compose"][data-phase="3"] .compose-result-card > i { opacity: 1; }
.flow-demo[data-flow-demo="compose"][data-phase="3"] .compose-cursor { top: 51%; left: 88%; }
.flow-demo[data-flow-demo="compose"][data-phase="4"] .compose-result-card > img { opacity: .86; }
.flow-demo[data-flow-demo="compose"][data-phase="4"] .compose-result-card > i { opacity: 0; }
.flow-demo[data-flow-demo="compose"][data-phase="4"] .compose-toast { opacity: 1; transform: translate(-50%, 0); }
.flow-demo[data-flow-demo="compose"][data-phase="4"] .compose-cursor { top: 20%; left: 88%; }
@keyframes spin { to { transform: rotate(360deg); } }

.flow-demo-footer {
  display: grid;
  grid-template-columns: 7rem 1fr auto auto;
  align-items: center;
  gap: .8rem;
  min-height: 3.2rem;
  padding: 0 .25rem;
  color: rgba(245, 241, 232, .58);
  background: #0d0f0e;
}
.flow-demo-footer p { margin: 0; font-size: .56rem; text-align: center; }
.flow-demo-footer button {
  padding: .35rem .5rem;
  color: rgba(231, 238, 231, .58);
  font-size: .54rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: .35rem;
  cursor: pointer;
}

.tag-demo {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  color: #dfe4df;
  background: #111412;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.3rem;
  box-shadow: 0 2.8rem 7rem rgba(16, 19, 17, .27);
}
.tag-demo button { color: inherit; background: none; border: 0; }
.tag-demo-toolbar {
  display: grid;
  grid-template-columns: auto 1fr minmax(8rem, 14rem);
  align-items: center;
  gap: 1rem;
  height: 3.4rem;
  padding: 0 1rem;
  background: #171a18;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tag-demo-brand { display: flex; align-items: center; gap: .55rem; font-size: .67rem; }
.tag-demo-brand b { display: grid; width: 1.7rem; height: 1.7rem; color: #151716; background: #b4c8b3; border-radius: .42rem; place-items: center; }
.tag-demo-filters { display: flex; justify-content: center; gap: .3rem; }
.tag-demo-filters button { padding: .42rem .68rem; color: rgba(226, 232, 226, .58); font-size: .61rem; border-radius: 999px; }
.tag-demo[data-phase="5"] [data-filter-button] { color: #e7eee7; background: rgba(109, 128, 109, .34); }
.tag-demo[data-phase="5"] [data-filter-button] i::after { content: " · 待制作"; }
.tag-demo-search { padding: .55rem .75rem; color: rgba(226, 232, 226, .32); font-size: .57rem; background: #202421; border-radius: .45rem; }
.tag-demo-body { display: grid; grid-template-columns: 3rem 1fr; height: calc(100% - 6.7rem); }
.tag-demo-rail { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-top: 1rem; background: #0c0e0d; border-right: 1px solid rgba(255, 255, 255, .05); }
.tag-demo-rail i { width: .72rem; height: .72rem; border: 1px solid rgba(226, 232, 226, .24); border-radius: .2rem; }
.tag-demo-rail i.active { background: #9fb59f; border-color: #9fb59f; box-shadow: 0 0 0 .22rem rgba(159, 181, 159, .1); }
.tag-demo-main { min-width: 0; padding: 1.05rem 1.1rem; }
.tag-demo-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: .85rem; }
.tag-demo-heading small, .tag-demo-heading strong { display: block; }
.tag-demo-heading small { color: rgba(226, 232, 226, .38); font: 550 .51rem var(--display); letter-spacing: .1em; }
.tag-demo-heading strong { margin-top: .15rem; font: 600 1rem var(--display); }
.tag-demo-heading > span { color: rgba(226, 232, 226, .38); font-size: .55rem; }
.tag-demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.tag-card {
  position: relative;
  aspect-ratio: .82;
  overflow: hidden;
  background: #292c2a;
  border: 2px solid transparent;
  border-radius: .48rem;
  transition: opacity .5s ease, transform .5s var(--ease), border-color .3s ease;
}
.tag-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(.94); }
.tag-card small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.2rem .5rem .4rem;
  color: rgba(255, 255, 255, .85);
  font-size: .52rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}
.tag-check {
  position: absolute;
  top: .42rem;
  right: .42rem;
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  color: #101210;
  font-size: .58rem;
  font-weight: 800;
  background: #a8c0a7;
  border-radius: 50%;
  opacity: 0;
  place-items: center;
  transform: scale(.5);
  transition: opacity .25s ease, transform .25s var(--ease);
}
.tag-demo[data-phase="1"] .tag-card-a,
.tag-demo[data-phase="1"] .tag-card-b,
.tag-demo[data-phase="1"] .tag-card-e,
.tag-demo[data-phase="1"] .tag-card-f,
.tag-demo[data-phase="2"] .tag-card-a,
.tag-demo[data-phase="2"] .tag-card-b,
.tag-demo[data-phase="2"] .tag-card-e,
.tag-demo[data-phase="2"] .tag-card-f,
.tag-demo[data-phase="3"] .tag-card-a,
.tag-demo[data-phase="3"] .tag-card-b,
.tag-demo[data-phase="3"] .tag-card-e,
.tag-demo[data-phase="3"] .tag-card-f,
.tag-demo[data-phase="4"] .tag-card-a,
.tag-demo[data-phase="4"] .tag-card-b,
.tag-demo[data-phase="4"] .tag-card-e,
.tag-demo[data-phase="4"] .tag-card-f,
.tag-demo[data-phase="5"] .tag-card-a,
.tag-demo[data-phase="5"] .tag-card-b,
.tag-demo[data-phase="5"] .tag-card-e,
.tag-demo[data-phase="5"] .tag-card-f { border-color: #a8c0a7; }
.tag-demo[data-phase]:not([data-phase="0"]) .tag-card-a .tag-check,
.tag-demo[data-phase]:not([data-phase="0"]) .tag-card-b .tag-check,
.tag-demo[data-phase]:not([data-phase="0"]) .tag-card-e .tag-check,
.tag-demo[data-phase]:not([data-phase="0"]) .tag-card-f .tag-check { opacity: 1; transform: scale(1); }
.tag-demo[data-phase="5"] .tag-card-c,
.tag-demo[data-phase="5"] .tag-card-d,
.tag-demo[data-phase="5"] .tag-card-g,
.tag-demo[data-phase="5"] .tag-card-h { opacity: .1; transform: scale(.95); }
.selection-marquee {
  position: absolute;
  top: 6.5rem;
  left: 4.7rem;
  width: 44%;
  height: 48%;
  background: rgba(120, 156, 122, .12);
  border: 1px solid rgba(168, 192, 167, .72);
  opacity: 0;
  transform: scale(.12);
  transform-origin: top left;
  transition: opacity .2s ease, transform 1.1s var(--ease);
}
.tag-demo[data-phase="1"] .selection-marquee { opacity: 1; transform: scale(1); }
.cursor {
  position: absolute;
  z-index: 9;
  top: 28%;
  left: 25%;
  width: 1.4rem;
  filter: drop-shadow(0 .15rem .2rem rgba(0, 0, 0, .4));
  transition: top .8s var(--ease), left .8s var(--ease), transform .25s ease;
}
.cursor svg { width: 100%; fill: #fff; stroke: #151716; stroke-width: 1.2; }
.tag-demo[data-phase="1"] .cursor { top: 68%; left: 48%; }
.tag-demo[data-phase="2"] .cursor { top: calc(100% - 5.6rem); left: 42%; transform: scale(.85); }
.tag-demo[data-phase="3"] .cursor { top: 54%; left: 80%; }
.tag-demo[data-phase="4"] .cursor { top: 79%; left: 84%; transform: scale(.85); }
.tag-demo[data-phase="5"] .cursor { top: 1.05rem; left: 61%; }
.batch-bar {
  position: absolute;
  z-index: 5;
  right: 1.2rem;
  bottom: 4rem;
  left: 4.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 2.7rem;
  padding: 0 .8rem;
  color: rgba(226, 232, 226, .62);
  font-size: .56rem;
  background: rgba(27, 31, 28, .96);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .65rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .4s ease, transform .4s var(--ease);
}
.batch-bar strong { color: #e5ebe5; }
.batch-bar button { padding: .42rem .7rem; color: #111412; background: #a8c0a7; border-radius: .35rem; }
.batch-bar i { flex: 1; }
.tag-demo[data-phase="1"] .batch-bar,
.tag-demo[data-phase="2"] .batch-bar,
.tag-demo[data-phase="3"] .batch-bar,
.tag-demo[data-phase="4"] .batch-bar { opacity: 1; transform: none; }
.tag-drawer {
  position: absolute;
  z-index: 7;
  top: 3.4rem;
  right: 0;
  bottom: 3.3rem;
  width: 44%;
  color: #e3e9e3;
  background: #181c19;
  border-left: 1px solid rgba(255, 255, 255, .08);
  box-shadow: -1rem 0 3rem rgba(0, 0, 0, .32);
  transform: translateX(105%);
  transition: transform .6s var(--ease);
}
.tag-demo[data-phase="2"] .tag-drawer,
.tag-demo[data-phase="3"] .tag-drawer,
.tag-demo[data-phase="4"] .tag-drawer { transform: none; }
.tag-drawer-head { display: flex; justify-content: space-between; padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.tag-drawer-head strong, .tag-drawer-head small { display: block; }
.tag-drawer-head strong { font-size: .8rem; }
.tag-drawer-head small { margin-top: .2rem; color: rgba(227, 233, 227, .4); font-size: .52rem; }
.tag-drawer-body { display: grid; grid-template-columns: 37% 1fr; height: calc(100% - 6.5rem); }
.tag-groups { display: flex; flex-direction: column; padding: .7rem; background: #121513; }
.tag-groups button { padding: .65rem .5rem; color: rgba(227, 233, 227, .48); font-size: .58rem; text-align: left; border-radius: .35rem; }
.tag-groups button.active { color: #fff; background: rgba(168, 192, 167, .14); }
.tag-options { padding: 1rem .75rem; }
.tag-options > small { color: rgba(227, 233, 227, .38); font-size: .52rem; }
.tag-options > div { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.tag-options button { padding: .48rem .58rem; color: rgba(227, 233, 227, .58); font-size: .55rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; }
.tag-options .target-tag i { display: none; }
.tag-demo[data-phase="3"] .target-tag,
.tag-demo[data-phase="4"] .target-tag { color: #eff5ef; background: rgba(109, 128, 109, .36); border-color: #91aa91; }
.tag-demo[data-phase="3"] .target-tag i,
.tag-demo[data-phase="4"] .target-tag i { display: inline; }
.tag-drawer-foot { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border-top: 1px solid rgba(255, 255, 255, .07); }
.tag-drawer-foot span { color: rgba(227, 233, 227, .4); font-size: .52rem; }
.tag-drawer-foot button { padding: .5rem .65rem; color: #111412; font-size: .55rem; background: #a8c0a7; border-radius: .35rem; }
.tag-toast {
  position: absolute;
  z-index: 10;
  top: 4.2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 13rem;
  padding: .72rem .9rem;
  color: #e7eee7;
  background: rgba(25, 30, 26, .96);
  border: 1px solid rgba(168, 192, 167, .28);
  border-radius: .65rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .32);
  opacity: 0;
  transform: translate(-50%, -1rem);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.tag-toast b { display: grid; width: 1.6rem; height: 1.6rem; color: #111412; background: #a8c0a7; border-radius: 50%; place-items: center; }
.tag-toast strong, .tag-toast small { display: block; }
.tag-toast strong { font-size: .66rem; }
.tag-toast small { margin-top: .15rem; color: rgba(231, 238, 231, .46); font-size: .5rem; }
.tag-demo[data-phase="4"] .tag-toast { opacity: 1; transform: translate(-50%, 0); }
.tag-demo-footer {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 7rem 1fr auto auto;
  align-items: center;
  gap: .8rem;
  height: 3.3rem;
  padding: 0 1rem;
  background: #0b0d0c;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.demo-progress { height: 2px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.demo-progress i { display: block; width: 0; height: 100%; background: #a8c0a7; transition: width .2s linear; }
.tag-demo-footer p { margin: 0; color: rgba(231, 238, 231, .64); font-size: .56rem; }
.tag-demo-footer button { padding: .35rem .5rem; color: rgba(231, 238, 231, .58); font-size: .54rem; border: 1px solid rgba(255, 255, 255, .11); border-radius: .35rem; cursor: pointer; }

.feature-closing {
  min-height: 100svh;
  padding: clamp(8rem, 13vw, 12rem) max(6vw, 1.4rem) 2.4rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(109, 128, 109, .14), transparent 30rem),
    var(--paper-bright);
}
.feature-closing .eyebrow { color: var(--moss); }
.feature-closing h2 {
  margin: 0;
  font: 540 clamp(3.1rem, 7.2vw, 7.2rem) / .98 var(--display);
  letter-spacing: -.075em;
}
.closing-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .8rem 1.1rem;
  margin: 3rem 0 0;
  color: rgba(10, 11, 11, .65);
}
.closing-flow span { padding: .65rem 1rem; border: 1px solid var(--line-light); border-radius: 999px; }
.closing-flow i { color: var(--moss); font-style: normal; }
.feature-closing-actions { justify-content: center; }
.feature-closing footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(8rem, 16vw, 14rem);
  padding-top: 1.2rem;
  text-align: left;
  border-top: 1px solid var(--line-light);
}
.feature-closing footer p { margin: 0; color: rgba(10, 11, 11, .52); font-size: .8rem; text-align: center; }
.feature-closing footer small { color: rgba(10, 11, 11, .38); text-align: right; }

.reveal { opacity: 0; transform: translateY(1.3rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .feature-nav { width: calc(100% - 2rem); }
  .demo-section,
  .demo-section:nth-of-type(odd) { grid-template-columns: minmax(20rem, .88fr) minmax(28rem, 1.12fr); gap: 3rem; }
  .demo-section:nth-of-type(odd) { grid-template-columns: minmax(28rem, 1.12fr) minmax(20rem, .88fr); }
  .demo-copy h2 > span { white-space: normal; }
  .tag-demo-grid { gap: .45rem; }
  .compose-frame { min-height: 24rem; }
}

@media (max-width: 900px) {
  html {
    scroll-snap-type: y proximity;
  }
  main > section {
    scroll-snap-stop: normal;
  }
}

@media (max-width: 820px) {
  .section-pagination {
    right: 0.45rem;
    gap: 0.55rem;
    padding: 0.58rem 0.42rem;
  }
  .section-pagination a {
    width: 0.36rem;
    height: 0.36rem;
  }
  .feature-nav { top: .75rem; grid-template-columns: 1fr auto; }
  .feature-nav-links {
    display: flex;
    justify-self: end;
    gap: clamp(.65rem, 3vw, 1.15rem);
    font-size: .75rem;
  }
  .feature-login { display: none; }
  .feature-hero { min-height: auto; padding-top: 9rem; padding-bottom: 3rem; }
  .feature-hero-copy { margin-top: 0; }
  .feature-hero h1 { font-size: clamp(3.3rem, 13vw, 5.4rem); }
  .feature-index { position: relative; right: auto; bottom: auto; left: auto; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 5rem; }
  .demo-section { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding-top: 7rem; padding-bottom: 7rem; }
  .demo-section .demo-copy, .demo-section:nth-of-type(odd) .demo-copy { order: 1; }
  .demo-section .demo-media, .demo-section:nth-of-type(odd) .demo-media { order: 2; }
  .demo-copy { max-width: none; }
  .demo-copy h2 { font-size: clamp(2.8rem, 11vw, 4.3rem); }
  .demo-copy h2 > span { white-space: normal; }
  .browser-frame, .agent-frame { min-height: 23rem; }
  .tag-demo { min-height: 0; }
  .tag-demo-filters button:nth-child(-n+2), .tag-demo-search { display: none; }
  .tag-demo-toolbar { grid-template-columns: 1fr auto; }
  .tag-demo-grid { grid-template-columns: repeat(4, 1fr); }
  .tag-card:nth-child(n+5) { display: none; }
  .tag-drawer { width: 58%; }
  .batch-bar { left: 3.7rem; gap: .5rem; }
  .batch-bar span { display: none; }
  .tag-demo-footer { grid-template-columns: 4rem 1fr auto; }
  .tag-demo-footer button[data-demo-toggle] { display: none; }
  .flow-demo-footer { grid-template-columns: 4rem 1fr auto; }
  .flow-demo-footer button[data-flow-toggle] { display: none; }
  .compose-frame { min-height: 20rem; gap: .35rem; padding: 1rem; }
  .feature-closing footer { grid-template-columns: 1fr; text-align: center; }
  .feature-closing footer .feature-brand { justify-content: center; }
  .feature-closing footer small { text-align: center; }
}

@media (max-width: 520px) {
  .feature-hero-actions, .feature-closing-actions { align-items: flex-start; flex-direction: column; }
  .feature-index { grid-template-columns: 1fr; }
  .feature-index a { min-height: 4.5rem; }
  .demo-section { padding-right: 1rem; padding-left: 1rem; }
  .storyboard { padding: .65rem; }
  .browser-frame, .agent-frame { min-height: 18rem; }
  .collect-layout { min-height: 15.7rem; padding: 1rem; }
  .collect-copy-lines { padding-top: .5rem; }
  .collect-callout { right: .7rem; bottom: .7rem; width: 9rem; }
  .tag-demo-toolbar { height: 2.8rem; }
  .tag-demo { border-radius: .8rem; }
  .tag-demo-body { grid-template-columns: 2rem 1fr; height: calc(100% - 5.7rem); }
  .tag-demo-rail { gap: .6rem; }
  .tag-demo-main { padding: .65rem; }
  .tag-demo-heading { margin-bottom: .45rem; }
  .tag-demo-grid { gap: .28rem; }
  .tag-card small { display: none; }
  .tag-drawer { top: 2.8rem; bottom: 2.9rem; width: 76%; }
  .batch-bar { right: .5rem; bottom: 3.35rem; left: 2.4rem; height: 2.2rem; }
  .selection-marquee { top: 4.8rem; left: 2.8rem; }
  .tag-demo-footer { height: 2.9rem; padding: 0 .55rem; }
  .tag-demo-footer p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .compose-frame { grid-template-columns: 1fr auto 1fr auto 1.15fr; }
  .compose-frame .compose-mini-card:nth-of-type(3), .compose-frame > b:nth-of-type(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-feature-motion="full"]) {
    scroll-behavior: auto;
  }

  html[data-feature-motion="off"] *,
  html[data-feature-motion="off"] *::before,
  html[data-feature-motion="off"] *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html[data-feature-motion="off"] .reveal {
    opacity: 1;
    transform: none;
  }

  html[data-feature-motion="soft"] .reveal {
    transition-duration: .48s;
  }

  html[data-feature-motion="off"] .tag-demo {
    --reduced: 1;
  }
}
