/* The theme agent for Ghost (docs/DESIGN.md §21), over the landing sheet:
   its tokens, type, sections, tiles, ink stage and close are
   saas/landing.css's; what is here is this page's own — its bar and its
   dark hero, the real app captures in browser frames, the quote, the
   wall of live sites, the steps, the comparison, the plans and the
   questions. */

/* — Its own bar: the product's name, the page's sections, the app ———— */
.ta-nav {
  max-width: 64rem;
}

.ta-nav-tag {
  margin-left: 0.15rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--lp-violet-soft);
  color: var(--lp-violet);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Under .saas-nav-links, or the bar's link colour (.saas-nav-links a)
   outweighs it and greys the words on the ink (2026-10-12). */
.saas-nav-links .ta-nav-cta {
  margin-left: 0.25rem;
  padding: 0.55em 1.1em;
  background: var(--color-ink);
  box-shadow: none;
  color: var(--color-on-ink);
  font-weight: 600;
}

@media (hover: hover) {
  .saas-nav-links .ta-nav-cta:hover {
    background: var(--color-ink-2);
    color: var(--color-on-ink);
  }
}

@media (max-width: 47.9375rem) {
  .ta-nav-section {
    display: none;
  }
}

/* — The hero, its own stage: ink, the grid, the spectrum's light; the
   build recording rises out of it onto the page ———————————————— */
.ta-hero {
  margin: -4.5rem clamp(0.5rem, 1.5vw, 1.25rem) 0;
  padding-top: clamp(8rem, 6rem + 6vw, 11rem);
  border-radius: 0 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  background: var(--color-ink);
  color: var(--color-on-ink);
  overflow: hidden;
}

.ta-hero::before {
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(234, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234, 240, 255, 0.06) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 75%);
}

.ta-hero::after {
  top: 18%;
  background:
    radial-gradient(closest-side at 28% 50%, rgba(46, 107, 245, 0.45), transparent 70%),
    radial-gradient(closest-side at 72% 45%, rgba(124, 58, 237, 0.45), transparent 70%);
}

.ta-hero .lp-index {
  color: #a9c1fb;
}

.ta-hero .lp-display em {
  background: linear-gradient(100deg, #8fb0ff 0%, #b79cff 60%, #e3a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ta-hero .lp-lede {
  color: var(--color-on-ink-muted);
}

.ta-hero .lp-fine {
  color: rgba(183, 192, 214, 0.75);
}

.ta-hero .saas-button-primary {
  background: #fff;
  color: var(--color-ink);
}

.ta-hero .saas-button:not(.saas-button-primary) {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ta-hero .ta-caption {
  color: rgba(183, 192, 214, 0.75);
}

.ta-hero .ta-hero-media {
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

.ta-hero .ta-frame {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 120px -40px rgba(0, 0, 0, 0.7);
}

.ta-eyebrow {
  margin-bottom: 1.5rem;
}

.ta-display {
  font-size: clamp(2.8rem, 1rem + 6vw, 6.75rem);
}

.ta-head-center {
  margin-inline: auto;
  text-align: center;
}

.ta-head-center p {
  margin-inline: auto;
}

/* — A real capture in a browser's frame —————————————————————— */
.ta-frame {
  position: relative;
  border-radius: 18px;
  background: var(--color-paper);
  box-shadow: var(--lp-shadow), 0 60px 120px -50px rgba(91, 76, 240, 0.35);
  overflow: hidden;
}

.ta-frame-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper-2);
}

.ta-frame-bar i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-line-strong);
}

.ta-frame-bar span {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-muted);
  transform: translate(-50%, -50%);
}

.ta-frame video,
.ta-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* The loops stand still for reduced motion: the recording gives way to
   its first frame, with no script to pause it. */
.ta-frame .ta-still {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ta-frame .ta-loop {
    display: none;
  }

  .ta-frame .ta-still {
    display: block;
  }
}

.ta-hero-media {
  max-width: 72rem;
  margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0;
  padding: 0 1.5rem;
  animation: lp-rise 1.1s 0.35s var(--ease-out) both;
}

.ta-caption {
  max-width: 36rem;
  margin: 1.1rem auto 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

/* — The quote: a customer's own words, and nothing added ——————————— */
.ta-quote-band {
  padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0 clamp(4.5rem, 3rem + 5vw, 8rem);
}

.ta-quote {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.ta-quote::before {
  content: "\201C";
  display: block;
  height: 2.6rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  background: var(--lp-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ta-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  text-wrap: pretty;
}

.ta-quote figcaption {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

.ta-quote figcaption a {
  color: var(--color-accent-strong);
}

/* — The wall of live sites —————————————————————————————————— */
.ta-masonry {
  column-count: 3;
  column-gap: 1.25rem;
}

.ta-tile {
  margin: 0 0 1.25rem;
  border-radius: 18px;
  background: var(--color-paper);
  box-shadow: var(--lp-shadow-soft);
  overflow: hidden;
  break-inside: avoid;
}

.ta-tile img {
  display: block;
  width: 100%;
  height: auto;
}

/* — The problem: one statement ——————————————————————————————— */
.ta-problem .lp-head {
  max-width: 50rem;
  margin-bottom: 0;
}

/* — How it works: the steps, alternating ———————————————————— */
.ta-step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.ta-step + .ta-step {
  margin-top: clamp(4rem, 3rem + 4vw, 6.5rem);
}

.ta-step-flip .ta-step-words {
  order: 2;
}

.ta-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--lp-violet);
}

.ta-step h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.ta-step p {
  max-width: 28rem;
  margin-top: 0.85rem;
  font-size: 1.05rem;
  color: var(--color-body);
}

/* — Two more screens ———————————————————————————————————————— */
.ta-duo-band {
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

.ta-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ta-duo-card {
  margin: 0;
  border-radius: var(--lp-radius);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-line-strong);
  overflow: hidden;
}

.ta-duo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--color-line);
}

