/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(20px, 3vh, 40px);
  padding-bottom: clamp(24px, 4vh, 40px);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gradient-hero);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-inline: 8px;
}

/* ============================================
   HERO LOGO — full M-circle (gemini-code shape & proportions)
   ============================================
   One SVG with viewBox 0 0 850 400, three stacked copies (red, blue, main)
   for chromatic aberration on the outer edges. The 3 horizontal bars
   have NO rounded corners. White monospace text types inside each bar
   with a tactile key-bounce animation. No pulsing on the circle. */

.hero-logo {
  display: block;
  position: relative;
  width: clamp(220px, 26vw, 300px);
  aspect-ratio: 850 / 400;
  margin: var(--space-2) auto;
  user-select: none;
  container-type: inline-size;
}

.hero-logo-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-logo-svg--main { color: #0E0F12; z-index: 3; }

.hero-logo-svg--red {
  color: #FF2A55;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.6;
  transform: translate(-2px, -1.4px);
  filter: blur(0.4px);
}

.hero-logo-svg--blue {
  color: #2563FF;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.55;
  transform: translate(2px, 1.4px);
  filter: blur(0.4px);
}

/* Circle text overlay — sits on the left 47.06% of the logo (where the
   circle is in the 850-wide viewBox) and shows the impact stats. z-index 4
   puts it above the SVG shapes so the white text is visible. Two-line
   layout: big number on the first line, small uppercase label below. */
.hero-logo-circle-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 47.06%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1cqw;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}

.hero-logo-circle-text .typewriter-number {
  font-size: 10cqw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.hero-logo-circle-text .typewriter-label {
  font-size: 3.4cqw;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
  color: #FFFFFF;
}

/* Text overlay — z-index 4 puts it ABOVE the SVG shapes so the white
   text is visible against the black bars. */
.hero-logo-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.hero-logo-bar {
  position: absolute;
  left: 52.94%;
  width: 47.06%;
  height: 25%;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
  white-space: nowrap;
}

.hero-logo-bar:nth-child(1) { top: 0; }
.hero-logo-bar:nth-child(2) { top: 37.5%; }
.hero-logo-bar:nth-child(3) { top: 75%; }

.typewriter-text {
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  color: #FFFFFF;
  font-size: 4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

/* Tactile "key strike" — each character pops in with scale + rotate + blur */
/* The text sits at too small a radius from the mark's optical center
   for radial falloff to read at all, so a flat tiny fringe (rather than
   the shape's scale-based radial one) is the physically honest choice
   at this size — real CA on fine print looks like a fixed hairline
   fringe, not a gradient. */
.typewriter-char {
  display: inline-block;
  opacity: 0;
  transform-origin: bottom center;
  text-shadow:
    -1.2px 0 rgba(255, 42, 85, 0.9),
    1.2px 0 rgba(37, 99, 255, 0.9);
  animation: keyStrike 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.27) forwards;
}

@keyframes keyStrike {
  0%   { opacity: 0; transform: scale(2.2) translateY(-12px) rotate(-5deg); filter: blur(3px); }
  60%  { opacity: 1; transform: scale(0.9) translateY(2px) rotate(1deg);  filter: blur(0px); }
  100% { opacity: 1; transform: scale(1)   translateY(0)    rotate(0deg);  filter: blur(0px); }
}

/* Fade out the whole line before the next phrase */
.typewriter-text.is-fading .typewriter-char {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0 !important;
  filter: blur(8px);
  transform: translateY(8px) scale(0.9);
}

/* Blinking mechanical cursor */
.typewriter-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--color-brand);
  margin-left: 3px;
  vertical-align: -0.12em;
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
  animation: cursorBlink 0.65s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 720px) {
  .hero-logo { width: clamp(190px, 62vw, 240px); }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-char { opacity: 1; transform: none; animation: none; }
  .typewriter-cursor { animation: none; }
  .typewriter-text.is-fading .typewriter-char { opacity: 1; transform: none; filter: none; }
}

/* ============================================
   HERO COPY
   ============================================ */

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: var(--space-3) 0 var(--space-3);
  color: var(--color-ink);
  max-width: 16ch;
  text-wrap: balance;
}

/* Instrument Serif's x-height reads noticeably smaller than Inter at a
   matched font-size, so every italic accent word was sitting visually
   undersized next to the surrounding sans text. Sizing it up ~10% and
   resetting line-height brings it back to the same optical baseline. */
