/* Scratch Spy - Website Styles
   Design tokens (colors, fonts) are defined in :root at the top.
   See README.md for the full breakpoint and token reference. */

:root{
    color-scheme: light only;
    --navy:#031228;
    --blue:#007BFD;
    --slate:#5A6B85;
    --mist:#F2F6FC;
    --ink:#0B0F1A;
    --white:#FFFFFF;
    --line:#E4E9F1;
    --radius:6px;
    --radius-lg:10px;
    --maxw:1180px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth; color-scheme: light only; background:#FFFFFF;}
  body{
    font-family:'Inter', -apple-system, sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    color-scheme: light only;
  }
  h1,h2,h3,.display{
    font-family:'Space Grotesk', sans-serif;
    color:var(--navy);
    font-weight:700;
    letter-spacing:-0.01em;
    line-height:1.08;
  }
  .mono{font-family:'IBM Plex Mono', monospace;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    font-weight:500;
    color:var(--blue);
    letter-spacing:0.12em;
    text-transform:uppercase;
    margin-bottom:14px;
    display:flex; align-items:center; gap:8px;
  }
  .eyebrow::before{
    content:''; width:16px; height:1px; background:var(--blue);
  }
  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:13px 26px; border-radius:var(--radius);
    font-weight:600; font-size:15px; font-family:'Inter',sans-serif;
    cursor:pointer; border:1px solid transparent; transition:all .15s ease;
  }
  .btn-primary{background:var(--navy); color:#fff;}
  .btn-primary:hover{background:#0a1f3d;}
  .btn-ghost{border-color:var(--line); color:var(--navy); background:transparent;}
  .btn-ghost:hover{border-color:var(--navy);}
  .btn-blue{background:var(--blue); color:#fff;}
  .btn-blue:hover{background:#0068d8;}

  /* NAV */
  nav{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav .inner{
    display:flex; align-items:center; justify-content:space-between;
    height:72px;
  }
  .brand{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:19px; color:var(--navy);}
  .brand img{width:30px; height:30px;}
  .navlinks{display:flex; align-items:center; gap:36px;}
  .navlinks a{font-size:14.5px; font-weight:500; color:var(--slate);}
  .navlinks a:hover{color:var(--navy);}
  .navcta{display:flex; align-items:center; gap:14px;}
  @media (max-width:600px){
    .navcta .btn{padding:9px 14px; font-size:12px;}
  }

/* HERO */
  .hero{padding:88px 0 100px; overflow:hidden; background:#FFFFFF;}
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center;}
  .hero h1{font-size:52px; margin-bottom:22px;}
  .hero h1 em{font-style:normal; color:var(--blue);}
  .hero p.lede{font-size:18px; color:var(--slate); max-width:480px; margin-bottom:32px; line-height:1.6;}
  .hero-actions{display:flex; gap:14px; margin-bottom:36px; min-width:0;}
  .hero-meta{display:flex; gap:28px; padding-top:24px; border-top:1px solid var(--line);}
  .hero-meta div{font-size:13px; color:var(--slate);}
  .hero-meta strong{display:block; font-family:'Space Grotesk'; font-size:22px; color:var(--navy); font-weight:700;}

  /* Signature visual: evidence assembly card */
  .evidence-card{
    background:var(--navy); border-radius:var(--radius-lg);
    padding:28px; color:#fff; position:relative;
    box-shadow:0 30px 60px -20px rgba(3,18,40,0.35);
  }
  .evidence-card .case-id{font-family:'IBM Plex Mono'; font-size:12px; color:#a7b6d1; margin-bottom:4px;}
  .evidence-card .case-title{font-family:'Space Grotesk'; font-weight:600; font-size:17px; margin-bottom:20px;}
  .ev-row{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,0.08);}
  .ev-row:last-of-type{border-bottom:none;}
  .ev-dot{
    width:22px; height:22px; border-radius:50%; flex-shrink:0;
    border:1.5px solid #35476b; display:flex; align-items:center; justify-content:center;
    opacity:0.35;
  }
  .ev-row.on .ev-dot{background:var(--blue); border-color:var(--blue); opacity:1;}
  .ev-dot svg{width:11px; height:11px;}
  .ev-label{font-size:13.5px; color:#c3d0e5; flex:1;}
  .ev-row.on .ev-label{color:#fff;}
  .ev-time{font-family:'IBM Plex Mono'; font-size:11.5px; color:#a7b6d1;}
  .ev-result{
    margin-top:20px; padding-top:18px; border-top:1px dashed rgba(255,255,255,0.15);
    display:flex; align-items:center; justify-content:space-between;
    opacity:0; transform:translateY(6px);
    animation:reveal 0.5s ease forwards;
    animation-delay:2.6s;
  }
  .ev-result .conf{font-family:'IBM Plex Mono'; font-size:26px; font-weight:500; color:var(--blue);}
  .ev-result .conf-label{font-size:11.5px; color:#a7b6d1;}
  @keyframes reveal{ to{opacity:1; transform:translateY(0);} }
  @media (prefers-reduced-motion: reduce){
    .ev-row, .ev-result{ animation:none !important; opacity:1 !important; transform:none !important; }
    .ev-row{opacity:1;}
    .ev-dot{opacity:1;}
  }
  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr; gap:48px;}
    .hero h1{font-size:38px;}
  }
  @media (max-width:600px){
    .wrap{padding:0 20px;}
    nav .inner{height:64px;}
    .navlinks{display:none;}
    .brand span{font-size:16px;}
    .brand img{width:24px; height:24px;}
    .hero{padding:48px 0 56px;}
    .hero h1{font-size:28px; line-height:1.15;}
    .hero br{display:none;}
    .hero p.lede{font-size:15.5px;}
    .hero-actions{flex-direction:column;}
    .hero-actions .btn{width:100%;}
    .hero-meta{flex-direction:column; gap:14px;}
    .evidence-card{padding:20px; max-width:100%;}
    .ev-time{display:none;}
  }

section{padding:96px 0; background:#FFFFFF;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:36px; margin-bottom:16px;}
  .section-head p{font-size:17px; color:var(--slate); line-height:1.6;}

  /* PROBLEM */
  .problem{background:var(--mist);}
  .problem-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden;}
  .problem-cell{background:#fff; padding:32px;}
  .problem-cell .num{font-family:'IBM Plex Mono'; font-size:12px; color:var(--blue); margin-bottom:14px;}
  .problem-cell h3{font-size:19px; margin-bottom:10px;}
  .problem-cell p{font-size:14.5px; color:var(--slate); line-height:1.6;}

  /* HOW IT WORKS */
  .steps{display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative;}
  .steps::before{
    content:''; position:absolute; top:19px; left:10%; right:10%; height:1px; background:var(--line);
  }
  .step{position:relative; padding-right:16px;}
  .step-num{
    width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-family:'IBM Plex Mono'; font-size:13px; margin-bottom:22px; position:relative; z-index:1;
  }
  .step h3{font-size:16px; margin-bottom:8px;}
  .step p{font-size:13.5px; color:var(--slate); line-height:1.55;}
  @media (max-width:900px){
    .problem-grid{grid-template-columns:1fr;}
    .steps{grid-template-columns:1fr; gap:32px;}
    .steps::before{display:none;}
  }
  @media (max-width:600px){
    section{padding:56px 0;}
    .wrap{padding:0 20px;}
    .section-head h2{font-size:26px;}
    .problem-cell{padding:24px;}
  }

/* INTEGRATIONS */
  .integrations{background:var(--navy); color:#fff;}
  .integrations .section-head h2{color:#fff;}
  .integrations .section-head p{color:#a7b6d1;}
  .vendor-row{display:flex; gap:14px; flex-wrap:wrap;}
  .vendor{
    border:1px solid #1c2c48; border-radius:var(--radius);
    padding:16px 24px; font-family:'Space Grotesk'; font-weight:600; font-size:16px;
    color:#d7e0f0; background:#0a1b36;
  }
  .vendor.plus{color:#a7b6d1; font-weight:500; font-family:'Inter'; font-size:14px;}

  /* PRICING */
  .pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
  .currency-select-row{display:flex; align-items:center; gap:10px; margin-bottom:28px;}
  .currency-select-row label{font-size:13.5px; color:var(--slate); font-weight:500;}
  .currency-select-row select{
    font-family:'Inter',sans-serif; font-size:14px; color:var(--navy); font-weight:600;
    padding:8px 14px; border-radius:var(--radius); border:1px solid var(--line);
    background:#fff; cursor:pointer;
  }
  .price-note{font-size:12.5px; color:var(--slate); margin-top:24px;}
  .plan{border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; display:flex; flex-direction:column;}
  .plan.featured{border-color:var(--blue); box-shadow:0 0 0 1px var(--blue);}
  .plan .tag{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--blue); margin-bottom:14px;}
  .plan h3{font-size:22px; margin-bottom:6px;}
  .plan .price{font-family:'Space Grotesk'; font-size:34px; font-weight:700; color:var(--navy); margin:14px 0 4px;}
  .plan .price span{font-size:14px; font-weight:500; color:var(--slate);}
  .plan .price .price-value{font-size:34px; font-weight:700; color:var(--navy);}
  .plan .price .price-prefix{font-size:16px; font-weight:500; color:var(--slate); margin-right:2px;}
  .plan ul{list-style:none; margin:24px 0; flex:1;}
  .plan li{font-size:14px; color:var(--ink); padding:8px 0; border-top:1px solid var(--line); display:flex; gap:10px;}
  .plan li:first-child{border-top:none;}
  .plan li::before{content:'-'; color:var(--blue); flex-shrink:0;}

  /* FOUNDING CTA */
  .founding{background:var(--mist);}
  .founding-box{
    background:var(--navy); border-radius:var(--radius-lg); padding:56px;
    display:grid; grid-template-columns:1.3fr 1fr; gap:40px; align-items:center; color:#fff;
  }
  .founding-box h2{color:#fff; font-size:30px; margin-bottom:14px;}
  .founding-box p{color:#a7b6d1; font-size:15.5px; line-height:1.6;}
  .founding-list{list-style:none;}
  .founding-list li{font-size:14.5px; padding:8px 0; border-top:1px solid #1c2c48; display:flex; gap:10px; color:#d7e0f0;}
  .founding-list li:first-child{border-top:none;}
  .founding-list li::before{content:'✓'; color:var(--blue); font-weight:700;}

  /* FOOTER */
  footer{border-top:1px solid var(--line); padding:48px 0;}
  .footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;}
  .footer-brand{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; color:var(--navy);}
  .footer-brand img{width:24px; height:24px;}
  footer .fine{font-size:13px; color:var(--slate);}

  @media (max-width:900px){
    .pricing-grid{grid-template-columns:1fr;}
    .founding-box{grid-template-columns:1fr;}
  }
  @media (max-width:600px){
    section{padding:56px 0;}
    .wrap{padding:0 20px;}
    .founding-box{padding:28px;}
    .founding-box h2{font-size:24px;}
    .footer-row{flex-direction:column; align-items:flex-start; gap:12px;}
    .vendor-row{gap:10px;}
    .vendor, .vendor.plus{padding:12px 16px; font-size:14px;}
  }