@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/host-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/host-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../../assets/fonts/host-grotesk-latin-800-normal.woff2") format("woff2");
}

:root{
    --ink:#111111;
    --muted:#5c5c5c;
    --line:#e9e9e9;
    --accent-a:#ffd23f;
    --accent-b:#f57b1a;
    --sidebar-w:340px;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    font-family:'Host Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    color:var(--ink);
    background:#fff;
  }

  /* ---------- Fixed sidebar ---------- */
  .sidebar{
    position:fixed;
    top:0; left:0;
    width:var(--sidebar-w);
    height:100vh;
    background:#0a0a0a;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    z-index:10;
  }
  .sidebar img{
    width: 100%;
    max-width: 220px;
  }

  /* ---------- Content ---------- */
  .content{
    margin-left:var(--sidebar-w);
    padding:64px 72px 90px;
    max-width:900px;
  }
  .app-head{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:28px;
  }
  .app-head h1{
    margin:0 0 6px;
    font-size:34px;
    font-weight:800;
    letter-spacing:-0.01em;
  }
  .app-head p{
    margin:0;
    font-size:18px;
    color:var(--muted);
  }
  .app-desc{
    font-size:16px;
    line-height:1.7;
    color:var(--muted);
    max-width:70ch;
  }
  .app-desc .modes span{ display:block; }

  h2.section-title{
    margin:48px 0 20px;
    font-size:20px;
    font-weight:800;
  }

  /* ---------- Carousel ---------- */
  .carousel{
    position:relative;
  }
  .carousel-track-wrap{
    overflow:hidden;
    border-radius:8px;
  }
  .carousel-track{
    display:flex;
    transition:transform .35s ease;
  }
  .slide{
    flex:0 0 100%;
    aspect-ratio:16/10;
    background:#f4f4f4;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:zoom-in;
    position:relative;
  }

  .slide img{
    width: 100%;
    height: auto;
  }

  .slide:focus-visible{ outline:2px solid var(--accent-b); outline-offset:-2px; }

  .carousel-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;height:38px;
    border-radius:50%;
    border:1px solid var(--line);
    background:#010101;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    color: #fff;
    font-size: 18px;
  }
  .carousel-arrow.prev{ left:-19px; }
  .carousel-arrow.next{ right:-19px; }
  .carousel-arrow:focus-visible{ outline:2px solid var(--accent-b); }

  .dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:18px;
  }
  .dot{
    width:8px;height:8px;
    border-radius:50%;
    background:#d8d8d8;
    border:none;
    cursor:pointer;
    padding:0;
  }
  .dot[aria-current="true"]{ background:var(--ink); width:20px; border-radius:5px; }

  /* ---------- CTA ---------- */
  a.cta{
    display:inline-block;
    margin-top:44px;
    background:var(--ink);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    font-size:15px;
    padding:16px 30px;
    border-radius:10px;
    transition:transform .15s ease, background .15s ease;
  }
  a.cta:hover{ background:#000; transform:translateY(-1px); }
  a.cta:focus-visible{ outline:2px solid var(--accent-b); outline-offset:2px; }

  /* ---------- Modal ---------- */
  .modal-backdrop{
    position:fixed; inset:0;
    background:rgba(8,8,8,.86);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:100;
    padding:40px;
  }
  .modal-backdrop.open{ display:flex; }
  .modal-img-wrap{
    position:relative;
    max-width:min(920px, 92vw);
    max-height:88vh;
    width:100%;
  }
  .modal-img-wrap .modal-slide{
    width:100%;
    aspect-ratio:16/10;
    background:#f4f4f4;
    border-radius:8px;
    display:flex;align-items:center;justify-content:center;
  }
  .modal-slide img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:8px;
  }
  .modal-close{
    position:absolute;
    top:-46px; right:0;
    background:transparent;
    border:none;
    color:#fff;
    font-size:30px;
    line-height:1;
    cursor:pointer;
  }
  .modal-close:focus-visible{ outline:2px solid var(--accent-b); }

  iframe{
    width: 100%;
  }

  /* ---------- Responsive ---------- */
  @media (max-width:820px){
    .sidebar{
      position:relative;
      width:100%;
      height:auto;
      padding:36px 0;
    }
    .content{ margin-left:0; padding:36px 24px 70px; }
    .app-head h1{ font-size:26px; }
  }