/*
Theme Name: TenderNow
Theme URI: https://tendernow.co.uk
Author: TenderNow
Description: Custom single-page theme for TenderNow's fractional procurement landing site.
Version: 1.0
*/


  :root{
    --navy: #0B1B33;
    --navy-2: #12274A;
    --navy-3: #1B345C;
    --paper: #F5F6F2;
    --paper-2: #ECEEE8;
    --ink: #10182A;
    --ink-soft: #4B5568;
    --ink-faint: #7C889B;
    --gold: #C7A544;
    --gold-bright: #E0BE5E;
    --emerald: #1F6F54;
    --emerald-soft: #E7F1EC;
    --line-dark: rgba(255,255,255,0.14);
    --line-light: rgba(16,24,42,0.12);
    --radius: 2px;
    --max: 1180px;
    font-size: 16px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', -apple-system, sans-serif;
    background:var(--paper);
    color:var(--ink);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%; display:block;}
  a{color:inherit;}
  .mono{font-family:'IBM Plex Mono', monospace;}
  .wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:.72rem;
    letter-spacing:.14em;
    text-transform:uppercase;
    font-weight:500;
  }
  section{position:relative;}
  h1,h2,h3{font-weight:800; letter-spacing:-0.02em; line-height:1.05;}
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'Inter',sans-serif; font-weight:600; font-size:.95rem;
    padding:15px 26px;
    border-radius:var(--radius);
    border:1px solid transparent;
    cursor:pointer;
    text-decoration:none;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn:focus-visible{outline:2px solid var(--gold-bright); outline-offset:3px;}
  .btn-gold{background:var(--gold); color:var(--navy);}
  .btn-gold:hover{background:var(--gold-bright); transform:translateY(-1px);}
  .btn-outline{background:transparent; border-color:var(--line-dark); color:#fff;}
  .btn-outline:hover{border-color:var(--gold-bright); color:var(--gold-bright);}
  .btn-navy{background:var(--navy); color:#fff;}
  .btn-navy:hover{background:var(--navy-3); transform:translateY(-1px);}
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(11,27,51,0.92);
    backdrop-filter: blur(10px);
    border-bottom:1px solid var(--line-dark);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 32px; max-width:var(--max); margin:0 auto;
  }
  .logo{
    color:#fff; font-weight:800; font-size:1.15rem; letter-spacing:-0.01em;
    display:flex; align-items:center; gap:9px;
  }
  .logo .mark{
    width:9px; height:9px; background:var(--gold); border-radius:1px;
    box-shadow:4px 0 0 var(--emerald);
  }
  .nav-links{display:flex; align-items:center; gap:32px;}
  .nav-links a{
    color:rgba(255,255,255,0.72); font-size:.9rem; font-weight:500; text-decoration:none;
    transition:color .15s;
  }
  .nav-links a:hover{color:#fff;}
  .nav-cta{display:none;}
  @media(min-width:860px){ .nav-cta{display:inline-flex;} }
  .nav-links{display:none;}
  @media(min-width:860px){ .nav-links{display:flex;} }

  /* ---------- HERO ---------- */
  .hero{
    background:
      radial-gradient(ellipse 900px 500px at 85% -10%, rgba(199,165,68,0.16), transparent 60%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color:#fff;
    padding:88px 0 100px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid; grid-template-columns:1fr; gap:56px; align-items:center;
  }
  @media(min-width:960px){ .hero-grid{grid-template-columns:1.05fr 0.95fr;} }
  .hero-eyebrow{color:var(--gold-bright); margin-bottom:22px; display:flex; align-items:center; gap:10px;}
  .hero-eyebrow::before{content:""; width:22px; height:1px; background:var(--gold-bright); display:inline-block;}
  h1.headline{
    font-size:clamp(2.1rem, 4.4vw, 3.4rem);
    color:#fff; margin-bottom:22px;
  }
  h1.headline em{
    font-style:normal; color:var(--gold-bright);
  }
  .sub{
    font-size:1.06rem; color:rgba(255,255,255,0.72); max-width:52ch; margin-bottom:34px; line-height:1.65;
  }
  .hero-actions{display:flex; flex-wrap:wrap; gap:16px; margin-bottom:30px;}
  .trust{
    display:flex; align-items:center; gap:12px;
    font-family:'IBM Plex Mono', monospace; font-size:.78rem; color:rgba(255,255,255,0.55);
    letter-spacing:.02em;
  }
  .trust strong{color:var(--gold-bright); font-weight:600;}
  .trust .dot{width:5px; height:5px; border-radius:50%; background:var(--emerald); box-shadow:0 0 0 3px rgba(31,111,84,0.25);}

  /* ---------- LEDGER (signature element) ---------- */
  .ledger{
    background:var(--navy-2);
    border:1px solid var(--line-dark);
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:0 30px 60px -20px rgba(0,0,0,0.5);
  }
  .ledger-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px;
    border-bottom:1px solid var(--line-dark);
    font-family:'IBM Plex Mono', monospace;
    font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
    color:rgba(255,255,255,0.5);
  }
  .ledger-head .live{display:flex; align-items:center; gap:7px; color:var(--emerald);}
  .ledger-head .live-dot{width:6px; height:6px; border-radius:50%; background:var(--emerald); animation:pulse 1.8s ease-in-out infinite;}
  @keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.25;}}
  .ledger-rows{padding:6px 0;}
  .ledger-row{
    display:grid;
    grid-template-columns: 1fr auto auto;
    gap:14px;
    align-items:center;
    padding:14px 20px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    opacity:0; transform:translateY(6px);
    animation:rowIn .5s ease forwards;
  }
  .ledger-row:last-child{border-bottom:none;}
  .ledger-row:nth-child(1){animation-delay:.15s;}
  .ledger-row:nth-child(2){animation-delay:.55s;}
  .ledger-row:nth-child(3){animation-delay:.95s;}
  .ledger-row:nth-child(4){animation-delay:1.35s;}
  @keyframes rowIn{to{opacity:1; transform:translateY(0);}}
  .vendor-name{font-size:.86rem; color:#fff; font-weight:500;}
  .vendor-cat{display:block; font-family:'IBM Plex Mono', monospace; font-size:.66rem; color:rgba(255,255,255,0.4); margin-top:2px; letter-spacing:.04em;}
  .price-old{font-family:'IBM Plex Mono', monospace; font-size:.8rem; color:rgba(255,255,255,0.38); text-decoration:line-through; text-align:right;}
  .price-new{font-family:'IBM Plex Mono', monospace; font-size:.86rem; color:var(--emerald); font-weight:600; text-align:right; white-space:nowrap;}
  .ledger-foot{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 20px;
    background:rgba(199,165,68,0.08);
    border-top:1px solid var(--line-dark);
  }
  .ledger-foot .label{font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,0.55);}
  .ledger-foot .amount{font-family:'IBM Plex Mono', monospace; font-size:1.3rem; font-weight:600; color:var(--gold-bright);}

  /* ---------- SECTION SHELL ---------- */
  .section{padding:96px 0;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head .eyebrow{color:var(--emerald); margin-bottom:14px;}
  .section-head h2{font-size:clamp(1.7rem, 3vw, 2.3rem); color:var(--navy);}
  .section-head p{margin-top:16px; color:var(--ink-soft); font-size:1.02rem; line-height:1.65;}

  /* ---------- VALUE PROP ---------- */
  .value{background:var(--paper);}
  .value-body{
    display:grid; grid-template-columns:1fr; gap:40px;
  }
  @media(min-width:900px){ .value-body{grid-template-columns:1fr 1fr;} }
  .value-copy p{color:var(--ink-soft); font-size:1.02rem; line-height:1.75; margin-bottom:18px;}
  .value-copy strong{color:var(--ink); font-weight:600;}
  .value-stats{
    display:grid; grid-template-columns:1fr 1fr; gap:1px;
    background:var(--line-light);
    border:1px solid var(--line-light);
  }
  .stat{background:var(--paper); padding:26px 22px;}
  .stat .num{font-family:'IBM Plex Mono', monospace; font-size:1.7rem; font-weight:600; color:var(--navy);}
  .stat .lbl{font-size:.82rem; color:var(--ink-faint); margin-top:6px;}

  /* ---------- PORTFOLIO GRID ---------- */
  .portfolio{background:var(--paper-2);}
  .port-grid{display:grid; grid-template-columns:1fr; gap:1px; background:var(--line-light); border:1px solid var(--line-light);}
  @media(min-width:700px){ .port-grid{grid-template-columns:1fr 1fr;} }
  .port-card{background:var(--paper-2); padding:34px 32px;}
  .port-icon{
    width:38px; height:38px; border-radius:var(--radius);
    background:var(--navy); display:flex; align-items:center; justify-content:center;
    margin-bottom:20px;
  }
  .port-icon svg{width:18px; height:18px; stroke:var(--gold-bright);}
  .port-card h3{font-size:1.08rem; color:var(--navy); margin-bottom:10px; font-weight:700;}
  .port-card p{color:var(--ink-soft); font-size:.92rem; line-height:1.65;}

  /* ---------- PRICING ---------- */
  .pricing{background:var(--navy); color:#fff;}
  .pricing .section-head .eyebrow{color:var(--gold-bright);}
  .pricing .section-head h2{color:#fff;}
  .pricing .section-head p{color:rgba(255,255,255,0.62);}
  .price-grid{display:grid; grid-template-columns:1fr; gap:24px;}
  @media(min-width:900px){ .price-grid{grid-template-columns:repeat(3,1fr);} }
  .price-card{
    background:var(--navy-2);
    border:1px solid var(--line-dark);
    border-radius:var(--radius);
    padding:34px 30px;
    display:flex; flex-direction:column;
  }
  .price-card.featured{
    border-color:var(--gold);
    background:linear-gradient(180deg, var(--navy-3), var(--navy-2));
    position:relative;
    transform:translateY(-8px);
  }
  .price-tag{
    position:absolute; top:-13px; left:30px;
    background:var(--gold); color:var(--navy);
    font-family:'IBM Plex Mono',monospace; font-size:.66rem; letter-spacing:.08em; text-transform:uppercase;
    font-weight:600; padding:5px 10px; border-radius:2px;
  }
  .price-name{font-size:1.02rem; font-weight:700; margin-bottom:6px;}
  .price-for{font-size:.85rem; color:rgba(255,255,255,0.55); margin-bottom:22px; min-height:38px;}
  .price-amount{font-family:'IBM Plex Mono', monospace; font-size:2.1rem; font-weight:600; margin-bottom:2px;}
  .price-amount span{font-size:.9rem; font-weight:400; color:rgba(255,255,255,0.5);}
  .price-custom{font-size:1.3rem;}
  .price-custom span{display:block; font-family:'Inter',sans-serif; font-size:.78rem; font-weight:500; color:rgba(255,255,255,0.45); margin-top:6px; text-transform:none; letter-spacing:0;}
  .price-list{list-style:none; margin:26px 0 30px; flex:1;}
  .price-list li{
    font-size:.87rem; color:rgba(255,255,255,0.78);
    padding:10px 0 10px 22px; position:relative;
    border-top:1px solid var(--line-dark);
    line-height:1.5;
  }
  .price-list li:first-child{border-top:none;}
  .price-list li::before{
    content:"—"; position:absolute; left:0; color:var(--emerald); font-family:'IBM Plex Mono',monospace;
  }
  .price-card .btn{width:100%; justify-content:center;}

  /* ---------- FOUNDER ---------- */
  .founder{background:var(--paper);}
  .founder-grid{display:grid; grid-template-columns:1fr; gap:44px; align-items:center;}
  @media(min-width:860px){ .founder-grid{grid-template-columns:220px 1fr;} }
  .founder-avatar{
    width:150px; height:150px; border-radius:50%;
    background:linear-gradient(145deg, var(--navy), var(--navy-3));
    display:flex; align-items:center; justify-content:center;
    font-family:'IBM Plex Mono', monospace; font-size:2.1rem; font-weight:600; color:var(--gold-bright);
    border:3px solid var(--gold);
    margin:0 auto;
  }
  .founder-copy .eyebrow{color:var(--emerald); margin-bottom:12px;}
  .founder-copy h2{font-size:1.6rem; color:var(--navy); margin-bottom:16px;}
  .founder-copy p{color:var(--ink-soft); font-size:1rem; line-height:1.75; max-width:62ch;}
  .founder-copy .badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px;}
  .badge{
    font-family:'IBM Plex Mono', monospace; font-size:.7rem; letter-spacing:.05em;
    background:var(--emerald-soft); color:var(--emerald); padding:6px 11px; border-radius:2px; font-weight:500;
  }

  /* ---------- LEAD CAPTURE / FOOTER ---------- */
  .capture{
    background:
      radial-gradient(ellipse 700px 400px at 15% 0%, rgba(199,165,68,0.14), transparent 60%),
      var(--navy);
    color:#fff;
  }
  .capture-grid{display:grid; grid-template-columns:1fr; gap:48px;}
  @media(min-width:960px){ .capture-grid{grid-template-columns:0.9fr 1.1fr;} }
  .capture-copy h2{font-size:clamp(1.8rem,3.4vw,2.5rem); margin-bottom:18px;}
  .capture-copy p{color:rgba(255,255,255,0.65); font-size:1.02rem; max-width:46ch; line-height:1.65;}
  form.audit-form{
    background:var(--navy-2); border:1px solid var(--line-dark); border-radius:var(--radius);
    padding:32px;
  }
  .field{margin-bottom:18px;}
  .field label{
    display:block; font-family:'IBM Plex Mono', monospace; font-size:.7rem;
    letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,0.55); margin-bottom:8px;
  }
  .field input, .field select{
    width:100%; background:var(--navy); border:1px solid var(--line-dark); color:#fff;
    padding:13px 14px; border-radius:2px; font-family:'Inter',sans-serif; font-size:.94rem;
  }
  .field input::placeholder{color:rgba(255,255,255,0.32);}
  .field input:focus, .field select:focus{outline:2px solid var(--gold-bright); outline-offset:1px; border-color:var(--gold-bright);}
  .field select{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C7A544' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center;}
  .field select option{background:var(--navy);}
  .audit-form .btn{width:100%; justify-content:center; margin-top:6px;}
  .form-note{font-size:.76rem; color:rgba(255,255,255,0.4); margin-top:14px; text-align:center;}
  .form-success{display:none; text-align:center; padding:20px 0;}
  .form-success.show{display:block;}
  .form-success .tick{
    width:44px; height:44px; border-radius:50%; background:var(--emerald-soft); color:var(--emerald);
    display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:1.3rem;
  }
  .form-success h3{color:#fff; font-size:1.1rem; margin-bottom:8px;}
  .form-success p{color:rgba(255,255,255,0.6); font-size:.9rem;}

  footer{border-top:1px solid var(--line-dark); background:var(--navy);}
  .footer-bar{
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px;
    padding:26px 32px; max-width:var(--max); margin:0 auto;
    color:rgba(255,255,255,0.4); font-size:.8rem;
  }
  .footer-bar a{color:rgba(255,255,255,0.55); text-decoration:none;}
  .footer-bar a:hover{color:var(--gold-bright);}
