:root{
    --navy: #0c2a2f;
    --navy-2: #123a41;
    --navy-3: #0a2226;
    --ink: #0f2327;
    --ink-soft: #4d6864;
    --paper: #f6faf8;
    --paper-2: #eaf3f0;
    --white: #ffffff;
    --teal: #1fb8a8;
    --teal-bright: #34e6cc;
    --teal-deep: #0d766c;
    --line: rgba(13,43,48,0.12);
    --line-dark: rgba(255,255,255,0.14);
    --shadow: 0 20px 50px -25px rgba(10,40,45,0.35);
    --radius: 18px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'Inter', sans-serif;
    color:var(--ink);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Space Grotesk', sans-serif;
    color:var(--navy);
    letter-spacing:-0.02em;
    margin:0;
  }
  .mono{
    font-family:'JetBrains Mono', monospace;
    letter-spacing:0.02em;
  }
  a{color:inherit;}
  img{max-width:100%;display:block;}
  section{position:relative;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

  ::selection{background:var(--teal-bright); color:var(--navy);}

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

  /* ---------- Nav ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    padding:14px 0;
    background: black;
    box-shadow:0 1px 0 rgba(0,0,0,0.2);
    transition:box-shadow .35s ease, padding .35s ease;
  }
  header.scrolled{
    box-shadow:0 12px 30px -18px rgba(0,0,0,0.55);
    padding:10px 0;
  }
  nav{display:flex; align-items:center; justify-content:space-between;}
  .brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
  .brand img{height:70px; width:auto;}
  .brand span{display:none;}
  .nav-links{display:flex; align-items:center; gap:34px; list-style:none; margin:0; padding:0;}
  .nav-links a{
    text-decoration:none; color:rgba(255,255,255,0.85); font-weight:500; font-size:15px;
    position:relative; padding:4px 0;
  }
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
    background:var(--teal-bright); transition:width .25s ease;
  }
  .nav-links a:hover{color:var(--white);}
  .nav-links a:hover::after{width:100%;}
  .nav-toggle{display:none;}

  @media (max-width:900px){
    .brand img{height:44px;}
    nav{position:relative;}
    .nav-links{
      position:absolute; top:calc(100% + 14px); left:0; right:0;
      background:var(--navy-2); flex-direction:column; align-items:stretch;
      gap:0; padding:8px; border-radius:16px;
      box-shadow:0 24px 48px -18px rgba(0,0,0,0.5);
      border:1px solid var(--line-dark);
      max-height:0; overflow:hidden; opacity:0;
      transition:max-height .38s ease, opacity .3s ease;
      z-index:99;
    }
    .nav-links.open{max-height:420px; opacity:1;}
    .nav-links a{
      color:var(--white); font-size:16px; padding:14px 14px;
      border-radius:10px; display:block;
    }
    .nav-links a::after{display:none;}
    .nav-links a:hover, .nav-links a:active{background:rgba(255,255,255,0.06);}
    .nav-toggle{
      display:flex; flex-direction:column; gap:5px; justify-content:center;
      width:38px; height:38px; background:none; border:none; cursor:pointer; z-index:101;
    }
    .nav-toggle span{width:100%; height:2px; background:var(--white); border-radius:2px; transition:.3s;}
    .nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
    .nav-toggle.open span:nth-child(2){opacity:0;}
    .nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
    .scrim{position:fixed; inset:0; background:rgba(10,30,33,.5); opacity:0; pointer-events:none; transition:opacity .3s ease; z-index:98;}
    .scrim.open{opacity:1; pointer-events:auto;}
  }

  /* ---------- Hero ---------- */
  .hero{
    background:radial-gradient(120% 100% at 82% 0%, #103d43 0%, var(--navy) 55%, var(--navy-3) 100%);
    color:var(--white);
    padding:168px 0 120px;
    overflow:hidden;
  }
  .hero .wrap{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--teal-bright); margin-bottom:22px;
  }
  .eyebrow::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--teal-bright); box-shadow:0 0 0 4px rgba(52,230,204,0.25);}
  .hero h1{
    font-size:clamp(2.4rem, 4.4vw, 3.6rem);
    line-height:1.06;
    color:var(--white);
    max-width:640px;
  }
  .hero h1 em{
    font-style:normal;
    background:linear-gradient(90deg, var(--teal-bright), #7ef2df);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero p.lead{
    margin-top:22px; font-size:17px; line-height:1.7; color:rgba(255,255,255,0.72);
    max-width:520px;
  }
  .hero-actions{display:flex; align-items:center; gap:18px; margin-top:36px; flex-wrap:wrap;}
  .btn-primary{
    background:var(--teal-bright); color:var(--navy-3); font-weight:700; font-size:15px;
    padding:15px 28px; border-radius:999px; text-decoration:none;
    box-shadow:0 16px 32px -12px rgba(52,230,204,0.55);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 20px 36px -12px rgba(52,230,204,0.65);}
  .btn-ghost{
    color:var(--white); text-decoration:none; font-weight:600; font-size:15px;
    display:inline-flex; align-items:center; gap:8px; border-bottom:1px solid rgba(255,255,255,0.35); padding-bottom:3px;
  }
  .hero-meta{
    display:flex; gap:34px; margin-top:56px; flex-wrap:wrap;
  }
  .hero-meta div{border-left:2px solid rgba(255,255,255,0.18); padding-left:14px;}
  .hero-meta strong{display:block; font-family:'Space Grotesk'; font-size:22px; color:var(--white);}
  .hero-meta span{font-size:13px; color:rgba(255,255,255,0.55);}

  /* ---- Hero tap visual ---- */
  .tap-stage{position:relative; height:460px; display:flex; align-items:center; justify-content:center;}
  .rings{position:absolute; right:8%; top:38%; width:210px; height:210px;}
  .ring{
    position:absolute; inset:0; border-radius:50%;
    border:1.5px solid var(--teal-bright); opacity:0;
    animation:ringPulse 3s ease-out infinite;
  }
  .ring:nth-child(2){animation-delay:1s;}
  .ring:nth-child(3){animation-delay:2s;}
  @keyframes ringPulse{
    0%{transform:scale(0.35); opacity:0.9;}
    70%{opacity:0.15;}
    100%{transform:scale(1); opacity:0;}
  }
  .plaque-card{
    position:relative; width:300px; background:linear-gradient(160deg, #143b41, #0d2b30);
    border:1px solid rgba(255,255,255,0.1); border-radius:22px; padding:28px;
    box-shadow:0 40px 80px -30px rgba(0,0,0,0.55);
    transform:rotate(-4deg);
  }
  .plaque-card .tag{font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.45); font-family:'JetBrains Mono';}
  .plaque-card h3{color:var(--white); font-size:19px; margin-top:10px;}
  .plaque-card .screen{
    margin-top:18px; height:120px; border-radius:14px;
    background:linear-gradient(155deg, #63e8d6, #0f9c8c 60%, #0a6f63);
    display:flex; align-items:center; justify-content:center;
    box-shadow:inset 0 0 0 6px rgba(255,255,255,0.85), inset 0 0 0 8px rgba(12,42,47,0.9);
  }
  .screen svg{width:38px; height:38px;}
  .plaque-card .foot{display:flex; justify-content:space-between; align-items:center; margin-top:20px;}
  .plaque-card .foot span{font-size:12px; color:rgba(255,255,255,0.5);}
  .pulse-dot{width:9px; height:9px; border-radius:50%; background:var(--teal-bright); position:relative;}
  .pulse-dot::after{
    content:''; position:absolute; inset:-6px; border-radius:50%; border:1px solid var(--teal-bright);
    animation:dotPulse 2s ease-out infinite;
  }
  @keyframes dotPulse{0%{transform:scale(0.6); opacity:.9;} 100%{transform:scale(1.9); opacity:0;}}
  .float-tag{
    position:absolute; background:var(--white); color:var(--navy); border-radius:12px;
    padding:10px 14px; font-size:12.5px; font-weight:600; box-shadow:var(--shadow);
    display:flex; align-items:center; gap:8px;
  }
  .float-tag.one{top:12%; left:2%;}
  .float-tag.two{bottom:10%; left:10%;}
  .float-tag .dot{width:7px; height:7px; border-radius:50%; background:var(--teal-deep);}

  @media (max-width:900px){
    .hero .wrap{grid-template-columns:1fr;}
    .tap-stage{height:340px; margin-top:20px;}
    .hero{padding:140px 0 80px;}
  }

  /* ---------- Section headings ---------- */
  .kicker{
    display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--teal-deep); margin-bottom:14px;
  }
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(1.8rem, 3vw, 2.5rem); line-height:1.15;}
  .section-head p{margin-top:16px; font-size:16.5px; line-height:1.7; color:var(--ink-soft);}

  /* ---------- Friction strip ---------- */
  .friction{background:var(--paper); padding:100px 0 40px;}
  .friction-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .friction-item{padding:34px 26px; border-right:1px solid var(--line);}
  .friction-item:last-child{border-right:none;}
  .friction-item .before{font-size:13px; color:#b3564a; font-weight:600; margin-bottom:10px;}
  .friction-item .before::before{content:'✕ '; }
  .friction-item p{font-size:14.5px; color:var(--ink-soft); line-height:1.6; margin:0;}
  @media (max-width:900px){
    .friction-grid{grid-template-columns:repeat(2,1fr);}
    .friction-item:nth-child(2){border-right:none;}
  }

  /* ---------- Tap Zones (signature interactive grid) ---------- */
  .zones{background:var(--paper); padding:60px 0 120px;}
  .zone-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px;}
  .zone-card{
    position:relative; overflow:hidden;
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
    padding:26px 20px 24px; cursor:pointer;
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .zone-card:hover{transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent;}
  .zone-card .icon{
    width:46px; height:46px; border-radius:12px; background:var(--paper-2);
    display:flex; align-items:center; justify-content:center; margin-bottom:18px;
    transition:background .35s ease;
  }
  .zone-card:hover .icon{background:var(--navy);}
  .zone-card .icon svg{width:22px; height:22px; stroke:var(--teal-deep); transition:stroke .35s ease;}
  .zone-card:hover .icon svg{stroke:var(--teal-bright);}
  .zone-card h3{font-size:16.5px; margin-bottom:8px;}
  .zone-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin:0;}
  .zone-card .ripple{
    position:absolute; border-radius:50%; background:radial-gradient(circle, rgba(31,184,168,0.35), transparent 70%);
    width:14px; height:14px; pointer-events:none; transform:translate(-50%,-50%) scale(0); opacity:0;
  }
  .zone-card.rippling .ripple{animation:zoneRipple .7s ease-out;}
  @keyframes zoneRipple{
    0%{transform:translate(-50%,-50%) scale(0); opacity:.55;}
    100%{transform:translate(-50%,-50%) scale(40); opacity:0;}
  }
  .zones-note{
    margin-top:28px; font-size:14px; color:var(--ink-soft); display:flex; align-items:center; gap:10px;
  }
  .zones-note svg{width:16px; height:16px; stroke:var(--teal-deep); flex-shrink:0;}

  @media (max-width:1000px){
    .zone-grid{grid-template-columns:repeat(3,1fr);}
  }
  @media (max-width:640px){
    .zone-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ---------- How it works ---------- */
  .process{background:var(--navy); color:var(--white); padding:120px 0;}
  .process .kicker{color:var(--teal-bright);}
  .process .section-head p{color:rgba(255,255,255,0.65);}
  .process .section-head h2{color:var(--white);}
  .steps{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:step;}
  .step{
    background:rgba(255,255,255,0.04); border:1px solid var(--line-dark); border-radius:var(--radius);
    padding:32px 28px; counter-increment:step;
  }
  .step .num{
    font-family:'Space Grotesk'; font-size:14px; color:var(--teal-bright);
    display:flex; align-items:center; gap:10px; margin-bottom:18px;
  }
  .step .num::before{content:"0" counter(step); font-size:13px;}
  .step .num::after{content:''; height:1px; flex:1; background:var(--line-dark);}
  .step h3{color:var(--white); font-size:19px; margin-bottom:10px;}
  .step p{font-size:14.5px; line-height:1.65; color:rgba(255,255,255,0.6); margin:0;}
  @media (max-width:900px){.steps{grid-template-columns:1fr;}}

  /* ---------- Industries ---------- */
  .industries{background:var(--paper); padding:120px 0;}
  .industry-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  .industry-card{
    border-radius:var(--radius); padding:30px 24px; background:var(--paper-2);
    border:1px solid var(--line);
  }
  .industry-card svg{width:26px; height:26px; stroke:var(--teal-deep); margin-bottom:20px;}
  .industry-card h3{font-size:16.5px; margin-bottom:10px;}
  .industry-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.6; margin:0;}
  @media (max-width:900px){.industry-grid{grid-template-columns:repeat(2,1fr);}}

  /* ---------- Reliability / proof ---------- */
  .proof{background:var(--white); padding:120px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .proof .wrap{display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center;}
  .proof-visual{
    background:var(--navy); border-radius:24px; padding:38px; color:var(--white);
    position:relative; overflow:hidden;
  }
  .proof-visual::after{
    content:''; position:absolute; width:260px; height:260px; border-radius:50%;
    background:radial-gradient(circle, rgba(52,230,204,0.25), transparent 70%);
    top:-80px; right:-80px;
  }
  .proof-visual .loc{font-family:'JetBrains Mono'; font-size:13px; color:var(--teal-bright); margin-bottom:12px;}
  .proof-visual h3{color:var(--white); font-size:24px; line-height:1.3; margin-bottom:20px; position:relative;}
  .proof-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; position:relative;}
  .proof-list li{display:flex; gap:12px; font-size:14.5px; color:rgba(255,255,255,0.78); line-height:1.5;}
  .proof-list svg{width:18px; height:18px; stroke:var(--teal-bright); flex-shrink:0; margin-top:2px;}
  .proof-copy .stat-row{display:flex; gap:44px; margin-bottom:40px; flex-wrap:wrap;}
  .proof-copy .stat strong{font-family:'Space Grotesk'; font-size:32px; color:var(--navy); display:block;}
  .proof-copy .stat span{font-size:13px; color:var(--ink-soft);}
  .proof-copy p{font-size:16px; line-height:1.75; color:var(--ink-soft); margin-bottom:16px;}
  @media (max-width:900px){.proof .wrap{grid-template-columns:1fr;}}

  /* ---------- Examples of our work ---------- */
  .examples{background:var(--white); padding:120px 0; border-top:1px solid var(--line);}

  .examples-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .example-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; display:flex; flex-direction:column;
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .example-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
  .example-image{
    aspect-ratio:2/3; overflow:hidden; background:var(--paper-2);
  }
  .example-image img{width:100%; height:100%; object-fit:cover; display:block;}
  .example-caption{padding:22px 24px 26px;}
  .example-caption h3{font-size:17px; margin:0 0 8px;}
  .example-caption p{font-size:13.5px; line-height:1.6; color:var(--ink-soft); margin:0;}

  @media (max-width:900px){
    .examples-grid{grid-template-columns:1fr;}
  }

  /* ---------- CTA / Contact ---------- */
  .contact{background:var(--paper-2); padding:120px 0;}
  .contact-panel{
    background:var(--navy); border-radius:28px; padding:64px; color:var(--white);
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; position:relative; overflow:hidden;
  }
  .contact-panel::before{
    content:''; position:absolute; width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle, rgba(52,230,204,0.18), transparent 70%);
    bottom:-160px; left:-120px;
  }
  .contact-copy{position:relative;}
  .contact-copy h2{color:var(--white); font-size:clamp(1.7rem,3vw,2.3rem); line-height:1.2; margin-bottom:18px;}
  .contact-copy p{color:rgba(255,255,255,0.68); font-size:15.5px; line-height:1.7; max-width:420px;}
  .contact-info{list-style:none; margin:34px 0 0; padding:0; display:flex; flex-direction:column; gap:18px;}
  .contact-info li{display:flex; align-items:center; gap:14px; font-size:15px;}
  .contact-info svg{width:19px; height:19px; stroke:var(--teal-bright); flex-shrink:0;}
  .contact-info a{text-decoration:none; color:var(--white); font-weight:600;}
  .contact-info a:hover{color:var(--teal-bright);}
  .contact-info .label{display:block; font-size:11.5px; color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:2px;}

  .contact-form{
    position:relative; background:rgba(255,255,255,0.05); border:1px solid var(--line-dark);
    border-radius:20px; padding:32px;
  }
  .contact-form label{display:block; font-size:12.5px; color:rgba(255,255,255,0.6); margin-bottom:7px; font-weight:600;}
  .field{margin-bottom:18px;}
  .field input, .field select, .field textarea{
    width:100%; background:rgba(255,255,255,0.06); border:1px solid var(--line-dark);
    border-radius:10px; padding:12px 14px; color:var(--white); font-family:'Inter'; font-size:14.5px;
  }
  .field select option{
    background:var(--white); color:var(--navy);
  }
  .field input::placeholder, .field textarea::placeholder{color:rgba(255,255,255,0.35);}
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:2px solid var(--teal-bright); outline-offset:1px; background:rgba(255,255,255,0.09);
  }
  .field textarea{resize:vertical; min-height:88px;}
  .submit-btn{
    width:100%; background:var(--teal-bright); color:var(--navy-3); font-weight:700; font-size:15px;
    padding:14px; border:none; border-radius:10px; cursor:pointer; margin-top:6px;
    transition:background .25s ease, transform .2s ease;
  }
  .submit-btn:hover{background:#5cf0da; transform:translateY(-1px);}

  @media (max-width:900px){
    .contact-panel{grid-template-columns:1fr; padding:38px 26px;}
  }

  /* ---------- Footer ---------- */
  footer{background:var(--navy-3); color:rgba(255,255,255,0.6); padding:56px 0 30px;}
  .foot-top{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px; padding-bottom:36px; border-bottom:1px solid var(--line-dark);}
  .foot-brand{display:flex; align-items:center; gap:10px;}
  .foot-brand img{height:30px;}
  .foot-brand span{font-family:'Space Grotesk'; font-weight:600; color:var(--white); font-size:17px;}
  .foot-links{display:flex; gap:40px; flex-wrap:wrap;}
  .foot-links div h4{color:var(--white); font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:14px; font-family:'Space Grotesk';}
  .foot-links ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
  .foot-links a{color:rgba(255,255,255,0.6); text-decoration:none; font-size:14px;}
  .foot-links a:hover{color:var(--teal-bright);}
  .foot-bottom{display:flex; justify-content:space-between; padding-top:24px; font-size:13px; flex-wrap:wrap; gap:10px;}

  /* utility */
  .visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
  :focus-visible{outline:2px solid var(--teal-deep); outline-offset:2px;}