/* ==========================================================================
   Indizilla — Design System v2
   Brand: Archivo (display) + Inter (body) · Ink/Paper neutrals
   Accent: Acid Lime #DAFE31 — CTAs, focus, highlights only
   Radii: 4 small / 6 cards / 10 hero blocks · One accent CTA per view
   Dark mode: explicit switch ([data-theme]), persisted — never silent
   ========================================================================== */

:root {
  --ink: #14161A;
  --charcoal: #3A3D40;
  --gray: #8C8F91;
  --mist: #F1F1EF;
  --line: #E7E7E4;
  --line-soft: #F1F1EF;

  --accent: #DAFE31;
  --accent-hover: #A8C900;
  --accent-tint: #F6FFDC;
  --on-accent: #14161A;
  --accent-ink: #5C6B00;      /* accent for text/icons on light surfaces */

  --surface: #FAFAF8;
  --surface-raised: #FFFFFF;
  --surface-alt: #F4F4F1;
  --text: var(--ink);
  --text-soft: var(--charcoal);
  --text-muted: var(--gray);

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --shadow-soft: 0 2px 16px rgba(20, 22, 26, 0.06);

  --font-disp: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --pad-x: 24px;
}

[data-theme="dark"] {
  --surface: #14161A;
  --surface-raised: #1E2126;
  --surface-alt: #1E2126;
  --line: #2C2F34;
  --line-soft: #24272C;
  --mist: #24272C;
  --text: #F5F5F3;
  --text-soft: #C9CBCD;
  --text-muted: #9A9DA1;
  --accent-tint: #2A3010;
  --accent-ink: #DAFE31;
  --shadow-soft: none;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

::selection { background: var(--accent); color: var(--on-accent); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }

.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  flex-shrink: 0;
}

.muted { color: var(--text-muted); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* accent CTA on dark bands — same lime, ink text */
.btn-on-dark {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.btn-on-dark:hover { background: var(--accent-hover); }

.btn .arrow { font-weight: 400; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  flex-shrink: 0;        /* the wordmark holds its width; nothing overlaps it */
  white-space: nowrap;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }

.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;          /* let the nav absorb the squeeze, never the wordmark */
}
.main-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 8px 11px;
  border-radius: var(--r-sm);
}
.main-nav a:hover { background: var(--mist); color: var(--text); }
.main-nav a.active { color: var(--text); font-weight: 700; }

.theme-toggle {
  display: flex;
  gap: 2px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.tt-opt {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
[data-theme="light"] .tt-light,
[data-theme="dark"] .tt-dark {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

@media (max-width: 1150px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 13px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* -------------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 110px 0 90px; }
.hero h1 { max-width: 780px; margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-note {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--mist);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 52px 0; }
}

/* ----------------------------------------------------------------- cards */

.card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
}

.card h3 { margin-bottom: 8px; }
.card h4 { margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* service card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease;
}
a.service-card:hover { border-color: var(--text-muted); }
.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--accent-ink); }
.service-card .link-hint {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 8px;
}

/* ----------------------------------------------------------------- steps */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  counter-increment: step;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-disp);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ------------------------------------------------------------ stat block */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

.stat {
  background: var(--ink);
  color: #F5F5F3;
  border-radius: var(--r-md);
  padding: 28px;
}
[data-theme="dark"] .stat { background: var(--surface-raised); border: 1px solid var(--line); }
.stat .num {
  font-family: var(--font-disp);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}
.stat .label { font-size: 14px; opacity: 0.75; margin-top: 6px; }

/* ---------------------------------------------------------- testimonials */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial .who .name { font-size: 14px; font-weight: 700; }
.testimonial .who .role { font-size: 13px; color: var(--text-muted); }
.testimonial .rating { font-size: 13px; letter-spacing: 2px; color: var(--accent-ink); }

/* ------------------------------------------------------------- case study */

