/*
 * 3DWireframer light theme — white + brand green #1ef876.
 *
 * Loaded on every public page via inc/partials/fa_stylesheet.php. Pages define their
 * tokens on :root in inline <style> blocks; `html:root` has higher specificity, so these
 * values win regardless of stylesheet order. Rules that patch hard-coded colours in page
 * styles are prefixed with `html body` for the same reason.
 *
 * Brand scale (derived from #1ef876):
 *   --brand        #1ef876  fills: buttons, badges, active states, scrollbar, hover bars
 *   --brand-hover  #17d968  hover fill
 *   --brand-ink    #062b14  text ON a brand fill
 *   --brand-text   #0b8a43  brand-coloured TEXT on white (#1ef876 text is unreadable: ~1.6:1)
 *   --brand-tint   #f0fff6  very light surface tint      --brand-line #a7fcc9  light border
 *
 * Style rules: flat white surfaces (no gradients on white), 4px corners, soft shadows.
 */
html:root {
  --brand: #1ef876 !important;
  --brand-hover: #17d968;
  --brand-ink: #062b14;
  --brand-text: #0b8a43;
  --brand-text-strong: #087236;
  --brand-tint: #f0fff6;
  --brand-soft: #d2fde4;
  --brand-line: #a7fcc9;
  --radius: 4px;
  --bg: #ffffff;
  --card: #ffffff;
  --nav-bg: rgba(255,255,255,0.9);
  --rim-soft: #eef0f2;

  --obsidian: #ffffff;
  --void: #ffffff;
  --surface: #f9fafb;
  --surface-raised: var(--rim-soft);
  --rim: var(--rim);
  --muted: var(--muted);
  --subtle: #9ca3af;
  /* Softer, warmer greys — friendlier than near-black. */
  --text-dim: #8a94a6;
  --text-mid: #5f6b7d;
  --text-body: #4a5568;
  --text-head: #2d3748;
  --text-bright: #2d3748;
  /* Legacy token names used across page styles, mapped to the brand. */
  --gold: #1ef876 !important;
  --gold-light: #17d968 !important;
  --gold-dim: #0b8a43 !important;
  --platinum: #4a5568;
  --accent: #0b8a43;
  --accent-glow: rgba(30, 248, 118, 0.25);
  --brand-a: #0b8a43;
  --brand-b: #087236;
  --go: #1ef876;
  --go-strong: #17d968;
  --go-ink: #062b14;
  color-scheme: light;
  /* Main app vertical scrollbar (Firefox). */
  scrollbar-width: thin;
  scrollbar-color: #1ef876 #ffffff;
}

