/* ============================================================
   mytypology.com — AI Automation Signal Assessment
   Shared stylesheet for index.html, intake.html, thank-you.html
   ============================================================ */

/* === ROOT VARIABLES === */
:root {
  --ink:       #0f172a;
  --muted:     #617089;
  --bg:        #f6f8fc;
  --panel:     #ffffff;
  --soft:      #eaf2ff;
  --line:      #d9e3f2;
  --navy:      #102a43;
  --blue:      #2563eb;
  --blue-dark: #1d4ed8;
  --green:     #0f766e;
  --amber:     #b45309;
  --shadow:    0 18px 45px rgba(16, 42, 67, 0.12);
  --radius:    24px;
  --max:       1180px;
}

/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 36px, var(--max)); margin: 0 auto; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 227, 242, 0.9);
}
.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
}
.brand-mark {
  position: relative;
  width: 52px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}
.brand-shape {
  position: absolute;
  display: block;
}
.brand-shape.triangle {
  top: 0;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 23px solid #22c1dc;
}
.brand-shape.square {
  left: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  background: #ff5a5f;
}
.brand-shape.circle {
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff9a52;
}
.brand-word {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  font-family: "Comic Sans MS", "Segoe Print", "Trebuchet MS", sans-serif;
  font-size: 1.95rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  white-space: nowrap;
}
.brand-word .brand-letter { color: #0c1320; }
.brand-word .accent-cyan { color: #22c1dc; }
.brand-word .accent-red { color: #ff5a5f; }
.brand-word .accent-yellow { color: #f2c94c; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.nav-links a:hover { color: var(--blue); }
.nav-mobile-links {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
}
.nav-mobile-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}
.nav-mobile-links .button {
  padding: 10px 16px;
}

/* === BUTTONS === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); transform: translateY(-2px); }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #1e3a56; transform: translateY(-2px); }

/* === HERO === */
.hero {
  position: relative;
  padding: 90px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0));
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  background: var(--soft);
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 22px;
}
h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}
.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 30px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; }
.proof-pill {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

/* === OFFER CARD === */
.offer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.price-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-label { color: var(--muted); font-weight: 900; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.price { color: var(--navy); font-size: 4rem; line-height: 0.9; font-weight: 900; letter-spacing: -0.07em; }
.gst { color: var(--muted); font-weight: 800; }
.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green);
  font-weight: 900;
  font-size: 0.86rem;
}
.mini-title { color: var(--navy); font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.03em; }
.offer-card p { color: var(--muted); margin-bottom: 18px; }

/* === SECTIONS === */
section { padding: 82px 0; }
.section-heading { max-width: 790px; margin-bottom: 38px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}
.lead { color: var(--muted); font-size: 1.08rem; }

/* === SIGNAL BAND === */
.signal-band { background: var(--navy); color: #fff; }
.signal-band h2, .signal-band h3 { color: #fff; }
.signal-band .lead, .signal-band p, .signal-band li { color: rgba(255,255,255,0.78); }
.signal-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}
.signal-pill strong {
  color: #f2c94c;
  font-weight: 900;
}

/* === GRIDS === */
.signal-grid, .card-grid, .three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.signal-card, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}
.signal-band .signal-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}