.case-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 800px) { .case-card { grid-template-columns: 1fr; padding: 26px; } }

.case-card .tag {
  display: inline-block;
  background: var(--mist);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.case-card h3 { margin-bottom: 10px; }
.case-card .result {
  background: var(--ink);
  color: #F5F5F3;
  border-radius: var(--r-md);
  padding: 24px;
  align-self: start;
}
[data-theme="dark"] .case-card .result { background: var(--surface-alt); border: 1px solid var(--line); }
.case-card .result .num { font-family: var(--font-disp); font-size: 34px; font-weight: 800; color: var(--accent); }
.case-card .result .label { font-size: 13px; opacity: 0.75; }

.case-detail dl { display: grid; gap: 14px; margin-top: 18px; }
.case-detail dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  margin-bottom: 2px;
}
.case-detail dd { font-size: 15px; color: var(--text-soft); }

/* ------------------------------------------------------------------- faq */

.faq { max-width: 720px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 620px;
}

/* --------------------------------------------------------------- pricing */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.price-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--accent-hover); position: relative; }
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card .tier {
  font-family: var(--font-disp);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.price-card .amount { font-family: var(--font-disp); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.price-card .amount small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-card .for-whom { font-size: 14px; color: var(--text-soft); margin: 12px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.price-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.price-card li { font-size: 14px; color: var(--text-soft); display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; flex-shrink: 0; }
.price-card .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ------------------------------------------------------------- cta band */

.cta-band {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #F5F5F3;
}
[data-theme="dark"] .cta-band { background: var(--surface-raised); border: 1px solid var(--line); }
.cta-band h2 { color: #F5F5F3; margin-bottom: 14px; }
.cta-band p { color: #9A9DA1; max-width: 480px; margin: 0 auto 30px; }

/* ---------------------------------------------------------------- forms */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.form-field label .opt { font-weight: 400; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px; /* 16px minimum stops iOS Safari zooming on focus */
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-hover);
  outline-offset: 1px;
  border-color: transparent;
}

/* ----------------------------------------------------------- brand band */

.brand-band {
  background: #14161A;
  color: #FAFAF8;
  overflow: hidden;
  padding: 26px 0 30px;
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
[data-theme="dark"] .brand-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------- footer */

.footer-cta { padding: 0 0 96px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid .tagline { font-size: 14px; color: var(--text-muted); max-width: 260px; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 14px; color: var(--text-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ------------------------------------------------------- market selector */

.market-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.market-picker {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-soft);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  max-width: 200px;
}

/* Rupee figure alongside a converted price */
.billed-inr {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 4px;
}

/* ------------------------------------------------------ sticky mobile CTA */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ----------------------------------------------------------- page header */

.page-header { padding: 84px 0 64px; }
.page-header h1 { max-width: 720px; margin-bottom: 18px; }
.page-header .lead { max-width: 600px; }
@media (max-width: 640px) { .page-header { padding: 56px 0 44px; } }

.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--text); }

/* -------------------------------------------------------- service detail */

.service-block {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-raised);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}
@media (max-width: 760px) { .service-block { grid-template-columns: 1fr; } }
.service-block h3 { margin-bottom: 10px; }
.service-block .problem { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.service-block .solution { font-size: 15px; color: var(--text-soft); }
.service-meta { display: grid; gap: 12px; align-content: start; }
.service-meta .meta-item {
  background: var(--surface-alt);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}
.service-meta .meta-item .k {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.service-meta .meta-item .v { font-family: var(--font-disp); font-size: 15px; font-weight: 700; }

.deliverables { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.deliverables li { font-size: 14px; color: var(--text-soft); display: flex; gap: 10px; }
.deliverables li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; flex-shrink: 0; }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- extras */

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; color: var(--text-soft); }
.check-list li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; flex-shrink: 0; }

.x-list { list-style: none; display: grid; gap: 12px; }
.x-list li { display: flex; gap: 12px; font-size: 16px; color: var(--text-soft); }
.x-list li::before { content: "✕"; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.quote-card {
  background: var(--ink);
  color: #FAFAF8;
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  font-family: var(--font-disp);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .quote-card { background: var(--surface-raised); border: 1px solid var(--line); color: var(--text); }
.quote-card .sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
[data-theme="dark"] .quote-card .sub { color: var(--accent); }

/* ------------------------------------------------------------- platform */

.login-wrap { display: flex; justify-content: center; }
.login-card { max-width: 520px; width: 100%; padding: 40px; }

.google-btn { width: 100%; gap: 10px; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.login-divider::before,
.login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.credit-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #F5F5F3;
  border-radius: 999px;
  padding: 10px 20px;
}
[data-theme="dark"] .credit-pill { background: var(--surface-raised); border: 1px solid var(--line); }
.credit-pill .cp-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.credit-pill .cp-amount { font-family: var(--font-disp); font-size: 20px; font-weight: 800; color: var(--accent); }

.dash-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  overflow-x: auto;
}
.dash-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.dash-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.dash-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: start; }
@media (max-width: 800px) { .dash-grid { grid-template-columns: 1fr; } }

.row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.row-item:last-child { border-bottom: none; }
.row-title { font-size: 15px; font-weight: 600; }
.row-sub { font-size: 12px; color: var(--text-muted); }
.status-paid { color: var(--accent-ink); font-weight: 600; }

.summary-card .sum-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--text-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.summary-card .sum-total {
  border-bottom: none;
  font-size: 16px;
  color: var(--text);
  padding-top: 12px;
}
.summary-card .sum-total strong { font-family: var(--font-disp); font-size: 22px; font-weight: 800; }
.sum-green { color: var(--accent-ink); }

.credits-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
}
.credits-row input { width: 16px; height: 16px; accent-color: var(--accent-hover); }

.ref-code-row { display: flex; gap: 8px; align-items: stretch; }
.ref-code {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--surface-alt);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ref-code-row input {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-soft);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  min-width: 0;
}

/* --------------------------------------------------------- trust strip */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: "✓"; color: var(--accent-ink); font-weight: 700; }

/* ------------------------------------------------------------ admin UI */

.alert-strip { display: grid; gap: 10px; margin-bottom: 22px; }
.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface-raised);
}
.alert-item .alert-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.alert-delayed .alert-tag { background: #FFE1DC; color: #8F2011; }
.alert-issue .alert-tag { background: #FFF0C9; color: #7A5600; }
.alert-due-soon .alert-tag { background: var(--accent-tint); color: var(--accent-ink); }
[data-theme="dark"] .alert-delayed .alert-tag { background: #4A1812; color: #FFB4A8; }
[data-theme="dark"] .alert-issue .alert-tag { background: #453A10; color: #FFDD87; }

.job-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 760px) { .job-row { grid-template-columns: 1fr 1fr; } }
.job-row select, .job-row input[type="date"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  width: 100%;
}
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--text-soft);
}
.status-pill.overdue { background: #FFE1DC; color: #8F2011; }
[data-theme="dark"] .status-pill.overdue { background: #4A1812; color: #FFB4A8; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.admin-table input[type="number"], .admin-table input[type="text"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 9px;
}
.btn-mini {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.btn-mini:hover { border-color: var(--text-muted); }
.btn-mini.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 700; }

/* ---------------------------------------------------------- à la carte */

.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-summary-col { position: sticky; top: 88px; display: grid; gap: 18px; }
@media (max-width: 860px) { .cart-summary-col { position: static; } }

.alacarte-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.alacarte-item .ai-name { font-weight: 600; font-size: 15px; }
.alacarte-item .ai-price { font-size: 13px; color: var(--text-muted); }

.upsell-card {
  background: var(--accent-tint);
  border: 1px solid var(--accent-hover);
  border-radius: var(--r-md);
  padding: 22px;
}
.upsell-card h4 { margin-bottom: 8px; }
.upsell-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
.upsell-card .save {
  font-family: var(--font-disp);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-ink);
  margin: 8px 0;
}

/* ---------------------------------------------------------------- bills */

.bill-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 22, 26, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}
.bill-doc {
  background: #FFFFFF;
  color: #14161A;
  border-radius: var(--r-md);
  max-width: 640px;
  width: 100%;
  padding: 40px;
}
.bill-doc .bill-rows { margin: 24px 0; }
.bill-doc .sum-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #F1F1EF; font-size: 14px; }
.bill-doc .bill-total { font-family: var(--font-disp); font-size: 20px; font-weight: 800; border-bottom: none; padding-top: 14px; }
@media print {
  body.bill-open > *:not(.bill-overlay) { display: none !important; }
  .bill-overlay { position: static; background: none; padding: 0; }
  .bill-doc { border-radius: 0; max-width: none; }
  .bill-actions { display: none !important; }
}

