:root {
  --bg: #12121a;
  --surface: #1a1a26;
  --surface2: #222230;
  --surface3: #2c2c3d;
  --border: rgba(255, 255, 255, 0.1);
  --border2: rgba(255, 255, 255, 0.18);
  --accent: #7c6dfa;
  --accent2: #b8aefc;
  --accent3: #d4ccfe;
  --green: #3ee0b3;
  --amber: #ffc14a;
  --red: #ff7a7a;
  --text: #f7f6ff;
  --text2: #b4b2d4;
  --text3: #8a87ab;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 109, 250, 0.14), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 50%, rgba(61, 214, 168, 0.06), transparent 45%),
    linear-gradient(180deg, #16161f 0%, var(--bg) 38%, #101018 100%);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 400;
  padding-top: 4.5rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.turnstile-hint {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text2);
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
  min-height: 4.5rem;
}

.promo-details {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
}

.promo-summary {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text2);
  list-style: none;
}

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

.promo-label-short {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
}

.promo-help {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--text3);
  line-height: 1.45;
}

.promo-details .promo-input {
  margin-top: 0;
}

.promo-input {
  width: 100%;
  max-width: 20rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* JS toggles this class in many places (header usage, hints, etc.) */
.hidden {
  display: none !important;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 109, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 109, 250, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.noise-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(22, 22, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 1px 0 rgba(124, 109, 250, 0.06);
  padding: 1.25rem 2.5rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-brand-mark {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.owner-unlock-pill {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent2);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 109, 250, 0.45);
  background: rgba(124, 109, 250, 0.12);
  white-space: nowrap;
  max-width: min(340px, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.header-usage {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--text2);
  max-width: 280px;
  text-align: right;
  line-height: 1.4;
  min-width: 0;
}

.header-usage strong {
  color: var(--accent3);
  font-weight: 600;
}

.btn-header-upgrade {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: rgba(124, 109, 250, 0.15);
  color: var(--accent3);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-header-upgrade:hover {
  background: var(--accent);
  color: #fff;
}

.btn-header-login {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-header-login:hover {
  border-color: var(--text3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.paywall-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.paywall-backdrop.hidden {
  display: none !important;
}

body.paywall-open {
  overflow: hidden;
}

.paywall-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.paywall-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.paywall-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
}

.paywall-lead {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.price-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: relative;
}

.price-card-pro {
  border-color: rgba(124, 109, 250, 0.55);
  box-shadow: 0 0 0 1px rgba(124, 109, 250, 0.15);
}

.price-ribbon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent2);
}

.price-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.price-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text3);
}

.price-features {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.55;
}

.price-cta {
  width: 100%;
}

.paywall-extra {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text3);
  margin: 0;
}

.paywall-extra-hint {
  color: var(--text3);
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent2);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: var(--accent3);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(14, 14, 22, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  padding-right: 2rem;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.modal-pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-pricing .pricing-grid.pricing-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .modal-pricing .pricing-grid.pricing-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.asset-harvest-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.45;
  cursor: pointer;
}

.asset-harvest-row input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.asset-harvest-label strong {
  color: var(--text);
}

.harvest-live-stats {
  font-size: 0.78rem;
  color: var(--text3);
  margin: 0 0 0.5rem;
}

.harvest-live-stats.muted {
  opacity: 0.92;
}

.plan-card-power {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.plan-badge-power {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.pricing-foot-second {
  margin-top: 0.35rem;
}

.plan-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card-popular {
  border-color: rgba(124, 109, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(124, 109, 250, 0.35),
    0 0 36px rgba(124, 109, 250, 0.15);
  transform: scale(1.02);
  z-index: 1;
}

.plan-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent2);
  background: rgba(124, 109, 250, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.plan-price {
  margin: 0 0 0.4rem;
}

.plan-price-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.plan-price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text3);
}

.plan-runs {
  font-size: 0.82rem;
  color: var(--text2);
  margin: 0 0 0.85rem;
}

.plan-features {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.55;
  flex: 1;
}

.btn-plan {
  width: 100%;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-plan-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-plan-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

.btn-plan-outline {
  background: transparent;
  color: var(--accent3);
  border-color: rgba(124, 109, 250, 0.45);
}

.btn-plan-outline:hover {
  background: rgba(124, 109, 250, 0.12);
}

.btn-plan-muted {
  background: var(--surface3);
  color: var(--text2);
  border-color: var(--border);
}

.btn-plan-muted:hover {
  color: var(--text);
  border-color: var(--border2);
}

.pricing-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  margin: 0;
}

.pricing-foot-detail {
  display: block;
  max-width: 34rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text3);
  line-height: 1.45;
}

.pricing-foot-btn {
  text-decoration: underline;
}

.link-like {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent2);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.link-like:hover {
  color: var(--accent3);
}

.modal-stripe-note {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.paywall-stripe-note {
  font-size: 0.8rem;
  color: var(--text2);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.paywall-promo-block {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 109, 250, 0.28);
  background: rgba(124, 109, 250, 0.06);
}

.paywall-promo-title {
  margin: 0 0 0.35rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.paywall-promo-hint {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  color: var(--text3);
  line-height: 1.45;
}

.paywall-promo-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 0.35rem;
}

.paywall-promo-input {
  width: 100%;
  box-sizing: border-box;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text);
  margin-bottom: 0.65rem;
}

.paywall-promo-input:focus {
  outline: none;
  border-color: var(--accent);
}

.paywall-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.paywall-hint {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text3);
}

