/* Handycom site */
:root{
  --navy:#0f3d5e; --navy-2:#0b2c45; --navy-3:#071d2e;
  --brand:#1677c8; --brand-2:#0ea5a4; --accent:#f59e0b;
  --ink:#10202f; --muted:#5b6b7b; --line:#e3e9ef;
  --bg:#ffffff; --bg-alt:#f4f8fb; --card:#ffffff;
  --radius:18px; --shadow:0 10px 30px rgba(15,61,94,.08);
  --wrap:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{font-family:'Heebo',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:1.0625rem;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;top:-40px;right:16px;background:var(--navy);color:#fff;padding:8px 14px;border-radius:8px;z-index:200}
.skip:focus{top:8px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--brand);color:#fff;border:2px solid var(--brand);padding:13px 26px;border-radius:999px;font:700 1rem/1 'Heebo',sans-serif;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(22,119,200,.3)}
.btn-ghost{background:transparent;color:var(--brand)}
.btn-ghost:hover{background:rgba(22,119,200,.07);box-shadow:none}
.btn-sm{padding:9px 18px;font-size:.92rem}
.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.logo-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.2rem}
.logo-text{font-weight:900;font-size:1.35rem;letter-spacing:-.3px}
.nav{display:flex;align-items:center;gap:26px}
.nav a:not(.btn){color:var(--ink);text-decoration:none;font-weight:500;font-size:.98rem}
.nav a:not(.btn):hover{color:var(--brand)}
.menu-btn{display:none;background:none;border:0;width:40px;height:40px;cursor:pointer;flex-direction:column;justify-content:center;gap:5px;align-items:center}
.menu-btn span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;transition:.2s}

