@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', monospace;
  color: #d0d0d0;
  background: #0a0a12;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0, 255, 170, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 255, 170, 0.02) 0%, transparent 50%);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #00ffaa;
}

code {
  font-family: 'Space Mono', monospace;
  font-size: 0.9em;
  background: rgba(0, 255, 170, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: #00ffaa;
}

.hidden {
  display: none !important;
}

/* ── Scroll pages ────────────────────────────────────────── */

.page {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 20px;
  position: relative;
}

.page-brand-name {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #555;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.scroll-cue {
  margin-top: 52px;
}

.scroll-chevron {
  display: inline-block;
  font-size: 18px;
  color: #333;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 0.8; }
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.3;
  white-space: nowrap;
}

/* Hero page specific styles */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.hero-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #999;
  margin: 0 0 32px 0;
  text-align: center;
  line-height: 1.5;
}

.hero-subhead em {
  color: #00ffaa;
  font-style: normal;
  font-weight: 500;
}

.page-sub {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #666;
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 0;
}

.page-sub a {
  color: #7b61ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(123, 97, 255, 0.3);
}

.page-sub a:hover {
  color: #00ffaa;
  border-bottom-color: #00ffaa;
}

.page-nudge {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #555;
  margin-top: 16px;
  letter-spacing: 0.5px;
}

.try-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.try-btn {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #666;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 6px 14px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.try-btn:hover {
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.3);
}

.try-copy {
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.2);
}

.try-copy:hover {
  border-color: rgba(0, 255, 170, 0.5);
}

/* ── Color-coded URL display ─────────────────────────────── */

.hero-url {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 16px 22px;
  word-break: break-all;
  white-space: normal;
  text-align: left;
  margin-top: 24px;
}

.hu-base {
  color: #444;
}

.hu-weight {
  color: #00ffaa;
  background: rgba(0, 255, 170, 0.1);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
}

.hu-sep {
  color: #333;
}

.hu-source {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 2px;
}

.hu-pipe {
  color: #333;
  padding: 0 3px;
}

.hu-bang {
  color: #7b61ff;
  padding: 0 1px;
}

.hu-prompt {
  color: #7b61ff;
  background: rgba(123, 97, 255, 0.1);
  padding: 2px 6px;
  border-radius: 2px;
}

.hu-bracket {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 16px;
  padding: 0 1px;
}

.hu-key {
  color: #ffaa00;
  background: rgba(255, 170, 0, 0.1);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 12px;
}

/* ── Context visualization (page 5) ─────────────────────── */

.context-vis {
  max-width: 100%;
  text-align: left;
  margin-top: 24px;
}

.context-vis .hero-url {
  margin-top: 8px;
}

.cv-url-label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #666;
  margin-top: 16px;
  margin-bottom: 0;
}

.cv-arrow {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin: 12px 0;
}

.cv-request {
  border-color: rgba(0, 255, 170, 0.15);
}

.cv-qmark,
.cv-amp {
  color: #555;
  padding: 0 1px;
}

.cv-param {
  color: #ffaa00;
  font-size: 12px;
}

.cv-eq {
  color: #444;
}