@media (max-width: 900px) {
  .modal-pricing .pricing-grid {
    grid-template-columns: 1fr;
  }
  .modal-pricing .pricing-grid.pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px #7c6dfa;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.download-app-banner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.download-app-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(124, 109, 250, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.14), rgba(18, 18, 28, 0.92));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
}

.download-app-banner-kicker {
  margin: 0 0 0.25rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent3);
}

.download-app-banner-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text2);
}

.download-app-banner-btn,
.download-app-back {
  border: 0;
  cursor: pointer;
}

.download-app-banner-btn {
  flex-shrink: 0;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #8d7cff, #6f5cff);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(124, 109, 250, 0.3);
}

.download-app-page {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 1.1rem auto 0;
  padding: 0 1rem 2rem;
}

.download-app-shell {
  display: grid;
  gap: 0.9rem;
}

.download-app-back {
  justify-self: start;
  padding: 0;
  background: transparent;
  color: var(--accent3);
  font-size: 0.84rem;
  font-weight: 600;
}

.download-app-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(124, 109, 250, 0.26);
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.96), rgba(29, 29, 42, 0.94));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.download-app-eyebrow {
  margin: 0 0 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent3);
}

.download-app-title {
  margin: 0 0 0.8rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.download-app-copy {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  font-size: 0.98rem;
  color: var(--text2);
  line-height: 1.55;
}

.download-app-qr-card {
  width: min(100%, 320px);
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.download-app-qr-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.32rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: #fff;
}

.download-app-qr-grid span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #e8e8f1;
}

.download-app-qr-grid span.fill {
  background: #10121f;
}

.download-app-qr-label {
  margin: 0.85rem 0 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent3);
}

.download-app-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text3);
  line-height: 1.5;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  background: rgba(124, 109, 250, 0.1);
  border: 1px solid rgba(124, 109, 250, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  margin: 1.35rem 0 1rem;
}

.hero-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-brand-logo {
  display: block;
  width: min(92vw, 22rem);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.1rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(124, 109, 250, 0.12));
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 5.5vw + 0.5rem, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
  padding-inline: 0.25rem;
  box-sizing: border-box;
}

.hero-accent {
  color: var(--accent2);
}

.hero-blueprint-lead {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text2);
  max-width: 34rem;
  margin: 0 auto 0.65rem;
  line-height: 1.5;
}

.hero-trust-line {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text2);
  max-width: 32rem;
  margin: 0 auto 1.1rem;
  line-height: 1.45;
}

.hero-trust-line strong {
  color: var(--accent3);
  font-weight: 600;
}

.hero-tagline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 0.85rem;
  line-height: 1.45;
}

.hero-helpers {
  list-style: none;
  margin: 0 auto 1.1rem;
  padding: 0;
  max-width: 540px;
  text-align: left;
}

.hero-helpers li {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 0.4rem;
  padding-left: 0.55rem;
  border-left: 2px solid rgba(124, 109, 250, 0.35);
}