.hero-title em,
.legal-title em,
#pricing .section-title em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.1em;
  line-height: 1;
  background: linear-gradient(120deg, var(--color-brand) 0%, #C084FC 50%, var(--color-brand) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 6s var(--ease-smooth) infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--color-ink-muted);
  max-width: 560px;
  line-height: 1.55;
  margin: 0 0 var(--space-3);
}


/* ============================================
   HERO VIDEO — 30 s product overview
   ============================================
   The clip already draws its own Mac window on a dark backdrop, so the
   frame is just a rounded dark surface with a soft brand halo. Nothing
   animates on the <video> itself while it plays. */

/* Frame: same edge + shadow as the scrolled top nav, same width as the
   summary preview window below it. */
.hero-video {
  --expand: 1;
  position: relative;
  width: min(820px, calc(100vw - 48px));
  aspect-ratio: 3 / 2;
  margin: clamp(16px, 2.5vw, 28px) 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* Scroll-driven settle (scroll.js tweens --expand 0 → 1). Uses the
   individual `scale` property so it composes with the reveal animation. */
.hero-video.is-expandable {
  scale: calc(0.9 + 0.1 * var(--expand));
  transform-origin: 50% 0;
  will-change: scale;
}

.hero-video-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile: full-bleed, edge to edge. Corners round off only while it is
   still settling, then it sits flush with the screen. */
@media (max-width: 720px) {
  .hero-video {
    width: 100vw;
    border-radius: calc(14px * (1 - var(--expand)));
    border-inline: 0;
  }
  .hero-video.is-expandable { scale: calc(0.88 + 0.12 * var(--expand)); }
}

/* ============================================
   VALUE PROPS
   ============================================ */

.value-props {
  padding: clamp(20px, 3vh, 32px) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.92rem;
  color: var(--color-ink);
  line-height: 1.45;
}

.value-item-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  flex-shrink: 0;
}
.value-item-icon .material-symbols-outlined { font-size: 18px; }

@media (max-width: 720px) {
  .value-list { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============================================
   LOGO MARQUEE — "works with" trust bar
   ============================================ */

.logo-marquee {
  overflow: hidden;
  padding: var(--space-3) 0;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }

.logo-marquee-set {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  padding: 0 clamp(20px, 3vw, 36px);
}

.logo-marquee-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-ink-faint);
  flex-shrink: 0;
}

.logo-marquee-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.logo-marquee-item .material-symbols-outlined { font-size: 22px; }

.logo-marquee-label {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  text-align: center;
  line-height: 1.3;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* On larger screens there's room to just show every icon at once —
   the scrolling motion that works to grab attention on a phone-width
   bar isn't needed on a wide desktop viewport. */
@media (min-width: 900px) {
  .logo-marquee-track { animation: none; width: 100%; justify-content: center; }
  .logo-marquee-set { flex-wrap: wrap; justify-content: center; }
  .logo-marquee-set[aria-hidden="true"] { display: none; }
}

/* ============================================
   WALKTHROUGH (Before / During / After)
   ============================================ */

.walkthrough {
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(32px, 5vh, 56px);
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.walkthrough-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--dur-base) var(--ease-out-expo),
              border-color var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-out-expo);
}

.walkthrough-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.walkthrough-card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.walkthrough-card-num::after { content: ""; flex: 0 0 24px; height: 1px; background: var(--color-border); }

.walkthrough-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  margin: 0;
}
.walkthrough-card p { font-size: 0.9rem; color: var(--color-ink-muted); line-height: 1.5; }

@media (max-width: 800px) { .walkthrough-grid { grid-template-columns: 1fr; } }

/* ============================================
   FEATURES (6 simple cards)
   ============================================ */

.features {
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(32px, 5vh, 56px);
  background: var(--color-bg-elevated);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--dur-base) var(--ease-out-expo),
              border-color var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  flex-shrink: 0;
}
.feature-icon .material-symbols-outlined { font-size: 20px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  margin: 0;
}
.feature-card p { font-size: 0.88rem; color: var(--color-ink-muted); line-height: 1.5; }

@media (max-width: 1000px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .features-grid { grid-template-columns: 1fr; } }

/* ============================================
   PRICING
   ============================================ */

.pricing {
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(32px, 5vh, 56px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out-expo),
              border-color var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-out-expo);
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.price-card-popular {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 1px var(--color-brand);
}

