/* ============================================================
   ShortNotesLK — Startup LaunchPad & Idea Validation Platform
   Aesthetic: Proofboard editorial style with ShortNotesLK branding
   Fully responsive / mobile optimized
   ============================================================ */

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

:root {
  --ink: #0F172A;
  --ink-light: #1E293B;
  --muted: #64748B;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;

  /* ShortNotesLK Identity */
  --primary: #0F766E;
  --primary-dark: #0D5F58;
  --primary-light: #E6F4F1;
  --primary-ghost: #F0FDFA;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-warm: #EF5A2A;

  /* Status Signals */
  --green: #10B981;
  --green-dark: #059669;
  --green-bg: #ECFDF5;
  --yellow: #F59E0B;
  --yellow-bg: #FEF3C7;
  --red: #EF4444;
  --red-bg: #FEE2E2;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.12);
}

/* ============================================================
   GLOBAL
   ============================================================ */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', 'Poppins', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   1. BRANDED HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  color: var(--primary);
  letter-spacing: -0.4px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

.brand-dot {
  color: var(--accent);
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

nav.main-nav {
  display: flex;
  gap: 16px;
  margin-right: auto;
  align-items: center;
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(15, 118, 110, 0.05);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
}

.nav-link.external {
  font-size: 13px;
  color: #64748B;
  border: 1px dashed var(--line-strong);
  padding: 5px 10px;
}

.nav-link.external:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.18s ease;
  min-height: 40px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fdfefe;
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: white;
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-dark:hover {
  background: #020617;
}

.btn-amber {
  background: var(--accent);
  color: #0F172A;
  border-color: var(--accent);
  font-weight: 800;
}

.btn-amber:hover {
  background: var(--accent-dark);
  color: white;
}

.btn-large {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

/* ============================================================
   USER PROFILE CHIP
   ============================================================ */

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s;
}

.user-chip:hover {
  border-color: var(--primary);
}

.user-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

/* ============================================================
   2. HERO SECTION
   ============================================================ */

.hero {
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(240, 253, 250, 0.4) 0%,
    var(--paper) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eyebrow-pill {
  background: rgba(239, 90, 42, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  max-width: 760px;
}

.hero h1 span.gradient-text {
  color: var(--primary);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #14B8A6 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  font-size: 17px;
  color: var(--muted);
  max-width: 630px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
}

.trust-row div:not(.plus) {
  display: flex;
  flex-direction: column;
}

.trust-row strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.1;
}

.trust-row span {
  font-size: 11px;
}

.plus {
  font-size: 18px;
  color: var(--line-strong);
  font-weight: 300;
}

/* ============================================================
   HERO VALIDATION PANEL
   ============================================================ */

.hero-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--accent-warm)
  );
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 900;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-panel h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.panel-description {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.signal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
}

.signal span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  font-weight: 600;
}

.signal strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  display: block;
  margin-top: 2px;
}

.signal.positive strong {
  color: var(--green-dark);
}

.signal.highlight strong {
  color: var(--primary);
}

.signal.warning strong {
  color: var(--accent-warm);
  font-size: 16px;
  margin-top: 6px;
}

.target-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.target-line strong {
  color: var(--ink);
  text-align: right;
  font-weight: 700;
}

.progress {
  height: 8px;
  background: #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 10px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--green)
  );
  border-radius: 20px;
  transition: width 0.6s ease;
}

.hero-panel small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
  text-align: right;
}

/* ============================================================
   3. STATS STRIP
   ============================================================ */

.stats-strip {
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}

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

.stats div {
  padding: 22px 25px;
  border-right: 1px solid var(--line);
}

.stats div:first-child {
  border-left: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  color: var(--primary);
  line-height: 1.1;
}

.stats span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   4. SECTION WRAPPERS
   ============================================================ */

.section {
  padding: 75px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 25px;
}

.section-head h2 {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  max-width: 640px;
  margin: 0;
  font-size: 15px;
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.controls input,
.controls select {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s;
}

.controls input:focus,
.controls select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.controls input {
  width: 270px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter {
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-light);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(15, 118, 110, 0.2);
}

/* ============================================================
   5. CAMPAIGN GRID & CARDS
   ============================================================ */

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.campaign {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.campaign:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #CBD5E1;
}

.campaign-top {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
  background: #FCFDFD;
}

.campaign-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.campaign-top .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stage-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: #F1F5F9;
  padding: 2px 7px;
  border-radius: 6px;
}