.hero-helper-name {
  color: var(--accent3);
  font-weight: 600;
}

.hero-steps {
  list-style: none;
  margin: 0 auto 1.1rem;
  padding: 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.hero-steps li {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.45;
  padding: 0.55rem 0.65rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
}

.hero-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.35rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent2);
  background: rgba(124, 109, 250, 0.12);
  vertical-align: middle;
}

@media (max-width: 720px) {
  .hero-steps {
    grid-template-columns: 1fr;
  }

  .download-app-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-app-banner-btn {
    width: 100%;
  }

  .download-app-card {
    padding: 1.15rem;
  }
}

.hero-sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 540px;
  margin: 0.5rem auto 0;
  line-height: 1.55;
}

.hero-trust {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text3);
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.hero-trust strong {
  color: var(--text2);
  font-weight: 600;
}

.how-it-works {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text3);
  max-width: 560px;
  margin: 1.25rem auto 0;
  line-height: 1.5;
}

.how-it-works strong {
  color: var(--text2);
  font-weight: 600;
}

.flow-wizard {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 0 auto 1.75rem;
  max-width: 960px;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(124, 109, 250, 0.06);
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1 1 160px;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s;
}

.flow-step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.flow-step-icon {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.flow-step-active {
  opacity: 1;
  background: rgba(124, 109, 250, 0.12);
  box-shadow: inset 0 0 0 1px rgba(124, 109, 250, 0.35);
}

.flow-step-done {
  opacity: 0.95;
}

.flow-step-done .flow-step-num {
  background: var(--green);
  color: #0a0a0f;
}

.flow-step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--surface3);
  color: var(--text2);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-active .flow-step-num {
  background: var(--accent);
  color: #fff;
}

.flow-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.flow-step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.flow-step-sub {
  font-size: 0.74rem;
  color: var(--text2);
  line-height: 1.4;
}

.flow-connector {
  width: 1px;
  min-height: 2.5rem;
  align-self: center;
  background: linear-gradient(180deg, transparent, var(--border2), transparent);
  flex: 0 0 auto;
  margin: 0 0.15rem;
}

@media (max-width: 720px) {
  .flow-connector {
    display: none;
  }

  .flow-wizard {
    flex-direction: column;
    gap: 0.35rem;
  }

  .flow-step {
    flex: 1 1 auto;
  }
}

.input-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(124, 109, 250, 0.05);
}

.depth-micro-credits {
  font-size: 0.78rem;
  color: var(--text2);
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.75rem;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  line-height: 1.45;
}

.depth-micro-credits .depth-micro-ico {
  margin-right: 0.35rem;
}

.depth-pill-hint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--text2);
  line-height: 1.4;
}

.depth-pill-hint-grid strong {
  color: var(--accent3);
  font-weight: 600;
}