.price-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-brand);
  color: var(--color-brand-ink);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.price-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  margin: 0 0 4px 0;
}

.price-tagline { font-size: 0.8rem; color: var(--color-ink-muted); margin: 0 0 var(--space-3); }

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 2px;
}

/* Mono, not the display serif: a price is a number people compare at a
   glance, and italic serif digits don't actually sit on shared tabular
   widths — .tabular was doing nothing against this font. JetBrains Mono
   gives real tabular figures and reads more confident next to a price. */
.price-currency {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-ink-muted);
  align-self: flex-start;
  margin-top: 4px;
}

.price-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.price-period { font-size: 0.75rem; color: var(--color-ink-muted); margin: 4px 0 var(--space-4); }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.price-features li {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.price-features li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li strong { font-weight: 600; color: var(--color-ink); }

@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(32px, 5vh, 56px);
  background: var(--color-bg-elevated);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.faq-item:hover { border-color: var(--color-border-strong); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 50px 14px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--color-ink);
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-ink-muted);
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-base) var(--ease-smooth);
}

.faq-item[open] { border-color: var(--color-brand); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--color-brand); }

.faq-item-body {
  padding: 0 20px 16px;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  animation: faq-open 320ms var(--ease-out-expo);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--color-border);
  padding: clamp(32px, 5vh, 48px) 0 var(--space-5);
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
  color: var(--color-brand);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  line-height: 1.5;
  margin: 0 0 var(--space-3);
  max-width: 280px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}
.footer-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.15);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a { font-size: 0.85rem; color: var(--color-ink-soft); }
.footer-col a:hover { color: var(--color-ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   CHANGELOG PAGE
   ============================================ */

.changelog-page { padding-top: var(--space-7); padding-bottom: var(--space-9); }
.changelog-header { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.changelog-header h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: var(--space-3) 0;
}
.changelog-timeline { max-width: 760px; margin: 0 auto; position: relative; }
.changelog-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.changelog-entry { position: relative; padding: 0 0 var(--space-6) var(--space-7); }
.changelog-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-brand);
  box-shadow: 0 0 0 4px var(--color-bg);
}
.changelog-entry.featured::before { background: var(--color-brand); }
.changelog-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}
.changelog-version {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-soft);
  color: var(--color-brand);
}
.changelog-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  color: var(--color-ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.changelog-tag.new { background: rgba(31, 157, 85, 0.12); color: var(--color-success); border-color: rgba(31, 157, 85, 0.2); }
.changelog-tag.fix { background: rgba(214, 69, 69, 0.12); color: var(--color-danger); border-color: rgba(214, 69, 69, 0.2); }
.changelog-entry h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--space-3);
}
.changelog-changes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.changelog-changes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}
.changelog-changes li .icon {
  color: var(--color-success);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.changelog-changes li.improve .icon { color: var(--color-brand); }
.changelog-changes li.fix .icon { color: var(--color-danger); }

/* ============================================
   DOCS PAGE
   ============================================ */

.docs-page { padding-top: var(--space-7); padding-bottom: var(--space-9); }
.docs-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
}
.docs-sidebar a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-ink-muted);
  transition: background var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth);
}
.docs-sidebar a:hover { background: var(--color-surface-raised); color: var(--color-ink); }

.docs-content { min-width: 0; max-width: 720px; }
.docs-content section { margin-bottom: var(--space-7); }
.docs-content h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.docs-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  margin: var(--space-5) 0 var(--space-3) 0;
  scroll-margin-top: 100px;
}
.docs-content h3 { font-size: 1rem; font-weight: 600; margin: var(--space-4) 0 var(--space-2) 0; }
.docs-content p { font-size: 0.95rem; color: var(--color-ink-soft); line-height: 1.6; margin: 0 0 var(--space-3) 0; }
.docs-content ul, .docs-content ol { padding-left: 0; margin: 0 0 var(--space-3) 0; display: flex; flex-direction: column; gap: 6px; }
.docs-content ul li, .docs-content ol li {
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.docs-content ul li::before { content: "•"; position: absolute; left: 0; color: var(--color-brand); font-weight: 700; }
.docs-content kbd {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-ink);
}
.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--color-surface-raised);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--color-ink);
}
.docs-callout {
  background: var(--color-brand-soft);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin: var(--space-3) 0;
}
.docs-callout p { margin: 0; color: var(--color-ink-soft); font-size: 0.9rem; }