/* ---------------------------------------------- device optimization pass */

/* Anchored sections land below the sticky header */
[id] { scroll-margin-top: 88px; }

/* Contact: form gets the wider column, stacks on small screens */
.contact-split { grid-template-columns: 1.3fr 0.7fr; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; } }

/* Checkout summary follows you on desktop */
@media (min-width: 801px) { .summary-card { position: sticky; top: 88px; } }

/* Dashboard tabs: swipeable, no visible scrollbar */
.dash-tabs { scrollbar-width: none; }
.dash-tabs::-webkit-scrollbar { display: none; }

/* Tall phone-landscape menus stay scrollable */
@media (max-width: 960px) {
  .main-nav { max-height: calc(100vh - 68px); overflow-y: auto; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .tt-opt { padding: 5px 9px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 20px; }
  .login-card { padding: 28px 20px; }
  .price-card { padding: 24px 20px; }
  .service-block { padding: 22px 20px; }
  .credit-pill { padding: 8px 16px; }
  .cta-band { border-radius: var(--r-md); }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   Indizilla Research — market-research product. Built on the tokens above.
   Verdict colours are the one semantic addition (a report needs go/hold/no).
   ========================================================================== */
:root {
  --v-go: #1f7a44;    --v-go-bg: #e8f6ee;
  --v-cond: #9a6a12;  --v-cond-bg: #fbf1dd;
  --v-no: #a5352e;    --v-no-bg: #fbeceb;
}
[data-theme="dark"] {
  --v-go: #7fdca2;    --v-go-bg: #16311f;
  --v-cond: #e3b262;  --v-cond-bg: #33260f;
  --v-no: #eaa19b;    --v-no-bg: #331a18;
}

.container-narrow { max-width: 860px; }
h1 .hl, h2 .hl { color: var(--accent-ink); }
[data-theme="dark"] h1 .hl { color: var(--accent); }

/* ---- Verdict badge ---- */
.demo-verdict, .memo-verdict {
  display: inline-block; font-family: var(--font-disp); font-weight: 800;
  font-size: 13px; letter-spacing: .02em; padding: 6px 14px; border-radius: 999px;
}
.verdict-go { color: var(--v-go); background: var(--v-go-bg); }
.verdict-conditional { color: var(--v-cond); background: var(--v-cond-bg); }
.verdict-no { color: var(--v-no); background: var(--v-no-bg); }

/* ---- Hero ---- */
.rsrch-hero { text-align: left; }
.rsrch-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.rsrch-hero h1 { font-size: clamp(30px, 4.6vw, 52px); }
.rsrch-hero .lead { max-width: 34em; }
.rsrch-hero .trust-strip { justify-content: flex-start; }
@media (max-width: 900px) { .rsrch-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Fake browser-chrome product demo ---- */
.demo-frame {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-raised); box-shadow: var(--shadow-soft); overflow: hidden;
}
.demo-chrome {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--surface-alt); border-bottom: 1px solid var(--line);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-dot:nth-child(1) { background: #e0655a; } .demo-dot:nth-child(2) { background: #e3b262; } .demo-dot:nth-child(3) { background: #6fbf87; }
.demo-url {
  margin-left: 10px; font-size: 12px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.demo-body { position: relative; min-height: 236px; padding: 24px; }
.demo-panel {
  position: absolute; inset: 24px; opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease; pointer-events: none;
}
.demo-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.demo-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.demo-lead { font-family: var(--font-disp); font-weight: 700; font-size: 19px; line-height: 1.35; }
.demo-field { margin-top: 12px; font-size: 14px; color: var(--text-soft); border-left: 3px solid var(--accent); padding-left: 12px; }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chips span { font-size: 13px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.demo-survey { margin: 4px 0 0 18px; font-size: 14px; color: var(--text-soft); }
.demo-survey li { margin: 6px 0; }
.demo-stats { margin-top: 14px; font-size: 14px; color: var(--text-soft); }
.demo-stats b { font-family: var(--font-disp); color: var(--text); }
.demo-toggle {
  position: absolute; bottom: 12px; right: 14px; z-index: 2; font: inherit; font-size: 12px; font-weight: 600;
  color: var(--text-muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.demo-toggle:hover { color: var(--text); }

/* ---- One-liner band ---- */
.rsrch-oneliner { text-align: center; }
.rsrch-oneliner p {
  max-width: 800px; margin: 0 auto; font-family: var(--font-disp); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4;
}

/* ---- Comparison table ---- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.compare-table thead th { font-family: var(--font-disp); font-weight: 800; font-size: 14px; background: var(--surface-alt); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; }
.compare-table .col-us { background: var(--accent-tint); color: var(--text); font-weight: 600; }
.compare-table thead .col-us { color: var(--accent-ink); }
.modes-table td small { color: var(--text-muted); font-weight: 400; }
.modes-table .col-us { font-family: var(--font-disp); font-weight: 800; text-align: center; }
.pill-gated { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }

/* ---- Scroll-spy how-it-works ---- */
.spy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.spy-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.spy-step { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-md); border: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.spy-step.is-active { background: var(--surface-raised); border-color: var(--line); box-shadow: var(--shadow-soft); }
.spy-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-disp); font-weight: 800; background: var(--surface-alt); color: var(--text-muted); transition: background .3s, color .3s; }
.spy-step.is-active .spy-num { background: var(--accent); color: var(--on-accent); }
.spy-step h4 { font-size: 17px; margin-bottom: 4px; }
.spy-step p { font-size: 14px; color: var(--text-soft); }
.spy-stage { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); min-height: 220px; padding: 28px; }
.spy-card { display: none; }
.spy-card.is-active { display: block; }
@media (max-width: 860px) { .spy { grid-template-columns: 1fr; } .spy-stage { display: none; } }

/* ---- Bento use-cases ---- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card { display: block; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-raised); transition: transform .2s ease, box-shadow .2s ease; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.bento-card h4 { font-size: 18px; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--text-soft); }
.bento-card.b-lg { grid-column: span 2; }
.bento-card.b-dark { background: var(--ink); border-color: var(--ink); }
.bento-card.b-dark h4 { color: #fff; } .bento-card.b-dark p { color: rgba(255,255,255,.72); }
.bento-card.b-accent { background: var(--accent-tint); border-color: var(--accent); }
.bento-card.b-accent h4 { color: var(--accent-ink); }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr 1fr; } .bento-card.b-lg { grid-column: span 2; } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } .bento-card.b-lg { grid-column: span 1; } }

/* ---- Validation ladder ---- */
.ladder { list-style: none; display: flex; flex-direction: column; gap: 2px; width: 100%; }
.ladder li { display: flex; flex-direction: column; padding: 14px 18px; font-size: 14px; color: var(--text-muted); background: var(--surface-alt); border-radius: var(--r-sm); }
.ladder li span { font-family: var(--font-disp); font-weight: 700; font-size: 16px; color: var(--text-soft); }
.ladder .rung-us { background: var(--accent-tint); color: var(--text-soft); border: 1px solid var(--accent); }
.ladder .rung-us span { color: var(--accent-ink); }

.pack-note { text-align: center; margin-top: 26px; color: var(--text-muted); }
.pack-note a { color: var(--accent-ink); font-weight: 600; }

/* ---- Single-open FAQ marker ---- */
.faq-single details[open] summary { color: var(--accent-ink); }

/* ==========================================================================
   Decision memo (sample report + live report view)
   ========================================================================== */
.sample-banner, .sample-disclaimer { font-size: 13px; color: var(--text-muted); text-align: center; }
.sample-banner { margin-bottom: 20px; }
.sample-disclaimer { margin-top: 22px; }

.memo { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-raised); overflow: hidden; box-shadow: var(--shadow-soft); }
.memo-head { background: var(--ink); color: #fff; padding: 34px 34px 30px; }
.memo-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: ui-monospace, Menlo, monospace; margin-bottom: 14px; }
.memo-head .memo-verdict { margin-bottom: 16px; }
.memo-headline { font-size: clamp(22px, 3vw, 30px); line-height: 1.25; color: #fff; }
.memo-sub { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 15px; }

.memo-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.memo-stat { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.memo-stat:last-child { border-right: none; }
.ms-num { font-family: var(--font-disp); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.ms-num span { font-size: .5em; color: var(--text-muted); }
.ms-lab { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

.memo-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.memo-main { padding: 30px 34px; }
.memo-main h3 { font-size: 16px; margin: 22px 0 10px; }
.memo-main h3:first-child { margin-top: 0; }
.memo-main p { font-size: 15px; color: var(--text-soft); margin-bottom: 12px; }
.memo-quote { margin: 10px 0; padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; background: var(--surface-alt); border-left: 3px solid var(--line); }
.memo-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--text-muted); }
.memo-quote.pos { border-left-color: var(--v-go); } .memo-quote.neu { border-left-color: var(--v-cond); } .memo-quote.skep { border-left-color: var(--v-no); }
.memo-side { padding: 30px 34px 30px 0; display: flex; flex-direction: column; gap: 16px; }
.memo-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.mb-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.mb-value { font-family: var(--font-disp); font-weight: 800; font-size: 18px; }
.mb-pct { margin-top: 4px; color: var(--v-go); font-weight: 700; }
.memo-box p { font-size: 14px; color: var(--text-soft); }
.memo-box.warn { background: var(--v-cond-bg); border-color: transparent; }
.memo-box.next { background: var(--accent-tint); border-color: var(--accent); }
.memo-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 34px; border-top: 1px solid var(--line); background: var(--surface-alt); }
.memo-foot div { font-size: 14px; color: var(--text-soft); max-width: 60ch; }
@media (max-width: 760px) {
  .memo-cols { grid-template-columns: 1fr; }
  .memo-side { padding: 0 34px 30px; }
  .memo-stats { grid-template-columns: 1fr; }
  .memo-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .memo-foot { flex-direction: column; align-items: flex-start; }
}

/* ---- Methodology prose ---- */
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose p { color: var(--text-soft); margin-bottom: 14px; }
.two-col-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 8px 0 4px; }
.two-col-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-soft); }
.tick { font-weight: 800; } .tick.ok { color: var(--v-go); } .tick.no { color: var(--v-no); }
.callout { margin-top: 34px; padding: 26px; border-radius: var(--r-lg); background: var(--accent-tint); border: 1px solid var(--accent); }
.callout h3 { font-size: 18px; margin-bottom: 8px; }
.callout p { color: var(--text-soft); }
@media (max-width: 620px) { .two-col-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Indizilla Research — study wizard + report view
   ========================================================================== */
.hint { font-size: 13px; color: var(--text-muted); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---- Stepper ---- */
.stepper { list-style: none; display: flex; gap: 8px; margin: 20px 0 26px; flex-wrap: wrap; }
.step-dot { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.step-dot span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-alt); font-family: var(--font-disp); font-weight: 800; font-size: 12px; }
.step-dot.is-current { color: var(--text); border-color: var(--accent); background: var(--accent-tint); }
.step-dot.is-current span { background: var(--accent); color: var(--on-accent); }
.step-dot.is-done span { background: var(--v-go); color: #fff; }

.wiz-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }

.char-count { text-align: right; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text); resize: vertical; }
textarea:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 1px; }

