/* ==========================================================================
   Ad Uploader marketing site (aduploader.com)
   Design tokens reverse-engineered from the lifeat.io homepage (Oct 2026).
   ========================================================================== */

:root {
  /* Type
     The reference site uses Circular Std (a commercial Lineto font).
     Figtree is the closest free substitute. If you license Circular,
     add the @font-face and swap the first family name below. */
  --font-sans: "Figtree", "Circular Std", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Inconsolata", ui-monospace, monospace;

  /* Colour */
  --bg: #f9f7f6;
  --nav-bg: rgba(249, 247, 246, 0.93);
  --text: #333333;
  --text-strong: #333333;
  --text-sub: #666666;
  --text-muted: #6e6e6e;
  --text-tab: #808080;
  --black: #333333;
  --primary: #e8704e;           /* Claude orange, from the logo: buttons and highlights */
  --primary-hover: #d9603f;
  --primary-ink: #c4532d;       /* darker orange for text links, readable on the light background */
  --accent-salmon: #efa18f;
  --lavender: #fbeee8;          /* warm tint section (was lavender in the replica) */
  --lavender-ink: #c4532d;
  --card: #ffffff;
  --line: #dbdbdb;
  --line-tabs: #d4d4d4;
  --line-nav: #b8b8b8;
  --tab-active: #333333;
  --dropdown-hover: rgba(120, 115, 56, 0.08);

  /* Layout */
  --container: 1200px;
  --content: 1000px;
  --gutter: 5%;
  --radius-media: 10px;
  --radius-card: 10px;
  --radius-button: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  min-width: 180px;
  width: 180px;
  padding: 15px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.btn:hover { background: var(--primary-hover); }
.btn--wide { width: 250px; min-width: 250px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background: var(--nav-bg);
  transition: all .15s;
}

.nav__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 100px;
  margin-right: 10px;
  color: #333333;
}
.logo__img { display: block; width: auto; height: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.nav__link,
.nav__toggle {
  position: relative;
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 10px 20px;
  border-radius: 5px;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.dropdown { position: relative; }

.nav__link { font-weight: 400; }
.nav__toggle { padding: 10px 25px 10px 10px; }
.nav__toggle svg {
  position: absolute;
  right: 5px;
  width: 16px;
  height: 16px;
  transition: transform .2s;
}
.dropdown:hover .nav__toggle,
.dropdown.is-open .nav__toggle { background: rgba(0, 0, 0, 0.05); }
.dropdown.is-open .nav__toggle svg { transform: rotate(180deg); }

.dropdown__panel {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  display: none;
  min-width: 420px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}
.dropdown.is-open .dropdown__panel { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; }
.dropdown__panel--list { min-width: 300px; max-height: 60vh; overflow-y: auto; }
.dropdown.is-open .dropdown__panel--list { display: block; }

.dropdown__link {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  color: #505050;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .25s;
}
.dropdown__link:hover { background: var(--dropdown-hover); }
.dropdown__link--header { font-size: 18px; color: #505050; }
.dropdown__link--header:hover { background: transparent; }

.nav__right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__download {
  margin-right: 10px;
  padding: 12px 20px;
  border-right: 1px solid var(--line-nav);
  color: #333333;
  font-size: 15px;
  line-height: 20px;
}

.nav__signup {
  width: auto;
  min-width: 100px;
  margin-left: 0;
  padding: 12px 15px;
  font-size: 15px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Section wrappers
   -------------------------------------------------------------------------- */
.wrapper {
  position: relative;
  padding: 40px var(--gutter) 60px;
}
.wrapper--top {
  padding-bottom: 40px;
  overflow: hidden;
  background: var(--bg);
}
.wrapper--lavender { background: var(--lavender); }

.blur-circle {
  position: absolute;
  top: 24px;
  left: 53%;
  width: 440px;
  height: 440px;
  border-radius: 500px;
  background-image: linear-gradient(59deg, rgba(239, 161, 143, 0.44) 27%, rgba(239, 161, 143, 0.53) 50%, rgba(232, 112, 78, 0.30) 75%);
  filter: blur(64px) blur(64px);
  opacity: .48;
  pointer-events: none;
}

.feature {
  position: relative;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto 20px;
}
.feature:last-child { margin-bottom: 0; }
.feature--new .media { margin-top: 36px; }

.value-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}
.value-header--wide { max-width: 1100px; }

.h2 {
  margin-top: 20px;
  color: var(--text);
  font-size: 32px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}
.h2--lavender { color: var(--lavender-ink); }

.lede {
  margin: 10px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}
.lede--lavender { color: var(--lavender-ink); }

.value-header .btn { margin-top: 0; }

.value-header--science { padding-bottom: 30px; }
.value-header--science .lede { margin: 20px 0; }

/* Media placeholders (videos on the reference site) */
.media {
  position: relative;
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
  border-radius: var(--radius-media);
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #dfe4ee 0%, #c9d3e6 45%, #b7c4dc 100%);
}
.media--hero { aspect-ratio: 1000 / 624; margin-top: 40px; }
.media--tall { aspect-ratio: 1000 / 631; }

.media__bar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.85);
}
.media__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; }
.media__bar i:nth-child(1) { background: #ff5f57; }
.media__bar i:nth-child(2) { background: #febc2e; }
.media__bar i:nth-child(3) { background: #28c840; }

.media__label {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #555;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.media__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(60, 60, 60, 0.75);
  border-radius: 50%;
  background: #fff;
}
.media__play svg { width: 22px; height: 22px; margin-left: 4px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero__title {
  margin: 10px;
  color: var(--text);
  font-size: 64px;
  font-weight: 400;
  line-height: 70px;
  text-align: center;
}
.hero__sub {
  max-width: 760px;
  margin: 0 auto 10px;
  color: var(--text-sub);
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
.hero .btn { margin-top: 20px; }

/* Logos / social proof */
.logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 5px 10px 5px 6px;
  border-radius: 15px;
  background: #fff;
  color: #555;
  font-size: 11px;
  line-height: 18px;
}
.pill__icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.pill--new {
  padding: 3px 14px;
  background: rgba(255, 255, 255, 0.75);
  color: #3a3f8f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
}

.logos .lede { margin: 30px 0 0; }
.logos__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 60px;
}
.logos__item {
  display: grid;
  place-items: center;
  color: #8a8a8a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  opacity: .85;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 10px 0;
}
.testimonials__title {
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 28px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--card);
}
.card__top { display: flex; align-items: center; min-height: 64px; }
.card__avatar {
  flex: none;
  width: 64px;
  height: 64px;
  margin-right: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e7e2f7, #c9d6f5);
}
.card__name {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}
.card__text {
  max-width: 330px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

/* --------------------------------------------------------------------------
   Use-case tabs
   -------------------------------------------------------------------------- */
.usecases {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container);
  margin: 20px auto 0;
}
.usecases__title { margin-top: 20px; padding: 10px 0; }

.tabs__menu {
  display: flex;
  justify-content: center;
  gap: 30px 50px;
  margin-top: 30px;
  border-bottom: 1px solid var(--line-tabs);
}
.tabs__link {
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-tab);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
  margin-bottom: -1px;
}
.tabs__link.is-active {
  border-bottom-color: var(--tab-active);
  color: var(--text);
  font-weight: 500;
}

.tabs__pane { display: none; width: 100%; max-width: var(--content); }
.tabs__pane.is-active { display: block; }

.usecase {
  display: flex;
  align-items: center;
  margin-top: 40px;
  border-radius: 10px;
  background: var(--bg);
}
.usecase__copy {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
}
.usecase__title {
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}
.usecase__point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
}
.usecase__point svg { flex: none; width: 28px; height: 28px; color: #b9b9b9; }
.usecase__image {
  flex: 1 1 50%;
  align-self: stretch;
  min-height: 398px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(180deg, #ece9e6 0%, #e4e0dc 100%);
  position: relative;
  overflow: hidden;
}
.usecase__image:empty::before,
.usecase__image:empty::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.usecase__image:empty::before { left: 36px; width: 42%; }
.usecase__image:empty::after { right: 0; width: 42%; border-radius: 8px 0 0 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 0 var(--gutter); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.footer .logo__img { height: 28px; }

.socials { display: flex; gap: 12px; }
.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #333333;
  color: #fff;
  transition: opacity .2s;
}
.socials a:hover { opacity: .8; }
.socials svg { width: 18px; height: 18px; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 60px auto 60px;
}
.footer__heading {
  margin-bottom: 20px;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
.footer__link {
  display: flex;
  margin-bottom: 15px;
  color: var(--black);
  opacity: .8;
  font-size: 16px;
  line-height: 20px;
  transition: all .2s;
}
.footer__link:hover { color: var(--primary-ink); }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  max-width: 300px;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.cookie p { padding-right: 15px; font-size: 12px; line-height: 18px; }
.cookie button {
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: #f2f2f2;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.cookie.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   Scroll reveal (Webflow-style fade in on scroll)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive (Webflow breakpoints: 991 / 767 / 479)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .nav { height: 85px; padding: 0 10px; }
  .nav__download { display: none; }
  .hero__title { font-size: 42px; line-height: 50px; }
  .logos__grid { grid-template-columns: repeat(4, 1fr); row-gap: 16px; padding: 0; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .usecase { flex-direction: column; }
  .usecase__image { width: 100%; border-radius: 0 0 10px 10px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 767px) {
  .nav__link--blog,
  .nav__login,
  .dropdown--usecases { display: none; }
  .wrapper { padding: 20px var(--gutter) 40px; }
  .hero__title { margin: 10px 0; font-size: 28px; line-height: 36px; }
  .hero__sub { font-size: 16px; line-height: 30px; }
  .h2 { font-size: 20px; line-height: 26px; }
  .testimonials__title { font-size: 20px; line-height: 26px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .tabs__menu { flex-wrap: wrap; gap: 8px 20px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { gap: 20px; }
  .dropdown__panel { min-width: 260px; left: auto; right: -80px; }
  .dropdown.is-open .dropdown__panel { grid-template-columns: 1fr; }
}

@media screen and (max-width: 479px) {
  .logo__img { height: 22px; }
  .nav__toggle { padding-right: 22px; }
  .nav__signup { min-width: 90px; }
  .logos__item { font-size: 16px; }
  .btn--wide { width: 100%; min-width: 0; }
  .usecase__copy { padding: 28px; }
  .cookie { left: 16px; right: 16px; max-width: none; }
}

/* ==========================================================================
   Ad Uploader components
   Built on the tokens above so they read as part of the same system.
   ========================================================================== */

:root {
  --code-bg: #333333;
  --code-text: #f4f2f0;
  --chat-user: #efedea;
  --mono-panel: #f7f6f4;
}

code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  font-family: var(--font-mono);
  font-size: .95em;
}

/* Secondary pill button + CTA rows */
.btn--secondary {
  background: #fff;
  color: var(--text);
  box-shadow: inset 0 0 0 1px #e4e1de;
}
.btn--secondary:hover { background: #fff; box-shadow: inset 0 0 0 1px #cfcac5; }
.btn--auto { width: auto; min-width: 180px; padding-left: 24px; padding-right: 24px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero .cta-row { margin-top: 20px; }
.hero .cta-row .btn { margin-top: 0; }
.value-header .pill:first-child { margin-top: 0; }
.hero .pill { margin-bottom: 4px; }
.wrapper--top .value-header .lede a { text-decoration: underline; text-underline-offset: 2px; }

/* Media frames that hold HTML mock-ups instead of video */
.media--mock {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  aspect-ratio: auto;
  min-height: 563px;
  background: linear-gradient(160deg, #e6e9f2 0%, #d6ddec 50%, #c9d2e6 100%);
}
.media--hero.media--mock { min-height: 624px; padding-top: 62px; }
.wrapper--lavender .media--mock { background: linear-gradient(160deg, #fdf4ef 0%, #f8e3d9 100%); }

.window {
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(90, 52, 40, 0.10);
  text-align: left;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid #efedea;
  color: #8a8a8a;
  font-size: 12px;
}
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d9d9; }
.window__bar i:nth-child(1) { background: #ff5f57; }
.window__bar i:nth-child(2) { background: #febc2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: auto; margin-right: auto; padding-right: 40px; }
.window__body { padding: 22px 24px 24px; }
.window--dark { background: var(--code-bg); }
.window--dark .window__bar { border-bottom-color: #2e2e2e; color: #9a9a9a; }

/* Chat transcript */
.chat { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; font-size: 14px; line-height: 21px; }
.msg--user {
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--chat-user);
}
.msg--user .link-chip {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-size: 12px;
}
.msg--ai { align-self: flex-start; display: flex; gap: 10px; }
.msg--ai::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  background: #d97757;
}
.msg--ai > div { min-width: 0; }
.msg--ai p + p, .msg--ai p + pre, .msg--ai pre + p { margin-top: 8px; }
.msg--ai a { color: var(--primary-ink); }
.msg--tool {
  align-self: flex-start;
  margin-left: 32px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--mono-panel);
  color: #777;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 18px;
}

.preview {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid #ecebe8;
  border-radius: 8px;
  background: var(--mono-panel);
  color: #3a3a3a;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 19px;
  white-space: pre;
}
.preview b { color: #222; }
.preview .ok { color: #2f7d4f; }
.preview .muted { color: #8a8a8a; }

/* Terminal / code */
.code {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 20px auto 0;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--code-bg);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 22px;
  text-align: left;
}
.code pre {
  flex: 1;
  margin: 0;
  overflow-x: auto;
  font: inherit;
  white-space: pre;
}
.code__copy {
  flex: none;
  padding: 6px 12px;
  border: 0;
  border-radius: 20px;
  background: #3a3a3a;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.code__copy:hover { background: #4a4a4a; }
.terminal { color: var(--code-text); font-family: var(--font-mono); font-size: 14px; line-height: 22px; white-space: pre-wrap; }
.terminal .dim { color: #8f8f8f; }
.terminal .ok { color: #7fd09a; }

/* Small status card used in the "Connect" mock */
.stack { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 760px; }
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  text-align: left;
}
.status-row__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fcebe4;
  font-size: 16px;
}
.status-row__meta { margin-left: auto; color: #2f7d4f; font-size: 13px; }

/* Feature cards (reuse testimonial card shell) */
.card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-right: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fdf0ea, #f7ddd2);
  font-size: 26px;
}
.card__text code { font-size: 13px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

/* Use-case tab mock-ups */
.usecase__image--mock {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.mini {
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  line-height: 18px;
}
.mini__head { padding: 10px 14px; border-bottom: 1px solid #f0eeeb; color: #777; font-size: 12px; }
.mini__row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #f5f3f0; }
.mini__row:last-child { border-bottom: 0; }
.mini__row .tag { margin-left: auto; padding: 1px 7px; border-radius: 10px; background: #fcebe4; color: #b4492a; font-size: 11px; }
.mini__row .tag--paused { background: #f3efe9; color: #8a6d3b; }
.mini__file { font-family: var(--font-mono); font-size: 13px; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--content);
  margin: 40px auto 0;
  text-align: left;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--card);
}
.plan__name { color: var(--text); font-size: 18px; font-weight: 500; line-height: 24px; }
.plan__for { color: var(--text-muted); font-size: 14px; line-height: 22px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; color: var(--text); }
.plan__price b { font-size: 48px; font-weight: 400; line-height: 52px; }
.plan__price span { color: var(--text-muted); font-size: 14px; }
.plan__list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; padding: 0; list-style: none; }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; }
.plan__list svg { flex: none; width: 22px; height: 22px; color: #b9b9b9; }
.plan .btn { width: 100%; min-width: 0; margin-top: auto; }
.plans__note {
  max-width: var(--content);
  margin: 20px auto 0;
  color: var(--lavender-ink);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}
.wrapper:not(.wrapper--lavender) .plans__note { color: var(--text-muted); }

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: var(--content);
  margin: 40px auto 0;
  text-align: left;
}
.faq details {
  border-radius: var(--radius-card);
  background: var(--card);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: #9a9a9a;
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}

/* Install clients grid (how-it-works) */
.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--content);
  margin: 40px auto 0;
  text-align: left;
}
.client { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius-card); background: var(--card); }
.client h3 { color: var(--text); font-size: 18px; font-weight: 500; line-height: 24px; }
.client p { color: var(--text-muted); font-size: 14px; line-height: 22px; }
.client .code { margin: 0; max-width: none; font-size: 13px; line-height: 20px; padding: 12px 14px; }

/* Steps list on how-it-works */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.steps-list li { display: flex; gap: 10px; font-size: 14px; line-height: 22px; }
.steps-list li b { flex: none; width: 22px; color: var(--primary); font-weight: 500; }

/* Comparison table */
.compare {
  width: 100%;
  max-width: var(--content);
  margin: 40px auto 0;
  overflow-x: auto;
  border-radius: var(--radius-card);
  background: var(--card);
}
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 21px; text-align: left; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid #f0eeeb; vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--text); font-size: 15px; font-weight: 500; background: #fcfbfa; }
.compare tbody th { width: 26%; color: var(--text); font-weight: 500; }
.compare td { color: #4a4a4a; }
.compare .us { background: rgba(232, 112, 78, 0.06); }

.verdicts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--content);
  margin: 20px auto 0;
  text-align: left;
}
.verdicts .card h3 { color: var(--text); font-size: 18px; font-weight: 500; line-height: 24px; }
.verdicts ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 18px; font-size: 14px; line-height: 21px; }
.source-note {
  max-width: var(--content);
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

/* Blog */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: 40px auto 0;
}
.post-card { transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05); }
.post-card h2 { color: var(--text); font-size: 20px; font-weight: 500; line-height: 26px; }
.post-card .meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: 17px;
  line-height: 29px;
}
.prose h2 { margin: 40px 0 12px; font-size: 26px; font-weight: 500; line-height: 32px; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 500; line-height: 26px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose .preview { margin: 0 0 16px; font-size: 13px; }
.prose .code { margin: 0 0 16px; max-width: none; }
.prose table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid #e8e5e2; text-align: left; vertical-align: top; }
.hero__title--post { font-size: 48px; line-height: 56px; }
.post-meta { margin-top: 6px; color: var(--text-muted); font-size: 14px; }

.footer__top .footer__copy { color: var(--text-muted); font-size: 14px; }
.footer__copy a:hover { color: var(--text); }

@media screen and (max-width: 991px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__title--post { font-size: 40px; line-height: 48px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 767px) {
  .media--mock, .media--hero.media--mock { min-height: 0; padding: 40px 12px 16px; }
  .window__body { padding: 16px; }
  .msg { max-width: 100%; font-size: 13px; }
  .preview { font-size: 11px; line-height: 16px; padding: 10px 12px; }
  .code { align-items: flex-start; font-size: 12px; padding: 12px 14px; }
  .code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .plans, .clients, .verdicts, .posts, .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .nav__link--hide-sm { display: none; }
  .usecase__image--mock { padding: 20px; min-height: 0; }
  .prose { font-size: 16px; line-height: 27px; }
  .hero__title--post { font-size: 30px; line-height: 38px; }
  /* Comparison table stacks into one card per row */
  .compare { overflow: visible; border-radius: 0; background: transparent; }
  .compare table, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr { margin-bottom: 12px; padding: 16px; border-radius: var(--radius-card); background: var(--card); }
  .compare tbody th, .compare td { padding: 0; border: 0; }
  .compare tbody th { margin-bottom: 8px; font-size: 15px; }
  .compare td { margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: #fcfbfa; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--text-sub); font-size: 12px; font-weight: 500; }
  .compare .us::before { color: var(--primary); }
}

/* ==========================================================================
   Hero demo: an animated Claude chat (driven by js/demo.js)
   Colours and spacing follow Claude's light theme; fonts are free stand-ins
   (Source Serif 4 for replies, Figtree for the interface).
   ========================================================================== */
.stage {
  --cl-bg: #faf9f5;
  --cl-ink: #141413;
  --cl-muted: #73726c;
  --cl-line: #e8e6dc;
  --cl-bubble: #f0eee6;
  --cl-serif: "Source Serif 4", Georgia, serif;
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 40px auto 0;
}
.stage__inner { position: relative; min-height: 600px; padding: 0 0 20px; }

/* Claude window */
.cl {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 620px;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--cl-line);
  border-radius: 14px;
  background: var(--cl-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(60, 40, 30, 0.12);
  color: var(--cl-ink);
  text-align: left;
}
.cl__bar {
  display: flex;
  flex: none;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--cl-line);
  font-size: 13px;
}
.cl__dots { display: flex; gap: 6px; }
.cl__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e0d6; }
.cl__title { display: flex; align-items: center; gap: 4px; margin: 0 auto; color: #3d3d3a; font-weight: 500; }
.cl__title svg, .cl__model svg { width: 12px; height: 12px; color: var(--cl-muted); }
.cl__share { padding: 4px 10px; border: 1px solid var(--cl-line); border-radius: 8px; color: #3d3d3a; font-size: 12px; }

.cl__thread {
  flex: 1;
  overflow: hidden;
  padding: 22px 34px 8px;
  scroll-behavior: smooth;
}
.cl__thread > * { animation: cl-in .35s ease both; }
@keyframes cl-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cl-user {
  max-width: 82%;
  margin: 0 0 18px auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--cl-bubble);
  font-size: 14px;
  line-height: 21px;
  overflow-wrap: anywhere;
}
.cl-user a, .cl-link { color: #2a6bb8; text-decoration: underline; text-underline-offset: 2px; }
.cl-ai {
  margin: 0 0 18px;
  font-family: var(--cl-serif);
  font-size: 15px;
  line-height: 24px;
}
.cl-ai p { margin: 0 0 10px; }
.cl-ai b { font-weight: 600; }
.cl-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 1px;
  padding: 1px 8px 1px 5px;
  border: 1px solid var(--cl-line);
  border-radius: 7px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: 1px;
  white-space: nowrap;
}
.cl-chip img { width: 14px; height: 14px; }
.cl-chip--in { animation: chip-pop .3s ease both; }
@keyframes chip-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

/* Tool calls */
.cl-tools {
  margin: 4px 0 14px;
  overflow: hidden;
  border: 1px solid var(--cl-line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-sans);
}
.cl-tools__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--cl-line);
  color: #3d3d3a;
  font-size: 12.5px;
  font-weight: 500;
}
.cl-tools__head img { width: 15px; height: 15px; }
.cl-tools__head span { margin-left: auto; color: var(--cl-muted); font-weight: 400; }
.cl-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--cl-muted);
  font-size: 12.5px;
  line-height: 18px;
  animation: cl-in .3s ease both;
}
.cl-tool + .cl-tool { border-top: 1px solid #f2f0ea; }
.cl-tool__icon { position: relative; flex: none; width: 14px; height: 14px; }
.cl-tool__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.6px solid #d6d3c8;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.cl-tool.is-done .cl-tool__icon::before { border: 0; animation: none; background: #e7f2ea; }
.cl-tool.is-done .cl-tool__icon::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #2f7d4f;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}
.cl-tool__name { color: #3d3d3a; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; }
.cl-tool__result { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tool:not(.is-done) .cl-tool__result { color: transparent; background: linear-gradient(90deg, #b9b6ab 0%, #e2dfd5 40%, #b9b6ab 80%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 1.4s linear infinite; }
.cl-tool__chev { width: 10px; height: 10px; margin-left: auto; color: #b5b2a7; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }

.cl-progress { flex: none; width: 60px; height: 4px; overflow: hidden; border-radius: 2px; background: #efede6; }
.cl-progress i { display: block; width: 0; height: 100%; background: var(--primary); transition: width .25s linear; }

.cl-spark { display: block; width: 22px; height: 22px; color: var(--primary); }
.cl-working { display: flex; align-items: center; gap: 8px; margin: 2px 0 16px; color: var(--cl-muted); font-family: var(--font-sans); font-size: 13px; }
.cl-working .cl-spark { animation: spark 2.4s ease-in-out infinite; }
.cl-working span { color: transparent; background: linear-gradient(90deg, #8f8c82 0%, #d9d6cb 45%, #8f8c82 90%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 1.6s linear infinite; }
@keyframes spark { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(90deg) scale(.82); } 100% { transform: rotate(180deg) scale(1); } }
.cl-end { margin: -6px 0 18px; }

/* Composer */
.cl__composer-wrap { position: relative; flex: none; padding: 6px 22px 18px; }
.cl__composer {
  padding: 12px 12px 10px 16px;
  border: 1px solid #e1ded3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
  transition: border-color .2s, box-shadow .2s;
}
.cl__composer.is-focus { border-color: #d0ccbf; box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06); }
.cl__input {
  min-height: 24px;
  max-height: 72px;
  overflow: hidden;
  color: var(--cl-ink);
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}
.cl__ph { color: #9a978d; }
.cl__caret { display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; background: var(--cl-ink); vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.cl__paste { background: #e5eefb; border-radius: 3px; transition: background .6s; }
.cl__paste.is-done { background: transparent; }
.cl__tools { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.cl__btn { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--cl-line); border-radius: 9px; color: #5e5d59; }
.cl__btn svg { width: 15px; height: 15px; }
.cl__model { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 6px; color: var(--cl-muted); font-size: 13px; }
.cl__send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: #fff; opacity: .45; transition: opacity .2s, transform .15s; }
.cl__send svg { width: 15px; height: 15px; }
.cl__send.is-ready { opacity: 1; }
.cl__send.is-press { transform: scale(.88); }

/* Connector picker */
.cl__pop {
  position: absolute;
  bottom: calc(100% - 4px);
  left: 22px;
  z-index: 3;
  width: 290px;
  padding: 6px;
  border: 1px solid var(--cl-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.cl__pop.is-open { opacity: 1; transform: none; }
.cl__pop-head { padding: 6px 8px 4px; color: var(--cl-muted); font-size: 11.5px; font-weight: 500; }
.cl__pop-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; transition: background .15s; }
.cl__pop-item.is-hl { background: var(--cl-bubble); }
.cl__pop-item.is-picked { background: #e9e5d9; }
.cl__pop-item img, .cl__gicon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; font-size: 12px; }
.cl__pop-item img { padding: 4px; border: 1px solid var(--cl-line); background: #fff; }
.cl__pop-text { display: flex; flex-direction: column; line-height: 16px; }
.cl__pop-text b { color: var(--cl-ink); font-weight: 500; }
.cl__pop-text small { color: var(--cl-muted); font-size: 11.5px; }
.cl__toggle { position: relative; width: 26px; height: 15px; margin-left: auto; border-radius: 8px; background: #dcd9ce; }
.cl__toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cl__toggle.is-on { background: #2c84db; }
.cl__toggle.is-on::after { transform: translateX(11px); }

/* Floating cards around the chat */
.fcard {
  position: absolute;
  z-index: 3;
  width: 270px;
  overflow: hidden;
  border: 1px solid #ebe8e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 44px rgba(60, 40, 30, 0.10);
  text-align: left;
  animation: float 7s ease-in-out infinite;
}
.fcard--drive { top: 70px; left: 0; }
.fcard--ads { top: 250px; right: 0; width: 260px; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fcard__bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-bottom: 1px solid #f0eee9; color: #8a8a8a; font-size: 11px; }
.fcard__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ece9e3; }
.fcard__bar span { margin-left: 6px; }
.fcard__body { padding: 12px 12px 10px; }
.fcard__head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--text); font-size: 13px; font-weight: 600; }
.fcard__folder { width: 16px; height: 13px; }
.fcard__meta { margin-left: auto; color: #9a9a9a; font-size: 11px; font-weight: 400; }

.files { margin: 0; padding: 0; list-style: none; }
.files__row { display: flex; align-items: center; gap: 8px; height: 27px; font-size: 11.5px; color: #555; }
.files__thumb { flex: none; width: 18px; height: 18px; border-radius: 4px; }
.files__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files__state { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 54px; margin-left: auto; }
.files__bar { display: block; width: 46px; height: 4px; overflow: hidden; border-radius: 2px; background: #f0eee9; opacity: 0; transition: opacity .2s; }
.files__bar b { display: block; width: 0; height: 100%; background: var(--primary); transition: width 1s ease; }
.files__ok { position: absolute; right: 0; color: #2f7d4f; font-size: 11px; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.files__row.is-up .files__bar { opacity: 1; }
.files__row.is-up .files__bar b { width: 100%; }
.files__row.is-done .files__bar { opacity: 0; }
.files__row.is-done .files__ok { opacity: 1; transform: none; }

.adrows { display: flex; flex-direction: column; gap: 4px; min-height: 60px; max-height: 210px; overflow: hidden; }
.adrow { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 6px; background: #faf9f7; font-size: 11.5px; color: #555; animation: cl-in .3s ease both; }
.adrow__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adrow__ads { margin-left: auto; color: #9a9a9a; font-size: 10.5px; }
.adrow__pill { flex: none; min-width: 52px; padding: 1px 7px; border-radius: 10px; background: #fcebe4; color: #b4492a; font-size: 10.5px; text-align: center; transition: background .3s, color .3s; }
.adrow--template .adrow__pill { margin-left: auto; background: #f0eee9; color: #8a8a8a; }
.adrow__pill.is-paused { background: #eceae5; color: #666; }

/* ==========================================================================
   How it works: three animated cards (CSS-only loops, play when on screen)
   ========================================================================== */
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1100px; margin: 40px auto 110px; text-align: left; }
.scard { display: flex; flex-direction: column; overflow: hidden; padding: 28px 28px 0; border-radius: 16px; background: #f3f0ec; }
.scard__title { margin: 0 0 10px; color: var(--text); font-size: 20px; font-weight: 500; line-height: 26px; }
.scard__text { margin: 0 0 24px; color: var(--text-sub); font-size: 14px; line-height: 22px; }
.scard__panel { position: relative; height: 220px; margin-top: auto; overflow: hidden; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 -1px 0 #ece8e2, 0 10px 30px rgba(60, 40, 30, 0.06); font-size: 12px; }
.scard:not(.is-playing) .scard__panel * { animation-play-state: paused !important; }

/* Card 1: terminal + connections (10s loop) */
.scard__panel--connect { padding: 14px; container-type: inline-size; }
.term { padding: 10px 12px; border-radius: 8px; background: #333; color: #f4f2f0; font-family: var(--font-mono); font-size: 10.5px; line-height: 17px; }
/* the longest line is 48 characters (24em in Inconsolata): shrink to fit narrow cards */
@supports (width: 1cqw) { .term { font-size: min(10.5px, calc((100cqw - 26px) / 24.6)); } }
.term__line { overflow: hidden; white-space: nowrap; }
.term__line--1 { width: 34ch; animation: type1 10s steps(34) infinite both; }
.term__line--2 { width: 48ch; animation: type2 10s steps(48) infinite both; }
.term__ps { color: #9a9a9a; }
.term__ok { color: #7fd09a; animation: fade-a 10s ease infinite both; }
.conn { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px 10px; border: 1px solid #f0ede8; border-radius: 9px; color: var(--text); font-size: 12.5px; }
.conn__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #fcebe4; color: #b4492a; font-size: 12px; font-weight: 700; }
.conn__state { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #2f7d4f; font-size: 11.5px; }
.conn__state i { width: 7px; height: 7px; border-radius: 50%; background: #3fb36b; box-shadow: 0 0 0 3px rgba(63, 179, 107, 0.15); }
.conn--fb .conn__state { animation: fade-b 10s ease infinite both; }
.conn--drive .conn__state { animation: fade-c 10s ease infinite both; }
@keyframes type1 { 0% { width: 0; } 28% { width: 34ch; } 100% { width: 34ch; } }
@keyframes type2 { 0%, 30% { width: 0; } 55% { width: 48ch; } 100% { width: 48ch; } }
@keyframes fade-a { 0%, 58% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes fade-b { 0%, 68% { opacity: 0; transform: translateX(6px); } 72%, 100% { opacity: 1; transform: none; } }
@keyframes fade-c { 0%, 78% { opacity: 0; transform: translateX(6px); } 82%, 100% { opacity: 1; transform: none; } }

/* Card 2: files pair into ads (8s loop) */
.scard__panel--pair { padding: 0; }
.pair__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pair__lines path { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 8s ease infinite both; vector-effect: non-scaling-stroke; }
.pair__lines path:nth-child(2) { animation-delay: .15s; }
.pair__lines path:nth-child(3) { animation-delay: .3s; }
.pair__lines path:nth-child(4) { animation-delay: .45s; }
.pair__file { position: absolute; left: 6%; width: 36%; padding: 6px 8px; overflow: hidden; border: 1px solid #ece8e2; border-radius: 7px; background: #faf9f7; color: #555; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; animation: pop-in 8s ease infinite both; }
.pair__file:nth-of-type(2) { animation-delay: .12s; }
.pair__file:nth-of-type(3) { animation-delay: .24s; }
.pair__file:nth-of-type(4) { animation-delay: .36s; }
.pair__ad { position: absolute; right: 6%; width: 30%; padding: 8px 10px; border-radius: 9px; background: #fcebe4; color: #b4492a; line-height: 15px; animation: pop-ad 8s ease infinite both; }
.pair__ad b { display: block; font-size: 12.5px; }
.pair__ad small { font-size: 10px; opacity: .8; }
.pair__ad:last-child { animation-delay: .3s; }
@keyframes pop-in { 0% { opacity: 0; transform: translateX(-8px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes draw { 0%, 15% { stroke-dashoffset: 1; } 45%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pop-ad { 0%, 45% { opacity: 0; transform: scale(.85); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Card 3: preview, "yes", created paused (9s loop) */
.scard__panel--review { padding: 14px; }
.rev__head { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--text); font-size: 12.5px; font-weight: 600; }
.rev__head span { color: #9a9a9a; font-weight: 400; }
.rev__row { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-bottom: 4px; padding: 0 9px; border-radius: 7px; background: #faf9f7; color: #555; font-size: 11.5px; animation: row-in 9s ease infinite both; }
.rev__row:nth-of-type(3) { animation-delay: .15s; }
.rev__row:nth-of-type(4) { animation-delay: .3s; }
.rev__pill { position: relative; display: grid; min-width: 52px; font-size: 10.5px; text-align: center; }
.rev__pill i, .rev__pill b { grid-area: 1 / 1; padding: 1px 7px; border-radius: 10px; font-style: normal; font-weight: 400; }
.rev__pill i { background: #f0eee9; color: #8a8a8a; animation: pill-out 9s ease infinite both; }
.rev__pill b { background: #eceae5; color: #555; animation: pill-in 9s ease infinite both; }
.rev__yes { width: max-content; margin: 8px 0 8px auto; padding: 4px 12px; border-radius: 12px; background: #f0eee6; color: #141413; font-size: 12px; animation: yes-in 9s ease infinite both; }
.rev__total { display: flex; justify-content: space-between; color: #777; font-size: 11.5px; animation: fade-total 9s ease infinite both; }
.rev__check { color: #2f7d4f; font-weight: 600; }
@keyframes row-in { 0% { opacity: 0; transform: translateY(6px); } 8%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes yes-in { 0%, 34% { opacity: 0; transform: scale(.8); } 40%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pill-out { 0%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes pill-in { 0%, 50% { opacity: 0; transform: scale(.8); } 56%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fade-total { 0%, 60% { opacity: 0; } 66%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* Responsive + reduced motion */
/* Side cards may only overlap the chat window's empty margin, never its text */
@media screen and (max-width: 1199px) {
  .fcard, .fcard--ads { width: 230px; }
}
@media screen and (max-width: 1139px) {
  .fcard { display: none; }
  .stage__inner { min-height: 0; }
}
@media screen and (max-width: 991px) {
  .scards { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media screen and (max-width: 767px) {
  .cl { height: 540px; border-radius: 12px; }
  .cl__thread { padding: 16px 16px 6px; }
  .cl__composer-wrap { padding: 4px 12px 12px; }
  .cl__pop { left: 12px; width: calc(100% - 24px); }
  .cl__share { display: none; }
  .cl-ai { font-size: 14px; line-height: 22px; }
  .cl-user { max-width: 90%; font-size: 13px; line-height: 20px; }
  .cl__model { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard, .cl__thread > *, .cl-tool, .adrow { animation: none; }
  .scard__panel *, .scard__panel *::before { animation: none !important; }
}