@media (max-width: 900px) {
  .docs-inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .docs-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-7) var(--space-5) var(--space-9);
  position: relative;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top, rgba(91, 91, 240, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(244, 114, 182, 0.04) 0%, transparent 50%);
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
  animation: auth-in 600ms var(--ease-out-expo) both;
}

@keyframes auth-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-6);
  font-size: 0.92rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.form-field label { font-size: 0.8rem; font-weight: 500; color: var(--color-ink); }

.form-field input {
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 0.92rem;
  transition: border-color var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              background var(--dur-base) var(--ease-smooth);
}

.form-field input:focus {
  outline: none;
  border-color: var(--color-brand);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(91, 91, 240, 0.12);
}

.form-field input::placeholder { color: var(--color-ink-faint); }

.form-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.form-footnote {
  text-align: center;
  margin-top: var(--space-3);
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}

.payment-summary {
  background: linear-gradient(135deg, var(--color-brand-soft) 0%, transparent 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.payment-summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-brand);
}
.payment-summary-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 2px;
}
.payment-summary-tier { font-weight: 600; font-size: 1rem; color: var(--color-ink); }
.payment-summary-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--color-brand);
  line-height: 1;
}

.payment-hint {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  margin-top: var(--space-3);
  line-height: 1.5;
}
.payment-hint strong { color: var(--color-ink); font-weight: 600; }
.payment-hint code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--color-surface);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
}

.result-block {
  text-align: center;
  padding: var(--space-5) var(--space-2);
  animation: result-in 600ms var(--ease-out-expo) both;
}

@keyframes result-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.result-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.15;
  filter: blur(12px);
}
.result-icon-success { background: rgba(31, 157, 85, 0.12); color: var(--color-success); }
.result-icon-danger { background: rgba(214, 69, 69, 0.12); color: var(--color-danger); }
.result-icon .material-symbols-outlined { font-size: 28px; font-variation-settings: "FILL" 1; }

.result-block h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}
.result-block p {
  color: var(--color-ink-muted);
  margin-bottom: var(--space-5);
  line-height: 1.55;
  font-size: 0.9rem;
}

/* ============================================
   PREMIUM POLISH (v6) — refinements only, no layout changes
   ============================================ */

/* Type */
.hero-title { letter-spacing: -0.045em; font-optical-sizing: auto; }
.section-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.035em; }
.section-lead { color: var(--color-ink-muted); }
.eyebrow-dot { box-shadow: 0 0 0 3px rgba(91, 91, 240, 0.18); }

/* Surfaces: hairline border, top inner highlight, calmer hover */
.walkthrough-card,
.feature-card,
.persona-card,
.price-card {
  border-color: rgba(14, 15, 18, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(14, 15, 18, 0.03);
  transition: transform 400ms var(--ease-out-expo),
              border-color 400ms var(--ease-smooth),
              box-shadow 400ms var(--ease-out-expo);
}
.walkthrough-card:hover,
.feature-card:hover,
.persona-card:hover,
.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 15, 18, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-lg);
}

/* Icons: soft gradient tiles instead of flat tint */
.feature-icon,
.value-item-icon {
  background: linear-gradient(145deg, #F1F0FF 0%, #E4E3FD 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(91, 91, 240, 0.10);
}

/* Hairline gradient dividers instead of solid rules */
.value-props { border-top: 0; border-bottom: 0; position: relative; }
.value-props::before,
.value-props::after,
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong) 20%, var(--color-border-strong) 80%, transparent);
}
.value-props::before { top: 0; }
.value-props::after { bottom: 0; }
.footer { border-top: 0; position: relative; }
.footer::before { top: 0; }

/* Marquee: monochrome, brand on hover */
.logo-marquee-item { transition: color 300ms var(--ease-smooth); }
.logo-marquee-item:hover { color: var(--color-brand); }
.logo-marquee-item:hover .logo-marquee-label { color: var(--color-ink); }

/* Primary buttons: slow sheen on hover */
.btn-primary { overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-out-quart); }