.disclosure { margin-top: 16px; background: none; border: none; color: var(--accent-ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
.url-row { display: flex; gap: 8px; margin-bottom: 8px; }
.url-row input { flex: 1; }
.url-x { flex: none; width: 40px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--text-muted); font-size: 18px; cursor: pointer; }
.url-x:hover { color: var(--v-no); border-color: var(--v-no); }

/* ---- Mode cards ---- */
.mode-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mode-card { position: relative; display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.mode-card input { position: absolute; opacity: 0; }
.mode-card.is-sel { border-color: var(--accent); background: var(--accent-tint); }
.mode-card.is-gated { opacity: .6; cursor: not-allowed; }
.mc-top { display: flex; align-items: center; gap: 8px; }
.mc-name { font-family: var(--font-disp); font-weight: 800; font-size: 16px; }
.mc-meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.mc-credits { font-family: var(--font-disp); font-weight: 800; color: var(--accent-ink); margin-top: 8px; }
.mc-desc { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
@media (max-width: 560px) { .mode-cards { grid-template-columns: 1fr; } }

/* ---- Study-fit gate ---- */
.fit-banner { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-md); background: var(--v-cond-bg); border: 1px solid var(--v-cond); }
.fit-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-disp); color: var(--v-cond); margin-bottom: 8px; }
.fit-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--v-cond); color: #fff; font-weight: 800; font-size: 13px; }
.fit-banner ul { margin: 0 0 6px 18px; }
.fit-banner li { font-size: 14px; color: var(--text-soft); margin: 4px 0; }