@media (max-width: 720px) {
  .depth-pill-hint-grid {
    grid-template-columns: 1fr;
  }
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab {
  flex: 1;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab:hover {
  color: var(--text2);
}

.tab.active {
  color: #fff;
  font-weight: 600;
  background: rgba(124, 109, 250, 0.18);
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.tab-panels {
  padding: 1.65rem 1.85rem 1.85rem;
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-panel:not([hidden]) {
  display: block;
}

.url-field {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.url-field::placeholder {
  color: var(--text3);
}

.url-field:focus {
  border-color: var(--accent);
}

.url-field-stack {
  margin-bottom: 1rem;
}

.depth-label {
  font-size: 0.78rem;
  color: var(--text2);
  margin: 1rem 0 0.5rem;
}

.depth-label-hint {
  font-weight: 400;
  color: var(--text3);
  font-size: 0.72rem;
}

.depth-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.7rem;
  color: var(--text3);
  margin: 0.65rem 0 0;
  line-height: 1.45;
}

.depth-legend strong {
  color: var(--text2);
  font-weight: 600;
}

.depth-legend-dot {
  color: var(--border2);
  user-select: none;
}

.scan-focus-label {
  margin-bottom: 0.35rem;
}

.scan-mode-row {
  margin-bottom: 1.25rem;
}

.scan-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scan-mode-pill {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.scan-mode-pill:hover {
  border-color: var(--accent2);
  color: var(--text);
}

.scan-mode-pill.active {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

.scan-promo-hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 42rem;
}

.screenshot-sweep-hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 44rem;
}

.depth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.depth-pill {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.depth-pill:hover {
  border-color: var(--accent2);
  color: var(--text);
}

.depth-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dropzone {
  border: 2px dashed var(--border2);
  border-radius: var(--radius-sm);
  background: var(--surface2);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  background: rgba(124, 109, 250, 0.06);
}

.dropzone-stack {
  margin-top: 0;
}

.dropzone-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface3);
  border-radius: 10px;
  color: var(--accent2);
}

.dropzone-title {
  font-size: 0.85rem;
  color: var(--text2);
  margin: 0 0 0.35rem;
}

.dropzone-hint {
  font-size: 0.75rem;
  color: var(--text3);
  margin: 0;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.thumb-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border2);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: rgba(10, 10, 15, 0.85);
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.option-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.option-card:hover {
  border-color: var(--border2);
}

.option-card.selected {
  border-color: var(--accent);
  background: rgba(124, 109, 250, 0.08);
}

.option-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.option-card.selected .option-label {
  color: var(--accent3);
}

.option-desc {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.4;
  margin: 0;
}

.options-section {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.options-section-head {
  margin-bottom: 1rem;
}

.options-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.options-micro {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.5;
  margin: 0 0 0.65rem;
  max-width: 720px;
}

.options-micro strong {
  color: var(--accent3);
  font-weight: 600;
}

.options-estimate {
  font-size: 0.78rem;
  color: var(--text3);
  margin: 0;
  line-height: 1.45;
}

.options-estimate strong {
  color: var(--accent2);
  font-weight: 600;
}

.options-estimate-sub {
  color: var(--text3);
  font-weight: 400;
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.45;
}

.compare-row input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.compare-text {
  flex: 1;
}

.export-prefs {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.export-prefs-title {
  margin: 0 0 0.65rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text3);
}

.export-pref-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.4;
  margin-top: 0.65rem;
}

.export-pref-row:first-of-type {
  margin-top: 0;
}

.export-pref-row input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.export-pref-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

label.export-pref-stack {
  cursor: default;
  display: block;
  width: 100%;
}

.export-pref-text strong {
  color: var(--text);
  font-weight: 600;
}

.export-pref-hint {
  font-size: 0.76rem;
  color: var(--text3);
  line-height: 1.35;
}

.export-pref-select {
  margin-top: 0.35rem;
  width: 100%;
  max-width: 28rem;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
}

.analyze-btn {
  position: relative;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.analyze-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(124, 109, 250, 0.35);
}

.analyze-btn:active {
  transform: translateY(0);
}

.analyze-btn.is-loading {
  pointer-events: none;
  opacity: 0.88;
  cursor: wait;
}

.analyze-btn-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.job-history-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.job-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.job-history-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
}

.job-history-note {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.job-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.job-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.job-history-copy {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.job-history-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.job-history-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.artifact-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  margin: 0 0 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.artifact-panel-head {
  margin-bottom: 0.8rem;
}

.artifact-panel-title {
  margin: 0;
  font-size: 0.92rem;
}

.artifact-panel-sub {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.artifact-panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.extraction-results {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  margin: 0 0 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.extraction-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.extraction-results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.extraction-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.extraction-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.extraction-stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.extraction-stat-value {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  color: var(--text);
}

.extraction-results-note {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
}

.extraction-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
}

.extraction-preview-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.extraction-preview-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.extraction-preview-file {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  overflow-wrap: anywhere;
}

.extraction-preview-meta {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.extraction-preview-url {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text3);
  overflow-wrap: anywhere;
}

.progress-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(124, 109, 250, 0.07);
}

.progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.progress-head-text {
  min-width: 0;
}

.progress-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}

.progress-stage {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent2);
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.progress-reward {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245, 166, 35, 0.95);
  margin: 0.4rem 0 0;
  line-height: 1.35;
  min-height: 1.15em;
}

.progress-pct {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent2);
}

.progress-bar-wrap {
  height: 6px;
  background: var(--surface3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 12px rgba(124, 109, 250, 0.55);
  border-radius: 100px;
  transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(52vh, 28rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--surface3) transparent;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  border: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.agent-row-active {
  border-color: rgba(124, 109, 250, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 109, 250, 0.12);
  background: rgba(124, 109, 250, 0.06);
  animation: agent-pulse 1.4s ease-in-out infinite;
}

@keyframes agent-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(124, 109, 250, 0.12);
  }
  50% {
    box-shadow: 0 0 14px rgba(124, 109, 250, 0.18);
  }
}

.agent-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--surface3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.agent-text {
  flex: 1;
  min-width: 0;
}

.agent-name {
  font-size: 0.82rem;
  color: var(--text2);
  display: block;
}

.agent-desc {
  font-size: 0.75rem;
  color: var(--text3);
  display: block;
  margin-top: 0.1rem;
}

.agent-status {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.agent-status.waiting {
  color: var(--text2);
  opacity: 0.95;
}

.agent-status.running {
  color: var(--amber);
}

.agent-status.running .spin {
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.agent-status.done {
  color: var(--green);
}

.agent-status.error {
  color: var(--red);
}

.results-section {
  margin-top: 0.5rem;
}

.results-sticky {
  position: sticky;
  top: 4.75rem;
  z-index: 50;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, transparent 100%);
}

.results-sticky-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.results-sticky-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text2);
  letter-spacing: -0.02em;
}