/* Typography */
.eyebrow{color:var(--brand-2);font-weight:700;font-size:.9rem;letter-spacing:.4px;margin-bottom:10px}
h1{font-size:clamp(2.1rem,4.6vw,3.6rem);line-height:1.12;font-weight:900;color:var(--navy);margin-bottom:20px;letter-spacing:-.5px}
h2{font-size:clamp(1.6rem,3vw,2.35rem);line-height:1.2;font-weight:800;color:var(--navy);margin-bottom:14px}
h3{font-size:1.15rem;font-weight:700;color:var(--navy);margin-bottom:6px}
.hl{background:linear-gradient(135deg,var(--brand),var(--brand-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{font-size:1.12rem;color:var(--muted)}
.lead strong{color:var(--ink)}

/* Hero */
.hero{padding:64px 0 40px;background:radial-gradient(900px 400px at 85% -10%,rgba(14,165,164,.12),transparent 70%),radial-gradient(700px 400px at 0% 20%,rgba(22,119,200,.1),transparent 70%)}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 22px}
.hero-points{list-style:none;display:grid;gap:8px;color:var(--muted);font-size:.98rem}
.hero-points li::before{content:"✓";color:var(--brand-2);font-weight:900;margin-left:10px}
.hero-visual{position:relative;min-height:470px}
.hero-shot{position:absolute;inset:40px 0 auto 60px;border-radius:16px;overflow:hidden;box-shadow:0 30px 60px rgba(15,61,94,.18);border:1px solid var(--line);background:#fff}
.phone{position:absolute;right:0;top:0;z-index:2;width:236px;height:470px;border-radius:34px;background:var(--navy-3);padding:10px;box-shadow:0 30px 60px rgba(7,29,46,.35)}
.phone-notch{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:80px;height:18px;background:var(--navy-3);border-radius:0 0 12px 12px;z-index:2}
.phone-screen{height:100%;border-radius:26px;background:#f6f9fc;padding:30px 12px 12px;display:flex;flex-direction:column;gap:8px;font-size:.72rem;overflow:hidden}
.ph-top{display:flex;justify-content:space-between;align-items:center;color:var(--navy);font-size:.85rem}
.ph-sync{color:var(--brand-2);font-size:.65rem}
.ph-cust{display:flex;gap:8px;align-items:center;background:#fff;border-radius:12px;padding:8px;border:1px solid var(--line)}
.ph-cust b{display:block;font-size:.78rem;color:var(--navy)}
.ph-cust small{color:var(--muted);font-size:.62rem}
.ph-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;display:grid;place-items:center;font-weight:800}
.ph-tiles{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ph-tiles span{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 6px;text-align:center;font-weight:600;color:var(--navy)}
.ph-line{display:flex;justify-content:space-between;background:#fff;border-radius:8px;padding:7px 8px;border:1px solid var(--line)}
.ph-line span:last-child{color:var(--muted)}
.ph-total{display:flex;justify-content:space-between;align-items:center;padding:8px 4px;margin-top:auto;border-top:1px dashed var(--line)}
.ph-total b{font-size:.95rem;color:var(--navy)}
.ph-send{background:var(--brand);color:#fff;text-align:center;border-radius:10px;padding:9px;font-weight:700}

/* Ecosystem */
.eco{padding:22px 0 56px}
.eco-flow{display:grid;grid-template-columns:auto 60px auto 60px 1fr;align-items:center;gap:10px;background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.eco-node{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;font-weight:700;color:var(--navy);text-align:center;font-size:.95rem}
.eco-node small{display:block;font-weight:400;color:var(--muted);font-size:.78rem}
.eco-node>span{display:block;font-size:1.3rem}
.eco-hub{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;border:0}
.eco-hub small{color:rgba(255,255,255,.85)}
.eco-hub>span{font-weight:900}
.eco-arrow{height:2px;background:repeating-linear-gradient(to left,var(--brand) 0 8px,transparent 8px 14px);position:relative}
.eco-arrow::before,.eco-arrow::after{content:"";position:absolute;top:-4px;border:5px solid transparent}
.eco-arrow::before{left:-2px;border-right-color:var(--brand)}
.eco-arrow::after{right:-2px;border-left-color:var(--brand)}
.eco-outs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}

/* Sections */
.section{padding:84px 0}
.section.alt{background:var(--bg-alt)}
.sec-head{max-width:720px;margin:0 auto 44px;text-align:center}
.sec-head p:not(.eyebrow){color:var(--muted);font-size:1.08rem}

/* Product cards */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{display:flex;flex-direction:column;gap:6px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s,border-color .2s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(22,119,200,.35)}
.card p{color:var(--muted);font-size:.95rem;flex:1}
.tag{align-self:flex-start;margin-top:10px;font-size:.78rem;font-weight:700;color:var(--brand);background:rgba(22,119,200,.08);padding:4px 10px;border-radius:999px}
.card-ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:1.45rem;margin-bottom:10px}
.ic-1{background:#e3f0fb}.ic-2{background:#fdf1dc}.ic-3{background:#efe7fd}.ic-4{background:#dff5ee}
.ic-5{background:#fde6ef}.ic-6{background:#e2f6f6}.ic-7{background:#e5ebfb}.ic-8{background:#f3eee2}

/* Split / features */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.feature-list{list-style:none;display:grid;gap:12px}
.feature-list li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;color:var(--muted);position:relative;padding-right:46px}
.feature-list li::before{content:"✓";position:absolute;right:16px;top:16px;width:20px;height:20px;border-radius:50%;background:var(--brand-2);color:#fff;font-size:.7rem;display:grid;place-items:center;font-weight:900}
.feature-list b{color:var(--navy)}
.section:not(.alt) .feature-list li{background:var(--bg-alt)}

/* Steps */
.steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps li{counter-increment:s;background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:6px}
.steps li::before{content:counter(s);width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:900;display:grid;place-items:center;margin-bottom:6px}
.steps b{color:var(--navy);font-size:1.1rem}
.steps span{color:var(--muted)}
.callout{margin-top:22px;display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center;background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#dbe7f1;border-radius:var(--radius);padding:30px}
.callout h3{color:#fff;font-size:1.35rem}
.callout .mini li{color:#dbe7f1}

/* Panels */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;scroll-margin-top:80px}
.section:not(.alt) .panel{background:var(--bg-alt)}
.panel h2{font-size:clamp(1.35rem,2.3vw,1.7rem)}
.panel>p{color:var(--muted);margin-bottom:16px}
.mini{list-style:none;display:grid;gap:8px}
.mini li{position:relative;padding-right:22px;color:var(--ink);font-size:.96rem}
.mini li::before{content:"";position:absolute;right:2px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--brand-2)}

/* Dashboard shots */
.shots{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.shot{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.shot-wide{grid-column:1/-1}
.shot img{width:100%;height:auto;border-bottom:1px solid var(--line)}
.shot figcaption{padding:14px 18px;color:var(--muted);font-size:.95rem}
.shot figcaption b{color:var(--navy)}
.note{text-align:center;color:var(--muted);font-size:.85rem;margin-top:14px}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:26px}
.chips li{background:#fff;border:1px solid var(--line);padding:8px 16px;border-radius:999px;font-weight:500;font-size:.93rem;color:var(--navy)}

/* How (dark) */
.dark{background:linear-gradient(160deg,var(--navy),var(--navy-3));color:#c9d8e5}
.dark h2,.dark h3{color:#fff}
.dark .eyebrow{color:#5eead4}
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.how{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);padding:24px}
.how>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand-2);color:#fff;font-weight:900;margin-bottom:14px}
.how p{font-size:.95rem}
.erp-row{list-style:none;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:36px}
.erp-row li{border:1px solid rgba(255,255,255,.2);padding:9px 18px;border-radius:999px;color:#fff;font-weight:700}

/* Resources */
.res-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.res{display:flex;flex-direction:column;gap:4px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;background:var(--bg-alt);transition:border-color .2s,transform .2s}
.res:hover{border-color:var(--brand);transform:translateY(-3px)}
.res b{color:var(--navy)}
.res b::after{content:" ←";color:var(--brand)}
.res span{color:var(--muted);font-size:.92rem}

/* Contact */
.contact{background:var(--bg-alt)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.contact-list{list-style:none;display:grid;gap:12px;margin-top:26px}
.contact-list li{display:flex;gap:12px;align-items:center;font-size:1.08rem}
.contact-list a{color:var(--navy);font-weight:700;text-decoration:none}
.contact-list a:hover{color:var(--brand)}
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;display:grid;gap:14px;box-shadow:var(--shadow)}
.form label{display:grid;gap:6px;font-weight:500;font-size:.95rem;color:var(--navy)}
.form input,.form select,.form textarea{font:inherit;font-size:1rem;padding:11px 14px;border:1px solid #cfd9e3;border-radius:10px;background:#fff;color:var(--ink);width:100%}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid rgba(22,119,200,.35);border-color:var(--brand)}
.form fieldset{border:0}
.form legend{font-weight:500;font-size:.95rem;color:var(--navy);margin-bottom:8px}
.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.checks label{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:400;color:var(--ink)}
.checks input{width:auto}
.form-err{color:#c2410c;font-weight:500}
.form .btn-row{margin-top:4px}

/* Footer */
.site-footer{background:var(--navy-3);color:#9fb3c6;padding:36px 0;font-size:.92rem}
.foot-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.site-footer .logo{color:#fff}
.site-footer a{color:#cfe0ee}

.wa-float{position:fixed;left:20px;bottom:20px;width:54px;height:54px;border-radius:50%;background:#25d366;display:grid;place-items:center;font-size:1.5rem;text-decoration:none;box-shadow:0 10px 24px rgba(0,0,0,.2);z-index:90;transition:transform .2s}
.wa-float:hover{transform:scale(1.08)}

/* Reveal */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}}

/* Grid children may shrink below their content's natural width */
.hero-grid>*,.split>*,.two-col>*,.contact-grid>*,.callout>*,.cards>*,.shots>*,.eco-flow>*,.how-grid>*,.res-grid>*{min-width:0}

/* Responsive */
@media (max-width:1060px){
  .cards,.res-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .eco-flow{grid-template-columns:1fr;justify-items:stretch}
  .eco-arrow{width:2px;height:28px;justify-self:center;background:repeating-linear-gradient(to bottom,var(--brand) 0 8px,transparent 8px 14px)}
  .eco-arrow::before,.eco-arrow::after{display:none}
}
@media (max-width:900px){
  .hero-grid,.split,.two-col,.contact-grid,.callout{grid-template-columns:1fr}
  .hero-visual{min-height:440px}
  .steps{grid-template-columns:1fr}
  .menu-btn{display:flex}
  .nav{position:absolute;top:68px;right:0;left:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 18px;border-bottom:1px solid var(--line);display:none}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:12px 0;border-bottom:1px solid var(--line)}
  .nav .btn{margin-top:14px}
}
@media (max-width:600px){
  body{font-size:1rem}
  .wrap{padding:0 16px}
  .section{padding:60px 0}
  .cards,.res-grid,.how-grid,.shots,.eco-outs{grid-template-columns:1fr}
  .eco-outs{grid-template-columns:1fr 1fr}
  .hero-visual{min-height:0;display:flex;flex-direction:column;align-items:center;gap:18px}
  .phone,.hero-shot{position:relative;inset:auto}
  .hero-shot{width:100%}
  .checks{grid-template-columns:1fr 1fr}
  .panel{padding:24px}
}

/* Keyboard focus (always on) */
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}

/* ---------- Accessibility button + panel ---------- */
.a11y-btn{position:fixed;right:20px;bottom:20px;z-index:150;display:flex;align-items:center;gap:6px;background:#1d4ed8;color:#fff;border:2px solid #fff;border-radius:999px;padding:8px 14px 8px 10px;font:700 .95rem 'Heebo',sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.25);transition:transform .2s}
.a11y-btn:hover{transform:scale(1.05)}
.a11y-panel{position:fixed;right:20px;bottom:84px;z-index:160;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;color:#10202f;border:1px solid #cfd9e3;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.25);padding:16px;font-size:16px}
.a11y-panel[hidden]{display:none}
.a11y-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.a11y-head h2{font-size:1.15rem;margin:0;color:#0f3d5e}
.a11y-close{background:none;border:0;font-size:1.2rem;cursor:pointer;color:#10202f;width:36px;height:36px;border-radius:8px}
.a11y-close:hover{background:#f0f4f8}
.a11y-size{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f4f8fb;border-radius:12px;padding:8px;margin-bottom:10px}
.a11y-size button{width:52px;height:40px;border-radius:10px;border:1px solid #cfd9e3;background:#fff;font:700 1rem 'Heebo',sans-serif;cursor:pointer;color:#0f3d5e}
.a11y-size-val{font-weight:700;color:#0f3d5e}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-grid button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;border:2px solid #e3e9ef;background:#f4f8fb;border-radius:12px;font:500 .9rem 'Heebo',sans-serif;color:#10202f;cursor:pointer}
.a11y-grid button span{font-size:1.25rem;line-height:1}
.a11y-grid button:hover{border-color:#1d4ed8}
.a11y-grid button[aria-pressed="true"]{border-color:#1d4ed8;background:#e0e9ff;color:#1d4ed8;font-weight:700}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}
.a11y-reset{background:#fff;border:1px solid #cfd9e3;border-radius:999px;padding:8px 16px;font:700 .9rem 'Heebo',sans-serif;cursor:pointer;color:#0f3d5e}
.a11y-foot a{color:#1d4ed8;font-weight:500}

.a11y-statement{border:0;border-radius:18px;padding:0;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:auto;box-shadow:0 30px 80px rgba(0,0,0,.35);color:#10202f}
.a11y-statement::backdrop{background:rgba(7,29,46,.6)}
.stmt-body{padding:28px;position:relative;line-height:1.7}
.stmt-body h2{margin-left:40px}
.stmt-body h3{margin:18px 0 6px}
.stmt-body ul{padding-right:20px;display:grid;gap:4px}
.stmt-close{position:absolute;left:14px;top:14px}
.stmt-date{color:#5b6b7b;font-size:.9rem;margin-top:16px}

/* ---------- Accessibility modes (classes on <html>) ---------- */
html.a11y-gray{filter:grayscale(1)}
html.a11y-links a:not(.btn):not(.card):not(.res):not(.logo){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px}
html.a11y-links a{outline:2px dashed #b45309;outline-offset:2px}
html.a11y-font body,html.a11y-font button,html.a11y-font input,html.a11y-font select,html.a11y-font textarea{font-family:Arial,'Segoe UI',sans-serif!important;letter-spacing:.01em}
html.a11y-spacing body{line-height:1.9!important;letter-spacing:.06em;word-spacing:.14em}
html.a11y-spacing p,html.a11y-spacing li{margin-bottom:.4em}
html.a11y-noanim *,html.a11y-noanim *::before,html.a11y-noanim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-noanim .reveal{opacity:1!important;transform:none!important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M4 2 L4 34 L13 25 L19 38 L25 35 L19 23 L32 23 Z' fill='%23000' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 4 2,auto!important}
html.a11y-focus *:focus{outline:4px solid #f59e0b!important;outline-offset:3px!important;box-shadow:0 0 0 7px #000!important}

html.a11y-contrast body,html.a11y-contrast body *:not(img):not(svg):not(path):not(circle){background-color:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-contrast a,html.a11y-contrast a *{color:#ffeb3b!important}
html.a11y-contrast .btn,html.a11y-contrast button{border:2px solid #ffeb3b!important}
html.a11y-contrast .hl{-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#ffeb3b!important}
html.a11y-contrast input,html.a11y-contrast select,html.a11y-contrast textarea{border:2px solid #fff!important}
html.a11y-contrast .eco-arrow{background:#fff!important}
html.a11y-contrast .site-header{border-bottom:2px solid #fff!important}
html.a11y-contrast .a11y-grid button[aria-pressed="true"]{outline:3px solid #ffeb3b}

@media (max-width:600px){
  .a11y-btn{right:16px;bottom:16px;padding:8px}
  .a11y-btn span{display:none}
  .a11y-panel{right:16px;bottom:76px}
  .wa-float{left:16px;bottom:16px}
}