.cv-note {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #555;
  margin-top: 16px;
  line-height: 1.7;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-list {
  max-width: 660px;
  text-align: left;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-q {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.faq-a {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ── Closing section ─────────────────────────────────────── */

.closing {
  min-height: 80vh;
}

.closing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  max-width: 700px;
}

.closing-title a {
  color: #7b61ff;
  text-decoration: none;
  border-bottom: 2px solid rgba(123, 97, 255, 0.3);
  transition: border-color 0.2s;
}

.closing-title a:hover {
  border-bottom-color: #7b61ff;
}

.closing-sub {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  letter-spacing: 0.5px;
}

.closing-credit {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.closing-credit p {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #555;
  letter-spacing: 1px;
}

.closing-logo-link {
  display: block;
  transition: opacity 0.2s;
}

.closing-logo-link:hover {
  opacity: 0.8;
}

.closing-logo {
  height: 40px;
  width: auto;
}

.closing-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.closing-learn-more {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #555;
  text-decoration: none;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.2s;
}

.closing-learn-more:hover {
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.3);
}

/* ── Reader view ──────────────────────────────────────────── */

.reader-section {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.reader-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: 4px;
  padding: 28px 24px;
  position: relative;
}

.reader-box::before {
  content: '/* parsed url */';
  position: absolute;
  top: -10px;
  left: 16px;
  background: #0a0a12;
  padding: 0 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #00ffaa;
}

.reader-box h2 {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.reader-sources {
  margin-bottom: 16px;
}

.reader-source {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.reader-source:last-child {
  border-bottom: none;
}

.reader-weight {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #00ffaa;
  min-width: 40px;
  text-align: right;
}

.reader-weight-bar {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 6px;
}

.reader-weight-fill {
  height: 100%;
  background: #00ffaa;
  border-radius: 2px;
}

.reader-url {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #888;
  word-break: break-all;
}

.reader-url a {
  color: #888;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.reader-url a:hover {
  color: #00ffaa;
  border-bottom-color: #00ffaa;
}

.reader-prompt {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.reader-prompt-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.reader-prompt-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.reader-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-toast {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0, 255, 170, 0.1);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: 3px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #00ffaa;
  text-align: center;
  transition: opacity 0.3s;
}

/* ── Buttons ──────────────────────────────────────────────── */

.button {
  display: inline-block;
  padding: 10px 24px;
  background: #00ffaa;
  color: #0a0a12;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: box-shadow 0.2s, background 0.2s;
}

.button:hover {
  background: #33ffbb;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
}

.button-secondary {
  background: transparent;
  color: #888;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  color: #ccc;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

/* ── Flow Diagram ─────────────────────────────────────────── */

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 32px auto;
  max-width: 100%;
  padding: 0 20px;
}

/* Wrapper for left node to allow pills to float outside */
.flow-node-wrapper {
  position: relative;
  flex-shrink: 0;
}

.flow-node {
  width: 140px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

/* Floating source pills - things that went into Your AI */
.flow-node-sources {
  position: absolute;
  top: 20px;
  left: -56px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-source-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: #666;
  white-space: nowrap;
  animation: pill-float 3s ease-in-out infinite;
}

.flow-source-pill:nth-child(1) { animation-delay: 0s; }
.flow-source-pill:nth-child(2) { animation-delay: 0.5s; transform: translateX(8px); }
.flow-source-pill:nth-child(3) { animation-delay: 1s; transform: translateX(-4px); }

.flow-source-pill svg {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

@keyframes pill-float {
  0%, 100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-2px);
  }
}

.flow-node-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #222;
  border-bottom: 1px solid #333;
}

.flow-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}

.flow-node-dot--red { background: #ff5f57; }
.flow-node-dot--yellow { background: #ffbd2e; }
.flow-node-dot--green { background: #28c840; }

.flow-node-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #666;
  margin-left: auto;
}

.flow-node-chat {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 70px;
}

.flow-node-bubble {
  height: 8px;
  border-radius: 4px;
  background: #333;
}

.flow-node-bubble--left {
  width: 70%;
  align-self: flex-start;
}

.flow-node-bubble--right {
  width: 50%;
  align-self: flex-end;
  background: #444;
}

.flow-node-bubble--short {
  width: 40%;
}

.flow-node-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  padding: 10px 12px 6px;
  background: #1a1a1a;
}

.flow-node-sub {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #555;
  text-align: center;
  padding: 0 12px 10px;
  background: #1a1a1a;
}

.flow-node--right {
  box-shadow: 0 0 30px rgba(0, 255, 170, 0.1);
  border-color: rgba(0, 255, 170, 0.2);
}

.flow-node--right .flow-node-sub {
  color: #00ffaa;
}

.flow-node--right .flow-node-bubble {
  background: #3a4a40;
  animation: bubble-appear 0.5s ease-out backwards;
}

.flow-node--right .flow-node-bubble--right {
  background: #4a5a50;
}

.flow-node--right .flow-node-bubble:nth-child(1) { animation-delay: 1.2s; }
.flow-node--right .flow-node-bubble:nth-child(2) { animation-delay: 1.4s; }
.flow-node--right .flow-node-bubble:nth-child(3) { animation-delay: 1.6s; }

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

/* Subtle pulse on right window border */
.flow-node--right {
  animation: border-pulse 3s ease-in-out infinite;
}

@keyframes border-pulse {
  0%, 100% {
    border-color: rgba(0, 255, 170, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.1);
  }
  50% {
    border-color: rgba(0, 255, 170, 0.35);
    box-shadow: 0 0 40px rgba(0, 255, 170, 0.15);
  }
}

.flow-link {
  width: 56px;
  height: 38px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  gap: 2px;
}

.flow-link-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.flow-link-icon svg {
  width: 100%;
  height: 100%;
}

.flow-link-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  bottom: -18px;
}

.flow-arrow {
  width: 40px;
  height: 2px;
  position: relative;
  flex-shrink: 0;
}

.flow-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 8px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #444 0px,
    #444 6px,
    transparent 6px,
    transparent 10px
  );
}

.flow-arrow::after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #444;
}