.results-sticky-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.btn-sticky {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-sticky:hover {
  border-color: var(--accent2);
  color: var(--text);
}

.btn-sticky-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.btn-sticky-primary:hover {
  box-shadow: 0 4px 20px rgba(124, 109, 250, 0.35);
  color: #fff;
}

.btn-sticky-accent {
  border-color: rgba(124, 109, 250, 0.45);
  color: var(--accent3);
}

.btn-sticky-accent:hover {
  background: rgba(124, 109, 250, 0.1);
  color: var(--text);
}

.btn-sticky.btn-asset-lab {
  border-color: rgba(124, 109, 250, 0.45);
  color: var(--accent2);
}

.analysis-hint {
  font-size: 0.82rem;
  color: var(--amber);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.results-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0;
}

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

.btn-outline {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-outline:hover {
  border-color: var(--accent2);
  color: var(--text);
}

.btn-asset-lab {
  border-color: rgba(124, 109, 250, 0.42);
  color: var(--accent2);
}

.btn-asset-lab:hover {
  border-color: var(--accent2);
  color: var(--text);
  background: rgba(124, 109, 250, 0.08);
}

.btn-filled {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.btn-filled:hover {
  box-shadow: 0 6px 24px rgba(124, 109, 250, 0.35);
}

.scorecard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

button.metric-card-interactive {
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

button.metric-card-interactive:hover {
  border-color: var(--accent2);
  box-shadow: 0 4px 20px rgba(124, 109, 250, 0.12);
}

button.metric-card-interactive:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.metric-hint {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text3);
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.metric-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  display: block;
}

.metric-value.issue-high {
  color: var(--red);
}

.metric-value.issue-mid {
  color: var(--amber);
}

.metric-value.issue-low {
  color: var(--green);
}

.metric-green {
  color: var(--green);
}

.metric-accent {
  color: var(--accent2);
}

.modal-issues {
  max-width: 34rem;
  width: calc(100% - 2rem);
}

.issues-modal-scroll {
  max-height: min(52vh, 420px);
  overflow: auto;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: left;
}

.issues-modal-content.summary-content {
  font-size: 0.88rem;
  line-height: 1.5;
}

.issues-fix-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 1rem;
  text-align: left;
}

.issues-fix-note {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 2.5rem;
}

.issues-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.summary-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.autoscroll-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
}

.autoscroll-toggle input {
  accent-color: var(--accent);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dots i:nth-child(1) {
  background: var(--red);
}

.dots i:nth-child(2) {
  background: var(--amber);
}

.dots i:nth-child(3) {
  background: var(--green);
}

.filename {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--text3);
}

.btn-toolbar-copy {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text2);
  cursor: pointer;
}

.btn-toolbar-copy:hover {
  border-color: var(--accent2);
  color: var(--text);
}