/* Popular plan: faint brand glow */
.price-card-popular,
.price-card-popular:hover {
  box-shadow: 0 0 0 1px var(--color-brand), 0 20px 50px -24px var(--color-brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (prefers-color-scheme: dark) {
  .walkthrough-card, .feature-card, .persona-card, .price-card,
  .walkthrough-card:hover, .feature-card:hover, .persona-card:hover, .price-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  .feature-icon, .value-item-icon {
    background: linear-gradient(145deg, #23234a 0%, #1b1b38 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { display: none; }
}


/* ============================================
   v7 — UNDER THE HOOD
   ============================================ */

.arch { padding: clamp(32px, 5vh, 56px) 0; }

.arch-figure {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 15, 18, 0.06) 1px, transparent 0) 0 0 / 22px 22px,
    var(--color-surface);
  padding: var(--space-5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(14, 15, 18, 0.03);
}
.arch-canvas { max-width: 1000px; margin: 0 auto; }
.arch-svg { display: block; width: 100%; height: auto; overflow: visible; }

.arch-mac { fill: rgba(91, 91, 240, 0.035); stroke: rgba(91, 91, 240, 0.45); stroke-width: 1.2; stroke-dasharray: 5 5; }
.arch-mac-label { font: 600 11px var(--font-mono); letter-spacing: 0.12em; fill: var(--color-brand); paint-order: stroke; stroke: var(--color-surface); stroke-width: 8px; dominant-baseline: middle; }

.arch-edge { fill: none; stroke: var(--color-border-strong); stroke-width: 1.5; stroke-linejoin: round; transition: stroke var(--dur-base) var(--ease-smooth), opacity var(--dur-base) var(--ease-smooth); }
.arch-edge-main { stroke: rgba(91, 91, 240, 0.55); stroke-width: 1.8; }
.arch-arrowhead { fill: rgba(14, 15, 18, 0.35); }
.arch-edge-label { font: 600 10.5px var(--font-mono); letter-spacing: 0.04em; fill: var(--color-ink-muted); paint-order: stroke; stroke: var(--color-surface); stroke-width: 6px; transition: fill var(--dur-base) var(--ease-smooth); }

.arch-node { cursor: pointer; outline: none; transition: opacity var(--dur-base) var(--ease-smooth); }
.arch-node-box { fill: var(--color-surface); stroke: var(--color-border-strong); stroke-width: 1; transition: stroke var(--dur-base) var(--ease-smooth); filter: drop-shadow(0 1px 2px rgba(14, 15, 18, 0.06)); }
.arch-node-out .arch-node-box { stroke-dasharray: 4 4; fill: var(--color-surface-raised); }
.arch-node-icon { font-family: "Material Symbols Outlined"; font-size: 20px; fill: var(--color-brand); }
.arch-node-label { font: 600 13px var(--font-sans); fill: var(--color-ink); letter-spacing: -0.01em; }
.arch-node-sub { font: 400 10.5px var(--font-sans); fill: var(--color-ink-muted); }
.arch-node:hover .arch-node-box,
.arch-node:focus-visible .arch-node-box,
.arch-node.is-on .arch-node-box { stroke: var(--color-brand); }
.arch-node:focus-visible .arch-node-box { stroke-width: 2; }

.arch-svg.is-tracing .arch-node:not(.is-on) { opacity: 0.35; }
.arch-svg.is-tracing .arch-edge:not(.is-on) { opacity: 0.2; }
.arch-svg.is-tracing .arch-edge.is-on { stroke: var(--color-brand); opacity: 1; }

.arch-caption { margin-top: var(--space-3); text-align: center; font-size: 0.88rem; color: var(--color-ink-soft); min-height: 2.6em; text-wrap: balance; }

@media (max-width: 719px) {
  .arch-figure { padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); }
  .arch-canvas { max-width: 420px; }
}

/* ============================================
   v7 — WHO IT'S FOR
   ============================================ */

.personas { padding: clamp(32px, 5vh, 56px) 0; }
.personas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.persona-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.persona-head { display: flex; align-items: center; gap: var(--space-3); }
.persona-head .feature-icon { margin: 0; }
.persona-head h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.persona-pain { font-size: 0.88rem; color: var(--color-ink-muted); line-height: 1.5; margin: 0; flex: 1; }
.persona-gain { font-size: 0.88rem; color: var(--color-ink); line-height: 1.5; margin: 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.persona-gain-label { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-brand); margin-bottom: 4px; }
@media (max-width: 1000px) { .personas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .personas-grid { grid-template-columns: 1fr; } }

/* ============================================
   v7 — PRICING (2 tiers + team waitlist)
   ============================================ */

.pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: var(--space-4); }
@media (max-width: 600px) { .pricing-grid-2 { grid-template-columns: 1fr; } }

.team-waitlist {
  max-width: 736px;
  margin: var(--space-4) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface-translucent);
}
.team-waitlist-copy h3 { font-size: 1rem; font-weight: 600; margin: 0 0 4px; display: flex; align-items: center; gap: var(--space-2); }
.team-waitlist-copy p { font-size: 0.8rem; color: var(--color-ink-muted); line-height: 1.45; margin: 0; }
.team-waitlist-tag { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--color-brand-soft); color: var(--color-brand); }
.team-waitlist-field { display: flex; gap: var(--space-2); flex-shrink: 0; }
.team-waitlist-field input {
  width: 200px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-ink);
  font: 400 0.85rem var(--font-sans);
}
.team-waitlist-field input:focus { outline: 2px solid var(--color-brand); outline-offset: 1px; }
@media (max-width: 720px) {
  .team-waitlist { flex-direction: column; align-items: stretch; }
  .team-waitlist-field { flex-direction: column; }
  .team-waitlist-field input { width: 100%; }
}

