:root{
    --bg: #f7f8fa;
    --text: #0f172a;
    --muted: #475569;
    --hint: #64748b;
  
    --border: #e5e7eb;
    --accent: #2563EB;
   
   /* button-specific */
    --btn-bg: #DBEAFE;        /* light blue (blue-100) */
    --btn-text: #1E40AF;      /* deep blue text */
    --btn-border: #BFDBFE;    /* soft border */
    --btn-hover-bg: #BFDBFE;  /* darker on hover */
    --btn-hover-text: #1E3A8A;

    --max: 920px;
  }
  
  *{ box-sizing: border-box; }
  html,body{ margin:0; padding:0; }
  
  body{
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
  }
  
  .wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 18px 64px;
  }
  
  @media (min-width: 768px){
    .wrap{ padding: 44px 24px 80px; }
  }
  
  /* Top nav */
  .topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 8px 0 30px;
  }
  
  .logo{
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0;
  }
  
  .dot{ color: var(--accent); }
  
  .navlink{
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
  }
  .navlink:hover{ text-decoration: underline; }
  
  /* Hero */
  .hero{
    padding: 0 0 18px;
  }
  
  .subhead{
    margin: 0 0 12px;
    font-weight: 600;
    color: #334155; /* slightly muted, still strong */
    letter-spacing: 0.01em;
  }
  
  .lede{
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 16px;
  }
  
  /* Editorial sections */
  .section{
    padding: 30px 0;
  }
  
  .section + .section{
    border-top: 1px solid var(--border);
  }
  
  h2{
    font-size: 15px;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
    color: var(--text);
  }
  
  .body{
    margin: 0;
    color: var(--muted);
    max-width: 68ch;
  }
  
  .list{
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--muted);
    max-width: 68ch;
  }
  
  .list li{
    margin: 6px 0;
  }
  
  .hint{
    color: var(--hint);
  }
  
  /* Links (accent) */
  a{
    color: var(--accent);
    text-decoration: none;
  }
  a:hover{ text-decoration: underline; }
  
  /* Embeds (ConvertKit etc) */
  .embed{ margin-top: 12px; }
  .ck-embed{
    width: 100%;
    min-height: 220px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
  }
  
  /* Footer */
  .footer{
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  
  .footer-links{
    margin: 10px 0 10px;
    font-size: 14px;
    color: var(--muted);
  }
  
  .sep{
    color: var(--hint);
    margin: 0 6px;
  }
  
  .micro{
    font-size: 13px;
  }
  
  .muted{
    color: var(--muted);
  }
  
  /* Accessibility */
  :focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  
  /* Tighten vertical rhythm on iPhone/small screens */
  @media (max-width: 480px){
    .wrap{ padding: 20px 14px 56px; }
  
    .topbar{ padding: 6px 0 22px; }
  
    .logo{ font-size: 30px; }
  
    .subhead{ margin: 0 0 10px; }
  
    .hero{ padding: 0 0 14px; }
  
    .section{ padding: 24px 0; }
  
    h2{ margin: 0 0 8px; }
  
    .list{ margin-top: 6px; }
  
    .list li{ margin: 4px 0; }
  }
  
  /* Contact form card (only used on contact page) */
/* Required star */
.req{
    color: #dc2626; /* red-600 */
    margin-left: 4px;
    font-weight: 700;
  }
  
  /* Form layout */
  .form .field{
    margin-top: 12px;
  }
  
  .form label{
    display: block;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 14px;
  }
  
  /* Half-width stacked fields (Name, Company, Email) */
  .halfstack{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* On larger screens, keep them half-width but still stacked */
  @media (min-width: 720px){
    .halfstack{
      width: min(560px, 100%);
    }
  }
  
  /* Inputs */
  .form input,
  .form textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
  }
  
  .form textarea{
    resize: vertical;
    min-height: 160px;
  }
  
  /* Modern editorial button */
  .btn{
    appearance: none;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--btn-text);
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
  
    transition:
      background-color 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease,
      transform 0.05s ease;
  }
  
  /* Hover + focus */
  .btn:hover,
  .btn:focus-visible{
    background: var(--btn-hover-bg);
    color: var(--btn-hover-text);
    border-color: var(--btn-hover-text);
  }
  
  /* Active / click */
  .btn:active{
    transform: translateY(1px);
  }
  
  /* Keyboard accessibility */
  .btn:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  }
  
  
  /* Form actions */
  .form-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  
  
  /* Back link on contact page */
  .back{
    display: inline-block;
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
  }
  .back:hover{ text-decoration: underline; }
  
  /* Print-friendly stylesheet */
  @media print{
    body{
      background: #fff !important;
      color: #000 !important;
    }
  
    .wrap{
      max-width: 100% !important;
      padding: 0 !important;
    }
  
    .topbar{
      padding: 0 0 14px !important;
    }
  
    .section + .section{
      border-top: 1px solid #ccc !important;
    }
  
    a{
      color: #000 !important;
      text-decoration: underline !important;
    }
  
    /* Hide nav-only items and any future buttons/embeds */
    .nav, .embed{
      display: none !important;
    }
  
    /* Optional: show URLs for http links */
    a[href^="http"]:after{
      content: " (" attr(href) ")";
      font-size: 12px;
      color: #444;
    }
  
    h1,h2{
      page-break-after: avoid;
    }
    p,li{
      page-break-inside: avoid;
    }
    p{
      orphans: 3;
      widows: 3;
    }
  }
  