.summary-body {
  position: relative;
  padding: 1.75rem;
  max-height: 620px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--surface3) var(--surface);
}

.summary-body::-webkit-scrollbar {
  width: 4px;
}

.summary-body::-webkit-scrollbar-track {
  background: var(--surface);
}

.summary-body::-webkit-scrollbar-thumb {
  background: var(--surface3);
  border-radius: 4px;
}

.summary-content {
  position: relative;
  z-index: 3;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text2);
  word-break: break-word;
}

.summary-content h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.25rem 0 0.65rem;
}

.summary-content h1:first-child {
  margin-top: 0;
}

.summary-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent2);
  margin: 1.1rem 0 0.5rem;
}

.summary-content strong {
  font-weight: 500;
  color: var(--text);
}

.summary-content code {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  background: var(--surface3);
  color: var(--accent3);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

.summary-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.summary-content .md-list {
  margin: 0.5rem 0;
  padding-left: 0;
  list-style: none;
}

.summary-content .md-list li {
  position: relative;
  padding-left: 0.85rem;
  margin: 0.35rem 0;
  border-left: 2px solid var(--surface3);
}

.summary-content p {
  margin: 0.5rem 0;
}

.type-cursor {
  position: relative;
  z-index: 3;
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent2);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

.type-cursor.hidden {
  display: none;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10050;
  max-width: min(22rem, calc(100vw - 2rem));
  background: var(--surface2);
  border: 1px solid var(--green);
  color: var(--green);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  border-radius: 100px;
  padding: 0.65rem 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.toast-error {
  border-color: var(--red);
  color: var(--red);
  border-radius: 12px;
  white-space: pre-wrap;
  line-height: 1.35;
}

.toast.toast-warn {
  border-color: var(--amber);
  color: var(--amber);
  border-radius: 12px;
  white-space: pre-wrap;
  line-height: 1.35;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 0.5rem;
  }

  .header-usage {
    max-width: 100%;
    font-size: 0.72rem;
    text-align: left;
  }

  .app-header {
    padding: 0.85rem 1rem;
  }

  .main {
    padding: 1.5rem 1rem 4rem;
  }

  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scorecard {
    grid-template-columns: repeat(2, 1fr);
  }

  .extraction-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: clamp(1.3rem, 6.5vw + 0.35rem, 2.15rem);
    padding-inline: 0.15rem;
  }

  .hero-brand-logo {
    width: min(100%, calc(100vw - 2rem), 18rem);
    margin-bottom: 0.85rem;
  }

  .header-brand-mark {
    height: 2rem;
    max-width: 7rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
  }

  .logo {
    flex-shrink: 0;
    min-width: 0;
  }

  .header-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
  }

  .owner-unlock-pill {
    display: none;
  }

  .header-usage-wrap {
    max-width: 100%;
    align-items: flex-start;
  }

  .btn-header-login,
  .btn-header-upgrade {
    padding: 0.4rem 0.8rem;
    font-size: 0.76rem;
  }
}

/* —— Monetization & growth UI —— */
.header-usage-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  max-width: min(280px, 42vw);
}

.header-usage-urgent {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.3;
  text-shadow: 0 0 12px rgba(245, 166, 35, 0.25);
}

.hero-power {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.how-steps {
  text-align: left;
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(124, 109, 250, 0.06);
  border: 1px solid rgba(124, 109, 250, 0.18);
  border-radius: var(--radius-sm);
}

.how-steps-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 0.65rem;
  color: var(--accent2);
}

.how-steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.55;
}

.how-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.how-steps-list li:last-child {
  margin-bottom: 0;
}

.how-steps-num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent3);
  background: rgba(124, 109, 250, 0.15);
  border-radius: 6px;
}

.tab.tab-locked,
.depth-pill.pill-locked {
  opacity: 0.55;
  cursor: pointer;
}

.tab.tab-locked:hover,
.depth-pill.pill-locked:hover {
  opacity: 0.72;
  border-color: rgba(245, 166, 35, 0.45);
}

.progress-upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-sm);
}

.progress-upsell-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.45;
  flex: 1;
  min-width: 12rem;
}

.btn-upsell-inline {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: rgba(124, 109, 250, 0.2);
  color: var(--accent3);
  cursor: pointer;
  white-space: nowrap;
}