.footer-maker { color: var(--color-ink-soft); text-decoration: underline; text-decoration-color: var(--color-border-strong); text-underline-offset: 3px; }
.footer-maker:hover { color: var(--color-ink); }

/* v7 — 4 value pillars */
.value-list { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .value-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .value-list { grid-template-columns: 1fr; } }

@media (prefers-color-scheme: dark) {
  .arch-figure { background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0) 0 0 / 22px 22px, var(--color-surface); box-shadow: none; }
  .arch-arrowhead { fill: rgba(255, 255, 255, 0.4); }
  .arch-mac { fill: rgba(142, 142, 255, 0.05); stroke: rgba(142, 142, 255, 0.45); }
}


/* ============================================
   v8 — COMPACT RHYTHM
   ============================================ */

.summary-preview, .walkthrough, .features, .personas, .pricing, .faq, .compare, .arch {
  padding-top: clamp(24px, 3.5vh, 40px);
  padding-bottom: clamp(24px, 3.5vh, 40px);
}
.section-title { margin-bottom: var(--space-2); }
.section-lead { margin-bottom: var(--space-4); }
.walkthrough-grid, .features-grid, .personas-grid { gap: var(--space-3); }
.walkthrough-card, .feature-card, .persona-card, .price-card { padding: var(--space-4) var(--space-4) var(--space-5); }
.maker { padding: var(--space-5) 0 var(--space-6); }

/* ============================================
   v8 — LOGO BAND (under the hero video)
   ============================================ */

.logo-marquee { padding: var(--space-2) 0 var(--space-4); }
.logo-marquee-caption {
  margin: 0 0 var(--space-2);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-ink-faint);
  letter-spacing: 0.02em;
}

/* ============================================
   v8 — PREMIUM ICON TILE + KEY POINTS
   ============================================ */

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--color-brand);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, #EEEDFF 0%, #DCDAFD 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(91, 91, 240, 0.14), 0 6px 16px -8px rgba(91, 91, 240, 0.45);
}
.icon-tile .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}
.feature-card .icon-tile { margin-bottom: var(--space-3); }

.wt-top { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.wt-top .walkthrough-card-num { margin: 0; }
.walkthrough-card h3, .feature-card h3 { margin-bottom: 4px; }

.walkthrough-card .key-line, .feature-card .key-line { font-size: 0.92rem; font-weight: 600; color: var(--color-brand); margin: 0 0 var(--space-3); line-height: 1.35; }
.key-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.key-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  line-height: 1.4;
}
.key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(31, 157, 85, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%231F9D55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ============================================
   v8 — COMPARISON
   ============================================ */

.cmp {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(14, 15, 18, 0.03);
}
.cmp-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) 1.15fr 1fr 1fr 1fr;
  align-items: stretch;
}
.cmp-row + .cmp-row .cmp-q,
.cmp-row + .cmp-row .cmp-cell:not(.cmp-us) { border-top: 1px solid var(--color-border); }
.cmp-q, .cmp-cell { padding: 12px 16px; display: flex; align-items: center; }
.cmp-q { gap: 10px; font-size: 0.86rem; font-weight: 500; color: var(--color-ink); }
.cmp-q .material-symbols-outlined { font-size: 18px; color: var(--color-ink-faint); }
.cmp-head .cmp-cell { font-size: 0.82rem; font-weight: 600; color: var(--color-ink-muted); padding-top: 16px; padding-bottom: 12px; }