.campaign h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.founder-line {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.founder-line strong {
  color: var(--ink);
}

.campaign .pitch {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
}

.campaign-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.audience {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 13px;
  line-height: 1.4;
}

.audience b {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
}

.question {
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--ink);
}

.mini-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
}

.mini-signal {
  border: 1px solid var(--line);
  background: #FAFAFA;
  border-radius: 9px;
  padding: 9px 6px;
  text-align: center;
}

.mini-signal strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.1;
}

.mini-signal span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.mini-signal.green strong {
  color: var(--green-dark);
}

.mini-signal.amber strong {
  color: var(--accent);
}

.mini-signal.teal strong {
  color: var(--primary);
}

.campaign-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.campaign-footer small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

.campaign-footer button {
  font-size: 12px;
  padding: 8px 12px;
}

/* ============================================================
   6. FOUNDER TOOLS SUITE
   ============================================================ */

.tools-section {
  background: #F1F5F9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.tool-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-badge {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.tool-card h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.tool-card p.tool-desc {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

/* Sliders */

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.slider-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.slider-label span.val {
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Score Outcome */

.score-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.score-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.score-meta {
  flex: 1;
}

.score-meta strong {
  display: block;
  font-size: 14px;
}

.score-meta small {
  color: var(--muted);
  font-size: 11.5px;
}

/* Mom Test Generator */

.gen-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gen-input {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  width: 100%;
  outline: none;
}

.gen-input:focus {
  border-color: var(--primary);
}

.gen-output {
  margin-top: 14px;
  background: #FAF8F5;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 16px;
  display: none;
}

.gen-output.show {
  display: block;
}

.gen-output h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--accent-warm);
}

.gen-output p {
  font-size: 13px;
  margin: 0 0 10px;
  color: var(--ink);
}

.gen-output ul {
  padding-left: 20px;
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Pricing Tool */

.pricing-sim {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rev-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.rev-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}

.rev-tile span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.rev-tile strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--primary);
  margin-top: 3px;
}

/* ============================================================
   7. METHOD SECTION
   ============================================================ */

.muted-section {
  background: #ECE8DE;
  border-top: 1px solid #DDD9D0;
  border-bottom: 1px solid #DDD9D0;
}

.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.method h2 {
  font-size: 39px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.method-grid article {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px;
}

.method-grid b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
}

.method-grid h3 {
  font-size: 17px;
  margin: 7px 0 4px;
}

.method-grid p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.45;
}

/* ============================================================
   8. HOW IT WORKS
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.steps > div {
  border-top: 2px solid var(--primary);
  padding: 18px 6px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}

.steps h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.steps p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* ============================================================
   9. CTA BANNER
   ============================================================ */

.cta {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.05);
}

.cta h2 {
  font-size: 34px;
  line-height: 1.08;
  margin: 0 0 8px;
}

.cta p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* ============================================================
   10. FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: #FFFFFF;
}

.footer {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--primary);
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-left: 20px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-right {
  margin-left: auto;
  font-size: 12px;
}

/* ============================================================
   11. MODALS & FORMS
   ============================================================ */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.18s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  position: relative;
  width: min(840px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(16px);
    opacity: 0.9;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: #F1F5F9;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  z-index: 10;
}

.close:hover {
  background: #E2E8F0;
  color: var(--ink);
}

.modal-inner {
  padding: 32px;
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: #FFFFFF;
  outline: 0;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.18s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* ============================================================
   CAMPAIGN DETAIL MODAL
   ============================================================ */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 26px;
}

.detail-cover {
  background: #F0FDFA;
  border: 1px solid #CCFBF1;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
}

.detail-cover .eyebrow {
  margin-bottom: 6px;
}

.detail-cover h2 {
  font-size: 34px;
  line-height: 1.08;
  margin: 6px 0;
}

.detail-cover p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.detail-section h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--primary-dark);
}

.detail-section p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

/* Aside */

.sidebox {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FAFAFA;
  padding: 16px;
  margin-bottom: 12px;
}

.sidebox small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.sidebox big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: block;
  margin: 2px 0;
}

.sidebox strong {
  display: block;
  font-size: 13.5px;
  color: var(--accent-warm);
  margin-top: 4px;
  line-height: 1.35;
}

.commit {
  margin-top: 10px;
  width: 100%;
}