.btn-upsell-inline:hover {
  background: var(--accent);
  color: #fff;
}

.plan-notice-banner {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text2);
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

.post-result-upsell {
  margin-bottom: 1.25rem;
}

.post-result-upsell-inner {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 109, 250, 0.35);
  background: linear-gradient(135deg, rgba(124, 109, 250, 0.12), rgba(26, 26, 36, 0.95));
  box-shadow: 0 0 32px rgba(124, 109, 250, 0.12);
}

.post-result-upsell-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.post-result-upsell-sub {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--text2);
  line-height: 1.5;
}

.summary-box-free .summary-content :is(h1, h2) {
  font-size: 0.92em;
}

.summary-box-free .summary-content {
  color: var(--text);
  text-shadow: 0 1px 2px rgba(5, 5, 12, 0.75);
}

.summary-box-pro {
  box-shadow: 0 0 0 1px rgba(124, 109, 250, 0.2), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.report-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  text-shadow: none;
  transform: rotate(-18deg);
  user-select: none;
}

.report-brand-footer {
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.report-brand-line {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--text3);
  text-align: center;
}

.report-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.report-brand-link-field {
  flex: 1;
  min-width: 12rem;
  max-width: 24rem;
  padding: 0.4rem 0.55rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text2);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.report-link-dev-hint {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text3);
  text-align: center;
}

.report-link-dev-code {
  font-family: 'DM Mono', monospace;
  font-size: 0.72em;
  color: var(--accent3);
  word-break: break-all;
}

.try-another {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.try-another-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.try-another-sub {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--text3);
}

.try-another-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.try-chip {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--accent2);
  cursor: pointer;
}

.try-chip:hover {
  border-color: var(--accent);
  color: var(--text);
}

.plan-best-value {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .plan-card-popular {
    transform: none;
  }
}

.hero-value-line {
  font-size: 0.95rem;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.55;
  text-align: center;
}

.hero-use-cases {
  list-style: none;
  margin: 1rem auto 0;
  padding: 0;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text3);
}

.hero-use-cases li::before {
  content: '→ ';
  color: var(--accent);
}

.plan-gate-hint {
  font-size: 0.78rem;
  color: var(--amber);
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.openai-server-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.75rem 0 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text2);
}

.openai-server-notice.hidden {
  display: none;
}

.openai-server-notice-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 0.05rem;
}

.openai-server-notice-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--amber);
}

.openai-server-notice-detail {
  margin: 0;
  font-size: 0.8rem;
}

.openai-server-notice-body code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78em;
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
}

.tab-pro-badge {
  margin-left: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(124, 109, 250, 0.25);
  color: var(--accent3);
  vertical-align: middle;
}

.priority-pill {
  display: inline-block;
  margin: 0.25rem 0 0.35rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  border: 1px solid rgba(45, 212, 160, 0.35);
  border-radius: 100px;
  background: rgba(45, 212, 160, 0.08);
}

.priority-pill.hidden {
  display: none;
}

.post-result-upsell-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent3);
}

.post-result-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.post-result-share-hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--text3);
}

.plan-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text3);
  font-style: italic;
}

.btn-export-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.modal-dfy {
  max-width: 420px;
}

.dfy-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.dfy-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text2);
}

.dfy-input,
.dfy-textarea {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text);
}

.dfy-textarea {
  resize: vertical;
  min-height: 4rem;
}

.modal-account {
  max-width: 420px;
}

.account-field-block {
  margin-top: 0.75rem;
}

.account-field-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 0.35rem;
}

.account-field-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.account-readonly-input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text);
}

.account-readonly-input.mono-input {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}

.account-field-row .btn-outline {
  flex-shrink: 0;
  align-self: center;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

.account-done-btn {
  width: 100%;
  margin-top: 1rem;
}

.site-footer {
  margin: 3rem auto 0;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border2);
  text-align: center;
  max-width: 1200px;
}

.site-footer-brand {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text3);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.site-footer-link {
  font-size: 0.82rem;
  color: var(--accent2);
  text-decoration: none;
}

.site-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .hero-use-cases {
    grid-template-columns: 1fr;
  }
}