/* Minutely column: one raised card running down the table */
.cmp-us {
  position: relative;
  background: linear-gradient(180deg, rgba(91, 91, 240, 0.07), rgba(91, 91, 240, 0.035));
  border-left: 1px solid rgba(91, 91, 240, 0.35);
  border-right: 1px solid rgba(91, 91, 240, 0.35);
}
.cmp-head .cmp-us { flex-direction: column; align-items: flex-start; gap: 6px; border-top: 1px solid rgba(91, 91, 240, 0.35); border-radius: 14px 14px 0 0; margin-top: -9px; padding-top: 22px; }
.cmp-row:last-child .cmp-us { border-bottom: 1px solid rgba(91, 91, 240, 0.35); border-radius: 0 0 14px 14px; margin-bottom: -9px; padding-bottom: 21px; box-shadow: 0 22px 40px -28px var(--color-brand-glow); }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: var(--color-ink); }
.cmp-brand .logo-mark {
  display: block;
  width: 24px;
  aspect-ratio: 850 / 400;
  background: var(--color-ink);
  -webkit-mask: url(../img/logo.svg) center / contain no-repeat;
  mask: url(../img/logo.svg) center / contain no-repeat;
}
.cmp-badge { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-brand-ink); }

.cmp-val { display: grid; grid-template-columns: 16px 1fr; column-gap: 7px; align-items: start; font-size: 0.82rem; line-height: 1.35; color: var(--color-ink-soft); }
.cmp-val::before, .cmp-key::before { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.cmp-ans { font-weight: 600; }
.cmp-note { grid-column: 2; font-size: 0.74rem; color: var(--color-ink-muted); }
.cmp-yes .cmp-ans { color: var(--color-success); }
.cmp-no .cmp-ans { color: var(--color-danger); }
.cmp-partly .cmp-ans { color: var(--color-ink-muted); }
.cmp-yes::before { content: "✓"; background: rgba(31, 157, 85, 0.14); color: var(--color-success); }
.cmp-no::before { content: "✕"; background: rgba(214, 69, 69, 0.1); color: var(--color-danger); }
.cmp-partly::before { content: "–"; background: rgba(14, 15, 18, 0.07); color: var(--color-ink-muted); }
.cmp-legend { gap: 12px; flex-wrap: wrap; }
.cmp-key { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 500; color: var(--color-ink-muted); }

@media (max-width: 900px) {
  .cmp { border: 0; background: none; box-shadow: none; display: flex; flex-direction: column; gap: var(--space-2); }
  .cmp-head { display: none; }
  .cmp-row {
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    overflow: hidden;
  }
  .cmp-row + .cmp-row .cmp-q, .cmp-row + .cmp-row .cmp-cell:not(.cmp-us) { border-top: 0; }
  .cmp-q { grid-column: 1 / -1; padding: 12px 14px 8px; }
  .cmp-cell { flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 14px 12px; }
  .cmp-cell::before { content: attr(data-label); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink-faint); }
  .cmp-us, .cmp-row:last-child .cmp-us { border: 0; border-radius: 0; margin: 0; padding: 8px 14px 12px; box-shadow: none; }
  .cmp-us::before { color: var(--color-brand); font-weight: 600; }
}

/* ============================================
   v8 — DIAGRAM DETAILS
   ============================================ */

.arch-canvas { max-width: 1120px; }
.arch-edge-model { stroke: var(--color-brand); stroke-width: 1.8; }
.arch-edge-byok { stroke: var(--color-brand); stroke-width: 1.6; stroke-dasharray: 6 5; }
.arch-junction { fill: var(--color-surface); stroke: var(--color-brand); stroke-width: 2; }
.arch-junction-label { font: 600 10px var(--font-mono); letter-spacing: 0.06em; fill: var(--color-brand); paint-order: stroke; stroke: var(--color-surface); stroke-width: 5px; }
.arch-edge-label { fill: var(--color-brand); }
.arch-chip { fill: var(--color-brand-soft); stroke: rgba(91, 91, 240, 0.18); }
.arch-chip-text { font: 500 9.5px var(--font-mono); fill: var(--color-brand); letter-spacing: 0.02em; }

/* ============================================
   v8 — COMPACT MAKER ROW
   ============================================ */