/* ---- Chip select ---- */
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-soft); cursor: pointer; transition: all .15s; }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---- Tag input ---- */
.tag-input { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.tag-input .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 6px 5px 12px; background: var(--surface-alt); border-radius: 999px; }
.tag-input .tag button { border: none; background: var(--line); color: var(--text-soft); width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; }
.tag-field { flex: 1; min-width: 120px; border: none; background: none; font: inherit; padding: 6px; color: var(--text); }
.tag-field:focus-visible { outline: none; }
.tag-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sug { font: inherit; font-size: 12px; padding: 4px 10px; border: 1px dashed var(--line); border-radius: 999px; background: none; color: var(--text-muted); cursor: pointer; }
.sug:hover { color: var(--accent-ink); border-color: var(--accent); }

/* ---- Sliders ---- */
.slider-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slider-cell { display: flex; flex-direction: column; gap: 6px; }
.slider-cell span { font-size: 13px; color: var(--text-soft); }
.slider-cell output { font-family: var(--font-disp); font-weight: 800; color: var(--accent-ink); font-size: 14px; }
.slider-cell input[type="range"] { width: 100%; accent-color: var(--accent-hover); }
@media (max-width: 560px) { .slider-row { grid-template-columns: 1fr; } }

/* ---- Inline callout ---- */
.callout-inline { padding: 14px 18px; border-radius: var(--r-md); background: var(--accent-tint); border: 1px solid var(--accent); font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }

/* ---- Survey editor ---- */
.survey-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.survey-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.survey-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.sq-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-alt); font-family: var(--font-disp); font-weight: 800; font-size: 12px; margin-top: 8px; }
.sq-type { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-top: 12px; }
.survey-list-static { margin: 12px 0 0 18px; }
.survey-list-static li { margin: 8px 0; font-size: 14px; color: var(--text-soft); }
.survey-details summary { font-weight: 600; cursor: pointer; }

/* ---- Launch card ---- */
.launch-card { border-color: var(--accent); }
.launch-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ls-mode { font-family: var(--font-disp); font-weight: 800; font-size: 18px; }
.ls-detail { font-size: 13px; color: var(--text-muted); }
.ls-cost { text-align: right; }
.ls-num { font-family: var(--font-disp); font-weight: 800; font-size: 20px; color: var(--accent-ink); }
.ls-bal { font-size: 12px; color: var(--text-muted); }
.launch-warn { margin-top: 12px; font-size: 14px; color: var(--v-no); }
.launch-warn a { color: var(--accent-ink); font-weight: 600; }
.btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---- Running overlay ---- */
.run-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(20,22,26,.55); backdrop-filter: blur(3px); }
.run-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 44px; text-align: center; box-shadow: var(--shadow-soft); }
.run-spinner { width: 40px; height: 40px; margin: 0 auto 18px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: rspin .8s linear infinite; }
@keyframes rspin { to { transform: rotate(360deg); } }
.run-status { font-family: var(--font-disp); font-weight: 700; font-size: 16px; }

