/* ==== SIMPLE GRID SYSTEM ==== */
  .container { width: 90%; margin-left: auto; margin-right: auto; }
  .row { position: relative; width: 100%; }
  .row [class^="col"] { float: left; margin: 0.5rem 2%; min-height: 0.125rem; }
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { width: 96%; }
  .col-1-sm { width: 4.33%; } .col-2-sm { width: 12.66%; } .col-3-sm { width: 21%; } .col-4-sm { width: 29.33%; } .col-5-sm { width: 37.66%; } .col-6-sm { width: 46%; } .col-7-sm { width: 54.33%; } .col-8-sm { width: 62.66%; } .col-9-sm { width: 71%; } .col-10-sm { width: 79.33%; } .col-11-sm { width: 87.66%; } .col-12-sm { width: 96%; }
  .row::after { content: ""; display: table; clear: both; }
  .hidden-sm { display: none; }
  @media only screen and (min-width: 33.75em) { .container { width: 80%; } }
  @media only screen and (min-width: 45em) {
    .col-1 { width: 4.33%; } .col-2 { width: 12.66%; } .col-3 { width: 21%; } .col-4 { width: 29.33%; } .col-5 { width: 37.66%; } .col-6 { width: 46%; } .col-7 { width: 54.33%; } .col-8 { width: 62.66%; } .col-9 { width: 71%; } .col-10 { width: 79.33%; } .col-11 { width: 87.66%; } .col-12 { width: 96%; }
    .hidden-sm { display: block; }
  }
  @media only screen and (min-width: 60em) { .container { width: 75%; max-width: 60rem; } }

  /* ==== CUSTOM STYLES ==== */
  :root {
    --ai-blue: #007BFF;
    --value-orange: #FF6600;
    --attr-teal: #00BFA6;
    --label-gold: #EAB308;
    --ugc-green: #228B22;
    --profile-magenta: #FF00FF;
    --cta-crimson: #E63946;
    --bg-gray: #f8fafc;
    --text-dark: #2c3e50;
    --context-bg: #e9eff5;
    --context-border: #d1d9e6;
    --highlight-yellow: #ffff00;
    --thirdparty-indigo: #7C3AED;
    --border-color: #e2e8f0;
  }
  body { 
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; 
    background-color: var(--bg-gray); 
    margin: 0; 
    padding: 0; 
    color: var(--text-dark); 
    line-height: 1.6; 
  }
  
  /* --- Hero Section --- */
  .hero { 
    background-color: #0f172a;
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #fff; 
    padding: 80px 24px; 
    text-align: center; 
  }
  .hero-inner { max-width: 1000px; margin: 0 auto; }
  .badge { background: rgba(0, 123, 255, 0.2); color: #60a5fa; padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid rgba(0, 123, 255, 0.3); display: inline-block; margin-bottom: 20px;}
  .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 15px 0; font-weight: 800; }
  .hero h3 { font-size: 1.5rem; color: #fde047; margin: 0 0 25px 0; font-weight: 600; }
  .hero-highlight { color: #3b82f6; display: inline-block;}
  .hero-sub { font-size: 1.15rem; color: #cbd5e1; max-width: 800px; margin: 0 auto 30px; font-weight: 400; line-height: 1.7; }
  .hero-tagline { font-size: 0.9rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: inline-block; }

  /* --- Founder Section --- */
  .founder-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
  }
  .founder-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
    object-fit: cover;
    border: 3px solid var(--ai-blue);
  }
  .founder-info { text-align: left; flex: 1; min-width: 200px; }
  .founder-byline { 
    margin: 0 0 8px 0; 
    font-weight: 800; 
    color: var(--text-dark); 
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .founder-bio { 
    margin: 0 0 15px 0; 
    font-size: 0.95rem; 
    color: #64748b; 
    line-height: 1.5;
  }
  .founder-contact-link {
    display: inline-block;
    color: var(--ai-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(0, 123, 255, 0.2);
    transition: all 0.2s;
  }
  .founder-contact-link:hover {
    border-bottom-color: var(--ai-blue);
    color: #0056b3;
  }
  @media (max-width: 600px) {
    .founder-card { flex-direction: column; align-items: center; text-align: center; }
    .founder-info { text-align: center; }
    .founder-byline { justify-content: center; }
  }

  /* --- Strategic Pillars --- */
  .pillars { margin-top: -50px; margin-bottom: 60px; position: relative; z-index: 10;}
  .card { background: #fff; padding: 32px; border-radius: 16px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); border: 1px solid var(--border-color); }
  .card h3 { margin-top: 0; color: var(--ai-blue); font-size: 1.1rem; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; margin-bottom: 15px; }
  .card p { font-size: 0.95rem; color: #475569; margin: 0; }

  /* --- Logic Section --- */
  .logic-container { margin-bottom: 80px; padding-top: 40px; }
  .section-title { text-align: center; margin-bottom: 40px; }
  .section-title h2 { font-size: 2rem; margin-bottom: 8px; color: #1e293b; }
  .section-title h4 { font-size: 1rem; font-weight: 600; color: var(--ai-blue); margin: 0 0 8px 0; text-transform: uppercase; letter-spacing: 0.05em; }
  .section-title p { color: #64748b; font-size: 1.0rem; margin: 0; }
  
  .logic-bar { margin-bottom: 50px; }
  
  /* --- Outline Labels for Logic Boxes --- */
  .outline-label {
    position: absolute;
    top: -9px;
    left: 20px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 8px;
    z-index: 2;
  }
  .blue-label {
    background: #f5f9ff;
    color: var(--ai-blue);
  }
  .grey-label {
    background: #fff;
    color: #64748b;
  }
  
  /* --- Digital Channels Property-Level Box --- */
  .global-key-container { background: #fff; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #e1e8f0; overflow: visible; display: flex; flex-direction: column; width: 100%; }
  .key-rules-outer { position: relative; padding: 25px 15px 15px 15px; border: 2px solid var(--ai-blue); border-radius: 16px; background: rgba(0, 123, 255, 0.04); height: 100%; box-sizing: border-box;}
  
.key-rules-outer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0px 0 12px; border-bottom: 1px solid rgba(0, 123, 255, 0.25); margin-bottom: 12px; }
  
  @media (min-width: 851px) {
    .key-rules-outer-header { flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 8px; }
    .key-tabs { justify-content: flex-end; }
    
  }  .key-encapsulation-row { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; flex-wrap: nowrap; }

  @media (max-width: 850px) {
    .key-encapsulation-row { flex-direction: column; flex-wrap: wrap; }
    .key-ai-block { min-width: 0; width: 100%; margin-top: 4px; }
  }
  .key-rules-outer-heading { font-size: 0.7rem; font-weight: 900; text-transform: uppercase; color: var(--ai-blue); margin: 0; padding: 0; border: none; }
  .key-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
  .key-tab { font-size: 0.55rem; font-weight: 700; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; cursor: pointer; border: 1px solid #cbd5e1; background: #f1f5f9; color: #475569; text-decoration: none; display: inline-block; }
  .key-tab:hover { background: #fff; color: var(--text-dark); border-color: #94a3b8; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
  
  .key-ai-encapsulation { position: relative; border: 2px solid #94a3b8; border-radius: 12px; padding: 25px 12px 12px 12px; background: #fff; margin-bottom: 0; }
  .key-data-groups { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; flex: 0 0 auto; }
  .key-ai-encapsulation .key-data-groups .key-group { margin-bottom: 0; }
  .key-ai-items { display: flex; flex-direction: column; gap: 8px; }
  .key-ai-encapsulation-heading { font-size: 0.6rem; font-weight: 900; text-transform: uppercase; color: #64748b; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #e2e8f0; }
  .key-ai-block { display: flex; flex-direction: column; gap: 0; flex: 0 0 auto; min-width: 180px; }
  .global-key { display: flex; flex-direction: column; gap: 0; padding: 0; flex-shrink: 0; height: 100%;}
  .key-group { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid #d1d9e6; min-width: 180px; }
  .key-group.group-data { border: 2px solid var(--value-orange); background-color: rgba(255, 102, 0, 0.03); }
  .key-heading { font-size: 0.6rem; font-weight: 900; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; border-bottom: 1px solid #eee; padding-bottom: 4px; }
  .key-item { display: flex; align-items: center; gap: 8px; font-size: 0.65rem; font-weight: 700; white-space: nowrap; }
  .key-box { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
  .sub-text { font-size: 0.55rem; font-weight: 400; color: #64748b; display: block; }
  
  /* --- System Logic (Right Side -> Now Bottom Row) --- */
  .system-logic { background: #fff; padding: 30px; border-radius: 20px; border: 1px solid #e1e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; justify-content: center; text-align: left; width: 100%; box-sizing: border-box;}
  .automation-highlight { background-color: var(--ai-blue); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 15px; width: fit-content;}
  .system-logic p { font-size: 0.9rem; color: #475569; margin: 0 0 15px; line-height: 1.5; }
  .system-logic p strong { color: var(--text-dark); }
  .system-logic .concept-note { margin: 20px 0; border-left: 4px solid var(--ai-blue); padding-left: 15px; font-style: italic; background: #f8fafc; padding-top: 10px; padding-bottom: 10px; border-radius: 0 8px 8px 0;}
  .system-logic .concept-note p { margin: 0; font-size: 0.85rem;}
  .fragment-note { font-size: 0.8rem; color: #94a3b8; border-top: 1px solid #e2e8f0; padding-top: 15px; margin-top: 10px; }

  /* --- Persona Section --- */
  .persona-section { margin: 0 auto 50px; background: #fff; padding: 25px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid #e1e8f0; width: fit-content; max-width: 900px; }
  .persona-section h2 { text-align: center; margin-top: 0; margin-bottom: 10px; font-size: 1.2rem; }
  .persona-section h4 { text-align: center; margin-top: 0; margin-bottom: 20px; font-size: 0.85rem; color: #64748b; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto;}
  
/* --- Persona Section Collapsible State --- */
  .persona-section button[aria-label="Toggle Persona Picker"] { display: none; }
  .persona-section.is-stuck button[aria-label="Toggle Persona Picker"] { display: block; }
  
  .persona-section.is-stuck.is-collapsed button[aria-label="Toggle Persona Picker"] { transform: rotate(180deg); }
  .persona-section.is-stuck.is-collapsed h2,
  .persona-section.is-stuck.is-collapsed h4,
  .persona-section.is-stuck.is-collapsed .persona-details { display: none; }
  .persona-section.is-stuck.is-collapsed { padding: 15px; }
  .persona-section.is-stuck.is-collapsed .persona-card { padding: 10px; }
  .persona-section.is-stuck.is-collapsed .avatar { font-size: 1.4rem; margin-bottom: 5px; }
  .persona-section.is-stuck.is-collapsed h3 { font-size: 0.85rem; margin: 0; }
  
  .persona-card { background: var(--bg-gray); padding: 15px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; text-align: center; }

  .persona-card.active { border-color: var(--ai-blue); background: #f0f7ff; }
  .avatar { font-size: 1.8rem; margin-bottom: 10px; }
  .persona-badge { display: inline-block; background: #e2e8f0; padding: 2px 8px; border-radius: 10px; font-weight: 700; font-size: 0.65rem; margin-top: 8px; color: #475569;}
  .persona-card.active .persona-badge { background: var(--ai-blue); color: #fff; }

  /* --- Layout & Sections --- */
  .funnel-section { margin-bottom: 60px; }
  .funnel-info { background: var(--context-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--context-border); }
  .stage-tag { display: inline-block; background: var(--text-dark); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.65rem; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
  .component-demo { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); position: relative; }
  
  /* --- Table Customization --- */
  .comparison-section { position: relative; border: 3px solid var(--value-orange); border-radius: 16px; padding: 25px; margin-bottom: 60px; background-color: rgba(255, 102, 0, 0.03); box-sizing: border-box; }
  .core-data-badge { position: absolute; top: -15px; left: 20px; background-color: var(--value-orange); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; z-index: 10; }
  .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; border-radius: 8px; background: #fff; border: 1px solid #e1e8f0; }
  table { width: 100%; border-collapse: collapse; min-width: 600px; }
  th, td { padding: 12px; text-align: center; border-bottom: 1px solid #f0f4f8; font-size: 0.8rem; }
  td:first-child { text-align: left; font-weight: 600; background: #fafbfc; }
  .table-attr { border-bottom: 2px solid var(--attr-teal); font-weight: bold; }
  .table-value { border-bottom: 2px solid var(--value-orange); font-weight: bold; }
  .table-lbl { border-bottom: 2px solid var(--label-gold); font-weight: bold; }
  .table-product-name { border-bottom: 2px solid var(--value-orange); font-weight: bold; }
  .table-profile { border-bottom: 2px solid var(--profile-magenta); font-weight: bold; }
  .table-thirdparty { border-bottom: 2px solid var(--thirdparty-indigo); font-weight: bold; }
  .table-ugc { border-bottom: 2px solid var(--ugc-green); font-weight: bold; }
  .table-ai { border-bottom: 2px solid var(--ai-blue); font-weight: bold; }
  .table-cta { border-bottom: 2px solid var(--cta-crimson); font-weight: bold; }

  /* --- Content Styling --- */
  .segment .main-text { padding-bottom: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: opacity 0.3s ease; }
  .segment.ai .main-text { border-bottom: 3px solid var(--ai-blue); }
  .segment.attr .main-text { border-bottom: 3px solid var(--attr-teal); }
  .segment.value .main-text, .segment.attribute .main-text { border-bottom: 3px solid var(--value-orange); } 
  .segment.label .main-text { border-bottom: 3px solid var(--label-gold); }
  .segment.ugc .main-text { border-bottom: 3px solid var(--ugc-green); }
  .segment.profile .main-text { border-bottom: 3px solid var(--profile-magenta); }
  .segment.thirdparty .main-text { border-bottom: 3px solid var(--thirdparty-indigo); }
  .segment.cta .main-text { border-bottom: 3px solid var(--cta-crimson); }
  /* AI copy informed by CRM data (not an exact CRM match) — double underline: blue top + pink bottom */
  .segment.ai-crm .main-text { 
    border-bottom: 3px solid var(--profile-magenta);
    text-decoration: underline;
    text-decoration-color: var(--ai-blue);
    text-decoration-thickness: 2px;
    text-underline-offset: 12px;
    padding-bottom: 8px;
  }
  
  .hero-mock { background: #1a202c; color: #fff; padding: 40px; border-radius: 12px; text-align: center; }
  .cta-btn { background: #2c3e50; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: bold; cursor: pointer; }
  .feature-box { border: 1px solid #e2e8f0; padding: 25px; border-radius: 12px; }
  .testimonial { border-left: 5px solid var(--ugc-green); padding: 25px; background: #fdfdfd; font-style: italic; border: 1px solid #e2e8f0; border-radius: 0 12px 12px 0;}
  .cta-block { text-align: center; padding: 35px; background: #f4f7f9; border-radius: 12px; }
  .ad-block { border: 1px solid #d1d9e6; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.03); margin: 0 auto; }
  .lp-block { border: 2px dashed #cbd5e1; padding: 40px 30px; border-radius: 16px; text-align: center; background: #fafbfc; }
  .fade-out { opacity: 0; }

  /* Content demo imagery with AI-generated label */
  .demo-with-imagery { display: flex; align-items: stretch; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; max-width: 100%; height: 100%; }
  .demo-ai-image-wrap { display: flex; align-items: stretch; flex: 0 0 auto; min-width: 140px; }
  .demo-ai-bar { width: 8px; background: var(--ai-blue); display: flex; align-items: center; justify-content: center; padding: 8px 0; }
  .demo-ai-bar span { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-size: 0.6rem; font-weight: 800; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; }
  .demo-image { min-width: 120px; min-height: 100px; background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #94a3b8; }
  .demo-with-imagery .demo-content { flex: 1; min-width: 0; }

  /* --- Stack Section --- */
  .stack-container { margin: 80px auto; font-family: 'Inter', sans-serif;}
  .stack-container { font-size: 2rem; font-weight: 800; text-align: center; color: var(--text-dark); } 
  .stack-section { margin-top: 40px; margin-bottom: 50px; text-align: left; font-size: 1rem; font-weight: normal;}
  .stack-section h2 { border-bottom: 2px solid #e2e8f0; padding-bottom: 12px; margin-bottom: 24px; font-size: 1.4rem; color: var(--ai-blue); font-weight: 700;}
  .stack-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px 15px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .stack-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: #cbd5e1;}
  .stack-card img { max-width: 45px; height: auto; border-radius: 8px;}
  .stack-card p { margin: 0; font-size: 0.9rem; font-weight: 600; color: #475569; line-height: 1.3;}

  /* --- Channel Dividers --- */
  .channel-divider { display: flex; align-items: center; gap: 16px; margin: 0 0 40px; padding: 14px 24px; background: var(--text-dark); border-radius: 12px; }
  .channel-divider-label { font-size: 0.62rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); white-space: nowrap; }
  .channel-divider-name { font-size: 0.92rem; font-weight: 800; color: #fff; white-space: nowrap; }
  .channel-divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
  .channel-divider-icon { font-size: 1.1rem; flex-shrink: 0; }

  /* --- Footer & Form --- */
  .page-footer { background: linear-gradient(180deg, #1a202c 0%, #2d3748 100%); color: #e2e8f0; padding: 70px 24px 80px; text-align: center; }
  
  .how-to-implement { max-width: 700px; margin: 0 auto 60px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; }
  .how-to-heading { margin: 0 0 24px; font-size: 1.8rem; font-weight: 700; color: #fff; }
  .how-to-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
  .step { display: flex; align-items: flex-start; gap: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 24px; border-radius: 12px; }
  .step-number { min-width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--ai-blue); color: #fff; font-size: 14px; font-weight: 700; border-radius: 50%; flex-shrink: 0; }
  .step p { margin: 0; line-height: 1.5; font-size: 1rem; color: #e2e8f0; }
  .step p strong { color: #fff; }

  .page-footer .footer-cta-heading { margin: 0 0 12px; font-size: 1.8rem; font-weight: 700; color: #fff; }
  .page-footer .footer-cta-text { margin: 0 auto 35px; font-size: 1.05rem; opacity: 0.9; max-width: 480px; }
  .footer-cta-btn {
    display: inline-block;
    background: var(--value-orange);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.01em;
  }
  .footer-cta-btn:hover { background: #e55a00; transform: translateY(-1px); }
  
  .footer-form { max-width: 480px; margin: 0 auto; text-align: left; }
  .footer-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: #cbd5e0; }
  .footer-form input { width: 100%; padding: 12px 14px; border: 1px solid #4a5568; border-radius: 8px; background: rgba(0,0,0,0.2); color: #fff; font-size: 1rem; box-sizing: border-box; transition: border-color 0.2s; }
  .footer-form input:focus { outline: none; border-color: var(--ai-blue); }
  .footer-form input::placeholder { color: #718096; }
  .footer-form button { margin-top: 10px; width: 100%; padding: 16px 24px; background: var(--value-orange); color: #fff; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
  .footer-form button:hover { background: #e55a00; }

  /* Responsive Rules Updates */
  @media (max-width: 600px) { 
    .demo-with-imagery { flex-direction: column; } 
    .demo-ai-image-wrap { flex-direction: row; min-width: 100%; } 
    .demo-ai-bar { width: auto; min-height: 8px; padding: 4px 8px; } 
    .demo-ai-bar span { writing-mode: horizontal-tb; transform: none; } 
    .demo-image { min-height: 80px; } 
  }

  /* --- Channel anchor scroll offset --- */
  #channel-website, #channel-offers-section, #channel-email, #channel-chat, #channel-ads-paid, #channel-social, #channel-ads { scroll-margin-top: 20px; }

  /* --- Sticky Persona Section Updates --- */
  #channel-website > .row:first-child {
    position: sticky;
    top: 12px;
    z-index: 100;
    pointer-events: none;
  }
  #channel-website > .row:first-child .persona-section {
    pointer-events: auto;
    transition: all 0.2s ease;
  }
  .persona-section.is-stuck {
    padding: 8px 10px 12px;
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 10px;
  }
  .persona-section.is-stuck h2 { font-size: 0.8rem; margin-bottom: 4px; font-weight: 700; }
  .persona-section.is-stuck h4 { display: none; }
  .persona-section.is-stuck > .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
  }
  .persona-section.is-stuck .col-4 {
    width: auto;
    flex: 1;
    margin: 0;
    min-height: auto;
  }
  .persona-section.is-stuck .persona-card { padding: 6px 8px; border-radius: 8px; min-width: 0; }
  .persona-section.is-stuck .avatar { font-size: 1.1rem; margin-bottom: 2px; }
  .persona-section.is-stuck .persona-card h3 { font-size: 0.7rem; margin: 0 0 2px 0; font-weight: 600; line-height: 1.2; }
  .persona-section.is-stuck .persona-details { font-size: 0.6rem; line-height: 1.2; }
  .persona-section.is-stuck .persona-badge { font-size: 0.5rem; padding: 1px 4px; margin-top: 4px;}

/* --- Sticky Key (Horizontal Bottom Bar, Collapsible) --- */
  .sticky-key {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 150%); /* Starts hidden below screen */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth slide up */
    z-index: 9999;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    width: min(980px, 96vw);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  }
  .sticky-key.is-visible {
    transform: translate(-50%, 0); /* Visible state triggered by JS */
  }
  .sticky-key-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .sticky-key-toggle:hover { background: #f8fafc; border-radius: 12px 12px 0 0; }
  .sticky-key-chevron {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
  }
  .sticky-key.collapsed .sticky-key-chevron { transform: rotate(180deg); }
  
  .sticky-key-body {
    overflow: hidden;
    max-height: 450px; /* Increased to prevent clipping when grid wraps on mobile */
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px 14px;
  }
  .sticky-key.collapsed .sticky-key-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  /* Clean Grid Structure */
  .sticky-key-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
  }
  .sticky-key-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.3;
  }
  .sticky-key-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
  .sticky-key-sub { font-weight: 400; color: #64748b; font-size: 0.6rem; display: block; }
  
  @media (max-width: 640px) {
    .sticky-key-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .sticky-key-grid { grid-template-columns: 1fr; }
  }

/* --- Mobile Sticky Fixes & Persona Fix --- */
  .persona-section { box-sizing: border-box; max-width: 100%; }
  .persona-section .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px; /* prevents scrollbar clipping */
  }
  .persona-section .col-4 {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    float: none;
    width: auto;
  }

  /* --- Sticky Nav Wrapping Fix --- */
  @media (max-width: 850px) {
    .sticky-key-toggle {
      flex-wrap: wrap;
      height: auto;
      gap: 10px;
    }
    .sticky-nav-links {
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
    }
  }

  /* --- Database Section Styles --- */
  .db-container {
    background: #fff; border-radius: 20px; border: 1px solid #e1e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; margin-top: 30px;
  }
  .db-toggle {
    width: 100%; padding: 25px 30px; background: transparent; border: none; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s;
  }
  .db-toggle:hover { background: #f8fafc; }
  .db-chevron { font-size: 1.2rem; color: #94a3b8; transition: transform 0.3s; }
  .db-container.expanded .db-chevron { transform: rotate(180deg); }
  .db-content { display: none; padding: 0 30px 30px 30px; border-top: 1px solid #e1e8f0; }
  .db-container.expanded .db-content { display: block; }
  
  .db-card-row { display: flex; justify-content: center; gap: 20px; margin-top: 35px; margin-bottom: 50px; flex-wrap: nowrap; }
  .db-card { background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; width: 210px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
  .db-card h3 { margin: 0 0 5px 0; font-size: 1.1rem; }
  .db-card .subtitle { color: #64748b; margin: 0 0 10px 0; font-size: 0.9rem; font-weight: 600; }
  .db-card p { font-size: 13px; color: #475569; margin: 0; line-height: 1.6; }
  .db-arrow { font-size: 26px; color: #94a3b8; display: flex; align-items: center; justify-content: center; }
  @media (max-width: 900px) {
    .db-arrow { transform: rotate(90deg); margin: 5px 0; }
    .db-card-row { flex-direction: column; align-items: center; }
  }
  
  .db-table-container { background: white; border: 1px solid #e2e8f0; border-radius: 8px; overflow-x: auto; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 40px; }
  .db-table-container table { width: 100%; border-collapse: collapse; min-width: 600px; text-align: left; }
  .db-table-container th { background: #1e293b; color: white; padding: 12px; font-size: 14px; position: sticky; top: 0; }
  .db-table-container td { padding: 11px; border-top: 1px solid #e2e8f0; font-size: 14px; color: #374151; }
  .db-table-container tr:nth-child(even) { background: #f8fafc; }
  .db-table-container tr:hover { background: #eef2ff; }
  .db-model-c { background: #eef2ff; font-weight: 600; }
  .db-model-c-header { background: #2563eb !important; }
  .db-ai-pulse { animation: dbPulse 2.5s infinite; font-weight: 600; color: #16a34a; }
  @keyframes dbPulse { 0% { opacity: 1; } 50% { opacity: 0.55; } 100% { opacity: 1; } }
  .db-section-title { font-size: 1.3rem; margin: 0 0 5px; color: #1e293b; }
  .db-section-sub { color: #64748b; margin: 0 0 15px; font-size: 0.95rem; }

  /* --- Database Section Container Outlines --- */
  .db-section-container {
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
  }

  .orange-outline { border: 3px solid var(--value-orange); }
  .pink-outline   { border: 3px solid var(--profile-magenta); }
  .purple-outline { border: 3px solid var(--thirdparty-indigo); }
  .grey-outline   { border: 3px solid #94a3b8; }
  .blue-outline   { border: 3px solid var(--ai-blue); }