.ta-duo-card figcaption {
  padding: 1.5rem 1.75rem 1.75rem;
}

.ta-duo-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.ta-duo-card p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-body);
}

/* — The demo: YouTube's player in a frame, loaded when pressed ———— */
.ta-video {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #050a1c;
  box-shadow: 0 0 0 1px rgba(234, 240, 255, 0.12), 0 50px 100px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.ta-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* — Grow ——————————————————————————————————————————————— */
.ta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-points h3::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--lp-spectrum);
}

/* — The comparison —————————————————————————————————————————— */
.ta-compare-scroll {
  max-width: 62rem;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--lp-radius);
  box-shadow: 0 0 0 1px var(--color-line-strong);
}

.ta-compare {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  background: var(--color-paper);
  font-size: 0.95rem;
}

.ta-compare th,
.ta-compare td {
  padding: 1.05rem 1.25rem;
  border-top: 1px solid var(--color-line);
  text-align: left;
  color: var(--color-body);
}

.ta-compare thead th {
  border-top: 0;
  background: var(--color-paper-2);
  font-weight: 600;
  color: var(--color-ink);
}

.ta-compare tbody th {
  font-weight: 600;
  color: var(--color-ink);
}

.ta-compare .ta-us {
  background: var(--lp-violet-soft);
  font-weight: 600;
  color: var(--color-accent-strong);
}

.ta-compare thead .ta-us {
  background: var(--lp-violet-soft);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

/* — The plans ————————————————————————————————————————————— */
.ta-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ta-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--lp-radius);
  background: var(--color-paper);
  box-shadow: 0 0 0 1px var(--color-line-strong);
}

.ta-plan-lead {
  box-shadow: 0 0 0 2px var(--lp-violet), 0 40px 80px -40px rgba(124, 58, 237, 0.45);
}

.ta-plan-flag {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--lp-spectrum);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.ta-plan h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ta-plan-blurb {
  min-height: 3rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--color-body);
}

.ta-plan-price {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ta-plan-meta {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Full width inside the card: border-box, or the pill's padding carries
   it past the card's edge (2026-10-12). */
.ta-plan-button {
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
}

.ta-plan-meta {
  margin-bottom: 1.75rem;
}

.ta-plan-button-lead {
  background: var(--color-ink);
  box-shadow: none;
  color: var(--color-on-ink);
}

.ta-note {
  max-width: 34rem;
  margin: 2rem auto 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  text-align: center;
}

/* — The questions, and the way to ask one more ———————————————— */
.ta-faq-wrap {
  max-width: 52rem;
}

.ta-faq {
  border-top: 1px solid var(--color-line-strong);
}

.ta-faq details {
  border-bottom: 1px solid var(--color-line-strong);
}

.ta-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.ta-faq summary::-webkit-details-marker {
  display: none;
}

.ta-faq-sign::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--lp-violet);
}

.ta-faq details[open] .ta-faq-sign::after {
  content: "\2013";
}

.ta-faq details p {
  max-width: 44rem;
  padding: 0 0.25rem 1.5rem;
  color: var(--color-body);
}

.ta-contact {
  margin-top: clamp(4rem, 3rem + 3vw, 6rem);
  text-align: center;
}

.ta-contact h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ta-contact p {
  margin: 0.6rem auto 1.5rem;
  color: var(--color-body);
}

.ta-trademark {
  flex-basis: 100%;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.ta-trademark a {
  text-decoration: underline;
}

.ta .lp-close .lp-lede {
  margin-top: 1.5rem;
}

/* — Smaller screens ———————————————————————————————————————— */
@media (max-width: 68rem) {
  .ta-masonry {
    column-count: 2;
  }

  .ta-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-step-flip .ta-step-words {
    order: 0;
  }

  .ta-plans,
  .ta-points {
    grid-template-columns: minmax(0, 1fr);
    max-width: 30rem;
    margin-inline: auto;
  }

  .ta-plan + .ta-plan {
    margin-top: 0.5rem;
  }
}

@media (max-width: 47.9375rem) {
  .ta-hero {
    margin-inline: 0;
    padding-top: 7rem;
    border-radius: 0 0 24px 24px;
  }

  .ta-hero-media {
    padding: 0 1rem;
  }

  .ta-frame {
    border-radius: 14px;
  }

  .ta-frame-bar span {
    display: none;
  }

  .ta-masonry {
    column-gap: 0.75rem;
  }

  .ta-tile {
    margin-bottom: 0.75rem;
    border-radius: 12px;
  }

  .ta-duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-video {
    border-radius: 14px;
  }

  .ta-quote::before {
    font-size: 4.5rem;
  }
}