/* === ROLE TICKER === */
.role-ticker {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 8px 0;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.role-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollRoles 52s linear infinite;
}
.role-ticker:hover .role-track { animation-play-state: paused; }
.role-ticker.reverse { margin-top: 18px; }
.role-ticker.reverse .role-track { animation-name: scrollRolesReverse; }
.role-ticker.third { margin-top: 18px; }
.role-ticker.third .role-track { animation-duration: 58s; }
@keyframes scrollRoles {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollRolesReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.role-card {
  width: 292px;
  min-height: 190px;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 20px;
}
.role-location {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.role-card h3 { color: #fff; font-size: 1.02rem; line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.02em; }
.role-card p  { color: rgba(255,255,255,0.76); font-size: 0.9rem; margin-bottom: 12px; }
.role-keyword { color: #bfdbfe; font-weight: 900; font-size: 0.84rem; }
.card h3, .signal-card h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -0.025em; }
.signal-band .signal-card h3 { color: #fff; }
.card p { color: var(--muted); margin-bottom: 16px; }

/* === LISTS === */
.list { list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 25px; color: var(--muted); font-size: 0.96rem; }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* === ASSESSMENT / SPLIT === */
.assessment {
  background: linear-gradient(135deg, #fff, var(--soft));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.steps { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}
.num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #22c1dc;
  color: #0c1320;
  font-weight: 900;
}
.steps .step:nth-child(2) .num {
  background: #ff5a5f;
  color: #ffffff;
}
.steps .step:nth-child(3) .num {
  background: #f2c94c;
  color: #0c1320;
}
.step h3 { color: var(--navy); margin-bottom: 4px; }
.step p  { color: var(--muted); }

/* === DELIVERABLES === */
.deliverables { background: #fff; }
.tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}
.featured { border: 2px solid var(--blue); transform: translateY(-8px); box-shadow: var(--shadow); }

/* === STORY FLOW === */
.search-map {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.story-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.story-lead {
  display: grid;
  gap: 8px;
  max-width: 980px;
}
.story-lead strong {
  color: #0f2b4c;
  font-size: 1.04em;
}
.story-lead span {
  color: var(--muted);
}
.story-panel {
  min-height: 288px;
  perspective: 1200px;
}
.story-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.story-panel:hover .story-flip,
.story-panel:focus .story-flip,
.story-panel:focus-within .story-flip {
  transform: rotateY(180deg);
}
.story-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}
.story-front {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffffff, #eef5ff);
}
.story-front-step {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.story-back {
  transform: rotateY(180deg);
  padding: 16px;
}
.story-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.story-step {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  color: #fff;
  background: #1d4ed8;
}
.story-icon {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: #dcfce7;
  color: #166534;
}
.story-panel h3 {
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.story-panel p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 12px;
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.story-tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 900;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}
.story-tag.positive { background: #dbeafe; color: #1e3a8a; }
.story-tag.caution  { background: #fef3c7; color: #92400e; }
.story-tag.warning  { background: #fde68a; color: #78350f; }
.story-tag.risk     { background: #fee2e2; color: #991b1b; }

.story-panel.tone-1 .story-back { background: linear-gradient(180deg, #ffffff, #f7fbff); border-top: 3px solid #60a5fa; }
.story-panel.tone-2 .story-back { background: linear-gradient(180deg, #ffffff, #fff9ed); border-top: 3px solid #f59e0b; }
.story-panel.tone-3 .story-back { background: linear-gradient(180deg, #ffffff, #fff4ea); border-top: 3px solid #fb923c; }
.story-panel.tone-4 .story-back { background: linear-gradient(180deg, #ffffff, #fff2f2); border-top: 3px solid #ef4444; }

.story-resolution {
  margin-top: 24px;
  border: 1px solid #cfe1fb;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fbff, #edf5ff);
  padding: 20px;
}
.story-resolution h3 {
  color: #0f2b4c;
  font-size: 1.24rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.story-resolution p {
  color: #42526a;
  margin-bottom: 0;
}
.resolution-cta {
  margin-top: 10px;
  color: #0f2b4c;
  font-weight: 900;
}

/* === WHO === */
.who { background: linear-gradient(135deg, var(--navy), #081b30); color: #fff; }
.who h2, .who h3 { color: #fff; }
.who .lead, .who p, .who li { color: rgba(255,255,255,0.78); }
.who .card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); box-shadow: none; }

/* === CTA === */
.cta { background: var(--soft); padding: 96px 0; }
.cta-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 36px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta p  { color: rgba(255,255,255,0.78); font-size: 1.08rem; }
.cta .button-primary  { background: #fff; color: var(--navy); box-shadow: none; }
.cta .button-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }

/* === FORM PAGE === */
.form-page { background: #f8fafc; padding: 72px 0; }
.form-header { max-width: 880px; margin: 0 auto 34px; text-align: center; }
.form-header p { color: var(--muted); font-size: 1.05rem; }
.assessment-form { max-width: 980px; margin: 0 auto; display: grid; gap: 22px; }
.form-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}
.form-section h3 { color: var(--navy); font-size: 1.45rem; letter-spacing: -0.035em; margin-bottom: 8px; }
.form-section .section-purpose { color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-weight: 800; font-size: 0.94rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
textarea { min-height: 116px; resize: vertical; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 8px;
}
.check-item { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 0.94rem; }
.check-item input { width: auto; margin-top: 4px; }
.form-disclaimer {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* === FOOTER === */
.footer { padding: 34px 0; background: #071827; color: rgba(255,255,255,0.7); font-size: 0.94rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-question-line { width: 100%; }
.footer-question-link {
  color: #bfdbfe;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-question-link:hover { color: #ffffff; }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  width: min(100%, 480px);
  box-shadow: 0 32px 80px rgba(16, 42, 67, 0.2);
  position: relative;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.97) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 4px 10px;
  border-radius: 8px;
}
.modal-close:hover { color: var(--ink); background: var(--bg); }
.modal-title { color: var(--navy); font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -0.04em; margin-bottom: 8px; }
.modal-desc  { color: var(--muted); margin-bottom: 24px; font-size: 0.96rem; }
.modal-form  { display: grid; gap: 14px; }
.modal-form .field { display: grid; gap: 6px; }
.modal-note  { color: var(--muted); font-size: 0.82rem; margin-top: 10px; text-align: center; }

/* === ALERT / MESSAGE STATES === */
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-size: 0.95rem; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

/* === THANK YOU PAGE === */
.thankyou-hero { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 2rem;
}
.thankyou-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }

/* === INTAKE NAV (minimal) === */
.nav-minimal .nav-inner { justify-content: center; }

/* === AI DEMAND UNLOCK RESPONSIVE OVERRIDES === */
@media (max-width: 920px) {
  #ai-demand-unlock {
    padding: 56px 20px !important;
  }
  #ai-demand-unlock > div {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  #ai-demand-unlock h2[style*="font-size:54px"] {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
  }
  #lockedAiDemandCard {
    padding: 22px !important;
  }
  #lockedAiDemandCard > div:first-child {
    flex-direction: column !important;
    gap: 14px !important;
  }
  #unlockedAiDemandContent > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #unlockedAiDemandContent > div:nth-child(2),
  #unlockedAiDemandContent > div:nth-child(3) {
    padding: 22px !important;
  }
}

@media (max-width: 580px) {
  #ai-demand-unlock {
    padding: 44px 14px !important;
  }
  #ai-demand-unlock h2[style*="font-size:54px"] {
    font-size: 2rem !important;
    line-height: 1.08 !important;
  }
  #ai-demand-unlock p[style*="font-size:18px"] {
    font-size: 1rem !important;
  }
  #lockedAiDemandCard {
    padding: 16px !important;
    border-radius: 18px !important;
  }
  #lockedAiDemandCard > div:last-child {
    grid-template-columns: 1fr !important;
  }
  #lockedAiDemandCard h3[style*="font-size:26px"],
  #unlockedAiDemandContent h3[style*="font-size:26px"] {
    font-size: 1.45rem !important;
  }
  #lockedAiDemandCard button {
    width: 100%;
  }
  #unlockedAiDemandContent > div:first-child {
    grid-template-columns: 1fr !important;
  }
  #unlockedAiDemandContent strong[style*="font-size:34px"] {
    font-size: 1.85rem !important;
  }
  #unlockedAiDemandContent div[style*="display:flex; flex-wrap:wrap; gap:10px;"] {
    gap: 8px !important;
  }
  #unlockedAiDemandContent span[style*="border-radius:999px"] {
    font-size: 12px !important;
    padding: 8px 11px !important;
  }
}

/* === PRODUCTS PAGE === */
.products-page .products-hero {
  padding: 84px 0 62px;
}
.products-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.products-hero-card .price {
  font-size: 3.2rem;
}
.products-band {
  padding: 74px 0;
}
.products-band-alt {
  background: linear-gradient(135deg, #fff, var(--soft));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card-wide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(16, 42, 67, 0.08);
}
.product-card-wide h3 {
  color: var(--navy);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.product-card-wide p {
  color: var(--muted);
  margin-bottom: 14px;
}
.product-buy-col {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 10px;
}
.product-price {
  color: var(--navy);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.product-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.product-catalog-card {
  display: grid;
  gap: 12px;
}
.product-catalog-card .button {
  margin-top: 6px;
}
.placeholder-list {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.placeholder-list span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

/* === RESPONSIVE === */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-mobile-links {
    display: flex;
    flex-wrap: wrap;
  }
  .hero-grid, .split, .cta-panel { grid-template-columns: 1fr; }
  .signal-grid, .card-grid, .three-grid { grid-template-columns: 1fr; }
  .products-hero-grid, .product-card-wide, .product-grid-cards { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .featured { transform: none; }
  .thankyou-steps { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 58px; }
  .nav-mobile-links {
    align-items: stretch;
  }
  .nav-mobile-links a,
  .nav-mobile-links .button {
    width: 100%;
    justify-content: center;
  }
  .brand { gap: 10px; }
  .brand-mark { width: 44px; height: 36px; }
  .brand-shape.triangle {
    left: 17px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-bottom-width: 19px;
  }
  .brand-shape.square,
  .brand-shape.circle {
    width: 20px;
    height: 20px;
  }
  .brand-word { font-size: 1.5rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-panel {
    min-height: auto;
    perspective: none;
  }
  .story-flip {
    transform: none !important;
  }
  .story-front {
    display: none;
  }
  .story-face {
    position: static;
    backface-visibility: visible;
  }
  .story-back {
    transform: none;
    padding: 14px;
  }
  .story-resolution { padding: 16px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .price-block { align-items: flex-start; flex-direction: column; }
  .price { font-size: 3.4rem; }
}
