/* =========================================================
       Clean Storage – One fullscreen horizontal page (scroll →)
       Requested updates:
       1) Header: company name + Contacts button + mini table of contents
       2) More colors: keep gray base, add subtle section tints; buttons stay green
       4) Header navigation scrolls to slides (horizontal)
       ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400..800&family=Fira+Code&display=swap');
  :root{
      /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;     /* Base */
      --text:#212529;
      --muted:#6c757d;
      --border:#dee2e6;

      /* Neutral surfaces */
      --surface:#ffffff;

      /* Buttons (green) */
      --green:#22c55e;
      --green-2:#16a34a;
      --green-ring: rgba(34,197,94,0.28);

      /* Depth */
      --shadow-1: 0 1px 3px rgba(0,0,0,0.08);
      --shadow-2: 0 14px 34px rgba(0,0,0,0.10);

      --radius: 18px;
      --radius-lg: 26px;

      --focus: 0 0 0 3px rgba(73,80,87,0.22);

      --maxw: 1120px;

      /* Default section background (gray) */
      --bgA:#f1f3f5;
      --bgB:#eef2f6;

      /* Default subtle accent glow */
      --glow1: rgba(73,80,87,0.10);
      --glow2: rgba(34,197,94,0.06);
    }

    *{ box-sizing:border-box; }
    html, body{
      width:100%;
      height:100%;
      margin:0;
      padding:0;
      color: var(--text);
      background: var(--bgA);
    }

    /* Fullscreen + only X scroll */
    body{
      height:100vh;
      overflow-x:auto;
      overflow-y:hidden;
      scroll-behavior:smooth;
      -webkit-overflow-scrolling:touch;
      overscroll-behavior-y:none;
      font-family: var(--font-sans);
      scroll-snap-type: x mandatory;          /* nicer horizontal snapping */
      scroll-padding-left: 0px;
    }

    body::-webkit-scrollbar{ height:10px; }
    body::-webkit-scrollbar-track{ background: transparent; }
    body::-webkit-scrollbar-thumb{
      background: rgba(73,80,87,0.18);
      border-radius: 999px;
      border: 2px solid #f1f3f5;
    }

    .track{
      display:flex;
      width:800vw;
      height:100vh;
      position:relative;
    }

    section.slide{
      width:100vw;
      height:100vh;
      flex-shrink:0;
      position:relative;
      padding: clamp(16px, 3.2vw, 56px);
      display:grid;
      place-items:center;
      outline:none;
      scroll-snap-align: start;
      isolation:isolate;
    }

    /* Per-slide theme vars (gray base + tasteful tint) */
    .theme-grayblue{ --bgA:#f1f3f5; --bgB:#e9f0f8; --glow1: rgba(73,80,87,0.10); --glow2: rgba(37,99,235,0.07); }
    .theme-graygreen{ --bgA:#f1f3f5; --bgB:#edf7f0; --glow1: rgba(73,80,87,0.10); --glow2: rgba(34,197,94,0.08); }
    .theme-grayviolet{ --bgA:#f1f3f5; --bgB:#f1edff; --glow1: rgba(73,80,87,0.10); --glow2: rgba(124,58,237,0.07); }
    .theme-grayamber{ --bgA:#f1f3f5; --bgB:#fff4e6; --glow1: rgba(73,80,87,0.10); --glow2: rgba(245,158,11,0.07); }

    /* Background lighting uses the per-slide vars */
    section.slide::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(1200px 680px at 18% 28%, var(--glow1), transparent 62%),
        radial-gradient(1000px 720px at 84% 72%, var(--glow2), transparent 60%),
        linear-gradient(180deg, var(--bgA), var(--bgB));
      pointer-events:none;
      z-index:-1;
    }

    .inner{
      width:min(var(--maxw), 92vw);
      margin:0 auto;
      position:relative;
      z-index:1;
    }

    /* Typography */
    h1, h2, h3{
      font-family: var(--font-sans);
      letter-spacing:-0.02em;
      line-height:1.08;
      margin:0 0 12px;
      color:var(--text);
    }
    h1{ font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 900; }
    h2{ font-size: clamp(1.6rem, 3.25vw, 2.5rem); font-weight: 850; }
    h3{ font-size: 1.12rem; font-weight: 850; margin: 0 0 8px; }

    p{
      margin:0 0 12px;
      color:var(--muted);
      font-size: clamp(1rem, 1.35vw, 1.12rem);
      line-height:1.7;
    }
    .lead{
      color: var(--text);
      font-size: clamp(1.06rem, 1.55vw, 1.24rem);
      line-height:1.75;
      margin-top: 8px;
    }

    /* Kicker */
    .kicker{
      display:inline-flex;
      align-items:center;
      gap:10px;
      font-family: var(--font-sans);
      font-weight: 850;
      color: #495057;
      font-size: 0.92rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .kicker .dot{
      width:8px;height:8px;border-radius:50%;
      background: var(--green);
      box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
    }

    /* Cards */
    .card{
      background:var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-2);
      padding: clamp(16px, 2.7vw, 32px);
      position:relative;
      overflow:hidden;
    }
    .card::after{
      content:"";
      position:absolute;
      inset:auto -56px -100px auto;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: rgba(34,197,94,0.07);
      transform: rotate(18deg);
      pointer-events:none;
    }

    .grid-2{
      display:grid;
      grid-template-columns: 1.18fr 0.82fr;
      gap: clamp(24px, 4vw, 64px);
      align-items: center;
    }
    .split{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(12px, 2.2vw, 22px);
    }

    /* Bullets */
    .bullets{
      margin: 14px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }
    .bullets li{
      display:flex;
      gap: 10px;
      align-items:flex-start;
      padding: 12px 12px;
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: var(--shadow-1);
      background: #fff;
    }
    .bullets b{
      font-family: var(--font-sans);
      color: var(--text);
    }

    /* Features */
    .features{
      font-family: inherit;
      color: var(--text);
    }
    .feature{
      border:1px solid var(--border);
      border-radius: 16px;
      background: var(--surface);
      box-shadow: var(--shadow-1);
      padding: 14px 14px 12px;
      margin-bottom: 12px;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
      will-change: transform;
    }
    .feature:hover{
      transform: translateY(-2px);
      border-color: #cfd4da;
      box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    }
    .feature-title{
      display:flex;
      align-items:center;
      gap:10px;
      font-weight: 850;
      font-size: 0.98rem;
      margin-bottom: 6px;
      color: var(--text);
    }
    .feature-desc{
      margin:0;
      color: var(--muted);
      font-size: 0.92rem;
      line-height:1.55;
      font-family: inherit;
    }

    .proof{
      margin-top: 14px;
      border: 1px dashed #d6dbe0;
      border-radius: 16px;
      padding: 12px 14px;
      background: linear-gradient(180deg, #fff, #fbfbfc);
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 0.9rem;
      line-height: 1.6;
    }
    .proof strong{
      color: var(--text);
      font-family: var(--font-sans);
      letter-spacing:-0.01em;
    }

    /* Icons */
    .icon{ width: 18px; height:18px; color: #495057; flex: 0 0 auto; }

    /* Corner hint */
    .corner-hint{
      position:absolute;
      right: 18px;
      bottom: 18px;
      z-index:2;
      font-family: var(--font-sans);
      color: var(--muted);
      font-size: 0.95rem;
      user-select:none;
    }
    .corner-hint span{ color: var(--green-2); font-weight: 900; }

    /* =========================================================
       HEADER (cleaned up)
       - Company name (left)
       - Mini TOC (center)
       - Contacts button + green CTA (right)
       ========================================================= */
    .topbar{
      position: fixed;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      width: min(1220px, calc(100vw - 28px));
      z-index: 30;
      display:flex;
      align-items:center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(222,226,230,0.92);
      border-radius: 999px;
      background: rgba(255,255,255,0.88);
      box-shadow: var(--shadow-1);
      backdrop-filter: blur(10px);
    }

    .brand{
      display:flex;
      align-items:center;
      gap: 10px;
      min-width: 0;
    }
    .logo{
      width: 34px; height: 34px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow-1);
      display:grid;
      place-items:center;
      color: var(--green-2);
      flex: 0 0 auto;
    }
    .brand .company{
      font-family: var(--font-sans);
      font-weight: 900;
      letter-spacing:-0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .brand .sub{
      font-family: var(--font-mono);
      color: var(--muted);
      font-size: 0.84rem;
      margin-left: 2px;
      white-space: nowrap;
    }

    .toc{
      display:flex;
      gap: 10px;
      align-items:center;
      padding: 6px 10px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background:#fff;
      box-shadow: var(--shadow-1);
      min-width: 0;
    }
    .toc a{
      font-family: var(--font-sans);
      font-weight: 800;
      font-size: 0.92rem;
      color: #495057;
      text-decoration:none;
      padding: 8px 10px;
      border-radius: 999px;
      transition: background 160ms ease, color 160ms ease;
      white-space: nowrap;
    }
    .toc a:hover{ background: rgba(34,197,94,0.10); color: #1f2937; }
    .toc a[aria-current="true"]{
      background: rgba(34,197,94,0.16);
      color: #0f172a;
    }
    .toc a:focus-visible{ outline:none; box-shadow: var(--focus); }

    .actions{
      display:flex;
      gap:10px;
      align-items:center;
    }

    /* Buttons */
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap: 10px;
      min-height: 46px;
      padding: 12px 16px;
      border-radius: 14px;
      border: 1px solid rgba(0,0,0,0.05);
      background: linear-gradient(180deg, var(--green), var(--green-2));
      color: #ffffff;
      box-shadow: 0 12px 26px rgba(34,197,94,0.22);
      cursor:pointer;
      font-family: var(--font-sans);
      font-weight: 900;
      transition: transform 180ms ease, filter 180ms ease;
      text-decoration:none;
      user-select:none;
    }
    .btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
    .btn:active{ transform: translateY(0px); filter: brightness(0.98); }
    .btn:focus-visible{ outline:none; box-shadow: var(--green-ring), 0 12px 26px rgba(34,197,94,0.22); }

    .btn-ghost{
      background: #fff;
      color: var(--text);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-1);
    }
    
    /* Header contacts button (green) */
    .btn-contact{
      color: var(--green);
      border-color: rgba(34,197,94,.55);
      background: rgba(34,197,94,.08);
    }
    .btn-contact:hover{
      background: rgba(34,197,94,.14);
      border-color: rgba(34,197,94,.75);
    }

    /* Footer links */
    .footer{
      display:flex;
      justify-content:center;
      align-items:center;
      gap:10px;
      text-align:center;
      flex-wrap:wrap;
    }
    .footer a{
      color: var(--green);
      text-decoration:none;
      border-bottom:1px solid rgba(34,197,94,.35);
      padding-bottom:2px;
    }
    .footer a:hover{
      border-bottom-color: rgba(34,197,94,.75);
    }
.btn-ghost:hover{ filter:none; }

    /* Progress dots */
    .progress{
      position: fixed;
      left: 50%;
      bottom: 16px;
      transform: translateX(-50%);
      z-index: 25;
      display:flex;
      gap: 10px;
      padding: 8px 10px;
      border: 1px solid rgba(222,226,230,0.92);
      border-radius: 999px;
      background: rgba(255,255,255,0.88);
      box-shadow: var(--shadow-1);
      backdrop-filter: blur(10px);
    }
    .p-dot{
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: #fff;
      cursor: pointer;
      transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    }
    .p-dot[aria-current="true"]{
      background: var(--green);
      border-color: var(--green-2);
      transform: scale(1.18);
    }
    .p-dot:focus-visible{ outline:none; box-shadow: var(--focus); }

    /* Slide 2 phone visual */
    .phone{
      width: min(300px, 74vw);
      aspect-ratio: 9/19.5;
      border-radius: 34px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, #ffffff, #f1f3f5);
      box-shadow: var(--shadow-2);
      position: relative;
      overflow: hidden;
    }
    .phone::before{
      content:"";
      position:absolute;
      top: 10px; left: 50%;
      transform: translateX(-50%);
      width: 44%;
      height: 10px;
      border-radius: 999px;
      background: #e9ecef;
      border: 1px solid var(--border);
    }
    .phone::after{
      content:"";
      position:absolute;
      inset:auto -80px -90px auto;
      width: 260px; height: 260px;
      border-radius: 50%;
      background: rgba(34,197,94,0.10);
      pointer-events:none;
    }
    .phone-screen{
      position:absolute;
      inset: 18px 14px 14px;
      border-radius: 26px;
      background: #fff;
      border: 1px solid var(--border);
      display:grid;
      gap: 12px;
      padding: 14px;
      align-content: start;
    }

    /* Phone screenshot variant */
    .phone-shot .phone-screen{
      padding: 0;
      display:block;
      overflow: hidden;
    }
    .phone-shot .phone-screen img{
      width:100%;
      height:100%;
      display:block;
      object-fit: cover;
    }

    .mini-stat{
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 12px 12px;
      background: linear-gradient(180deg, #fff, #fbfbfc);
      box-shadow: var(--shadow-1);
      display:flex;
      align-items:center;
      justify-content: space-between;
      font-family: var(--font-sans);
      font-size: 0.88rem;
      color: var(--muted);
    }
    .mini-stat b{ color: var(--text); letter-spacing:-0.01em; }
    .meter{
      height: 8px;
      border-radius: 999px;
      background: #e9ecef;
      border: 1px solid var(--border);
      overflow:hidden;
      margin-top: 8px;
    }
    .meter > span{
      display:block;
      height: 100%;
      width: 58%;
      background: linear-gradient(90deg, rgba(34,197,94,0.55), rgba(34,197,94,0.88));
    }

    /* Slide 5 flow */
    .flow{
      display:flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: center;
      margin-top: 14px;
    }
    .pill{
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow-1);
      border-radius: 999px;
      padding: 10px 14px;
      min-height: 46px;
      display:inline-flex;
      align-items:center;
      font-family: var(--font-sans);
      color: var(--text);
      font-size: 0.95rem;
      white-space: nowrap;
    }
    .arrow{ color: var(--muted); font-family: var(--font-sans); font-weight: 900; user-select:none; padding: 0 4px; }

    /* Slide 6 badge */
    .lock-row{
      display:grid;
      grid-template-columns: auto 1fr;
      gap: 14px;
      align-items:center;
      margin-top: 16px;
    }
    .badge{
      width: 64px; height:64px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow-1);
      display:grid;
      place-items:center;
      color: var(--green-2);
    }
    .mono-note{ font-family: var(--font-sans); color: var(--muted); margin:0; font-size: 0.92rem; }

    .footer{
      position:absolute;
      left:0; right:0;
      bottom: 14px;
      text-align:center;
      color: var(--muted);
      font-size: 0.9rem;
      padding: 0 16px;
      z-index: 2;
    }

    /* Reveal */
    .reveal{
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 560ms ease, transform 560ms ease;
    }
    .reveal.is-visible{
      opacity: 1;
      transform: translateY(0);
    }

    /* Modal */
    .modal-overlay{
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.7);
      display:none;
      align-items:center;
      justify-content:center;
      z-index: 60;
      padding: 18px;
    }
    .modal-overlay.is-open{ display:flex; }

    .modal{
      width: min(760px, 94vw);
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      box-shadow: var(--shadow-2);
      padding: 18px;
      transform: translateY(10px);
      opacity: 0;
      animation: modalIn 220ms ease forwards;
      position: relative;
      overflow:hidden;
    }
    .modal::after{
      content:"";
      position:absolute;
      inset:auto -60px -70px auto;
      width: 280px; height: 280px;
      border-radius: 50%;
      background: rgba(34,197,94,0.08);
      pointer-events:none;
    }
    @keyframes modalIn{ to { transform: translateY(0); opacity: 1; } }

    .modal-header{
      display:flex;
      align-items:flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
    }
    .modal-title{
      font-family: var(--font-sans);
      font-weight: 900;
      margin:0;
      color: var(--text);
      font-size: 1.35rem;
    }
    .modal-body{
      color: var(--muted);
      line-height: 1.7;
      margin: 0 0 14px;
      white-space: pre-line;
      position: relative;
      z-index: 1;
    }
    .close-x{
      width: 46px;
      height: 46px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow-1);
      display:grid;
      place-items:center;
      cursor:pointer;
      transition: transform 180ms ease;
      position: relative;
      z-index: 1;
      color: var(--text);
    }
    .close-x:hover{ transform: translateY(-1px); }
    .close-x:focus-visible{ outline:none; box-shadow: var(--focus); }

    /* Responsive */
    @media (max-width: 980px){
      .grid-2{ grid-template-columns: 1fr; }
      .toc{ display:none; } /* avoid clutter */
      .brand .sub{ display:none; }
    }
    @media (max-width: 720px){
      .split{ grid-template-columns: 1fr; }
      .topbar{ top: 10px; }
      .progress{ bottom: 12px; }
      .corner-hint{ right: 14px; bottom: 12px; }
    }

    @media (prefers-reduced-motion: reduce){
      body{ scroll-behavior: auto; }
      .reveal{ transition:none; }
      .btn, .feature, .p-dot{ transition:none; }
      .modal{ animation:none; opacity:1; transform:none; }
    }