/* ---- Report view ---- */
.report-state { padding: 60px 0; text-align: center; color: var(--text-muted); }
.report-state a { color: var(--accent-ink); font-weight: 600; }
.report-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mix-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--surface-alt); }
.mix-seg.pos { background: var(--v-go); } .mix-seg.neu { background: var(--v-cond); } .mix-seg.skep { background: var(--v-no); }
.mix-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--text-soft); }
.mix-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.mix-legend .dot.pos { background: var(--v-go); } .mix-legend .dot.neu { background: var(--v-cond); } .mix-legend .dot.skep { background: var(--v-no); }
.mix-legend .mix-score { margin-left: auto; font-weight: 600; color: var(--text); }
.voices { margin-top: 18px; }
.voices-h { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px; }

/* ---- Follow-up chat ---- */
.followups { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.fu { display: flex; flex-direction: column; gap: 8px; }
.fu-q, .fu-a { font-size: 14px; padding: 12px 16px; border-radius: var(--r-md); }
.fu-q { background: var(--accent-tint); align-self: flex-end; max-width: 85%; }
.fu-a { background: var(--surface-alt); align-self: flex-start; max-width: 90%; }
.fu-q span, .fu-a span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 4px; }
.ask-row { display: flex; gap: 8px; }
.ask-row input { flex: 1; }

/* ---- Dashboard Research tab ---- */
.rdash-head { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: stretch; }
.rdash-balance { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rdash-balance .cp-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.rdash-num { font-family: var(--font-disp); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent-ink); }
[data-theme="dark"] .rdash-num { color: var(--accent); }
.rdash-balance .btn { margin-top: 4px; }
.rd-help { font-size: 13px; color: var(--text-muted); }
.rd-help:hover { color: var(--accent-ink); }
.rd-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rd-pack { position: relative; text-align: center; padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--r-md); }
.rd-pack.is-pop { border-color: var(--accent); background: var(--accent-tint); }
.rd-pop { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--accent); color: var(--on-accent); padding: 2px 8px; border-radius: 999px; }
.rd-pack-name { font-family: var(--font-disp); font-weight: 800; font-size: 15px; }
.rd-pack-credits { font-size: 12px; color: var(--text-muted); margin: 2px 0 10px; }
.rd-pack .rd-buy { width: 100%; }
.rd-study { text-decoration: none; }
.rd-study:hover { background: var(--surface-alt); }
@media (max-width: 720px) {
  .rdash-head { grid-template-columns: 1fr; }
  .rd-packs { grid-template-columns: 1fr; }
}