.comment {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.comment b {
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment p {
  margin: 5px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

/* ============================================================
   RADIO BUTTON PILLS
   ============================================================ */

.pill-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.pill-option {
  position: relative;
}

.pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-option label {
  display: inline-block;
  padding: 7px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: white;
  transition: all 0.15s;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-light);
}

.pill-option input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   TOAST
   ============================================================ */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* ============================================================
   PRINT
   ============================================================ */

@media print {

  body * {
    visibility: hidden;
  }

  .modal,
  .modal * {
    visibility: visible;
  }

  .modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    border: none;
    box-shadow: none;
  }

  .close,
  .btn,
  .site-header,
  footer {
    display: none !important;
  }
}

/* ============================================================
   12. TABLET — 681px to 980px
   ============================================================ */

@media (min-width: 681px) and (max-width: 980px) {

  .container {
    width: calc(100% - 32px);
  }

  .nav {
    gap: 14px;
  }

  nav.main-nav {
    gap: 5px;
  }

  .nav-link {
    font-size: 12px;
    padding: 7px 8px;
  }

  .hero {
    padding: 55px 0 45px;
  }

  .hero-grid,
  .method {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid {
    align-items: stretch;
  }

  .hero h1 {
    font-size: 44px;
  }

  .campaign-grid,
  .tools-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .campaign-top,
  .campaign-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 55px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 33px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    width: min(720px, calc(100% - 30px));
  }
}

/* ============================================================
   13. MOBILE — 680px AND BELOW
   ============================================================ */

@media (max-width: 680px) {

  /* ---------- GLOBAL ---------- */

  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    font-size: 14px;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  /* ---------- HEADER ---------- */

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    min-height: auto;
    padding: 10px 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 17px;
    gap: 7px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 13px;
    border-radius: 7px;
  }

  .brand-badge {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 6px;
  }

  .nav-actions .btn {
    padding: 8px 11px;
    font-size: 12px;
    min-height: 36px;
  }

  .user-chip {
    padding: 4px;
    border-radius: 50%;
  }

  .user-chip span {
    display: none;
  }

  .user-avatar-mini {
    width: 28px;
    height: 28px;
  }

  nav.main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  nav.main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 7px 9px;
  }

  .nav-link.external {
    font-size: 11px;
  }

  /* ---------- HERO ---------- */

  .hero {
    padding: 38px 0 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .eyebrow {
    font-size: 9px;
    margin-bottom: 9px;
  }

  .eyebrow-pill {
    padding: 4px 8px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    margin-bottom: 16px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 22px 0 25px;
  }

  .btn-large {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
  }

  .trust-row {
    gap: 11px;
    justify-content: space-between;
  }

  .trust-row strong {
    font-size: 17px;
  }

  .trust-row span {
    font-size: 9px;
  }

  .plus {
    font-size: 14px;
  }

  /* ---------- HERO PANEL ---------- */

  .hero-panel {
    padding: 20px;
    border-radius: 17px;
    box-shadow: var(--shadow);
  }

  .hero-panel h3 {
    font-size: 21px;
  }

  .panel-description {
    font-size: 12.5px;
    margin-bottom: 16px;
  }

  .signal-grid {
    gap: 7px;
    margin: 16px 0;
  }

  .signal {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .signal span {
    font-size: 9px;
  }

  .signal strong {
    font-size: 21px;
  }

  .signal.warning strong {
    font-size: 14px;
  }

  .target-line {
    font-size: 10px;
  }

  /* ---------- STATS ---------- */

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats div {
    padding: 16px 14px;
  }

  .stats div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .stats div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .stats strong {
    font-size: 23px;
  }

  .stats span {
    font-size: 10px;
    line-height: 1.3;
  }

  /* ---------- SECTIONS ---------- */

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 8px;
  }

  .muted {
    font-size: 13px;
    line-height: 1.5;
  }

  /* ---------- SEARCH / CONTROLS ---------- */

  .controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
  }

  .controls input,
  .controls select {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 11px;
  }

  /* ---------- CAMPAIGNS ---------- */

  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .campaign {
    border-radius: 14px;
  }

  .campaign:hover {
    transform: none;
    box-shadow: none;
  }

  .campaign-top {
    padding: 17px 17px 13px;
  }

  .campaign h3 {
    font-size: 19px;
  }

  .founder-line {
    font-size: 11px;
  }

  .campaign .pitch {
    font-size: 12.5px;
  }

  .campaign-body {
    padding: 15px 17px;
  }

  .audience {
    font-size: 11.5px;
    padding: 9px 10px;
  }

  .question {
    font-size: 13px;
  }

  .mini-signals {
    gap: 6px;
  }

  .mini-signal {
    padding: 8px 4px;
  }

  .mini-signal strong {
    font-size: 15px;
  }

  .mini-signal span {
    font-size: 8px;
  }

  .campaign-footer {
    margin-top: 13px;
    padding-top: 12px;
  }

  .campaign-footer small {
    font-size: 10px;
  }

  .campaign-footer button {
    min-height: 38px;
    padding: 8px 11px;
  }

  /* ---------- TOOLS ---------- */

  .tools-section {
    padding: 48px 0;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .tool-card {
    padding: 20px;
    border-radius: 14px;
  }

  .tool-card h3 {
    font-size: 20px;
  }

  .tool-card p.tool-desc {
    font-size: 12.5px;
  }

  .slider-group {
    gap: 14px;
  }

  input[type="range"] {
    height: 22px;
  }

  .score-box {
    padding: 13px;
    gap: 12px;
  }

  .score-number {
    font-size: 29px;
  }

  .score-meta strong {
    font-size: 13px;
  }

  .score-meta small {
    font-size: 10px;
  }

  .rev-preview-grid {
    gap: 6px;
  }

  .rev-tile {
    padding: 10px 5px;
  }

  .rev-tile span {
    font-size: 8px;
  }

  .rev-tile strong {
    font-size: 15px;
  }

  /* ---------- METHOD ---------- */

  .muted-section {
    padding: 48px 0;
  }

  .method {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .method h2 {
    font-size: 31px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .method-grid article {
    padding: 15px;
  }

  .method-grid h3 {
    font-size: 16px;
  }

  .method-grid p {
    font-size: 12px;
  }

  /* ---------- STEPS ---------- */

  .steps {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 18px;
  }

  .steps > div {
    padding: 15px 5px 18px;
  }

  .steps span {
    width: 29px;
    height: 29px;
    font-size: 12px;
    margin-bottom: 9px;
  }

  .steps h3 {
    font-size: 17px;
  }

  .steps p {
    font-size: 12.5px;
  }

  /* ---------- CTA ---------- */

  .cta {
    flex-direction: column;
    align-items: stretch;
    padding: 25px 20px;
    gap: 18px;
    border-radius: 16px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta p:not(.eyebrow) {
    font-size: 13.5px;
  }

  .cta .btn {
    width: 100%;
  }

  /* ---------- FOOTER ---------- */

  footer {
    padding: 24px 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
  }

  .footer-links {
    margin-left: 0;
    gap: 14px;
    flex-wrap: wrap;
  }

  .footer-right {
    margin-left: 0;
  }

  /* ---------- MODAL ---------- */

  .backdrop {
    padding: 10px;
    align-items: end;
  }

  .modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 18px 18px 0 0;
  }

  .modal-inner {
    padding: 20px 16px 24px;
  }

  .close {
    width: 34px;
    height: 34px;
    right: 10px;
    top: 10px;
  }

  /* ---------- FORMS ---------- */

  .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .field.full {
    grid-column: auto;
  }

  .field input,
  .field textarea,
  .field select {
    min-height: 44px;
    font-size: 13px;
  }

  .field textarea {
    min-height: 100px;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .form-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  /* ---------- DETAIL MODAL ---------- */

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-cover {
    padding: 18px;
    border-radius: 13px;
  }

  .detail-cover h2 {
    font-size: 27px;
  }

  .detail-cover p {
    font-size: 13px;
  }

  .detail-section {
    margin-top: 15px;
    padding-top: 15px;
  }

  .detail-section h3 {
    font-size: 16px;
  }

  .detail-section p {
    font-size: 13px;
  }

  .sidebox {
    padding: 14px;
  }

  .sidebox big {
    font-size: 27px;
  }

  /* ---------- PILL OPTIONS ---------- */

  .pill-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .pill-option label {
    display: block;
    text-align: center;
    padding: 10px 8px;
    font-size: 11px;
  }

  /* ---------- TOAST ---------- */

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
    font-size: 12px;
    padding: 11px 14px;
  }
}

/* ============================================================
   14. VERY SMALL PHONES — 380px AND BELOW
   ============================================================ */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 22px);
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .nav-actions .btn {
    padding: 7px 9px;
    font-size: 11px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .hero-panel {
    padding: 16px;
  }

  .signal {
    padding: 9px;
  }

  .signal strong {
    font-size: 19px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .campaign-top,
  .campaign-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mini-signal strong {
    font-size: 14px;
  }

  .tool-card {
    padding: 17px;
  }

  .method h2 {
    font-size: 28px;
  }

  .cta {
    padding: 22px 16px;
  }

  .cta h2 {
    font-size: 25px;
  }

  .modal-inner {
    padding: 18px 14px 22px;
  }
}
