  :root{
    --navy:#080b1a;
    --navy-2:#0d1230;
    --blue:#4d9fff;
    --blue-bright:#6fb1ff;
    --violet:#38b6ff;
    --ink:#0a0e1f;
    --ink-soft:#5a6079;
    --paper:#f6f8fd;
    --line:#e3e7f3;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    line-height:1.6;
  }
  h1,h2,h3{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    letter-spacing:-0.01em;
  }
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 40px;}

  /* NAV */
  nav{
    position:relative; z-index:20;
    padding:26px 0;
  }
  nav .wrap{display:flex; align-items:center; justify-content:space-between;}
  .logo{display:flex; align-items:center;}
  .logo img{height:46px; width:auto; display:block;}
  .navlinks{display:flex; gap:36px; font-size:14.5px; color:rgba(255,255,255,0.72); font-weight:500;}
  .navlinks a:hover{color:#fff;}
  .navcta{
    font-size:14px; font-weight:600;
    background:linear-gradient(135deg,var(--blue-bright),var(--violet));
    color:#fff;
    padding:11px 24px;
    border-radius:8px;
  }

  /* HERO with animated video-style gradient */
  .hero{
    position:relative;
    background:var(--navy);
    overflow:hidden;
    padding-bottom:100px;
  }
  .hero-bg{
    position:absolute; inset:0; overflow:hidden;
  }
  .hero-bg video{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
  }
  .hero-tint{
    position:absolute; inset:0;
    background:linear-gradient(180deg,
      rgba(8,11,26,0.78) 0%,
      rgba(10,16,44,0.62) 40%,
      rgba(8,11,26,0.88) 78%,
      var(--navy) 98%);
  }
  .blob{
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    opacity:0.55;
  }
  .blob1{
    width:560px; height:560px; background:radial-gradient(circle, var(--blue) 0%, transparent 70%);
    top:-180px; left:-100px;
    animation: drift1 16s ease-in-out infinite;
  }
  .blob2{
    width:620px; height:620px; background:radial-gradient(circle, var(--violet) 0%, transparent 70%);
    top:-100px; right:-160px;
    animation: drift2 20s ease-in-out infinite;
  }
  .blob3{
    width:480px; height:480px; background:radial-gradient(circle, #2ecdd6 0%, transparent 70%);
    bottom:-220px; left:35%;
    opacity:0.35;
    animation: drift3 18s ease-in-out infinite;
  }
  @keyframes drift1{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(60px,40px) scale(1.1); }
  }
  @keyframes drift2{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(-50px,50px) scale(1.15); }
  }
  @keyframes drift3{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(40px,-30px) scale(1.08); }
  }
  .grid-overlay{
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size:56px 56px;
    mask-image:radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
  }
  .hero-content{
    position:relative; z-index:5;
    text-align:center;
    padding-top:90px;
  }
  .pill{
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.14);
    color:#cdd7ff;
    font-size:13px; font-weight:500;
    padding:8px 16px;
    border-radius:100px;
    margin-bottom:32px;
  }
  .pill .live{width:7px; height:7px; border-radius:50%; background:#4ee0a1; box-shadow:0 0 8px #4ee0a1;}
  .hero h1{
    font-size:68px;
    line-height:1.06;
    color:#fff;
    max-width:840px;
    margin:0 auto 24px;
  }
  .hero h1 .grad{
    background:linear-gradient(135deg,var(--blue-bright) 10%, var(--violet) 90%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero p{
    max-width:540px; margin:0 auto 40px;
    color:rgba(255,255,255,0.62);
    font-size:17.5px;
  }
  .hero-ctas{display:flex; gap:16px; justify-content:center; margin-bottom:90px;}
  .btn-primary{
    background:linear-gradient(135deg,var(--blue-bright),var(--violet));
    color:#fff; font-weight:600; font-size:15px;
    padding:16px 32px; border-radius:9px;
    box-shadow:0 8px 30px rgba(91,141,255,0.35);
  }
  .btn-ghost{
    border:1px solid rgba(255,255,255,0.18);
    color:#fff; font-weight:500; font-size:15px;
    padding:16px 32px; border-radius:9px;
    background:rgba(255,255,255,0.04);
  }

  /* floating product card */
  .hero-card-wrap{ position:relative; z-index:5; }
  .hero-card{
    max-width:960px; margin:0 auto;
    background:linear-gradient(180deg,#141936,#0d1230);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:16px;
    padding:22px;
    box-shadow:0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03);
  }
  .hero-card-top{display:flex; gap:7px; padding:2px 6px 18px;}
  .hero-card-top span{width:11px; height:11px; border-radius:50%; background:rgba(255,255,255,0.16);}
  .hero-card-body{
    background:#0a0e26;
    border-radius:10px;
    padding:36px;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:16px;
  }
  .metric{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:10px;
    padding:20px;
  }
  .metric .label{font-size:12.5px; color:#8b92b8; margin-bottom:10px;}
  .metric .val{font-family:'Space Grotesk',sans-serif; font-size:26px; font-weight:600; color:#fff;}
  .metric .up{color:#4ee0a1; font-size:12.5px; font-weight:500; margin-top:6px;}
  .metric .bar{margin-top:14px; height:5px; border-radius:4px; background:rgba(255,255,255,0.08); overflow:hidden;}
  .metric .bar i{display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,var(--blue-bright),var(--violet));}

  /* TRUST STRIP */
  .strip{
    background:#fff; border-bottom:1px solid var(--line);
    padding:36px 0;
  }
  .strip .wrap{display:flex; align-items:center; justify-content:center; gap:14px; text-align:center;}
  .strip p{font-size:15px; color:var(--ink-soft);}
  .strip strong{color:var(--ink); font-weight:600;}

  /* SERVICES */
  .section{padding:110px 0;}
  .section-head{max-width:600px; margin:0 auto 64px; text-align:center;}
  .kicker{
    font-size:13px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--blue); margin-bottom:16px; display:block;
  }
  .section-head h2{font-size:38px;}
  .section-head p{color:var(--ink-soft); font-size:16px; margin-top:14px;}

  .services{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .service{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:34px 30px;
    transition:transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  }
  .service:hover{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(59,109,255,0.12); border-color:#c9d6ff; }
  .service .icon{
    width:46px; height:46px; border-radius:11px;
    background:linear-gradient(135deg,var(--blue-bright),var(--violet));
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:17px;
    margin-bottom:22px;
  }
  .service h3{font-size:19px; margin-bottom:10px;}
  .service p{font-size:14.5px; color:var(--ink-soft);}

  /* STATS band */
  .stats{
    background:var(--navy);
    padding:90px 0;
    position:relative;
    overflow:hidden;
  }
  .stats .wrap{position:relative; z-index:2;}
  .statgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center;}
  .statgrid .num{
    font-family:'Space Grotesk',sans-serif; font-size:52px; font-weight:700;
    background:linear-gradient(135deg,var(--blue-bright),var(--violet));
    -webkit-background-clip:text; background-clip:text; color:transparent;
    display:block; margin-bottom:10px;
  }
  .statgrid .label{font-size:14.5px; color:rgba(255,255,255,0.8); font-weight:500; margin-bottom:10px;}
  .statgrid p{font-size:13.5px; color:rgba(255,255,255,0.45); line-height:1.7;}

  /* CTA */
  /* RESULTS / GSC report */
  .results-card{
    max-width:960px; margin:0 auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 24px 60px rgba(10,20,60,0.08);
    overflow:hidden;
  }
  .gsc-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px;
    border-bottom:1px solid var(--line);
  }
  .gsc-head .prod{font-size:14px; color:#5f6368;}
  .gsc-head .prod strong{color:#202124; font-weight:500;}
  .gsc-head .range{font-size:12.5px; color:#5f6368; background:#f1f3f4; padding:6px 12px; border-radius:100px;}
  .gsc-tiles{display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line);}
  .tile{padding:16px 20px;}
  .tile .t-label{font-size:12px; margin-bottom:6px; display:flex; align-items:center; gap:6px;}
  .tile .t-label::before{content:''; width:10px; height:10px; border:2px solid rgba(255,255,255,0.9); border-radius:3px; display:inline-block;}
  .tile .t-val{font-size:26px; font-weight:600;}
  .tile.on-blue{background:#4285F4; color:#fff;}
  .tile.on-purple{background:#5E35B1; color:#fff;}
  .tile.off{background:#fff; border-left:1px solid var(--line); color:#5f6368;}
  .tile.off .t-label::before{border-color:#dadce0;}
  .tile.off .t-val{color:#202124; font-weight:500;}
  .gsc-chart{padding:18px 24px 4px;}
  .gsc-chart svg{width:100%; height:auto; display:block;}
  .gsc-table{padding:6px 24px 20px;}
  .gsc-table table{width:100%; border-collapse:collapse; font-size:13.5px;}
  .gsc-table th{
    text-align:left; font-weight:500; color:#5f6368; font-size:12.5px;
    padding:12px 8px; border-bottom:1px solid var(--line);
  }
  .gsc-table td{padding:12px 8px; border-bottom:1px solid #f1f3f4; color:#202124;}
  .gsc-table td.q{color:#1a73e8;}
  .gsc-table th.num, .gsc-table td.num{text-align:right;}
  .gsc-table .pos-up{color:#137333; font-weight:500; font-size:12.5px; margin-left:8px;}
  .results-note{
    text-align:center; font-size:12.5px; color:var(--ink-soft);
    margin-top:18px;
  }

  html{scroll-behavior:smooth;}
  .cta{
    background:linear-gradient(135deg,#2b6cf6,#4fb3ff);
    border-radius:24px;
    margin:0 auto; max-width:1100px;
    padding:64px 60px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
    position:relative;
    overflow:hidden;
  }
  .cta::before{
    content:''; position:absolute; width:400px; height:400px;
    background:radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
    top:-150px; right:-100px; border-radius:50%;
  }
  .cta-copy{position:relative;}
  .cta h2{color:#fff; font-size:34px; margin-bottom:14px;}
  .cta p{color:rgba(255,255,255,0.75); font-size:15.5px; margin-bottom:26px;}
  .cta-list{list-style:none; margin-bottom:26px;}
  .cta-list li{
    color:#fff; font-size:15px; font-weight:500;
    padding-left:30px; position:relative; margin-bottom:13px;
  }
  .cta-list li::before{
    content:'✓';
    position:absolute; left:0; top:-1px;
    width:20px; height:20px; border-radius:50%;
    background:rgba(255,255,255,0.22);
    color:#fff; font-size:12px;
    display:flex; align-items:center; justify-content:center;
  }
  .cta-call{font-size:14px !important; margin-bottom:0 !important;}
  .cta-call a{color:#fff; font-weight:600; text-decoration:underline;}

  .lead-form{
    position:relative;
    background:#fff;
    border-radius:16px;
    padding:30px 28px;
    display:flex; flex-direction:column; gap:12px;
    box-shadow:0 30px 60px rgba(10,20,60,0.35);
  }
  .lead-form h3{font-size:20px; text-align:center; margin-bottom:2px;}
  .lead-form .sub{font-size:13.5px; color:var(--ink-soft); text-align:center; margin-bottom:6px;}
  .frow{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
  .lead-form input, .lead-form select{
    width:100%;
    padding:13px 14px;
    border:1px solid var(--line);
    border-radius:9px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    color:var(--ink);
    background:#fff;
  }
  .lead-form select:invalid{color:#9aa1b8;}
  .lead-form input::placeholder{color:#9aa1b8;}
  .lead-form input:focus, .lead-form select:focus{
    outline:none;
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(77,159,255,0.2);
  }
  .lead-form button{
    background:linear-gradient(135deg,var(--blue-bright),var(--violet));
    color:#fff;
    border:none; cursor:pointer;
    font-family:'Inter',sans-serif;
    font-size:15px; font-weight:600;
    padding:15px;
    border-radius:9px;
    margin-top:4px;
    box-shadow:0 8px 24px rgba(79,179,255,0.4);
  }
  .lead-form .fine{font-size:12px; color:var(--ink-soft); text-align:center;}
  .lead-form textarea{
    width:100%;
    padding:13px 14px;
    border:1px solid var(--line);
    border-radius:9px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    color:var(--ink);
    resize:vertical;
    min-height:76px;
  }
  .lead-form textarea::placeholder{color:#9aa1b8;}
  .lead-form textarea:focus{
    outline:none;
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(77,159,255,0.2);
  }
  .lead-form input[type="radio"]{width:auto; padding:0; accent-color:var(--blue);}
  .radio-row{display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding:2px 2px;}
  .radio-row .radio-label{font-size:13.5px; color:var(--ink-soft);}
  .radio-row label{display:flex; align-items:center; gap:7px; font-size:14px; color:var(--ink); cursor:pointer;}

  /* MODALS */
  .modal-overlay{
    position:fixed; inset:0;
    background:rgba(8,11,26,0.66);
    backdrop-filter:blur(4px);
    display:none;
    align-items:center; justify-content:center;
    z-index:100;
    padding:24px;
  }
  .modal-overlay.open{display:flex;}
  .modal{
    max-width:520px; width:100%;
    max-height:92vh; overflow-y:auto;
    position:relative;
  }
  .modal .lead-form{box-shadow:0 40px 90px rgba(0,0,0,0.5);}
  .lead-form .modal-close{
    position:absolute; top:14px; right:14px;
    width:32px; height:32px;
    padding:0; margin:0;
    display:flex; align-items:center; justify-content:center;
    border:none; background:#f1f3f8; border-radius:50%;
    font-size:14px; line-height:1; color:var(--ink-soft);
    box-shadow:none;
    cursor:pointer;
  }
  .lead-form .modal-close:hover{background:#e4e8f2; color:var(--ink);}
  .modal .thanks{text-align:center; padding:34px 10px;}
  .modal .thanks h3{font-size:20px; margin-bottom:10px;}
  .modal .thanks p{font-size:14.5px; color:var(--ink-soft);}

  /* CLIENTS */
  .clients{padding:70px 0 90px;}
  .clients .section-head{margin-bottom:44px;}
  .clients-row{
    display:flex; align-items:center; justify-content:center;
    gap:64px; flex-wrap:wrap;
  }
  .clients-row img{
    max-height:46px; max-width:180px; width:auto; height:auto;
    filter:grayscale(1); opacity:0.55;
    transition:filter 0.25s, opacity 0.25s;
  }
  .clients-row img:hover{filter:none; opacity:1;}

  /* FOOTER */
  footer{padding:80px 0 50px; background:#fff; border-top:1px solid var(--line);}
  footer .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px;}
  .footcols{display:flex; gap:70px;}
  .footcol h4{font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); font-weight:600; margin-bottom:16px;}
  .footcol a{display:block; font-size:14px; color:var(--ink); margin-bottom:10px;}
  footer .col p{font-size:14.5px; color:var(--ink-soft); margin-top:16px; line-height:1.7;}
  .footer-logo img{height:64px; width:auto; display:block; filter:invert(1);}
  .nap{font-size:14px; color:var(--ink); line-height:2;}
  .nap strong{font-weight:600;}
  .nap a{color:var(--ink); display:inline;}
  .socials{display:flex; gap:10px; margin-top:22px;}
  .socials a{
    width:38px; height:38px;
    border:1px solid var(--line); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--ink-soft);
    transition:background 0.2s, color 0.2s, border-color 0.2s;
  }
  .socials a:hover{background:var(--blue); border-color:var(--blue); color:#fff;}
  .socials svg{width:17px; height:17px; fill:currentColor;}
  .footbottom{
    border-top:1px solid var(--line); margin-top:50px; padding-top:22px;
    text-align:center; font-size:12px; color:var(--ink-soft);
  }
/* SEO SECTION (homepage #seo-spokane) */
.coverage{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.cov{
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:28px 26px;
}
.cov .icon{
  width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg,var(--blue-bright),var(--violet));
  color:#fff; font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif;
  margin-bottom:18px;
}
.cov h3{font-size:17px; margin-bottom:8px;}
.cov p{font-size:13.5px; color:var(--ink-soft);}

.seo-visuals{display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:64px; align-items:start;}
.viz-cell h3{font-size:20px; margin-bottom:8px;}
.viz-cell > p{font-size:14px; color:var(--ink-soft); margin-bottom:20px; line-height:1.6;}
.viz-card{
  background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:0 24px 60px rgba(10,20,60,0.08);
  overflow:hidden;
}
.viz-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 20px; border-bottom:1px solid var(--line);
  font-size:13px; color:#5f6368;
}
.viz-head b{color:#202124; font-weight:500;}
.viz-chip{background:#f1f3f4; border-radius:100px; padding:4px 12px; font-size:11.5px;}
.rank-chart{padding:18px 14px 4px;}
.rank-chart svg{display:block; width:100%; height:auto;}
.rank-table{padding:2px 20px 14px;}
.rank-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-top:1px solid #f1f3f4;
  font-size:12.5px; color:#3c4043;
}
.rank-row:first-child{border-top:none;}
.rank-row .kwd{color:#1a73e8;}
.rank-row .pos b{color:#202124; font-weight:600;}
.rank-row .up{color:#137333; font-weight:600; margin-left:8px; font-size:11.5px;}
.ai-total{padding:18px 20px 10px; display:flex; align-items:baseline; gap:12px;}
.ai-total b{font-family:'Space Grotesk',sans-serif; font-size:30px; font-weight:600; color:#202124;}
.ai-total span{font-size:12.5px; color:#137333; font-weight:600;}
.ai-total em{font-style:normal; font-size:12.5px; color:#5f6368;}
.ai-rows{padding:0 20px 14px;}
.ai-row{display:flex; align-items:center; gap:12px; padding:10px 0; border-top:1px solid #f1f3f4;}
.ai-ic{
  width:26px; height:26px; border-radius:50%;
  color:#fff; font-size:12px; font-weight:600;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter',sans-serif; flex-shrink:0;
}
.ai-name{width:150px; font-size:13px; color:#202124;}
.ai-bar{flex:1; height:6px; border-radius:4px; background:#f1f3f4; overflow:hidden;}
.ai-bar i{display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,var(--blue-bright),var(--violet));}
.ai-count{width:44px; text-align:right; font-size:12.5px; color:#202124; font-weight:600;}
.ai-note{padding:12px 20px 16px; font-size:12px; color:#5f6368; border-top:1px solid var(--line); line-height:1.5;}

/* GOOGLE CERTIFICATIONS */
.certs{background:#fff; border-bottom:1px solid var(--line); padding:34px 0;}
.certs .wrap{display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap;}
.certs-label{
  font-size:12px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--ink-soft); margin-right:8px;
}
.cert{
  display:flex; align-items:center; gap:12px;
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:12px 20px;
  box-shadow:0 6px 18px rgba(10,20,60,0.05);
}
.cert svg{width:26px; height:26px; flex-shrink:0;}
.cert .c-name{font-size:14px; font-weight:600; color:var(--ink); line-height:1.25;}
.cert .c-sub{
  display:flex; align-items:center; gap:5px;
  font-size:11.5px; color:var(--ink-soft);
}
.cert .c-sub::before{
  content:'✓';
  width:13px; height:13px; border-radius:50%;
  background:#4285F4; color:#fff; font-size:8.5px;
  display:inline-flex; align-items:center; justify-content:center;
}

/* ============ MOBILE / RESPONSIVE ============ */
@media (max-width: 900px){
  body .wrap{padding:0 22px;}
  body .section{padding:70px 0;}
  body .section-head h2{font-size:29px;}
  body .section-head{margin-bottom:44px;}

  /* nav wraps to two rows */
  body nav .wrap{flex-wrap:wrap; row-gap:14px;}
  body .logo img{height:38px;}
  body .navcta{margin-left:auto;}
  body .navlinks{
    order:3; width:100%;
    justify-content:center; flex-wrap:wrap;
    gap:12px 22px; font-size:14px;
  }

  /* hero */
  body .hero h1{font-size:42px;}
  body .hero-content{padding-top:44px;}
  body .hero p{font-size:16px;}
  body .hero-ctas{flex-direction:column; align-items:center; gap:12px; margin-bottom:60px;}
  body .hero-card{padding:14px;}
  body .hero-card-body{grid-template-columns:1fr; padding:22px; gap:12px;}
  body .page-hero h1{font-size:36px;}

  /* grids collapse */
  body .services{grid-template-columns:1fr;}
  body .statgrid{grid-template-columns:1fr; gap:38px;}
  body .statgrid .num{font-size:40px;}
  body .coverage{grid-template-columns:1fr 1fr;}
  body .seo-visuals{grid-template-columns:1fr; gap:44px;}
  body .psi-grid, body .gbp-grid, body .bio-grid,
  body .contact-grid, body .own-grid{grid-template-columns:1fr; gap:40px;}
  body .method{grid-template-columns:1fr;}
  body .cta{grid-template-columns:1fr; padding:40px 26px; gap:36px;}

  /* results / GSC card */
  body .gsc-tiles{grid-template-columns:repeat(2,1fr);}
  body .tile.off{border-left:none; border-top:1px solid var(--line);}

  /* showcase */
  body .m2{height:430px;}
  body .m2-links{display:none;}
  body .m2-copy h5{font-size:28px;}
  body .m2-inner{padding:18px 22px 24px;}
  body .arrow.prev{left:8px;}
  body .arrow.next{right:8px;}

  /* misc cards */
  body .portrait-card, body .contact-form-card{position:static;}
  body .boost-chips{gap:12px;}
  body .bchip{padding:16px 24px;}
  body .grid-toggle{flex-wrap:wrap;}
  body .map-foot{justify-content:center;}
  body .clients-row{gap:32px;}
  body .clients-row img{max-height:36px; max-width:140px;}
  body .certs .wrap{gap:12px;}

  /* footer */
  body footer .wrap{flex-direction:column;}
  body .footcols{flex-wrap:wrap; gap:36px;}
}

@media (max-width: 560px){
  body .wrap{padding:0 18px;}
  body .hero h1{font-size:33px;}
  body .hero h1 br{display:none;}
  body .page-hero h1{font-size:29px;}
  body .pill{font-size:12px; text-align:center;}
  body .section-head h2{font-size:25px;}
  body .strip p{font-size:13.5px;}
  body .btn-primary, body .btn-ghost{width:100%; text-align:center; box-sizing:border-box;}
  body .navcta{padding:9px 16px; font-size:13px;}

  /* forms go single column */
  body .frow{grid-template-columns:1fr;}
  body .lead-form{padding:24px 18px;}
  body .cta h2{font-size:25px;}
  body .cta-list li{font-size:14px;}

  /* cards tighten */
  body .coverage{grid-template-columns:1fr;}
  body .cov, body .service, body .step, body .own-card{padding:24px 20px;}
  body .psi-gauges{grid-template-columns:repeat(2,1fr); gap:16px; padding:20px 14px 10px;}
  body .cwv-row{grid-template-columns:1fr; gap:10px;}
  body .ai-name{width:104px; font-size:12px;}
  body .ai-total b{font-size:24px;}
  body .rank-row{flex-wrap:wrap; gap:2px 8px;}
  body .gsc-head{flex-direction:column; align-items:flex-start; gap:8px;}
  body .map-head{flex-direction:column; align-items:flex-start; gap:8px;}
  body .viz-head{flex-direction:column; align-items:flex-start; gap:8px;}

  /* showcase on phones */
  body .m2{height:410px;}
  body .m2-nav b{font-size:14px;}
  body .m2-btn{font-size:11px; padding:8px 13px;}
  body .m2-copy h5{font-size:23px;}
  body .m2-copy > p{font-size:12.5px;}
  body .m2-row{flex-wrap:wrap; gap:10px;}
  body .browser-top .url{max-width:170px;}
  body .slide-label{font-size:12.5px;}
  body .ind-pills button, body .grid-toggle button{padding:8px 15px; font-size:13px;}

  /* stats + boost */
  body .boost-chips{flex-direction:column; align-items:stretch;}
  body .bchip b{font-size:24px;}
  body .footcols{flex-direction:column; gap:28px;}
  body .footer-logo img{height:52px;}
  body .scan-prompt p{font-size:15.5px;}
  body .modal .lead-form{max-height:86vh; overflow-y:auto;}
}

@media (max-width: 900px){
  body{overflow-x:hidden;}
}
@media (max-width: 560px){
  body .m2-nav{flex-wrap:wrap; gap:10px;}
  body .m2-nav b{white-space:normal;}
  body .m2-nav > .m2-btn{display:none;}
}

/* HAMBURGER NAV */
.nav-burger{display:none; background:none; border:none; cursor:pointer; padding:8px;}
.nav-burger span{
  display:block; width:22px; height:2px;
  background:#fff; border-radius:2px;
  margin:5px 0;
  transition:transform 0.25s, opacity 0.2s;
}

@media (max-width: 900px){
  body nav .wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:nowrap;
    row-gap:0;
  }
  body .nav-burger{display:block; z-index:31;}
  body nav .logo img{height:40px;}
  body .navcta{margin-left:0;}
  body .navlinks{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:center;
    gap:2px; width:auto; margin:0; order:0;
    background:rgba(8,11,26,0.98);
    border-top:1px solid rgba(255,255,255,0.08);
    border-bottom:1px solid rgba(255,255,255,0.12);
    padding:12px 22px 18px;
    z-index:30;
  }
  body nav.menu-open .navlinks{display:flex;}
  body .navlinks a{padding:12px 0; font-size:15.5px; width:100%; text-align:center;}
  body nav.menu-open .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  body nav.menu-open .nav-burger span:nth-child(2){opacity:0;}
  body nav.menu-open .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
}

/* FLOATING CALL BUTTON (mobile) */
.call-fab{display:none;}
@media (max-width: 900px){
  body .call-fab{
    position:fixed; bottom:20px; right:20px;
    width:56px; height:56px; border-radius:50%;
    background:#1fa84c;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 26px rgba(20,130,60,0.45);
    z-index:90;
    opacity:0; transform:translateY(90px);
    transition:opacity 0.3s, transform 0.3s;
    pointer-events:none;
  }
  body .call-fab.show{
    opacity:1; transform:translateY(0);
    pointer-events:auto;
    animation:fab-pulse 2.4s ease-out infinite;
  }
  body .call-fab svg{width:24px; height:24px;}
  @keyframes fab-pulse{
    0%{box-shadow:0 10px 26px rgba(20,130,60,0.45), 0 0 0 0 rgba(31,168,76,0.45);}
    70%{box-shadow:0 10px 26px rgba(20,130,60,0.45), 0 0 0 16px rgba(31,168,76,0);}
    100%{box-shadow:0 10px 26px rgba(20,130,60,0.45), 0 0 0 0 rgba(31,168,76,0);}
  }
}

/* ============ HOMEPAGE ANIMATION LAYER (v7) ============ */

/* font accents: editorial serif + data mono (used sparingly) */
.hero h1 .grad, .page-hero h1 .grad{
  font-family:'Instrument Serif', serif;
  font-style:italic;
  font-weight:400;
  font-size:1.06em;
}
.metric .val, .t-val, .ai-total b, .ai-count,
.gsc-qrow .num, .rank-row .pos, .viz-chip, .range{
  font-family:'Space Mono', monospace;
  letter-spacing:-0.02em;
}
.metric .val{font-size:24px;}
.t-val{font-size:24px !important;}

/* buttons: animated hover states */
.btn-primary, .btn-ghost, .navcta, .lead-form button,
.ind-pills button, .grid-toggle button, .arrow{
  transition:transform 0.28s cubic-bezier(.34,1.6,.64,1), box-shadow 0.28s, background 0.25s, color 0.25s, border-color 0.25s;
  will-change:transform;
}
.btn-primary:hover, .navcta:hover, .lead-form button:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(79,179,255,0.5);
}
.btn-ghost:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.1);
  border-color:rgba(255,255,255,0.35);
}
.btn-primary:active, .btn-ghost:active, .navcta:active, .lead-form button:active{
  transform:translateY(-1px) scale(0.98);
}

/* key CTA text swap on hover */
.cta-swap .swap-stack{
  display:grid;
  overflow:hidden;
  text-align:center;
}
.cta-swap .swap-stack > span{
  grid-area:1 / 1;
  transition:transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.28s;
  white-space:nowrap;
}
.cta-swap .s-b{transform:translateY(130%); opacity:0;}
.cta-swap:hover .s-a{transform:translateY(-130%); opacity:0;}
.cta-swap:hover .s-b{transform:translateY(0); opacity:1;}

/* hero proof card: interactive metrics */
.metric{transition:transform 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;}
.hero-card-body:hover .metric{opacity:0.5;}
.hero-card-body .metric:hover{
  opacity:1;
  transform:translateY(-4px);
  border-color:rgba(111,177,255,0.55);
  box-shadow:0 14px 34px rgba(79,179,255,0.18);
}
.metric .bar i{width:0; transition:width 1.3s cubic-bezier(.22,.9,.26,1);}

/* certs micro-presentation */
.certs .wrap{position:relative;}
.cert{
  opacity:0;
  transform:translateY(16px) scale(0.97);
  transition:opacity 0.55s, transform 0.55s cubic-bezier(.22,.9,.26,1);
}
.cert.in{opacity:1; transform:none;}
.certs-sweep{
  position:absolute; inset:-34px -22px;
  pointer-events:none;
  background:linear-gradient(105deg, transparent 32%, rgba(111,177,255,0.22) 50%, transparent 68%);
  transform:translateX(-115%);
}
.certs-sweep.go{animation:certsweep 1.15s cubic-bezier(.4,0,.2,1) forwards;}
@keyframes certsweep{
  to{transform:translateX(115%);}
}

/* breathing chart dot + tooltip */
.breath-dot{
  transform-box:fill-box;
  transform-origin:center;
  animation:breath 1.5s ease-in-out infinite;
}
@keyframes breath{
  0%,100%{transform:scale(1); opacity:1;}
  50%{transform:scale(1.45); opacity:0.75;}
}
.gsc-chart{position:relative;}
.rank-chart{position:relative;}
.gsc-tip{
  position:absolute;
  transform:translate(-50%, -145%);
  background:#202124; color:#fff;
  font-size:11.5px; line-height:1.3;
  padding:6px 11px; border-radius:7px;
  white-space:nowrap;
  pointer-events:none;
  z-index:5;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  transition:left 0.4s cubic-bezier(.22,.9,.26,1), top 0.4s cubic-bezier(.22,.9,.26,1);
}
.gsc-tip b{color:#8ab4f8; font-weight:600;}
.gsc-tip::after{
  content:'';
  position:absolute; left:50%; top:100%;
  transform:translateX(-50%);
  border:5px solid transparent;
  border-top-color:#202124;
}
.gsc-tip.below{transform:translate(-50%, 48%);}
.gsc-tip.below::after{
  top:auto; bottom:100%;
  border-top-color:transparent;
  border-bottom-color:#202124;
}
#gsc-domain{transition:opacity 0.3s; display:inline-block; min-width:150px;}

/* GSC query rows (reorderable) */
.gsc-thead{
  display:grid; grid-template-columns:1fr 84px 118px;
  padding:12px 8px;
  font-size:12.5px; font-weight:500; color:#5f6368;
  border-bottom:1px solid var(--line);
}
.gsc-thead .num, .gsc-qrow .num{text-align:right;}
.gsc-qrow{
  display:grid; grid-template-columns:1fr 84px 118px;
  align-items:center;
  padding:11px 8px;
  border-top:1px solid #f1f3f4;
  font-size:13px; color:#3c4043;
  background:#fff;
}
.gsc-qrow:first-child{border-top:none;}
.gsc-qrow .q{color:#1a73e8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.gsc-qrow .num{font-size:12.5px;}
.gsc-qrow .pos-up{color:#137333; font-weight:700; font-size:11px; margin-left:7px;}

/* rank rows reorder-friendly */
.rank-row{background:#fff;}

/* service/coverage lucide icons */
.service .icon svg, .cov .icon svg{width:22px; height:22px;}

@media (max-width: 560px){
  body .gsc-thead, body .gsc-qrow{grid-template-columns:1fr 62px 96px;}
  body .cta-swap .s-b{font-size:13px;}
  body #gsc-domain{min-width:0;}
}

/* =========================================================
   v8 — organic curves, gradients, interactive polish
   ========================================================= */

/* --- curved organic section transitions --- */
.stats, .boost, .own, .about-stats{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero + section, .page-hero + section,
.stats, .boost, .own, .about-stats,
.stats + section, .boost + section, .own + section, .about-stats + section,
footer{
  border-top-left-radius:48px;
  border-top-right-radius:48px;
  margin-top:-48px;
  position:relative;
  z-index:2;
}
/* soften old hard 1px section delimiters */
.strip{border-top:none; border-bottom:none;}
.certs{border-bottom:none;}
footer{border-top:none;}
/* keep the scooping section's own content clear of the curve */
.strip, .certs{padding-top:52px;}
@media (max-width:560px){
  body .hero + section, body .page-hero + section,
  body .stats, body .boost, body .own, body .about-stats,
  body .stats + section, body .boost + section, body .own + section, body .about-stats + section,
  body footer{border-top-left-radius:30px; border-top-right-radius:30px; margin-top:-30px;}
}

/* --- card hover tooltips (benefit snippets) --- */
[data-tip]{position:relative;}
[data-tip]::after{
  content:attr(data-tip);
  position:absolute; left:50%; bottom:calc(100% - 8px);
  transform:translate(-50%, 8px);
  width:max-content; max-width:225px;
  background:linear-gradient(160deg,#141a33,#0b0f22);
  color:#e7eeff;
  font-family:'Inter',sans-serif; font-size:12.5px; line-height:1.45; font-weight:400;
  text-align:center;
  padding:10px 14px; border-radius:11px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 16px 36px rgba(8,11,26,0.32);
  opacity:0; pointer-events:none;
  transition:opacity .25s, transform .25s;
  z-index:30;
}
[data-tip]::before{
  content:'';
  position:absolute; left:50%; bottom:calc(100% - 2px);
  transform:translate(-50%, 8px);
  border:6px solid transparent; border-top-color:#0b0f22;
  opacity:0; pointer-events:none;
  transition:opacity .25s, transform .25s;
  z-index:31;
}
[data-tip]:hover::after{opacity:1; transform:translate(-50%, 0);}
[data-tip]:hover::before{opacity:1; transform:translate(-50%, 0);}

/* --- contact typing demo --- */
.lead-form .demo-active{
  border-color:var(--blue) !important;
  box-shadow:0 0 0 3px rgba(77,159,255,0.18);
}
.demo-caret{color:var(--blue); font-weight:700; animation:caretblink 0.9s steps(1) infinite;}
@keyframes caretblink{50%{opacity:0;}}

/* --- shared spin for scanner icons --- */
@keyframes spin{to{transform:rotate(360deg);}}

/* --- maps: search-engine query pill --- */
.map-head .search-pill{
  display:inline-flex; align-items:center; gap:9px;
  background:#fff; border:1px solid var(--line);
  border-radius:100px; padding:6px 8px 6px 14px;
  font-size:12.5px; color:#3c4043;
  box-shadow:0 1px 5px rgba(10,20,60,0.08);
}
.search-pill .sp-ic{width:15px; height:15px; color:#5f6368;}
.search-pill .kw-q{font-family:'Space Mono',monospace; letter-spacing:-0.02em;}
.search-pill .kw-scan{
  width:24px; height:24px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--bg-blue,#e6f1fb); color:var(--blue);
}
.search-pill .kw-scan svg{width:14px; height:14px;}
.kw-scan.scanning{animation:spin 1.05s linear infinite;}

/* --- maps: before/after comparison slider --- */
.map-wrap.ba{position:relative; overflow:hidden; touch-action:pan-y;}
.ba-pane{margin:0;}
.ba-before{position:relative;}
.ba-after{position:absolute; inset:0; clip-path:inset(0 0 0 var(--pos,50%));}
.ba-pane svg{display:block; width:100%; height:auto;}
.ba-tag{
  position:absolute; top:14px; z-index:4;
  font-size:11px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
  padding:5px 12px; border-radius:100px;
  color:#fff; pointer-events:none;
  box-shadow:0 4px 14px rgba(0,0,0,0.18);
}
.ba-tag-before{left:14px; background:rgba(90,96,121,0.92);}
.ba-tag-after{right:14px; background:linear-gradient(135deg,#12a454,#0c8f47);}
.ba-handle{
  position:absolute; top:0; bottom:0; left:var(--pos,50%);
  width:3px; margin-left:-1.5px; z-index:5;
  background:#fff; box-shadow:0 0 0 1px rgba(10,20,60,0.12);
  cursor:ew-resize;
}
.ba-knob{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:42px; height:42px; border-radius:50%;
  background:#fff; color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(10,20,60,0.28);
}
.ba-knob svg{width:20px; height:20px;}
.ba-handle:focus-visible{outline:none;}
.ba-handle:focus-visible .ba-knob{box-shadow:0 0 0 4px rgba(77,159,255,0.4);}

/* --- maps: CTA scanner badge --- */
.scan-badge{
  display:inline-flex; width:27px; height:27px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue-bright),var(--violet));
  color:#fff; align-items:center; justify-content:center;
  vertical-align:-6px; margin-left:4px;
}
.scan-badge svg{width:15px; height:15px;}
.scan-badge.scanning{animation:spin 1.05s linear infinite;}

/* --- PSI gauge number in mono --- */
.g-num{font-family:'Space Mono',monospace;}

/* --- ownership: staggered reveal + underline highlight --- */
.own-card li{
  opacity:0; transform:translateY(10px);
  transition:opacity .5s ease, transform .5s cubic-bezier(.22,.9,.26,1);
}
.own-card li.in{opacity:1; transform:none;}
.own-card .ul-txt{position:relative; display:inline;}
.own-card.good .ul-txt{
  background-image:linear-gradient(90deg,var(--blue-bright),var(--violet));
  background-repeat:no-repeat;
  background-position:0 100%;
  background-size:0% 2px;
  padding-bottom:3px;
  transition:background-size .55s ease;
}
.own-card.good li.lit .ul-txt{background-size:100% 2px;}

/* --- boost counters inherit the gradient headline treatment --- */
.bchip b .ctr{
  font-size:inherit; font-weight:inherit; font-family:inherit;
  color:transparent; -webkit-text-fill-color:transparent;
  background:none;
  font-variant-numeric:tabular-nums;
}
