:root{
    --teal: #2D6E6E;
    --teal-2: #4A9B9B;
    --teal-50: #eaf2f2;
    --teal-100: #d6e6e6;
    --bg: #FFFFFF;
    --bg-soft: #F8F9FA;
    --ink: #1A1A1A;
    --ink-2: #4A5052;
    --ink-3: #6b7274;
    --rule: #e7ebec;
    --max: 1120px;
    --pad: clamp(20px, 4vw, 40px);
    --radius: 10px;
    --shadow-sm: 0 1px 0 rgba(20,30,30,.04), 0 1px 2px rgba(20,30,30,.04);
    --shadow-md: 0 1px 0 rgba(20,30,30,.04), 0 12px 30px -16px rgba(20,40,40,.18);
  }

  *,*::before,*::after{ box-sizing: border-box; }
  html{ -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
  body{
    margin:0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "ss01","cv11";
  }
  img{ max-width:100%; display:block; }
  a{ color: var(--teal); text-decoration: none; }
  a:hover{ color: var(--teal-2); }

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

  /* ---------- Nav ---------- */
  .nav{
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
  }
  .nav.is-stuck{
    border-bottom-color: var(--rule);
    background: rgba(255,255,255,.92);
  }
  .nav-inner{
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .brand{
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--teal);
  }
  .brand .mark{
    width: 38px; height: 38px;
    background-image: url("assets/botable-icon.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .brand .wordmark{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: .2px;
    color: var(--teal);
  }

  /* ---------- Buttons ---------- */
  .btn{
    --bg-btn: var(--teal);
    --fg-btn: #fff;
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 18px;
    background: var(--bg-btn); color: var(--fg-btn);
    border: 1px solid var(--bg-btn);
    border-radius: 999px;
    font: 500 14.5px/1 "Inter", sans-serif;
    letter-spacing: .1px;
    cursor: pointer;
    transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
    box-shadow: var(--shadow-sm);
  }
  .btn:hover{ background: #245757; border-color: #245757; color:#fff; }
  .btn:active{ transform: translateY(1px); }
  .btn-ghost{
    --bg-btn: transparent; --fg-btn: var(--ink);
    border-color: var(--rule);
    box-shadow: none;
  }
  .btn-ghost:hover{ background: var(--bg-soft); color: var(--ink); border-color: #dbe1e3; }
  .btn .arrow{
    width: 14px; height: 14px;
    transition: transform .15s ease;
  }
  .btn:hover .arrow{ transform: translateX(2px); }

  /* ---------- Hero ---------- */
  .hero{
    position: relative;
    padding: clamp(72px, 12vw, 140px) 0 clamp(72px, 10vw, 120px);
    overflow: hidden;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(60% 50% at 85% 0%, rgba(74,155,155,.10), transparent 60%),
      radial-gradient(40% 40% at 0% 100%, rgba(45,110,110,.08), transparent 60%);
    pointer-events:none;
  }
  .hero-inner{ position: relative; max-width: 880px; }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font: 500 12.5px/1 "Inter", sans-serif;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal);
    padding: 8px 12px;
    background: var(--teal-50);
    border-radius: 999px;
    margin-bottom: 28px;
  }
  .eyebrow .dot{
    width:6px; height:6px; border-radius:50%; background: var(--teal);
    box-shadow: 0 0 0 4px rgba(45,110,110,.15);
  }
  h1.headline{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: clamp(40px, 6.4vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    color: var(--ink);
    text-wrap: balance;
  }
  h1.headline .accent{ color: var(--teal); font-weight: 500; }
  .subline{
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 16px;
    text-wrap: pretty;
  }
  .support{
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-3);
    max-width: 620px;
    margin: 0 0 32px;
    padding-left: 14px;
    border-left: 2px solid var(--teal-100);
    text-wrap: pretty;
  }
  .hero-cta{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
  .hero-meta{
    margin-top: 28px;
    display:flex; align-items:center; gap:16px;
    color: var(--ink-3); font-size: 13.5px;
  }
  .hero-meta .pin{
    display:inline-flex; align-items:center; gap:6px;
  }
  .hero-meta .dot-sep{
    width: 3px; height: 3px; background: var(--ink-3); border-radius:50%; opacity:.6;
  }

  /* ---------- Section primitives ---------- */
  section{ padding: clamp(72px, 9vw, 120px) 0; }
  .section-rule{ height:1px; background: var(--rule); border:0; margin: 0; }
  .section-head{
    display:flex; align-items:flex-end; justify-content:space-between;
    gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
  }
  .section-head h2{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.005em;
    max-width: 22ch;
    text-wrap: balance;
  }
  .section-label{
    font: 500 12px/1 "Inter", sans-serif;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--teal);
    display:inline-flex; align-items:center; gap: 10px;
    margin-bottom: 14px;
  }
  .section-label::before{
    content:""; width: 22px; height: 1px; background: var(--teal);
  }

  /* ---------- Value props ---------- */
  .props{ background: var(--bg-soft); }
  .props-lede{
    max-width: 56ch;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: -28px 0 40px;
    text-wrap: pretty;
  }
  .props-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
  }
  .prop{
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 28px 26px 30px;
    display:flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .prop:hover{
    transform: translateY(-2px);
    border-color: #dbe5e5;
    box-shadow: var(--shadow-md);
  }
  .prop-icon{
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--teal-50);
    color: var(--teal);
    display:grid; place-items:center;
    margin-bottom: 22px;
  }
  .prop-icon svg{ width: 22px; height: 22px; }
  .prop h3{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--ink);
    text-wrap: balance;
  }
  .prop h3 .sep{
    color: var(--teal-2);
    font-weight: 500;
    font-style: italic;
    margin: 0 6px;
    display: inline-block;
  }
  .prop h3 .to{ color: var(--teal); white-space: nowrap; }
  .prop p{
    margin:0;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
  }

  /* ---------- How we work ---------- */
  .process{
    counter-reset: step;
    display:grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .process-lede p{
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0 0 16px;
    max-width: 50ch;
    text-wrap: pretty;
  }
  .process-lede .tag{
    display:inline-block;
    margin-top: 12px;
    font-style: italic;
    color: var(--ink-3);
    font-size: 14.5px;
    border-left: 2px solid var(--teal);
    padding: 4px 0 4px 14px;
  }
  .steps{
    list-style: none; padding: 0; margin: 0;
    display:flex; flex-direction: column;
    border-top: 1px solid var(--rule);
  }
  .steps li{
    counter-increment: step;
    display:flex; align-items:flex-start; gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
  }
  .steps li::before{
    content: counter(step, decimal-leading-zero);
    font-family: "Lora", serif;
    font-feature-settings: "tnum";
    font-size: 13px;
    color: var(--teal);
    width: 28px; flex: 0 0 28px;
    padding-top: 3px;
  }

  /* ---------- Guardrails ---------- */
  .guardrails-panel{
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 44px);
    display:grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }
  .guardrails-panel .heading{
    display:flex; flex-direction: column; gap: 14px;
  }
  .guardrails-panel h2{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -.005em;
  }
  .guardrails-panel .heading .sigil{
    width: 28px; height: 28px;
    color: var(--teal);
  }
  .guardrails-body p{
    margin: 0 0 14px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 62ch;
  }
  .guardrails-body p:last-child{ margin-bottom: 0; }

  /* ---------- Who it's for ---------- */
  .audience{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: start;
  }
  .audience p{
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0 0 18px;
    max-width: 56ch;
    text-wrap: pretty;
  }
  .sectors{
    border-left: 1px solid var(--rule);
    padding-left: 32px;
    display:flex; flex-direction:column; gap: 18px;
  }
  .sector{
    display:flex; align-items:flex-start; gap: 14px;
  }
  .sector .num{
    font-family: "Lora", serif;
    font-size: 13px;
    color: var(--teal);
    width: 24px; flex: 0 0 24px;
    padding-top: 2px;
    font-feature-settings: "tnum";
  }
  .sector .body strong{
    display:block; font-weight: 600; font-size: 15px; color: var(--ink);
  }
  .sector .body span{
    color: var(--ink-3); font-size: 14px; line-height: 1.5;
  }

  /* ---------- Contact ---------- */
  .contact{ background: var(--bg-soft); }
  .contact-wrap{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .contact-intro h2{
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -.01em;
  }
  .contact-intro p{
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 38ch;
  }
  .contact-meta{
    border-top: 1px solid var(--rule);
    padding-top: 22px;
    margin-top: 28px;
    display:flex; flex-direction:column; gap: 10px;
    color: var(--ink-3);
    font-size: 14px;
  }
  .contact-meta b{ color: var(--ink); font-weight: 600; font-size: 14px; }

  form.contact-form{
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-md);
  }
  .field{ display:flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .field label{
    font: 500 13px/1 "Inter", sans-serif;
    color: var(--ink);
    letter-spacing: .02em;
  }
  .field .req{ color: var(--teal); }
  .field input,
  .field textarea{
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: #fff;
    font: 400 15px/1.5 "Inter", sans-serif;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .field textarea{ min-height: 120px; resize: vertical; }
  .field input:hover,
  .field textarea:hover{ border-color: #d4dadc; }
  .field input:focus,
  .field textarea:focus{
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(45,110,110,.12);
  }
  .field .help{
    color: var(--ink-3); font-size: 12.5px;
  }
  .field .optional{
    color: var(--ink-3); font-weight: 400; font-size: 12.5px; margin-left: 4px;
  }
  .select-wrap{
    position: relative;
  }
  .select-wrap select{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 38px 12px 14px;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: 400 15px/1.5 "Inter", sans-serif;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .select-wrap select:hover{ border-color: #d4dadc; }
  .select-wrap select:focus{
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(45,110,110,.12);
  }
  .select-wrap .chev{
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-3);
    pointer-events: none;
  }
  .privacy-note{
    display:flex; align-items:flex-start; gap: 8px;
    margin: 18px 0 0;
    color: var(--ink-3);
    font-size: 12.5px;
    line-height: 1.5;
  }
  .privacy-note svg{ color: var(--teal); margin-top: 2px; flex: 0 0 13px; }
  .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-row .field{ margin-bottom: 0; }
  .form-bottom{
    display:flex; align-items:center; justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
  }
  .form-status{
    font-size: 13.5px; color: var(--ink-3);
    min-height: 20px;
  }
  .form-status.ok{ color: #1a6a4a; }
  .form-status.err{ color: #a13a3a; }
  .submit{
    height: 46px; padding: 0 22px; font-size: 15px;
  }
  .submit[disabled]{ opacity: .65; cursor: progress; }

  /* honeypot */
  .hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

  /* ---------- Footer ---------- */
  footer.site-foot{
    padding: 36px 0 48px;
    border-top: 1px solid var(--rule);
    background: #fff;
  }
  .foot-inner{
    display:flex; align-items:center; justify-content:space-between;
    gap: 20px; flex-wrap: wrap;
    color: var(--ink-3); font-size: 13.5px;
  }
  .foot-mark{
    width: 28px; height: 28px;
    background-image: url("assets/botable-icon.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .9;
  }
  .foot-left{ display:flex; align-items:center; gap: 12px; }
  .foot-mid{ display:flex; align-items:center; gap: 8px; }
  .foot-right a{ color: var(--ink-3); }
  .foot-right a:hover{ color: var(--teal); }

  /* ---------- Responsive ---------- */
  @media (max-width: 880px){
    .props-grid{ grid-template-columns: 1fr; }
    .audience{ grid-template-columns: 1fr; gap: 36px; }
    .sectors{ border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 28px;}
    .contact-wrap{ grid-template-columns: 1fr; gap: 36px; }
    .form-row{ grid-template-columns: 1fr; }
    .process{ grid-template-columns: 1fr; gap: 32px; }
    .guardrails-panel{ grid-template-columns: 1fr; gap: 18px; padding: 28px; }
  }
  @media (max-width: 560px){
    .nav-inner{ height: 64px; }
    .brand .wordmark{ font-size: 20px; }
    .hero-meta{ flex-wrap: wrap; }
    .form-bottom{ flex-direction: column; align-items: stretch; }
    .submit{ width: 100%; justify-content: center; }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
    html{ scroll-behavior: auto; }
  }