/* ── Main scrollbar (WebKit/Blink) ────────────────────────────────────────── */
html ::-webkit-scrollbar { width: 10px; height: 10px; }
html ::-webkit-scrollbar-track { background: var(--bg); }
html ::-webkit-scrollbar-thumb { background: #1ef876 !important; border: 2px solid #ffffff; border-radius: 4px; }
html ::-webkit-scrollbar-thumb:hover { background: #17d968 !important; }

/* ── Base: flat white, no textures or gradients ───────────────────────────── */
html body { background: var(--bg); color: var(--text-body); font-weight: 300; }
html body::before { display: none !important; }
html body .grid-bg { display: none !important; }
html body section,
html body #contact,
html body .results-outputs-root,
html body .pro-tier-strip,
html body .batch-output-head,
html body .lp-money,
html body .tool-header,
html body .dropzone { background-image: none !important; }
html body .step-card--visual::before { background: #1ef876 !important; height: 3px; }

/* ── Header: frosted white, no bottom border, soft shadow ─────────────────── */
html body > nav,
html body .app-shell-nav {
  background: var(--nav-bg);
  border-bottom: 0 !important;
  box-shadow: 0 1px 0 rgba(45,55,72,0.03), 0 10px 30px -18px rgba(45,55,72,0.18);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
html body .app-shell-nav .nav-links { background-color: var(--bg); }
@media (min-width: 901px) { html body .app-shell-nav .nav-links { background-color: transparent; } }

/* Header + footer nav items: thick brand bar on hover. */
html body > nav .nav-links a:not(.nav-cta),
html body > nav .nav-links .nav-link-btn,
html body .app-shell-nav .nav-links a:not(.public-nav-cta),
html body .sf-col a,
html body .sf-bottom a {
  position: relative;
  border-bottom: 0 !important;
  padding-bottom: 5px;
  transition: color .2s ease;
}
/* Thick brand bar that grows in from the left after a short, deliberate delay. */
html body > nav .nav-links a:not(.nav-cta)::after,
html body > nav .nav-links .nav-link-btn::after,
html body .app-shell-nav .nav-links a:not(.public-nav-cta)::after,
html body .sf-col a::after,
html body .sf-bottom a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: #1ef876; transform: scaleX(0); transform-origin: left center;
  transition: transform .32s cubic-bezier(.2,.8,.2,1) 0s;
}
html body > nav .nav-links a:not(.nav-cta):hover::after,
html body > nav .nav-links .nav-link-btn:hover::after,
html body .app-shell-nav .nav-links a:not(.public-nav-cta):hover::after,
html body .sf-col a:hover::after,
html body .sf-bottom a:hover::after,
html body > nav .nav-links a:not(.nav-cta):focus-visible::after,
html body .app-shell-nav .nav-links a:not(.public-nav-cta):focus-visible::after { transform: scaleX(1); transition-delay: .12s; }
html body > nav .nav-links a:not(.nav-cta):hover,
html body > nav .nav-links .nav-link-btn:hover,
html body .app-shell-nav .nav-links a:not(.public-nav-cta):hover,
html body .sf-col a:hover,
html body .sf-bottom a:hover { color: var(--text-head); }
@media (prefers-reduced-motion: reduce) {
  html body .nav-links a::after, html body .sf-col a::after, html body .sf-bottom a::after { transition: none !important; }
}

/* ── Softer voice ─────────────────────────────────────────────────────────── */
html body .hero-title, html body .section-title, html body .lp-h1 { font-weight: 300; color: var(--text-head); letter-spacing: -0.015em; }
html body .hero-title em, html body .section-title em { color: var(--brand-text); }
html body .grad-word { background: none !important; color: var(--brand-text) !important; -webkit-text-fill-color: currentColor; font-weight: 400; }
html body .hero-desc, html body .lp-sub { color: var(--text-mid); }
html body .section-tag,
html body .lp-tag,
html body .divider-label { font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; font-size: 14px; font-weight: 500; color: var(--brand-text); }
html body .section-divider { display: none; }
html body .section-lede { max-width: 540px; margin: 16px auto 0; font-size: 18px; color: var(--text-mid); }
html body .nav-links a,
html body .nav-links .nav-link-btn,
html body .btn-primary, html body .btn-ghost, html body .nav-cta, html body .public-nav-cta,
html body .generate-btn, html body .lp-cta, html body .lp-cta-ghost, html body .plan-btn,
html body .btn-submit, html body .risk-line, html body .generations-counter { font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; }
html body .nav-links a, html body .nav-links .nav-link-btn { font-size: 15px; font-weight: 400; color: var(--text-mid); }

/* Brand-coloured text must stay readable on white. */
html body .control-value,
html body .generations-counter strong,
html body .quota-credit-label strong,
html body .batch-metric strong,
html body .lp-price-strip strong,
html body .lp-related a,
html body .formats-doc-link:hover,
html body .mock-foot .pill,
html body .lp-money li::before,
html body .lp-steps li::before,
html body .step-icon,
html body .batch-dashboard-icon,
html body .check-item .ico { color: var(--brand-text); }
html body .lp-steps li::before, html body .step-icon { border-color: #12b85a; }

/* ── Buttons: rectangular, flat brand fill ────────────────────────────────── */
html body .btn-primary,
html body .nav-cta,
html body .public-nav-cta,
html body .app-shell-nav .public-nav-cta,
html body .generate-btn,
html body .lp-cta,
html body .plan-btn-gold,
html body .plan-card-btn.is-gold,
html body .view-num-btn.active,
html body .step-badge,
html body .pro-tier-strip-badge,
html body .batch-file-zip-btn,
html body .results-actions .btn-gold,
html body .btn-upgrade,
html body .btn.btn-primary,
html body .sf-cta,
html body .contact-form-wrap .btn-submit {
  background: #1ef876 !important; border: 0 !important; color: #062b14 !important;
  border-radius: 4px !important; box-shadow: none !important; filter: none !important;
  letter-spacing: 0.02em !important; line-height: 1.25;
}
/* Breathing room for the primary/nav CTA buttons. */
html body .nav-cta, html body .public-nav-cta, html body .app-shell-nav .public-nav-cta { padding: 12px 24px !important; font-size: 15px !important; font-weight: 500 !important; }
html body .btn-primary, html body .lp-cta, html body .sf-cta { padding: 14px 28px !important; gap: 10px; }
html body .btn-primary:hover,
html body .nav-cta:hover,
html body .public-nav-cta:hover,
html body .generate-btn:hover,
html body .lp-cta:hover,
html body .plan-btn-gold:hover,
html body .plan-card-btn.is-gold:hover,
html body .batch-file-zip-btn:hover:not(:disabled),
html body .btn-upgrade:hover,
html body .sf-cta:hover,
html body .contact-form-wrap .btn-submit:hover { background: #17d968 !important; }
html body .btn-primary, html body .btn-ghost, html body .nav-cta, html body .public-nav-cta,
html body .generate-btn, html body .lp-cta, html body .lp-cta-ghost, html body .btn-submit { font-size: 15px; font-weight: 500; }
html body .btn-ghost,
html body .lp-cta-ghost,
html body .plan-btn,
html body .plan-card-btn,
html body .view-num-btn,
html body .quality-btn,
html body .color-random-btn,
html body .color-presets-save-btn,
html body .results-actions button,
html body .results-actions a,
html body .gallery-nav-btn,
html body .format-tag,
html body .status-pill,
html body .profile-trigger { border-radius: 4px !important; }
html body .profile-trigger {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  background: #1ef876 !important;
  color: #062b14 !important;
  box-shadow: none !important;
}
html body .profile-trigger:hover,
html body .profile-trigger[aria-expanded="true"] {
  background: #17d968 !important;
  color: #062b14 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html body .profile-trigger i { filter: none !important; color: inherit !important; }

/* ── Flat accent elements (were gradients) ────────────────────────────────── */
html body .quality-btn.active { background: var(--brand-tint) !important; border-color: #1ef876; color: var(--brand-text-strong); box-shadow: none; }
html body .results-actions #new-upload-btn.btn-new-file { background: var(--brand-tint) !important; border-color: #1ef876; color: var(--brand-text-strong); box-shadow: none; animation: none; }
html body .pro-tier-strip { background: var(--brand-tint) !important; }
html body .lp-money { background: var(--brand-tint) !important; border-color: var(--brand-line); }
html body .batch-output-head { background: var(--bg) !important; }
html body .results-outputs-root { background: var(--bg) !important; }
html body .hero-badge .badge-dot { background: #1ef876; box-shadow: none; }
html body .mock-foot .pill { background: var(--brand-tint); border-color: var(--brand-line); }
html body .check-item .ico { background: var(--brand-tint); border-color: var(--brand-line); }
html body .profile-dropdown-item:hover { background: var(--brand-tint); color: var(--brand-text-strong); }
html body .mock, html body .results-tool, html body .batch-output-card, html body .profile-dropdown,
html body .lp-hero-img-wrap { box-shadow: 0 20px 50px -24px rgba(17,24,39,0.18); border-radius: 4px; }
html body .risk-line { font-size: 14px; color: var(--text-mid); }
html body .risk-line svg { color: var(--brand-text); }

/* Marketing art was produced in green already; no hue shift needed. */
html body .step-img img, html body .mock-tile img, html body .lp-hero-img-wrap img { filter: none; }

/* ── Inputs ───────────────────────────────────────────────────────────────── */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
html body select,
html body textarea { background-color: var(--card); color: var(--text-head); border-color: var(--rim); border-radius: 4px; }
html body input:focus, html body select:focus, html body textarea:focus { border-color: #1ef876; outline: none; box-shadow: 0 0 0 3px rgba(30,248,118,0.3); }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: #1ef876; }

/* ══ Generator as hero ═══════════════════════════════════════════════════════ */
html body #upload.hero-gen { padding: 44px 40px 72px; min-height: auto; }
html body .hero-gen-head { max-width: 900px; margin: 0 auto 26px; text-align: center; }
html body .hero-gen-title { font-family: 'Outfit', sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; color: var(--text-head); margin: 0 0 12px; }
html body .hero-gen-sub { font-size: 18px; color: var(--text-mid); max-width: 680px; margin: 0 auto 14px; line-height: 1.6; }
html body .hero-gen-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; font-size: 14px; color: var(--text-dim); }
html body .hero-gen-meta span + span::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #1ef876; margin-right: 10px; vertical-align: middle; }
html body .hero-gen-meta strong { color: var(--brand-text); font-weight: 600; }
html body #upload.hero-gen .tool-container { max-width: 980px; }
@media (max-width: 700px) { html body #upload.hero-gen { padding: 28px 16px 56px; } html body .hero-gen-sub { font-size: 16px; } }

/* ══ Generator ═══════════════════════════════════════════════════════════════ */
html body .tool-container { border: 1px solid var(--rim); border-radius: 4px; background: var(--card); box-shadow: 0 2px 4px rgba(45,55,72,0.03), 0 30px 60px -40px rgba(45,55,72,0.3); }
html body .tool-header { background: var(--bg) !important; border-bottom: 1px solid var(--rim); padding: 18px 28px; }
html body .tool-header-title { font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; font-size: 15px; font-weight: 500; color: var(--text-head); }
html body .status-pill { font-family: 'Outfit', sans-serif; letter-spacing: 0.02em; color: var(--brand-text); border-color: var(--brand-line); background: var(--card); }
html body .status-dot { background: #1ef876; }
html body .tool-body { padding: 32px 28px 36px; }
html body .dropzone { border: 2px dashed #1ef876; border-radius: 4px; background: var(--bg) !important; min-height: 260px; }
html body .dropzone:hover, html body .dropzone.drag-over { border-color: #12b85a; background: var(--brand-tint) !important; }
html body .dropzone::after { display: none; }
html body .drop-assurance {
  background: linear-gradient(135deg, rgba(30,248,118,0.12), rgba(30,248,118,0.04)) !important;
  border-color: rgba(30,248,118,0.35) !important;
  border-left: 3px solid #1ef876 !important;
  border-radius: 4px !important;
  color: var(--text-head) !important;
}
html body .drop-assurance strong { color: var(--brand-text-strong, #0b8a43) !important; }
html body .drop-icon { border: 0; border-radius: 4px; width: 60px; height: 60px; background: var(--brand-soft); color: var(--brand-text-strong); }
html body .drop-title { font-weight: 400; font-size: 21px; }
html body .drop-sub { font-family: 'Outfit', sans-serif; letter-spacing: 0.01em; font-size: 14px; }
html body .format-tag { font-family: 'Outfit', sans-serif; border: 1px solid var(--brand-line); background: var(--brand-tint); color: var(--brand-text-strong); padding: 4px 10px; }
html body .tool-options-table { border: 1px solid var(--rim); border-radius: 4px; background: var(--card); }
html body .tool-options-table .option-row .option-label { background: var(--bg); color: var(--text-mid); font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; font-size: 14px; font-weight: 500; border-bottom-color: var(--rim-soft); border-right: 3px solid var(--brand-soft); }
html body .tool-options-table .option-row .option-control { border-bottom-color: var(--rim-soft); }
html body .view-num-btn, html body .quality-btn, html body .color-presets-save-btn { background: var(--card); border: 1px solid var(--rim); font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; color: var(--text-body); }
html body .color-random-btn {
  background: #1ef876 !important; border: 0 !important; color: #062b14 !important;
  font-family: 'Outfit', sans-serif !important; text-transform: none !important; letter-spacing: 0.02em !important;
  border-radius: 4px !important;
}
html body .color-random-btn:hover:not(:disabled) { background: #17d968 !important; color: #062b14 !important; }
html body .view-num-btn:hover, html body .quality-btn:hover:not(.active) { background: var(--brand-tint); border-color: var(--brand-line); }
html body .color-swatch, html body .color-preset-slot { border-radius: 4px; }
html body .color-custom { background: var(--card); border-color: var(--rim); border-radius: 4px; }
html body .generate-btn { padding: 16px 0; font-size: 16px; }

/* ══ "Everything included" cards ═════════════════════════════════════════════ */
html body #features { padding-top: 120px; padding-bottom: 120px; }
html body .feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
html body .feat-card { position: relative; padding: 32px 28px; border-radius: 4px; background: var(--card); border: 1px solid var(--rim-soft); box-shadow: 0 18px 40px -30px rgba(45,55,72,0.25); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
html body .feat-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #1ef876; opacity: 0; transition: opacity .3s; }
html body .feat-card:hover { transform: translateY(-3px); border-color: var(--brand-line); }
html body .feat-card:hover::after { opacity: 1; }
html body .feat-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 4px; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-text); font-size: 18px; margin-bottom: 20px; border: 1px solid var(--brand-line); }
html body .feat-card h3 { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 500; color: var(--text-head); margin: 0 0 8px; }
html body .feat-card p { font-size: 15.5px; line-height: 1.7; color: var(--text-mid); margin: 0; }
@media (max-width: 900px) { html body .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { html body .feat-grid { grid-template-columns: 1fr; } html body #features { padding: 80px 20px; } }

/* ══ Plan cards (homepage + /pricing) ════════════════════════════════════════ */
html body .plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1160px; margin: 0 auto; align-items: stretch; }
html body .plan-card { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border-radius: 4px; background: var(--card); border: 1px solid var(--rim); box-shadow: 0 22px 46px -34px rgba(45,55,72,0.3); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
html body .plan-card:hover { transform: translateY(-3px); }
html body .plan-card.is-featured { background: var(--bg); border: 2px solid #1ef876; }
html body .plan-card-flag { position: absolute; top: -12px; left: 26px; padding: 3px 10px; border-radius: 4px; background: #1ef876; color: #062b14; font-size: 12px; font-weight: 500; }
html body .plan-card-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 500; color: var(--text-head); margin: 0; }
html body .plan-card-tag { font-size: 14px; color: var(--text-dim); margin: 4px 0 22px; }
html body .plan-card-price { display: flex; align-items: baseline; gap: 4px; margin: 0; color: var(--text-head); }
html body .plan-card-price .cur { font-size: 20px; color: var(--text-dim); align-self: flex-start; margin-top: 6px; }
html body .plan-card-price .amt { font-size: 48px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
html body .plan-card-price .unit { font-size: 14px; color: var(--text-dim); margin-left: 4px; }
html body .plan-card-note { font-size: 13px; color: var(--text-dim); margin: 8px 0 22px; min-height: 2.6em; }
html body .plan-card-list { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--rim-soft); display: grid; gap: 11px; flex: 1; }
html body .plan-card-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-body); line-height: 1.5; }
html body .plan-card-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 3px; background: #d2fde4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087236' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat; }
html body .plan-card-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 13px 0; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s; }
html body .plan-card-btn.is-ghost { background: var(--card); border: 1px solid var(--muted); color: var(--text-head); }
html body .plan-card-btn.is-ghost:hover { border-color: #1ef876; background: var(--brand-tint); }
html body .plan-card-btn:disabled { opacity: .6; cursor: wait; }
html body .plans-compare-link { text-align: center; margin: 32px 0 0; }
html body .plans-compare-link a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 4px; background: var(--card); border: 1px solid var(--rim); color: var(--text-head); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .25s, background .25s; }
html body .plans-compare-link a i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; background: #1ef876; color: #062b14; font-size: 13px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
html body .plans-compare-link a:hover { border-color: #1ef876; background: var(--brand-tint); }
html body .plans-compare-link a:hover i { transform: translateX(4px); }
@media (max-width: 1080px) { html body .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { html body .plans-grid { grid-template-columns: 1fr; } }

/* ══ Contact ═════════════════════════════════════════════════════════════════ */
html body #contact { border-top: 0; background: var(--bg) !important; }
html body .contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: start; }
html body .contact-aside { padding: 32px 28px; border-radius: 4px; background: var(--brand-tint); border: 1px solid var(--brand-line); }
html body .contact-aside h3 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 400; color: var(--text-head); margin: 0 0 10px; }
html body .contact-aside p { font-size: 16px; color: var(--text-mid); margin: 0 0 20px; }
html body .contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
html body .contact-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--text-body); }
html body .contact-points i { width: 34px; height: 34px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: var(--card); color: var(--brand-text); border: 1px solid var(--brand-line); }
html body .contact-points a { color: var(--brand-text); }
html body .contact-form-wrap { max-width: none; margin: 0; padding: 30px 28px; border-radius: 4px; background: var(--card); border: 1px solid var(--rim); box-shadow: 0 22px 46px -34px rgba(45,55,72,0.3); }
html body .contact-form-wrap .form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
html body .contact-form-wrap label { font-family: 'Outfit', sans-serif; text-transform: none; letter-spacing: 0.01em; font-size: 14px; font-weight: 500; color: var(--text-body); }
html body .contact-form-wrap input, html body .contact-form-wrap select, html body .contact-form-wrap textarea { border-radius: 4px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--rim); }
html body .contact-form-wrap .btn-submit { width: 100%; padding: 14px 0; text-transform: none; }
html body .contact-form-wrap .form-feedback.success { color: var(--brand-text); }
@media (max-width: 820px) { html body .contact-layout { grid-template-columns: 1fr; } html body .contact-form-wrap .form-pair { grid-template-columns: 1fr; gap: 0; } }

/* ══ Footer: compact, aligned baseline ═══════════════════════════════════════ */
html body .site-footer { position: relative; z-index: 1; display: block; padding: 40px 24px 18px; margin: 0; border-top: 1px solid var(--rim-soft); background: var(--bg); line-height: 1.5; }
html body .site-footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; align-items: start; }
html body .sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
html body .sf-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-head); font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 500; line-height: 1; }
html body .sf-logo svg { display: block; flex-shrink: 0; }
html body .sf-logo b { font-weight: 300; margin-left: 1px; color: var(--brand-text); }
html body .sf-blurb { font-size: 14px; color: var(--text-mid); margin: 0; max-width: 260px; line-height: 1.55; }
html body .sf-cta { display: inline-block; padding: 9px 16px; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.2; }
html body .sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: none !important; box-shadow: none !important; padding: 0; }
html body .sf-col h4 { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-head); margin: 0 0 4px; line-height: 1.4; }
html body .sf-col a { font-size: 14px; line-height: 1.5; color: var(--text-mid); text-decoration: none; }
html body .sf-bottom { max-width: 1160px; margin: 28px auto 0; padding-top: 14px; border-top: 1px solid var(--rim-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; justify-content: space-between; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
html body .sf-bottom a { color: var(--text-mid); text-decoration: none; }
@media (max-width: 980px) { html body .site-footer-inner { grid-template-columns: repeat(2, 1fr); } html body .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { html body .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ══ Logo: green hex + spinning cube · strong 3D / Wireframer under ═══ */
html body .nav-logo { gap: 12px; align-items: center; }
html body .logo-mark { position: relative; width: 42px !important; height: 42px !important; border-radius: 0; background: transparent !important; display: flex; align-items: center; justify-content: center; overflow: visible; flex-shrink: 0; border: 0 !important; box-shadow: none !important; outline: 0; }
html body .logo-mark svg { width: 42px !important; height: 42px !important; overflow: visible; filter: drop-shadow(0 0 6px rgba(11,138,67,0.35)) !important; }
html body .logo-mark .lm-tile stop { stop-color: #0b8a43 !important; }
html body .logo-mark .lm-tile stop:first-child { stop-color: #12b85a !important; }
html body .logo-mark .lm-halo { fill: #0b8a43 !important; }
html body .logo-mark .lm-cube { stroke: #062b14 !important; }
html body .logo-mark::after, html body .logo-mark::before { content: none !important; display: none !important; }
html body .logo-text-wrap { flex-direction: column !important; align-items: flex-start !important; gap: 1px !important; }
html body .logo-text-3d {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  color: #0a0c0b !important;
  text-shadow: 0 1px 0 rgba(11,138,67,0.2) !important;
}
html body .logo-text-wire {
  display: block !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #0b8a43 !important;
  line-height: 1.1 !important;
  margin-top: 2px !important;
}
html[data-theme="dark"] body .logo-mark svg { filter: drop-shadow(0 0 8px rgba(30,248,118,0.45)) !important; }
html[data-theme="dark"] body .logo-mark .lm-tile stop:nth-child(1) { stop-color: #8dffc0 !important; }
html[data-theme="dark"] body .logo-mark .lm-tile stop:nth-child(2) { stop-color: #1ef876 !important; }
html[data-theme="dark"] body .logo-mark .lm-tile stop:nth-child(3) { stop-color: #0bc45e !important; }
html[data-theme="dark"] body .logo-mark .lm-halo { fill: #1ef876 !important; }
html[data-theme="dark"] body .logo-mark .lm-cube { stroke: #062b14 !important; }
html[data-theme="dark"] body .logo-text-3d {
  color: #f4f7f5 !important;
  text-shadow: 0 0 18px rgba(30,248,118,0.35), 0 1px 0 rgba(30,248,118,0.35), 0 2px 0 rgba(11,138,67,0.25) !important;
}
html[data-theme="dark"] body .logo-text-wire { color: #1ef876 !important; }
html body.app-shell-page .btn-zip {
  background: #1ef876 !important;
  border: 0 !important;
  color: #062b14 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: 'Outfit', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}
html body.app-shell-page .btn-zip:hover { background: #17d968 !important; color: #062b14 !important; }
html body .sf-logo svg { background: #1ef876; border-radius: 4px; padding: 3px; box-sizing: border-box; }
html body .sf-logo svg g { stroke: #062b14 !important; stroke-width: 1.5; }
html body .sf-logo b { color: var(--text-head); }

/* ══ Theme toggle ════════════════════════════════════════════════════════════ */
html body .theme-toggle-li { display: flex; align-items: center; }
html body .theme-toggle { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: #1ef876; color: #062b14; cursor: pointer; transition: background .2s, transform .2s; }
html body .theme-toggle:hover { background: #17d968; }
html body .theme-toggle i { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
html body .theme-toggle:hover i { transform: rotate(-20deg); }
html body .theme-toggle:active { transform: scale(.94); }
html body .theme-toggle .fa-sun { display: none; }
html[data-theme="dark"] body .theme-toggle .fa-moon { display: none; }
html[data-theme="dark"] body .theme-toggle .fa-sun { display: inline-block; color: #062b14; }
/* GDPR cookie banner (injected by site.js) */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10050;
  padding: 0 env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
#cookie-banner.is-visible { transform: translateY(0); pointer-events: auto; }
body:has(#cookie-banner.is-visible) .lp-sticky-cta {
  bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner-inner {
  max-width: 960px; margin: 0 auto 12px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--card, #12141a); border: 1px solid var(--rim, #1e2129); border-radius: 6px;
  box-shadow: 0 18px 40px -24px rgba(6, 43, 20, 0.55);
}
@media (max-width: 640px) {
  .cookie-banner-inner { margin: 0 10px 10px; padding: 12px 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1 1 auto; text-align: center; }
  body:has(#cookie-banner.is-visible) .lp-sticky-cta {
    bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }
}
.cookie-banner-copy { margin: 0; flex: 1 1 280px; font-size: 14px; line-height: 1.55; color: var(--text-mid, #9ea3b8); }
.cookie-banner-copy strong { color: var(--text-head, #eef0f5); font-weight: 560; }
.cookie-banner-copy a { color: var(--brand-text, #1ef876); text-decoration: none; }
.cookie-banner-copy a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 4px; cursor: pointer; border: 1px solid transparent;
}
.cookie-btn-ghost { background: transparent; border-color: var(--rim, #1e2129); color: var(--text-head, #eef0f5); }
.cookie-btn-ghost:hover { border-color: var(--subtle, #3a3e4d); }
.cookie-btn-accept { background: #1ef876; color: #062b14; border: 0; }
.cookie-btn-accept:hover { background: #17d968; }

/* Theme switch: animate only root surfaces — never body * (that lags hard). */
html.theme-anim,
html.theme-anim body {
  transition: background-color .18s ease, color .18s ease !important;
}
html.theme-anim .app-shell-nav,
html.theme-anim nav,
html.theme-anim .app-shell-footer,
html.theme-anim footer,
html.theme-anim .tool-container,
html.theme-anim .row,
html.theme-anim .card,
html.theme-anim .plan-card,
html.theme-anim .feat-card,
html.theme-anim .public-nav,
html.theme-anim .theme-toggle {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease !important;
}

/* ══ Hero meta: live stat + chips ════════════════════════════════════════════ */
html body .hero-gen-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 6px 0 0; }
html body .hero-gen-meta li::before { display: none !important; }
html body .hgm-stat { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 4px; background: var(--card); border: 1px solid var(--rim); font-size: 14px; color: var(--text-mid); }
html body .hgm-stat strong { font-size: 18px; font-weight: 600; color: var(--text-head) !important; font-variant-numeric: tabular-nums; }
html body .hgm-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1ef876; align-self: center; }
html body .hgm-live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1ef876; opacity: 0; animation: hgm-ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes hgm-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
html body .hgm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; background: var(--brand-tint); border: 1px solid var(--brand-line); font-size: 14px; color: var(--brand-text-strong); }
html body .hgm-formats { gap: 4px; padding: 5px 6px; }
html body .hgm-formats b { font-weight: 600; font-size: 12px; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 3px; background: var(--card); color: var(--text-head); transition: background .2s, color .2s; }
html body .hgm-formats b:hover { background: #1ef876; color: #062b14; }

/* ══ How it works ════════════════════════════════════════════════════════════ */
html body #how { padding: 110px 40px; }
html body .how-flow { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: none; }
html body .how-flow::before { content: ''; position: absolute; top: 34%; left: 12%; right: 12%; height: 2px; background-image: repeating-linear-gradient(90deg, #1ef876 0 8px, transparent 8px 16px); z-index: 0; opacity: .6; animation: how-dash 1.2s linear infinite; }
@keyframes how-dash { to { background-position: 16px 0; } }
html body .how-step { position: relative; z-index: 1; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rim); border-radius: 4px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
html body .how-step:hover { transform: translateY(-6px); border-color: #1ef876; box-shadow: 0 30px 60px -36px rgba(11,138,67,0.45); }
html body .how-art { margin: 0; aspect-ratio: 1 / 1; background: #ffffff; overflow: hidden; border-bottom: 1px solid var(--rim-soft); }
html body .how-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
html body .how-step:hover .how-art img { transform: scale(1.06) rotate(-0.6deg); }
html body .how-copy { position: relative; padding: 26px 24px 24px; }
html body .how-num { position: absolute; top: -22px; left: 24px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: #1ef876; color: #062b14; font-weight: 600; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(11,138,67,0.6); transition: transform .35s; }
html body .how-step:hover .how-num { transform: translateY(-3px) rotate(-6deg); }
html body .how-copy h3 { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 500; color: var(--text-head); margin: 10px 0 8px; }
html body .how-copy p { font-size: 15.5px; line-height: 1.65; color: var(--text-mid); margin: 0 0 14px; }
html body .how-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand-text); background: var(--brand-tint); border-radius: 3px; padding: 3px 9px; }
html body .how-cta { text-align: center; margin: 44px 0 0; }
html[data-theme="dark"] body .how-art img { filter: invert(1) hue-rotate(180deg) brightness(.92); }
@media (max-width: 900px) { html body .how-flow { grid-template-columns: 1fr; max-width: 460px; } html body .how-flow::before { display: none; } html body #how { padding: 80px 20px; } }

/* ══ CTA panel (above contact) ═══════════════════════════════════════════════ */
html body .cta-panel { padding: 40px 24px 100px; }
html body .cta-panel-inner { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 32px; padding: 64px 64px; border-radius: 4px; background: #062b14; color: #d7f5e3; overflow: hidden; }
html body .cta-panel-inner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(30,248,118,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,248,118,0.07) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
html body .cta-panel-copy { position: relative; z-index: 1; }
html body .cta-panel h2 { font-family: 'Outfit', sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; margin: 0 0 16px; }
html body .cta-panel h2 span { color: #1ef876; font-weight: 400; }
html body .cta-panel-copy > p { font-size: 18px; line-height: 1.65; color: #b5dcc5; max-width: 520px; margin: 0 0 28px; }
html body .cta-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 34px; }
html body .cta-panel-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 4px; background: #1ef876; color: #062b14; font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; transition: transform .2s, background .2s; }
html body .cta-panel-btn:hover { background: #17d968; transform: translateY(-2px); }
html body .cta-panel-btn i { transition: transform .25s; }
html body .cta-panel-btn:hover i { transform: translateY(-3px); }
html body .cta-panel-link { color: #d7f5e3; text-decoration: none; font-size: 15px; border-bottom: 2px solid rgba(30,248,118,0.5); padding-bottom: 2px; transition: border-color .2s; }
html body .cta-panel-link:hover { border-color: #1ef876; }
html body .cta-panel-stats { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(30,248,118,0.18); display: flex; flex-wrap: wrap; gap: 36px; }
html body .cta-panel-stats strong { display: block; font-size: 26px; font-weight: 500; color: #ffffff; line-height: 1.1; }
html body .cta-panel-stats span { font-size: 13px; color: #8fbfa3; }
html body .cta-panel-art { position: relative; z-index: 1; display: flex; justify-content: center; }
html body .cta-panel-art svg { width: min(300px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(30,248,118,0.35)); }
html body .cta-cube { transform-origin: 16px 16px; animation: cta-spin 18s linear infinite; }
html body .cta-cube line { stroke-dasharray: 24; stroke-dashoffset: 24; animation: cta-draw 2.4s ease-out forwards; }
html body .cta-cube line:nth-child(2n) { animation-delay: .2s; } html body .cta-cube line:nth-child(3n) { animation-delay: .4s; }
@keyframes cta-spin { to { transform: rotate(360deg); } }
@keyframes cta-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { html body .cta-panel-inner { grid-template-columns: 1fr; padding: 44px 28px; } html body .cta-panel-art { display: none; } }

/* ══ Contact subject select ══════════════════════════════════════════════════ */
html body .select-wrap { position: relative; }
html body .select-wrap select { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; padding-right: 46px !important; cursor: pointer; transition: border-color .25s, box-shadow .25s, background-color .25s; }
html body .select-wrap select:hover { border-color: #1ef876 !important; background-color: var(--brand-tint) !important; }
html body .select-wrap select:invalid { color: var(--text-dim); }
html body .select-wrap select option { color: var(--text-head); background: var(--card); }
html body .select-chevron { position: absolute; right: 6px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 3px; background: var(--brand-soft); pointer-events: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s; }
html body .select-chevron::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px; border-right: 2px solid var(--brand-text-strong); border-bottom: 2px solid var(--brand-text-strong); transform: rotate(45deg); }
html body .select-wrap:focus-within .select-chevron { transform: rotate(180deg); background: #1ef876; }
html body .select-wrap:focus-within .select-chevron::before { border-color: #062b14; }

/* ══ Generator drop zone: interactive ════════════════════════════════════════ */
html body .dropzone.dz-fx { border-color: transparent !important; perspective: 900px; transition: background-color .3s, transform .3s; }
html body .dz-ants { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
html body .dz-ants rect { fill: none; stroke: #1ef876; stroke-width: 2; stroke-dasharray: 10 8; animation: dz-march 18s linear infinite; transition: stroke-width .25s; }
@keyframes dz-march { to { stroke-dashoffset: -360; } }
html body .dropzone.dz-fx:hover .dz-ants rect { animation-duration: 8s; }
html body .dropzone.dz-fx .dropzone-content { position: relative; z-index: 2; transform: rotateX(var(--dz-rx, 0deg)) rotateY(var(--dz-ry, 0deg)); transition: transform .25s ease-out; }
html body .dropzone.dz-fx .drop-icon { animation: dz-float 3.2s ease-in-out infinite; transition: background .25s, transform .25s; }
@keyframes dz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
html body .dz-corner { position: absolute; width: 18px; height: 18px; border: 3px solid #1ef876; z-index: 2; pointer-events: none; opacity: .0; transition: all .35s cubic-bezier(.2,.8,.2,1); }
html body .dz-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
html body .dz-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
html body .dz-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
html body .dz-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
html body .dropzone.dz-fx:hover .dz-corner { opacity: 1; }
html body .dropzone.dz-fx:hover .dz-tl { top: 10px; left: 10px; } html body .dropzone.dz-fx:hover .dz-tr { top: 10px; right: 10px; }
html body .dropzone.dz-fx:hover .dz-bl { bottom: 10px; left: 10px; } html body .dropzone.dz-fx:hover .dz-br { bottom: 10px; right: 10px; }
html body .dz-release { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); z-index: 3; padding: 6px 14px; border-radius: 4px; background: #062b14; color: #1ef876; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
/* Dragging a file anywhere on the page */
html body.dz-page-drag .dropzone.dz-fx { background-color: var(--brand-tint) !important; }
html body.dz-page-drag .dz-ants rect { animation-duration: 4s; }
html body.dz-page-drag .dz-corner { opacity: 1; }
/* Directly over the drop zone */
html body .dropzone.dz-fx.dz-over, html body .dropzone.dz-fx.drag-over { background-color: var(--brand-soft) !important; transform: scale(1.012); }
html body .dropzone.dz-fx.dz-over .dz-ants rect, html body .dropzone.dz-fx.drag-over .dz-ants rect { stroke-width: 3; animation-duration: 2s; }
html body .dropzone.dz-fx.dz-over .dz-release, html body .dropzone.dz-fx.drag-over .dz-release { opacity: 1; transform: translate(-50%, 0); }
html body .dropzone.dz-fx.dz-over .drop-icon, html body .dropzone.dz-fx.drag-over .drop-icon { background: #1ef876; color: #062b14; animation: none; transform: translateY(-8px) scale(1.08); }
html body .dropzone.dz-fx.dz-over .dz-tl, html body .dropzone.dz-fx.drag-over .dz-tl { top: 6px; left: 6px; }
html body .dropzone.dz-fx.dz-over .dz-tr, html body .dropzone.dz-fx.drag-over .dz-tr { top: 6px; right: 6px; }
html body .dropzone.dz-fx.dz-over .dz-bl, html body .dropzone.dz-fx.drag-over .dz-bl { bottom: 6px; left: 6px; }
html body .dropzone.dz-fx.dz-over .dz-br, html body .dropzone.dz-fx.drag-over .dz-br { bottom: 6px; right: 6px; }
/* File accepted: quick confirmation burst */
html body .dropzone.dz-fx.dz-loaded .drop-icon { animation: dz-pop .7s cubic-bezier(.2,.8,.2,1); }
html body .dropzone.dz-fx.dz-loaded .dz-ants rect { stroke-dasharray: 0; transition: stroke-dasharray .4s; }
@keyframes dz-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
html body .dropzone.dz-fx .format-tag { transition: transform .2s, background .2s; }
html body .dropzone.dz-fx .format-tag:hover { transform: translateY(-2px); background: #1ef876; color: #062b14; }
@media (prefers-reduced-motion: reduce) {
  html body .dz-ants rect, html body .dropzone.dz-fx .drop-icon, html body .cta-cube, html body .how-flow::before, html body .hgm-live::after { animation: none !important; }
}

/* ══ Dark mode ═══════════════════════════════════════════════════════════════
   Toggled by js/site.js (data-theme on <html>), defaulting to the OS preference.
   Higher specificity than html:root, so it overrides the light tokens above. */
html[data-theme="dark"]:root {
  --bg: #0b0f0d;
  --card: #111814;
  --nav-bg: rgba(11,15,13,0.86);
  --rim: #1f2a24;
  --rim-soft: #18211c;
  --obsidian: #0b0f0d;
  --void: #0b0f0d;
  --surface: #111814;
  --surface-raised: #18211c;
  --muted: #2b3832;
  --subtle: #4b5a52;
  --text-dim: #7d8c84;
  --text-mid: #a6b4ad;
  --text-body: #c9d4ce;
  --text-head: #eef5f1;
  --text-bright: #f6fbf8;
  --brand-text: #1ef876;
  --brand-text-strong: #5cfb9c;
  --brand-tint: rgba(30,248,118,0.07);
  --brand-soft: rgba(30,248,118,0.16);
  --brand-line: rgba(30,248,118,0.3);
  --gold-dim: #1ef876 !important;
  --accent: #1ef876;
  --platinum: #c9d4ce;
  color-scheme: dark;
  scrollbar-color: #1ef876 #0b0f0d;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text-body); }
html[data-theme="dark"] body .tool-container,
html[data-theme="dark"] body .feat-card,
html[data-theme="dark"] body .plan-card,
html[data-theme="dark"] body .contact-form-wrap,
html[data-theme="dark"] body .how-step { box-shadow: none; }
html[data-theme="dark"] body .plan-card-list li::before { background-color: rgba(30,248,118,0.18); }
html[data-theme="dark"] body .plan-card-btn.is-ghost { background: transparent; border-color: var(--muted); }
html[data-theme="dark"] body .cta-panel-inner { background: #0f1f16; box-shadow: inset 0 0 0 1px rgba(30,248,118,0.2); }
html[data-theme="dark"] body .hgm-formats b { background: var(--surface-raised); }
html[data-theme="dark"] body .logo-mark::after { box-shadow: none; }
html[data-theme="dark"] body .pc-table thead th { background: var(--bg) !important; }
html[data-theme="dark"] body .pc-table thead th.is-pro, html[data-theme="dark"] body .pc-table td.is-pro { background: rgba(30,248,118,0.06) !important; }
html[data-theme="dark"] body .pr-faq details { background: var(--card); }
html[data-theme="dark"] body .lp-brand-badge { background: #ffffff; }
html[data-theme="dark"] body img[src*="showcase-image"], html[data-theme="dark"] body .gallery-slide img { filter: none; }

/* ══ Dashboard / Account / Viewer hard-coded dark page skins ═════════════════
   These pages still ship inline #hex colours from the old mono UI. Map them to
   theme tokens so light/dark switch matches the rest of the site. */
html body.app-shell-page .dash-page-head h1,
html body.app-shell-page .acc-page-head h1,
html body.app-shell-page .meta,
html body.app-shell-page .status { color: var(--text-head) !important; }
html body.app-shell-page .btn {
  border-color: var(--rim) !important;
  background: var(--card) !important;
  color: var(--text-mid) !important;
}
html body.app-shell-page .btn:hover { color: var(--text-head) !important; border-color: var(--subtle) !important; }
html body.app-shell-page .btn-cyan {
  border-color: rgba(30, 248, 118, 0.55) !important;
  background: var(--card) !important;
  color: var(--brand-text) !important;
  box-shadow: none !important;
}
html body.app-shell-page .dash-toolbar-label,
html body.app-shell-page .seg-btn { color: var(--text-dim) !important; }
html body.app-shell-page .seg { border-color: var(--rim) !important; background: var(--void) !important; }
html body.app-shell-page .seg-btn.active { background: var(--surface-raised) !important; color: var(--brand-text) !important; }
html body.app-shell-page .row,
html body.app-shell-page .card-like,
html body.app-shell-page .list > div,
html body.app-shell-page .gen-card {
  border-color: var(--rim) !important;
  background: var(--card) !important;
  color: var(--text-body) !important;
}
html body.app-shell-page input,
html body.app-shell-page select,
html body.app-shell-page textarea {
  border-color: var(--rim) !important;
  background: var(--surface) !important;
  color: var(--text-head) !important;
}
html body.app-shell-page label { color: var(--text-mid) !important; }
html body.app-shell-page .tier-badge,
html body.app-shell-page .plan-card-name { color: var(--brand-text) !important; }
html body.app-shell-page .billing-plan-name { color: var(--text-head) !important; }
html body.app-shell-page .viewer-sidebar {
  background: var(--card) !important;
  border-color: var(--rim) !important;
}
html body.app-shell-page .viewer-sidebar,
html body.app-shell-page .viewer-sidebar * { color: inherit; }
html body.app-shell-page .gate-inner,
html body.app-shell-page .viewer-dropzone {
  border-color: var(--rim) !important;
  background: var(--card) !important;
}

/* ══ Header on inner pages (viewer, pricing, blog, landers, account) ══════════
   app-shell.css was built for the old dark mono nav; normalise it to match index. */
html body .app-shell-nav { height: 70px; padding: 0 32px; display: flex; align-items: center; gap: 24px; }
html body .app-shell-nav .nav-links { gap: 26px; align-items: center; margin: 0; padding: 0; }
html body .app-shell-nav .nav-links li { display: flex; align-items: center; }
/* Do not let the generic li flex rule un-hide the mobile-only CTA/profile slot on desktop
   (that was rendering two profile buttons on /viewer and other public_nav pages). */
html body .app-shell-nav .nav-links li.public-nav-cta-item { display: none; }
@media (max-width: 900px) {
  html body .app-shell-nav .nav-links li.public-nav-cta-item { display: list-item; }
  html body .app-shell-nav .nav-actions .nav-profile-wrap { display: none !important; }
}
html body .app-shell-nav .nav-links a.app-shell-nav-active { color: var(--text-head); box-shadow: none; }
html body .app-shell-nav .nav-links a.app-shell-nav-active::after { transform: scaleX(1); }
html body .app-shell-nav .nav-toggle { border: 1px solid var(--rim); background: var(--card); color: var(--text-head); border-radius: 4px; }
html body .app-shell-nav .nav-actions { display: flex; align-items: center; gap: 12px; }
html body .app-shell-nav .profile-dropdown { background: var(--card); border: 1px solid var(--rim); border-radius: 4px; }
html body .app-scroll-top, html body .scroll-to-top { background: #1ef876; color: #062b14; border: 0; border-radius: 4px; }
@media (max-width: 900px) {
  html body .app-shell-nav { height: 60px; padding: 0 16px; }
  html body .app-shell-nav .nav-links { box-shadow: 0 20px 40px -20px rgba(17,24,39,0.25); }
  html body .app-shell-nav.nav-open .nav-links { gap: 2px; padding: 12px 20px 20px; }
  html body .app-shell-nav.nav-open .nav-links li { width: 100%; }
}

/* ══ Auth modal (login / sign up) ════════════════════════════════════════════ */
html body dialog#login-modal.auth-modal { width: min(440px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 4px; background: var(--card); color: var(--text-body); box-shadow: 0 40px 100px -30px rgba(6,43,20,0.45), 0 0 0 1px var(--rim); overflow: hidden; }
html body dialog#login-modal.auth-modal[open] { animation: auth-in .38s cubic-bezier(.2,.8,.2,1); }
html body dialog#login-modal.auth-modal::backdrop { background: rgba(6,20,12,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: auth-fade .3s ease; }
@keyframes auth-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes auth-fade { from { opacity: 0; } to { opacity: 1; } }
html body dialog#login-modal.auth-modal::before { content: ''; display: block; height: 4px; background: #1ef876; }
html body .auth-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 4px; background: var(--surface-raised); color: var(--text-mid); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
html body .auth-close:hover { background: var(--brand-soft); color: var(--text-head); transform: rotate(90deg); }
html body .auth-head { padding: 30px 32px 6px !important; border: 0 !important; background: transparent !important; text-align: left; }
html body .auth-mark { display: inline-flex; width: 44px; height: 44px; border-radius: 4px; background: #1ef876; align-items: center; justify-content: center; margin-bottom: 16px; }
html body .auth-mark svg { width: 30px; height: 30px; }
html body .auth-head h2 { font-family: 'Outfit', sans-serif !important; font-size: 26px !important; font-weight: 400 !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--text-head) !important; margin: 0 0 6px !important; }
html body .auth-sub { margin: 0; font-size: 15px; color: var(--text-mid); line-height: 1.5; }
html body dialog#login-modal.auth-modal .modal-form-body { padding: 20px 32px 8px !important; }
html body dialog#login-modal.auth-modal label { display: block; font-family: 'Outfit', sans-serif !important; text-transform: none !important; letter-spacing: 0.01em !important; font-size: 14px !important; font-weight: 500 !important; color: var(--text-body) !important; margin: 0 0 6px !important; }
html body dialog#login-modal.auth-modal input[type="email"], html body dialog#login-modal.auth-modal input[type="password"], html body dialog#login-modal.auth-modal input[type="text"] { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px !important; margin: 0 0 16px !important; font-size: 15px !important; border: 1px solid var(--rim) !important; border-radius: 4px !important; background: var(--card) !important; transition: border-color .2s, box-shadow .2s; }
html body dialog#login-modal.auth-modal .modal-form-actions { display: flex; flex-direction: row-reverse; gap: 10px; margin-top: 6px; }
html body dialog#login-modal.auth-modal .modal-form-actions .btn-primary { flex: 1; justify-content: center; height: 48px; padding: 0 20px !important; font-size: 16px !important; }
html body dialog#login-modal.auth-modal .btn-secondary { height: 48px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--rim); background: transparent; color: var(--text-mid); font-family: 'Outfit', sans-serif; font-size: 15px; text-transform: none; letter-spacing: 0.01em; cursor: pointer; transition: border-color .2s, color .2s; }
html body dialog#login-modal.auth-modal .btn-secondary:hover { border-color: var(--text-dim); color: var(--text-head); }
html body dialog#login-modal.auth-modal .btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 4px !important; border: 1px solid var(--rim) !important; background: var(--card) !important; color: var(--text-head) !important; font-family: 'Outfit', sans-serif !important; font-size: 15px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0.01em !important; transition: border-color .2s, transform .2s; }
html body dialog#login-modal.auth-modal .btn-google:hover { border-color: #1ef876 !important; transform: translateY(-1px); }
html body dialog#login-modal.auth-modal .auth-divider { margin: 18px 0; }
html body dialog#login-modal.auth-modal .modal-form-error { border-radius: 4px; }
html body .auth-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 14px 32px 0; padding: 16px 0 26px; border-top: 1px solid var(--rim-soft); font-size: 14px; color: var(--text-mid); }
html body .auth-switch-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--brand-text); font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; }
html body .auth-switch-btn i { transition: transform .25s; }
html body .auth-switch-btn:hover i { transform: translateX(3px); }
html body .auth-perks { list-style: none; margin: 18px 0 24px; padding: 14px 16px; border-radius: 4px; background: var(--brand-tint); border: 1px solid var(--brand-line); display: grid; gap: 6px; }
html body .auth-perks li { font-size: 14px; color: var(--text-body); display: flex; align-items: center; gap: 10px; }
html body .auth-perks i { color: var(--brand-text); font-size: 12px; }

/* ══ "Built for sellers on" marketplace band ═════════════════════════════════ */
html body .mk-band { position: relative; z-index: 1; padding: 72px 24px; margin: 48px 0 0; background: var(--brand-tint); border-top: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); }
html body .mk-band-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
html body .mk-band-title { font-family: 'Outfit', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: -0.015em; color: var(--text-head); margin: 0 0 10px; }
html body .mk-band-sub { font-size: 17px; color: var(--text-mid); margin: 0 auto 34px; max-width: 560px; }
html body .mk-band .brand-strip { margin: 0; }
html body .mk-band .brand-strip-label { display: none; }
html body .mk-band .brand-strip-list { gap: 18px; }
html body .mk-band .brand-chip { width: 132px; gap: 10px; }
html body .mk-band .brand-chip-logo { width: 132px; height: 92px; padding: 14px; border-radius: 4px; border: 1px solid var(--rim); box-shadow: 0 14px 30px -24px rgba(6,43,20,0.45); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
html body .mk-band .brand-chip:hover .brand-chip-logo { transform: translateY(-5px); border-color: #1ef876; box-shadow: 0 22px 40px -22px rgba(11,138,67,0.55); }
html body .mk-band .brand-chip-name { font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 0.01em; color: var(--text-body); font-weight: 500; }
html body .mk-band .brand-chip:hover .brand-chip-name { color: var(--brand-text); }
html body .mk-band .brand-strip-note { font-size: 12px; color: var(--text-dim); margin-top: 28px; }
@media (max-width: 600px) { html body .mk-band { padding: 52px 16px; } html body .mk-band .brand-chip, html body .mk-band .brand-chip-logo { width: 100px; } html body .mk-band .brand-chip-logo { height: 70px; padding: 10px; } }

/* ══ "READY" status pill: prominent, live ════════════════════════════════════ */
html body .tool-header .status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px !important; border: 0 !important; border-radius: 4px !important; background: #1ef876 !important; color: #062b14 !important; font-size: 13px !important; font-weight: 600; letter-spacing: 0.08em !important; text-transform: uppercase; box-shadow: 0 0 0 0 rgba(30,248,118,0.55); animation: ready-glow 2.4s ease-out infinite; }
html body .tool-header .status-pill .status-dot { width: 8px !important; height: 8px !important; background: #062b14 !important; animation: pulse-dot 1.4s infinite; }
@keyframes ready-glow { 0% { box-shadow: 0 0 0 0 rgba(30,248,118,0.55); } 70% { box-shadow: 0 0 0 10px rgba(30,248,118,0); } 100% { box-shadow: 0 0 0 0 rgba(30,248,118,0); } }
html body .tool-header .status-pill:not(.is-ready) { animation: none; }
html body .tool-header .status-pill.is-error { background: #fde8e8 !important; color: #b42318 !important; }
html body .tool-header .status-pill.is-error .status-dot { background: #b42318 !important; }
@media (prefers-reduced-motion: reduce) { html body .tool-header .status-pill { animation: none; } }

/* ══ /pricing table CTA row ══════════════════════════════════════════════════ */
html body .pc-table tfoot td, html body .pc-table tfoot th { border-bottom: 0; padding-top: 22px; padding-bottom: 6px; }
html body .pc-table tfoot .plan-card-btn { padding: 11px 0; font-size: 14px; }