.maker-row {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
}
.maker-photo {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-border-strong), 0 0 0 3px var(--color-surface), 0 0 0 4px rgba(91, 91, 240, 0.25);
}
.maker-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.maker-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}
.maker-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.maker-name { font-weight: 600; font-size: 0.98rem; color: var(--color-ink); letter-spacing: -0.01em; }
.maker-role { font-size: 0.8rem; color: var(--color-ink-muted); }
.maker-li-btn { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.maker-li { width: 15px; height: 15px; color: #0A66C2; }
@media (max-width: 480px) {
  .maker-row { border-radius: var(--radius-lg); flex-wrap: wrap; }
  .maker-li-btn { width: 100%; justify-content: center; }
}

@media (prefers-color-scheme: dark) {
  .icon-tile { background: linear-gradient(150deg, #26264f 0%, #1c1c3c 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(142, 142, 255, 0.2); }
  .cmp-us { background: rgba(142, 142, 255, 0.07); }
}


/* ============================================
   v9 — CENTRED HEADERS, THIN RECORDS BAND, FLAT ICONS
   ============================================ */

.section-title, .section-lead { text-align: center; }
.section-lead { margin-inline: auto; }

/* Hero → video: actions, then the overview */
.hero-sub { margin-bottom: var(--space-4); }
.hero-video { margin-top: 0; }
.hero-video-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 6px;
  border-radius: var(--radius-pill);
  background: rgba(14, 15, 18, 0.62);
  color: #fff;
  font: 500 0.72rem/1 var(--font-sans);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.hero-video-tag .material-symbols-outlined { font-size: 16px; }

/* Records from: a thin static band, like the value props */
.logo-marquee {
  position: relative;
  padding: var(--space-3) 0;
  background: var(--color-surface);
}
.logo-marquee::before, .logo-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong) 20%, var(--color-border-strong) 80%, transparent);
}
.logo-marquee::before { top: 0; }
.logo-marquee::after { bottom: 0; }
.logo-marquee-track { animation: none; width: 100%; justify-content: center; }
.logo-marquee-set { flex-wrap: wrap; justify-content: center; row-gap: var(--space-2); column-gap: clamp(20px, 3vw, 36px); padding: 0 var(--space-4); }
.logo-marquee-caption { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--color-ink-faint); letter-spacing: 0.02em; }

/* Flat 2D icon tile: solid tint, hairline, outlined glyph */
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-brand-soft);
  border: 1px solid rgba(91, 91, 240, 0.16);
  box-shadow: none;
}
.icon-tile .material-symbols-outlined { font-size: 24px; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; }

/* Personas: flat avatar, role cue drawn in (v10) */
.persona-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
.persona-avatar svg { width: 48px; height: 48px; display: block; }
.persona-avatar-1 { background: #E4E3FD; --pc: #8F8EF2; --pc-deep: #4B4BD6; }
.persona-avatar-2 { background: #DDEFE6; --pc: #5DA88A; --pc-deep: #2B6E54; }
.persona-avatar-3 { background: #FBE6D4; --pc: #D8975F; --pc-deep: #8F4E1E; }
.persona-avatar-4 { background: #DCEAF7; --pc: #5B92C9; --pc-deep: #255C94; }
.persona-avatar .pa-body { fill: var(--pc); }
.persona-avatar .pa-deep { fill: var(--pc-deep); }
.persona-avatar .pa-white { fill: #FFFFFF; }
.persona-avatar .pa-stroke { fill: none; stroke: var(--pc-deep); stroke-width: 2.4; stroke-linecap: round; }
.persona-avatar .pa-thin { stroke-width: 1.6; }
.persona-avatar .pa-outline { stroke: var(--pc-deep); stroke-width: 1.4; }

/* No gap between the LinkedIn row and the footer */
main.page { padding-bottom: 0; }
.maker { padding: var(--space-4) 0 var(--space-5); }

@media (prefers-color-scheme: dark) {
  .icon-tile { background: #1F1F40; border-color: rgba(142, 142, 255, 0.22); box-shadow: none; }
}

/* ============================================
   v10 — CRISP HERO, VALUE CHIPS
   ============================================ */
.hero-sub { margin-inline: auto; margin-bottom: var(--space-3); color: var(--color-ink); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-props {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.hero-props li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-ink);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.hero-props .material-symbols-outlined { font-size: 18px; color: var(--color-brand); }
