/* Home page (.aknx). Carried over from Akontec's own rewrite of the app.akontec.com home
   page (2026-10), so the new board's front page looks the same. */
  /* ====================================================================
     Akontec home. Scoped under .aknx so nothing here can reach the rest
     of the theme, which shares this stylesheet across every page.
     Typeface is the theme's own Public Sans; the personality comes from
     weight and scale contrast rather than a face the chrome doesn't use.
     ==================================================================== */
  .aknx{--ink:#121318;--muted:#5a5b66;--soft:#8a8a96;--line:#e7e7ee;
        --red:#e4141c;--red-dk:#a60c12;--black:#0a0a0c;--paper:#f6f6f9;
        --gold:#f0a500;--green:#17a673;
        color:var(--ink);font-variant-ligatures:common-ligatures}
  .aknx *{box-sizing:border-box}
  .aknx .wrap{max-width:1200px;margin:0 auto;padding:0 24px}
  .aknx h1,.aknx h2,.aknx h3{letter-spacing:-.024em;text-wrap:balance;margin:0}
  .aknx a{text-decoration:none}

  .aknx .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:.69rem;font-weight:800;
    letter-spacing:.18em;text-transform:uppercase;color:var(--red)}
  .aknx .eyebrow::before{content:"";width:22px;height:2px;background:var(--red);border-radius:2px}

  .aknx .btn-a{display:inline-flex;align-items:center;justify-content:center;gap:9px;
    font-weight:700;font-size:.93rem;padding:14px 26px;border-radius:10px;border:1.5px solid transparent;
    transition:transform .16s ease,background .2s,color .2s,border-color .2s,box-shadow .2s;cursor:pointer}
  .aknx .btn-red{background:var(--red);color:#fff;box-shadow:0 14px 30px -14px rgba(228,20,28,.9)}
  .aknx .btn-red:hover{background:var(--red-dk);color:#fff;transform:translateY(-2px)}
  .aknx .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
  .aknx .btn-ghost:hover{background:#fff;color:var(--black);border-color:#fff;transform:translateY(-2px)}
  .aknx .btn-dark{background:var(--ink);color:#fff}
  .aknx .btn-dark:hover{background:#000;color:#fff;transform:translateY(-2px)}
  .aknx .btn-wire{background:#fff;color:var(--ink);border-color:var(--line)}
  .aknx .btn-wire:hover{border-color:var(--ink);transform:translateY(-2px);color:var(--ink)}

  /* ---------- hero ---------- */
  .aknx .hero{position:relative;overflow:hidden;background:var(--black);color:#fff;
    padding:74px 0 82px}
  .aknx .hero .glow{position:absolute;inset:0;pointer-events:none;
    background:radial-gradient(62% 84% at 84% 16%,rgba(228,20,28,.44),transparent 62%),
               radial-gradient(46% 58% at 4% 106%,rgba(228,20,28,.15),transparent 70%)}
  /* A fine rule grid reads as a board/ledger rather than as decoration. */
  .aknx .hero .grid-bg{position:absolute;inset:0;pointer-events:none;opacity:.5;
    background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
    background-size:62px 62px;
    -webkit-mask-image:radial-gradient(82% 78% at 70% 32%,#000,transparent 76%);
            mask-image:radial-gradient(82% 78% at 70% 32%,#000,transparent 76%)}
  .aknx .hero .wrap{position:relative;z-index:2;display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:60px;align-items:center}
  .aknx .hero .eyebrow{color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.17);
    padding:7px 15px;border-radius:30px;margin-bottom:24px;letter-spacing:.15em}
  .aknx .hero .eyebrow::before{width:8px;height:8px;border-radius:50%;background:var(--red);
    box-shadow:0 0 0 0 rgba(228,20,28,.6);animation:aknPulse 2.4s ease-out infinite}
  @keyframes aknPulse{0%{box-shadow:0 0 0 0 rgba(228,20,28,.6)}
    70%{box-shadow:0 0 0 10px rgba(228,20,28,0)}100%{box-shadow:0 0 0 0 rgba(228,20,28,0)}}
  .aknx .hero h1{font-size:clamp(2.15rem,4.6vw,3.7rem);font-weight:800;line-height:1.05;color:#fff}
  .aknx .hero h1 em{font-style:normal;color:#ff5159}
  .aknx .hero p.lede{color:rgba(255,255,255,.78);font-size:1.08rem;line-height:1.74;
    margin:22px 0 32px;max-width:50ch}
  .aknx .hero .cta{display:flex;gap:13px;flex-wrap:wrap}
  .aknx .hero .trust{display:flex;flex-wrap:wrap;gap:11px 26px;margin-top:32px;padding-top:22px;
    border-top:1px solid rgba(255,255,255,.14)}
  .aknx .hero .trust span{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;
    color:rgba(255,255,255,.74)}
  .aknx .hero .trust svg{width:15px;height:15px;stroke:#2ecc71;fill:none;stroke-width:2.6;
    stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

  /* The right column is a live snapshot, not a stock photo: a bidding board
     has to prove it is alive, and a photograph cannot do that. One number
     carries the card; the other two support it. */
  .aknx .snap{position:relative;overflow:hidden;
    background:linear-gradient(165deg,rgba(255,255,255,.085),rgba(255,255,255,.028));
    border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:22px 24px 20px;
    backdrop-filter:blur(8px);box-shadow:0 44px 84px -46px rgba(0,0,0,.95)}
  .aknx .snap .sh{display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.14)}
  .aknx .snap .sh h3{font-size:.71rem;letter-spacing:.17em;text-transform:uppercase;
    color:rgba(255,255,255,.62);font-weight:800}
  .aknx .snap .live{display:inline-flex;align-items:center;gap:7px;font-size:.65rem;
    font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#48d597}
  .aknx .snap .live i{width:7px;height:7px;border-radius:50%;background:#48d597;display:block;
    animation:aknBlink 1.9s ease-in-out infinite}
  @keyframes aknBlink{0%,100%{opacity:1}50%{opacity:.25}}

  .aknx .snap-hero{position:relative;text-align:center;padding:26px 0 22px;
    border-bottom:1px solid rgba(255,255,255,.14)}
  .aknx .snap-glow{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);
    width:270px;height:170px;pointer-events:none;
    background:radial-gradient(58% 58% at 50% 50%,rgba(228,20,28,.5),transparent 72%)}
  .aknx .snap-big{position:relative;display:block;font-size:clamp(3.1rem,6vw,4.4rem);
    font-weight:800;line-height:1;color:#fff;letter-spacing:-.035em;
    font-variant-numeric:tabular-nums;text-shadow:0 12px 42px rgba(228,20,28,.55)}
  .aknx .snap-big-label{position:relative;display:block;margin-top:11px;font-size:.73rem;
    font-weight:800;letter-spacing:.16em;text-transform:uppercase;
    color:rgba(255,255,255,.68)}

  .aknx .snap-split{display:grid;grid-template-columns:1fr 1fr}
  .aknx .snap-split > div{padding:17px 6px;text-align:center}
  .aknx .snap-split > div + div{border-left:1px solid rgba(255,255,255,.14)}
  .aknx .snap-split b{display:block;font-size:1.6rem;font-weight:800;color:#fff;line-height:1;
    font-variant-numeric:tabular-nums}
  .aknx .snap-split span{display:block;margin-top:7px;font-size:.78rem;
    color:rgba(255,255,255,.62)}

  .aknx .snap-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;
    padding-top:15px;border-top:1px solid rgba(255,255,255,.14);
    font-size:.82rem;line-height:1.5;color:rgba(255,255,255,.66);transition:color .2s}
  .aknx .snap-foot:hover{color:#fff}
  .aknx .snap-foot svg{width:17px;height:17px;flex:0 0 auto;stroke:#ff5159;fill:none;
    stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
  .aknx .snap-foot:hover svg{transform:translateX(4px)}

  /* ---------- shared section head ---------- */
  .aknx section.band{padding:62px 0}
  .aknx section.band.alt{background:var(--paper)}
  .aknx .shead{max-width:660px;margin:0 0 30px}
  .aknx .shead.center{margin:0 auto 30px;text-align:center}
  .aknx .shead.center .eyebrow::before{display:none}
  .aknx .shead h2{font-size:clamp(1.7rem,3vw,2.4rem);font-weight:800;margin:14px 0 10px}
  .aknx .shead p{color:var(--muted);font-size:1.02rem;line-height:1.7;margin:0}

  /* ---------- category strip: live, with counts ---------- */
  .aknx .cstrip{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:0 auto 30px;
    max-width:960px}
  .aknx .cpill{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;
    color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:30px;
    padding:9px 9px 9px 16px;transition:border-color .18s,color .18s,transform .18s,box-shadow .18s}
  .aknx .cpill:hover{color:var(--red);border-color:rgba(228,20,28,.38);transform:translateY(-2px);
    box-shadow:0 14px 26px -18px rgba(0,0,0,.5)}
  .aknx .cpill b{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;
    padding:0 6px;border-radius:30px;background:var(--paper);color:var(--soft);
    font-size:.72rem;font-weight:800;font-variant-numeric:tabular-nums;transition:background .18s,color .18s}
  .aknx .cpill:hover b{background:var(--red);color:#fff}

  /* ---------- project cards ---------- */
  .aknx .plist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .aknx .pcard{position:relative;display:flex;flex-direction:column;gap:12px;height:100%;min-width:0;
    background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 20px 18px;
    transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}
  .aknx .pcard:hover{transform:translateY(-4px);border-color:rgba(228,20,28,.3);
    box-shadow:0 26px 48px -30px rgba(0,0,0,.5)}
  /* a hairline that fills in red on hover, so the card reads as selectable */
  .aknx .pcard::after{content:"";position:absolute;left:20px;right:20px;top:0;height:2px;
    background:var(--red);border-radius:0 0 3px 3px;transform:scaleX(0);transform-origin:left;
    transition:transform .24s ease}
  .aknx .pcard:hover::after{transform:scaleX(1)}

  .aknx .pc-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .aknx .pc-client{display:inline-flex;align-items:center;gap:9px;min-width:0}
  /* nowrap + ellipsis only truncates if the box is allowed to shrink below
     its content; without min-width:0 the longest client name sets the width
     of the whole grid track and pushes the card off a phone screen. */
  .aknx .pc-client b{font-size:.8rem;font-weight:700;color:var(--muted);white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;min-width:0}
  .aknx .pc-score{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;font-size:.74rem}
  .aknx .pc-score .las{font-size:.86rem;color:#d7d7e0}
  .aknx .pc-score .las.active,.aknx .pc-score .las.half{color:var(--gold)}
  .aknx .pc-score .las.half{opacity:.55}
  .aknx .pc-score i.n{font-style:normal;font-weight:800;color:var(--soft);
    font-variant-numeric:tabular-nums;margin-left:2px}

  .aknx .pcard h3{font-size:1.02rem;font-weight:700;color:var(--ink);line-height:1.36;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
    transition:color .18s}
  .aknx .pcard:hover h3{color:var(--red)}
  .aknx .pcard p.ex{font-size:.87rem;line-height:1.62;color:var(--muted);margin:0;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

  .aknx .pmeta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:auto;padding-top:4px}
  .aknx .chip{display:inline-flex;align-items:center;gap:5px;font-size:.7rem;font-weight:600;
    color:var(--muted);background:var(--paper);border:1px solid var(--line);
    padding:4px 10px;border-radius:30px;white-space:nowrap;line-height:1.3}
  .aknx .chip-cat{color:var(--red);background:rgba(228,20,28,.06);border-color:rgba(228,20,28,.2);
    max-width:100%;overflow:hidden;text-overflow:ellipsis;display:inline-block}
  .aknx .chip-new{color:var(--green);background:rgba(23,166,115,.08);border-color:rgba(23,166,115,.24)}

  .aknx .pc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;
    margin-top:4px;padding-top:14px;border-top:1px dashed var(--line)}
  .aknx .pwhen{font-size:.72rem;color:var(--soft)}
  .aknx .pcard .go{display:inline-flex;align-items:center;gap:6px;
    font-weight:700;font-size:.79rem;color:var(--red);background:rgba(228,20,28,.07);
    border:1px solid rgba(228,20,28,.22);padding:8px 13px;border-radius:9px;white-space:nowrap;
    transition:background .2s,color .2s,border-color .2s,gap .2s}
  .aknx .pcard:hover .go{background:var(--red);color:#fff;border-color:var(--red);gap:9px}
  .aknx .more{text-align:center;margin-top:30px;display:flex;gap:12px;justify-content:center;
    flex-wrap:wrap}

  /* ---------- how it works ---------- */
  .aknx .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:22px;
    counter-reset:aknstep}
  .aknx .step{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;
    padding:28px 24px;transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}
  .aknx .step:hover{transform:translateY(-4px);border-color:rgba(228,20,28,.3);
    box-shadow:0 24px 46px -30px rgba(0,0,0,.45)}
  .aknx .step::before{counter-increment:aknstep;content:counter(aknstep,decimal-leading-zero);
    display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;
    border-radius:16px;background:linear-gradient(135deg,var(--red),var(--red-dk));color:#fff;
    font-weight:800;font-size:1.02rem;margin-bottom:19px;font-variant-numeric:tabular-nums;
    box-shadow:0 12px 24px -13px rgba(228,20,28,.9)}
  /* the settings hold raw markup; style whatever heading tag it uses */
  .aknx .step h1,.aknx .step h2,.aknx .step h3,.aknx .step h4,.aknx .step h5,.aknx .step h6{
    font-size:1.13rem;font-weight:700;margin:0 0 9px;color:var(--ink);line-height:1.35}
  .aknx .step p{color:var(--muted);font-size:.95rem;line-height:1.72;margin:0}
  .aknx .step p + p{margin-top:9px}

  /* ---------- why bid here ---------- */
  .aknx .vlist{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
  .aknx .vcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 22px;
    transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}
  .aknx .vcard:hover{transform:translateY(-4px);border-color:rgba(228,20,28,.28);
    box-shadow:0 24px 46px -30px rgba(0,0,0,.45)}
  .aknx .vcard .ico{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;
    justify-content:center;background:rgba(228,20,28,.07);border:1px solid rgba(228,20,28,.16);
    margin-bottom:17px}
  .aknx .vcard .ico svg{width:23px;height:23px;color:var(--red)}
  .aknx .vcard h3{font-size:1.04rem;font-weight:700;margin-bottom:8px}
  .aknx .vcard p{color:var(--muted);font-size:.92rem;line-height:1.68;margin:0}

  /* ---------- featured categories (admin-toggled) ---------- */
  .aknx .cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
  .aknx .cat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;
    text-align:center;background:#fff;border:1px solid var(--line);border-radius:16px;
    padding:22px 14px;min-height:124px;color:var(--ink);
    transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}
  .aknx .cat:hover{transform:translateY(-4px);border-color:rgba(228,20,28,.32);color:var(--red);
    box-shadow:0 22px 42px -28px rgba(0,0,0,.45)}
  .aknx .cat .ico{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;
    justify-content:center;background:rgba(228,20,28,.07);border:1px solid rgba(228,20,28,.16)}
  .aknx .cat .ico svg{width:26px;height:26px;color:var(--red)}
  .aknx .cat span{font-weight:650;font-size:.93rem;line-height:1.35}

  /* ---------- closing CTA ---------- */
  .aknx .cta-band{position:relative;overflow:hidden;background:var(--black);color:#fff;
    border-radius:24px;padding:46px 44px;display:grid;
    grid-template-columns:minmax(0,1fr) auto;gap:34px;align-items:center}
  .aknx .cta-band .glow{position:absolute;inset:0;pointer-events:none;
    background:radial-gradient(60% 120% at 88% 26%,rgba(228,20,28,.44),transparent 64%)}
  .aknx .cta-band > *{position:relative;z-index:1}
  .aknx .cta-band h2{font-size:clamp(1.55rem,2.6vw,2.15rem);font-weight:800;color:#fff}
  .aknx .cta-band p{color:rgba(255,255,255,.76);margin:12px 0 0;font-size:1rem;line-height:1.72;
    max-width:56ch}
  .aknx .cta-band .b{display:flex;gap:12px;flex-wrap:wrap}

  @media (max-width:1040px){.aknx .plist{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media (max-width:900px){
    .aknx .hero{padding:66px 0 72px}
    .aknx .hero .wrap{grid-template-columns:1fr;gap:36px}
    .aknx section.band{padding:56px 0}
    .aknx .cta-band{grid-template-columns:1fr;padding:38px 26px}
  }
  @media (max-width:640px){
    .aknx .plist{grid-template-columns:minmax(0,1fr)}
    .aknx .cstrip{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;
      padding-bottom:6px;-webkit-overflow-scrolling:touch}
    .aknx .cstrip::-webkit-scrollbar{height:0}
    .aknx .cpill{flex:0 0 auto}
  }
  @media (prefers-reduced-motion:reduce){
    .aknx *{animation:none !important;transition:none !important}
    .aknx .pcard:hover,.aknx .step:hover,.aknx .vcard:hover,.aknx .cat:hover,
    .aknx .cpill:hover,.aknx .btn-a:hover{transform:none}
  }