/* Animated dot traveling along the flow */
.flow-diagram--animated .flow-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00ffaa;
  border-radius: 50%;
  opacity: 0;
  animation: flow-travel 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 255, 170, 0.6);
}

.flow-arrow:first-of-type .flow-dot {
  animation-delay: 0s;
}

.flow-arrow:last-of-type .flow-dot {
  animation-delay: 1s;
}

@keyframes flow-travel {
  0% {
    left: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  45% {
    left: calc(100% - 6px);
    opacity: 1;
  }
  55% {
    left: calc(100% - 6px);
    opacity: 0;
  }
  100% {
    left: calc(100% - 6px);
    opacity: 0;
  }
}

/* Responsive flow diagram */
@media (max-width: 640px) {
  .flow-diagram {
    transform: scale(0.85);
    transform-origin: center center;
  }

  .flow-node {
    width: 120px;
    height: 90px;
    padding: 12px;
  }

  .flow-node-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
  }

  .flow-node-label {
    font-size: 13px;
  }

  .flow-node-sub {
    font-size: 10px;
  }

  .flow-link {
    width: 36px;
    height: 24px;
  }

  .flow-arrow {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .flow-diagram {
    transform: scale(0.7);
  }
}

/* ── Use Case Cards ────────────────────────────────────────── */

.page-use-cases {
  min-height: 70vh;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  margin-top: 32px;
  padding: 0 20px;
}

.use-case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.use-case-card:hover {
  border-color: rgba(0, 255, 170, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 255, 170, 0.08);
  transform: translateY(-2px);
}

.use-case-icon {
  width: 32px;
  height: 32px;
  color: #00ffaa;
  opacity: 0.6;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

.use-case-card:hover .use-case-icon {
  opacity: 1;
}

.use-case-icon svg {
  width: 100%;
  height: 100%;
}

.use-case-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}

.use-case-desc {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* AI platform buttons - 2x2 grid */
.use-case-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.use-case-ai-btn {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #666;
  text-decoration: none;
  text-align: center;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.2s;
  background: none;
  cursor: pointer;
}

.use-case-ai-btn:hover {
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.3);
  background: rgba(0, 255, 170, 0.05);
}

@media (max-width: 540px) {
  .use-case-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ── Collapsible Developer Section ─────────────────────────── */

.dev-section {
  width: 100%;
}

.dev-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 24px;
  margin: 40px auto;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.dev-toggle:hover {
  color: #00ffaa;
  border-color: rgba(0, 255, 170, 0.3);
}

.dev-toggle-icon {
  transition: transform 0.3s;
}

.dev-section.open .dev-toggle-icon {
  transform: rotate(180deg);
}

.dev-content {
  display: none;
}

.dev-section.open .dev-content {
  display: block;
}

/* ── Footer ───────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 24px 20px;
  color: #333;
  font-size: 12px;
  font-family: 'Space Mono', monospace;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer a {
  color: #555;
  text-decoration: none;
}

footer a:hover {
  color: #00ffaa;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.3);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subhead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-sub {
    font-size: 12px;
  }

  .hero-url {
    font-size: 11px;
    padding: 14px 16px;
  }

  .hu-bracket {
    font-size: 13px;
  }

  .try-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .closing-title {
    font-size: 24px;
  }

  .reader-actions {
    flex-direction: column;
  }

  .reader-actions .button {
    text-align: center;
  }

  /* Hide floating pills on mobile - they crowd the diagram */
  .flow-node-sources {
    display: none;
  }

  /* Tighten use case cards */
  .use-case-card {
    padding: 20px 16px;
  }

  .use-case-title {
    font-size: 15px;
  }

  .use-case-desc {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .use-case-ai-btn {
    font-size: 9px;
    padding: 5px 6px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subhead {
    font-size: 14px;
  }

  .flow-diagram {
    transform: scale(0.65);
  }

  .use-case-grid {
    gap: 12px;
  }

  .use-case-card {
    padding: 16px 14px;
  }
}

@media (max-height: 700px) {
  .page {
    min-height: 90vh;
    padding: 32px 20px;
  }

  .page-title {
    margin-top: 12px;
  }

  .hero-url {
    padding: 12px 18px;
    margin-top: 16px;
  }

  .try-buttons {
    margin-top: 24px;
  }

  .scroll-cue {
    margin-top: 32px;
  }

  .closing-credit {
    margin-top: 40px;
  }
}
