/* AgentTelemetry Pro landing additions.
   Composed after the inherited site styles (styles.css, glass.css, motion.css), so it
   reuses their tokens, glass surfaces and reveal hooks ([data-reveal] -> .is-visible,
   html.motion-ready, html.motion-reduced) instead of adding a parallel mechanism.
   Nothing here loads a remote font, image or script. */

/* Navigation: the Pro entry is a quiet mint link, never a second install button. */
.site-nav .nav-pro { color: var(--mint-bright); font-weight: 600; }
.site-nav .nav-pro:hover { color: #fff; }
/* Log in reads as an account action: a quiet outlined button next to Install, never a second primary. */
.site-nav .nav-login { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgb(226 233 226 / 28%); border-radius: 15px; color: #eef3ee; font-weight: 600; }
.site-nav .nav-login:hover { border-color: rgb(226 233 226 / 55%); background: rgb(226 233 226 / 7%); color: #fff; }
/* Two more links than the inherited bar was drawn for: tighten the desktop bar on tablets
   (the phone menu below 761px is unchanged). */
@media (min-width: 761px) and (max-width: 1120px) {
  .site-nav { gap: clamp(10px, 1.5vw, 18px); font-size: 13px; }
  .site-nav > a { white-space: nowrap; }
  .site-nav .nav-cta { min-height: 40px; padding-inline: 13px; gap: 8px; }
}
@media (min-width: 761px) and (max-width: 940px) {
  .site-nav .nav-github span, .site-nav .nav-cta span { display: none; }
  .site-header .wordmark > span { display: none; }
}

/* "No account, no login." under the hero actions: one quiet line in the hero-meta scale, so the
   hero keeps the inherited composition (it still fits a laptop's first screen). */
.pro-free-note {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgb(182 239 211 / 20%);
  border-radius: 999px;
  background: rgb(182 239 211 / 6%);
}
.pro-free-mark {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgb(182 239 211 / 18%);
  color: var(--mint-bright);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.pro-free-text { margin: 0; color: #b9cbc0; font-size: 12px; letter-spacing: .015em; line-height: 1.5; }
.pro-free-text strong { color: #eef7f0; font-weight: 650; }
.pro-free-text a { color: var(--mint-bright); text-decoration: underline; text-decoration-color: rgb(203 246 223 / 45%); text-underline-offset: 3px; }
.pro-free-text a:hover { color: #fff; }

/* Section frame (heading reuses .section-intro and .section-intro-grid). */
.pro-section { padding-top: 153px; }
.pro-compare {
  --pro-w-feature: 46%;
  --pro-w-free: 24%;
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  border-radius: 23px;
}
/* A soft light behind the Pro column, and a tinted, lit-edged lane for it (the lane
   belongs to the table's scroll box so it stops where the table does). */
.pro-compare::before {
  position: absolute;
  z-index: 0;
  top: -16%;
  right: -6%;
  width: 40%;
  height: 128%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 38%, rgb(125 224 178 / 24%), rgb(92 171 190 / 11%) 46%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}
.pro-table-scroll::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(var(--pro-w-feature) + var(--pro-w-free));
  content: "";
  border-left: 1px solid rgb(182 239 211 / 26%);
  background: linear-gradient(180deg, rgb(182 239 211 / 9%), rgb(182 239 211 / 3%) 55%, rgb(182 239 211 / 6%));
  pointer-events: none;
}
.pro-table-scroll { position: relative; z-index: 1; overflow-x: auto; }
.pro-table-scroll:focus-visible { outline-offset: -4px; border-radius: 20px; }

.pro-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: left; }
.pro-col-feature { width: var(--pro-w-feature); }
.pro-col-free { width: var(--pro-w-free); }
.pro-col-pro { width: calc(100% - var(--pro-w-feature) - var(--pro-w-free)); }
.pro-table caption { padding: 24px 30px 4px; color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.5; text-align: left; text-transform: uppercase; }

.pro-table thead th { position: relative; overflow: hidden; padding: 16px 20px 18px; border-bottom: 1px solid rgb(225 243 233 / 13%); vertical-align: bottom; font-weight: 400; }
.pro-table thead th:first-child { padding-left: 30px; color: #a9bbb0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: bottom; }
.pro-plan-name { display: block; color: #edf5ee; font-size: 21px; font-weight: 540; letter-spacing: -.035em; line-height: 1.2; }
.pro-plan-sub { display: block; margin-top: 4px; color: #b6c8bc; font-size: 12px; line-height: 1.4; }
.pro-th-pro .pro-plan-name { color: var(--mint-bright); font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.04em; }
.pro-th-pro::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  content: "";
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 20%), transparent);
  pointer-events: none;
  transform: translateX(-150%) skewX(-20deg);
}

.pro-table tbody th[scope="rowgroup"] { padding: 26px 30px 10px; color: #a1b6a9; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-align: left; text-transform: uppercase; }
.pro-table tbody tr:first-child th[scope="rowgroup"] { padding-top: 22px; }
.pro-table tbody tr:not(.pro-group) > * { padding: 16px 20px; border-top: 1px solid rgb(225 243 233 / 8%); vertical-align: top; transition: background-color .25s ease; }
.pro-table tbody tr:not(.pro-group) > th { padding-left: 30px; font-weight: 400; text-align: left; }
.pro-table tr > :last-child { padding-right: 24px; }
.pro-feature-name { display: block; color: #e8f0e9; font-size: 14px; font-weight: 600; letter-spacing: -.012em; line-height: 1.45; }
.pro-feature-detail { display: block; max-width: 520px; margin-top: 4px; color: #b0bfb5; font-size: 12.5px; line-height: 1.65; }

.pro-yes { display: inline-flex; align-items: center; gap: 8px; color: #e8f5ec; font-size: 13px; font-weight: 600; line-height: 1.3; }
.pro-mark { display: inline-grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border: 1px solid rgb(182 239 211 / 42%); border-radius: 50%; background: rgb(182 239 211 / 14%); color: var(--mint-bright); font-size: 11px; font-weight: 700; line-height: 1; }
.pro-no { color: #94a89d; font-size: 18px; line-height: 1.2; }
.pro-text { display: block; color: #cbd9d0; font-size: 12.5px; line-height: 1.55; }
.pro-cell-pro .pro-text { color: #dcebe1; }

@media (hover: hover) {
  .pro-table tbody tr:not(.pro-group):hover > * { background-color: rgb(182 239 211 / 5%); }
}

/* Small print directly under the table. */
.pro-limits { position: relative; z-index: 1; padding: 18px 30px 24px; border-top: 1px solid rgb(225 243 233 / 10%); background: rgb(3 14 12 / 18%); }
.pro-limits-title { margin: 0 0 8px; color: #a9bcaf; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.pro-limits ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.pro-limits li { position: relative; padding-left: 16px; color: #b7c6bc; font-size: 12.5px; line-height: 1.65; }
.pro-limits li::before { position: absolute; top: .78em; left: 0; width: 6px; height: 1px; content: ""; background: var(--mint); }

.pro-privacy { margin-top: 22px; }

/* How to get Pro. */
.pro-get {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 28px 56px;
  margin-top: 22px;
  padding: 44px 46px 34px;
  border-radius: 23px;
}
.pro-get::before {
  position: absolute;
  top: -50%;
  left: -8%;
  width: 520px;
  height: 480px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgb(90 152 123 / 20%), rgb(102 127 159 / 9%) 42%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}
.pro-get > * { position: relative; }
.pro-get .eyebrow { margin-bottom: 16px; }
.pro-get h3 { margin: 0 0 24px; font-size: clamp(34px, 3.6vw, 44px); font-weight: 460; letter-spacing: -.045em; line-height: 1.05; }
.pro-mail { width: fit-content; max-width: 100%; height: auto; min-height: 56px; justify-content: space-between; gap: 16px; padding: 12px 20px; text-align: left; line-height: 1.35; overflow-wrap: anywhere; }
.pro-steps { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pro-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 15px 0; border-top: 1px solid rgb(226 242 231 / 11%); }
.pro-step-num { padding-top: 3px; color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.pro-steps p { margin: 0; color: #bccbc1; font-size: 14px; line-height: 1.7; }
.pro-steps b { color: #eaf2ea; font-weight: 600; }
.pro-steps a, .pro-get-free a { color: #c8f0d7; text-decoration: underline; text-decoration-color: rgb(192 232 206 / 40%); text-underline-offset: 3px; }
.pro-steps a:hover, .pro-get-free a:hover { color: #fff; }
.pro-get-free { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgb(226 242 231 / 11%); color: #b6c6bb; font-size: 13px; line-height: 1.7; }
.pro-get-free b { color: #dce9df; font-weight: 600; }

/* Buy-me-a-coffee: deliberately small and quiet, so it never competes with the install or Pro actions. */
.support-section { margin-top: -56px; padding-top: 0; padding-bottom: 104px; }
.support-card {
  display: flex;
  max-width: 740px;
  align-items: center;
  gap: 18px;
  margin-inline: auto;
  padding: 18px 24px 18px 20px;
  border-radius: 20px;
}
.support-cup {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(211 245 225 / 22%);
  border-radius: 14px;
  background: rgb(211 245 225 / 7%);
  color: #cfe8d8;
}
.support-cup svg { width: 25px; height: 25px; }
.support-copy { min-width: 0; }
.support-copy h2 { margin: 0; color: #eaf2ea; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.support-copy p { margin: 3px 0 0; color: #bccbc1; font-size: 13px; line-height: 1.7; }
.support-copy a { color: #c8f0d7; text-decoration: underline; text-decoration-color: rgb(192 232 206 / 40%); text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-copy a:hover { color: #fff; }

/* Motion. These rules reuse the site's own gates: nothing runs without html.motion-ready,
   and motion.css already switches animation off for reduced motion. */
html.motion-ready .hero-copy.is-visible > .pro-free-note { animation: copy-arrive .9s cubic-bezier(.22,1,.36,1) backwards; animation-delay: 560ms; }
html.motion-ready .pro-compare::before { animation: pro-aurora 12s ease-in-out infinite alternate; animation-play-state: paused; }
html.motion-ready .pro-compare.is-visible::before { animation-play-state: running; }
html.motion-ready .pro-compare.is-visible .pro-th-pro::after { animation: download-sheen 1.35s .55s cubic-bezier(.22,.61,.36,1) both; }
html.motion-ready .pro-compare.is-visible .pro-table tbody tr {
  animation: pro-row-in .8s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--pro-row, 0) * 42ms + 160ms);
}
html.motion-ready .pro-compare.is-visible .pro-mark { animation: pro-mark-in .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--pro-row, 0) * 42ms + 280ms); }
html.motion-ready .pro-get.is-visible .pro-steps li { animation: pro-row-in .8s cubic-bezier(.22,1,.36,1) both; }
html.motion-ready .pro-get.is-visible .pro-steps li:nth-child(2) { animation-delay: 120ms; }
html.motion-ready .pro-get::before { animation: pro-aurora 14s ease-in-out infinite alternate; animation-play-state: paused; }
html.motion-ready .pro-get.is-visible::before { animation-play-state: running; }
html.motion-ready .support-card.is-visible .support-steam { animation: pro-steam 3.4s ease-in-out infinite; }
html.motion-ready .support-card.is-visible .support-steam-b { animation-delay: .5s; }
html.motion-ready .support-card.is-visible .support-steam-c { animation-delay: 1s; }

.pro-table tbody:nth-of-type(1) { --pro-base: 0; }
.pro-table tbody:nth-of-type(2) { --pro-base: 2; }
.pro-table tbody:nth-of-type(3) { --pro-base: 8; }
.pro-table tbody:nth-of-type(4) { --pro-base: 15; }
.pro-table tbody tr:nth-child(1) { --pro-row: calc(var(--pro-base, 0) + 0); }
.pro-table tbody tr:nth-child(2) { --pro-row: calc(var(--pro-base, 0) + 1); }
.pro-table tbody tr:nth-child(3) { --pro-row: calc(var(--pro-base, 0) + 2); }
.pro-table tbody tr:nth-child(4) { --pro-row: calc(var(--pro-base, 0) + 3); }
.pro-table tbody tr:nth-child(5) { --pro-row: calc(var(--pro-base, 0) + 4); }
.pro-table tbody tr:nth-child(6) { --pro-row: calc(var(--pro-base, 0) + 5); }
.pro-table tbody tr:nth-child(7) { --pro-row: calc(var(--pro-base, 0) + 6); }
.pro-table tbody tr:nth-child(8) { --pro-row: calc(var(--pro-base, 0) + 7); }

@keyframes pro-aurora {
  from { opacity: .72; scale: .95; translate: 0 -3%; }
  to { opacity: 1; scale: 1.07; translate: -7% 4%; }
}
@keyframes pro-row-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes pro-mark-in { from { scale: .55; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes pro-steam {
  0%, 100% { opacity: .25; translate: 0 1px; }
  50% { opacity: 1; translate: 0 -1.5px; }
}

/* Material fallbacks, matching glass.css. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .pro-free-note { background: #10261e; }
  .pro-compare::before, .pro-get::before { display: none; }
  .pro-table-scroll::before { background: rgb(182 239 211 / 10%); }
}

@media (max-width: 1050px) {
  .pro-get { gap: 24px 36px; padding-inline: 34px; }
}

@media (max-width: 760px) {
  .pro-free-note { align-items: flex-start; margin-top: 14px; padding: 7px 12px 7px 8px; border-radius: 14px; }
  .pro-free-mark { margin-top: 1px; }
  .pro-section { padding-top: 96px; }
  .pro-compare { --pro-w-feature: 52%; --pro-w-free: 24%; margin-top: 32px; border-radius: 17px; }
  .pro-compare::before { right: -22%; width: 70%; }
  .pro-table caption { padding: 18px 14px 4px; }
  .pro-table thead th { padding: 12px 8px 14px; }
  .pro-table thead th:first-child { padding-left: 14px; font-size: 10px; }
  .pro-plan-name { font-size: 15px; letter-spacing: -.02em; }
  .pro-th-pro .pro-plan-name { font-size: 19px; }
  .pro-plan-sub { font-size: 11px; }
  .pro-table tbody th[scope="rowgroup"] { padding: 22px 14px 8px; }
  .pro-table tbody tr:not(.pro-group) > * { padding: 13px 8px; }
  .pro-table tbody tr:not(.pro-group) > th { padding-left: 14px; }
  .pro-table tr > :last-child { padding-right: 10px; }
  .pro-feature-name { font-size: 13px; }
  .pro-feature-detail { font-size: 12px; line-height: 1.6; }
  .pro-yes { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; }
  .pro-text { font-size: 12px; }
  .pro-limits { padding: 16px 14px 20px; }
  .pro-limits li { font-size: 12.5px; }
  .pro-privacy { margin-top: 16px; }
  .pro-get { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; padding: 28px 20px 22px; border-radius: 18px; }
  .pro-get h3 { margin-bottom: 20px; font-size: 34px; }
  .pro-mail { width: 100%; }
  .pro-steps p { font-size: 14px; }
  .support-section { margin-top: -36px; padding-bottom: 76px; }
  .support-card { gap: 14px; padding: 16px 16px 16px 14px; border-radius: 17px; }
  .support-cup { width: 42px; height: 42px; border-radius: 12px; }
}

@media (max-width: 390px) {
  .support-card { align-items: flex-start; }
}

/* The inherited hero glow (glass.css .hero::before) is a 720x640 box whose radial gradient is still
   visible at the box's left edge; once the window is wider than about 1500px that edge sits inside the
   page and shows as a dark vertical band down the left side. Same glow, same centre, but in a box big
   enough for the gradient to fade out completely before any edge, so it blends at every window size. */
@media (min-width: 761px) {
  .hero::before {
    top: 300px;
    left: -360px;
    width: 910px;
    height: 780px;
    background: radial-gradient(ellipse 631px 471px at right 446px top 377px,
      rgb(98 203 166 / 26%), rgb(67 136 152 / 12%) 42%, transparent 72%);
  }
}

/* Personal agents (index.html #agents): one block, spaced like every section of the page (152px above on a wide
   screen, 96px on a phone), with the characters' credits under it. */
.agents-section { padding-top: 152px; }
.agents-block { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; margin-top: 26px; padding: 50px 52px; border-radius: 22px; }
.agents-copy h2 { margin: 0 0 16px; font-size: clamp(32px, 3.4vw, 42px); font-weight: 460; letter-spacing: -.045em; line-height: 1.06; }
.agents-copy p { max-width: 470px; margin: 0; color: #b4c1b7; font-size: 14.5px; line-height: 1.75; }
.agents-traits { display: flex; max-width: 520px; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.agents-traits li { padding: 5px 11px; border: 1px solid rgb(226 242 231 / 14%); border-radius: 999px; background: rgb(182 239 211 / 5%); color: #c2ccc5; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.agents-cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; margin: 0; padding: 0; list-style: none; }
.agents-cast li { display: grid; justify-items: center; gap: 10px; }
.agents-cast img { width: 80px; height: 80px; border-radius: 22px; box-shadow: 0 14px 34px rgb(0 0 0 / 38%); }
.agents-cast span { color: var(--mist-dim); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.agents-credit { max-width: 900px; margin: 18px 0 0; color: var(--quiet-deep); font-size: 11.5px; line-height: 1.6; }
@media (max-width: 1000px) {
  .agents-block { grid-template-columns: 1fr; gap: 36px; padding: 40px 36px; }
}
@media (max-width: 760px) {
  .agents-section { padding-top: 96px; }
  .agents-block { padding: 30px 22px; border-radius: 17px; }
  .agents-cast { gap: 20px 10px; }
  .agents-cast img { width: 64px; height: 64px; border-radius: 18px; }
}
