
  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0; background:var(--bg); color:var(--text);
    font-family:'Manrope',system-ui,sans-serif; line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{ max-width:100%; display:block; }
  a{ color:var(--accent); text-decoration:none; }
  a:hover{ text-decoration:underline; }
  :focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
  ul{ margin:0; padding:0; list-style:none; }
  p{ margin:0; }

  .container{ max-width:var(--wrap); margin-inline:auto; padding-inline:24px; }
  .visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

  h1,h2{ font-family:'Bebas Neue',cursive; font-weight:400; line-height:1.05; letter-spacing:.01em; margin:0; }
  h1{ font-size:clamp(1.9rem,4vw,3rem); }
  h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); }
  h3{ font-family:'Manrope',sans-serif; font-weight:700; font-size:1.05rem; margin:0; }

  .eyebrow{
    font-size:.76rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:var(--accent); display:inline-block; margin-bottom:10px;
  }

  .section{ padding:72px 0; border-top:1px solid var(--border); }
  .section-head{ max-width:560px; margin:0 auto 36px; text-align:center; }
  .section-head.left{ margin:0 0 30px; text-align:left; max-width:none; }
  .section-head p.desc{ color:var(--text-muted); margin-top:10px; font-size:.95rem; }

  blockquote{ margin:0; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
    padding:.75rem 1.4rem; border-radius:8px; border:1px solid transparent;
    font-family:'Manrope',sans-serif; font-weight:700; font-size:.85rem;
    cursor:pointer; text-decoration:none; transition:background .15s ease, border-color .15s ease, color .15s ease;
    white-space:nowrap;
  }
  .btn--primary{ background:var(--accent); color:#001220; }
  .btn--primary:hover{ background:#5cb8ff; text-decoration:none; }
  .btn--ghost{ background:transparent; border-color:var(--border); color:var(--text); }
  .btn--ghost:hover{ border-color:var(--accent); color:var(--accent); text-decoration:none; }
  .btn--sm{ padding:.55rem 1.05rem; font-size:.8rem; }

  /* Header / Nav */
  .site-header{ position:sticky; top:0; z-index:60; background:rgba(0,6,9,.9); border-bottom:1px solid var(--border); }
  .nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 24px; max-width:var(--wrap); margin-inline:auto; }
  .brand{ display:flex; align-items:center; gap:.55rem; font-family:'Bebas Neue',cursive; font-size:1.4rem; letter-spacing:.02em; color:var(--text); flex:none; }
  .brand:hover{ text-decoration:none; }
  .brand img{ height:clamp(28px,4vw,44px); width:auto; max-width:160px; display:block; }
  .brand .logo-mark{ width:28px; height:28px; flex:none; color:var(--accent); }

  .nav-links{ display:flex; align-items:center; gap:2px; }
  .nav-links > li{ position:relative; }
  .nav-link{ display:inline-flex; align-items:center; gap:4px; padding:.5rem .75rem; border-radius:8px; color:var(--text-muted); font-weight:600; font-size:.88rem; background:none; border:none; font-family:inherit; cursor:pointer; }
  .nav-link:hover, .nav-link:focus-visible{ color:var(--text); text-decoration:none; }
  .caret{ width:9px; height:9px; transition:transform .15s ease; }
  .dropdown.open .caret{ transform:rotate(180deg); }

  .dropdown-panel{
    position:absolute; top:calc(100% + 8px); left:0; min-width:160px;
    background:var(--panel); border:1px solid var(--border); border-radius:10px;
    padding:6px; display:none; flex-direction:column; gap:2px;
  }
  .dropdown.open .dropdown-panel{ display:flex; }
  .dropdown-panel a{ padding:.5rem .65rem; border-radius:6px; color:var(--text-muted); font-size:.86rem; }
  .dropdown-panel a:hover{ background:var(--bg); color:var(--text); text-decoration:none; }

  .nav-toggle{
    display:none; flex:none; width:38px; height:38px; border-radius:8px;
    border:1px solid var(--border); background:transparent; color:var(--text);
    align-items:center; justify-content:center; cursor:pointer;
  }

  @media (max-width:840px){
    .nav{ flex-wrap:wrap; }
    .brand{ margin-inline:auto; }
    .nav-toggle{ display:inline-flex; order:1; margin-left:auto; }
    .nav-links{
      order:3; width:100%; flex-direction:column; align-items:stretch; gap:2px;
      max-height:0; overflow:hidden; opacity:0; transition:max-height .2s ease, opacity .15s ease;
    }
    .nav-links.open{ max-height:420px; opacity:1; padding-top:8px; }
    .nav-link{ width:100%; justify-content:space-between; }
    .dropdown-panel{ position:static; padding:0 0 0 12px; }
  }

  /* Hero — 3:1 ratio from tablet up */
  .hero{
    position:relative; min-height:340px; display:flex; align-items:center;
    background-image:
      linear-gradient(to bottom, rgba(0,6,9,.6) 0%, rgba(0,6,9,.78) 100%),
      radial-gradient(ellipse 80% 100% at 50% 0%, rgba(58,167,255,.18), transparent 70%),
      url("../images/banner.jpg");
    background-repeat:no-repeat, no-repeat, no-repeat;
    background-size:cover, cover, cover;
    background-position:center, center, center;
  }
  @media (min-width:701px){
    .hero{ aspect-ratio:2/1; min-height:unset; }
  }
  .hero-inner{ position:relative; z-index:2; width:100%; max-width:600px; margin-inline:auto; padding:56px 24px; text-align:center; }
  .hero p.lead{ color:var(--text-muted); font-size:.95rem; max-width:440px; margin:10px auto 22px; }

  .search-form{
    display:flex; align-items:center; gap:6px; max-width:520px; margin:0 auto;
    background:var(--panel); border:1px solid var(--border); border-radius:10px; padding:6px 6px 6px 16px;
  }
  .search-form svg{ flex:none; width:16px; height:16px; color:var(--text-muted); }
  .search-form input{ flex:1; min-width:0; background:transparent; border:none; outline:none; color:var(--text); font-family:'Manrope',sans-serif; font-size:.92rem; padding:9px 4px; }
  .search-form input::placeholder{ color:var(--text-muted); }
  @media (max-width:520px){
    .search-form{ flex-wrap:wrap; border-radius:12px; padding:12px; }
    .search-form input{ width:100%; padding:6px 2px; }
    .search-form button{ width:100%; justify-content:center; }
  }

  /* Features */
  .feature-list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
  .feature-list li{ display:flex; gap:12px; align-items:flex-start; background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
  .feature-list .icon{ flex:none; width:20px; height:20px; color:var(--accent); margin-top:2px; }
  .feature-list h3{ margin-bottom:4px; font-size:.98rem; }
  .feature-list p{ color:var(--text-muted); font-size:.85rem; }

  /* Table */
  .table-wrap{ border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; overflow-x:auto; }
  table{ width:100%; border-collapse:collapse; min-width:440px; }
  caption{ caption-side:top; text-align:left; padding:14px 16px; font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color:var(--text-muted); background:var(--panel); }
  thead th{ background:var(--panel); font-size:.76rem; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); text-align:left; padding:12px 16px; border-top:1px solid var(--border); font-weight:700; }
  thead th.accent{ color:var(--accent); }
  tbody td, tbody th{ padding:12px 16px; border-top:1px solid var(--border); font-size:.88rem; }
  tbody th{ text-align:left; font-weight:600; color:var(--text-muted); }
  .yes{ color:var(--accent); font-weight:700; }
  .no{ color:var(--text-muted); }

  /* Testimonial */
  .testimonial-media{ text-align:center; margin-bottom:32px; }
  .testimonial-media img{ width:100%; max-width:180px; margin-inline:auto; }
  .quote-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
  blockquote{ background:var(--panel); border:1px solid var(--border); border-left:2px solid var(--accent); border-radius:0 var(--radius) var(--radius) 0; padding:20px; }
  blockquote p{ font-style:italic; font-size:.95rem; margin-bottom:10px; }
  blockquote footer{ font-size:.78rem; color:var(--text-muted); }

  /* Catalogue */
  .catalogue-layout{ display:grid; grid-template-columns:230px 1fr; gap:20px; align-items:start; }
  @media (max-width:840px){ .catalogue-layout{ grid-template-columns:1fr; } }
  .filter-panel{ background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:16px; }
  .filter-panel h3{ display:flex; align-items:center; gap:7px; text-transform:uppercase; font-size:.76rem; letter-spacing:.05em; color:var(--text-muted); margin-bottom:12px; }
  .filter-panel h3 svg{ width:15px; height:15px; color:var(--accent); }
  .check-row{ display:flex; align-items:center; gap:9px; padding:.4rem .1rem; font-size:.88rem; cursor:pointer; }
  .check-row input{ accent-color:var(--accent); width:15px; height:15px; flex:none; }

  .genre-panel{ background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
  .genre-panel__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
  .genre-panel__head h3{ display:flex; align-items:center; gap:7px; text-transform:uppercase; font-size:.8rem; letter-spacing:.04em; color:var(--text-muted); }
  .genre-panel__head h3 svg{ width:16px; height:16px; color:var(--accent); }
  #genreCount{ font-size:.78rem; color:var(--accent); }
  .genre-grid{ display:flex; flex-wrap:wrap; gap:7px; max-height:360px; overflow-y:auto; padding-right:4px; }
  .pill{ display:inline-flex; align-items:center; gap:6px; padding:.4rem .7rem; border-radius:7px; background:var(--bg); border:1px solid var(--border); font-size:.78rem; color:var(--text-muted); cursor:pointer; }
  .pill:hover{ border-color:var(--accent); }
  .pill input{ accent-color:var(--accent); width:13px; height:13px; }
  .pill.pill--active{ color:var(--text); border-color:var(--accent); }
  .genre-actions{ display:flex; justify-content:flex-end; margin-top:14px; }

  /* Articles */
  .article-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
  .post-card{ background:var(--panel); border:1px solid var(--border); border-radius:var(--radius); padding:18px; display:flex; flex-direction:column; gap:8px; }
  .post-card time{ font-size:.72rem; color:var(--accent); text-transform:uppercase; letter-spacing:.04em; }
  .post-card p{ color:var(--text-muted); font-size:.86rem; }
  .post-card a.readmore{ margin-top:auto; font-size:.8rem; font-weight:700; }
  .paste-zone{
    border:1px solid var(--border); border-radius:var(--radius);
    padding:clamp(20px,4vw,40px) clamp(20px,5vw,48px);
    margin-top:20px; color:var(--text);
    font-size:.97rem; line-height:1.82;
  }
  .paste-zone > p { margin:0 0 1rem; }
  .paste-zone h2 {
    font-family:'Bebas Neue',cursive; font-weight:400;
    font-size:clamp(1.35rem,2.4vw,1.85rem); color:var(--text);
    margin:2.2rem 0 .8rem; padding-bottom:.45rem;
    border-bottom:1px solid var(--border); line-height:1.1;
  }
  .paste-zone h3 { color:var(--text); margin:1.4rem 0 .5rem; font-size:1rem; }
  .paste-zone ul {
    list-style:none; padding:0; margin:0 0 1rem;
    display:flex; flex-direction:column; gap:.45rem;
  }
  .paste-zone ul li { padding-left:1.3rem; position:relative; }
  .paste-zone ul li::before { content:'–'; position:absolute; left:0; color:var(--accent); }
  .paste-zone strong { color:var(--text); }
  .paste-zone em, .paste-zone i { color:var(--text-muted); }
  .paste-zone code{ font-size:.78rem; background:var(--bg); padding:.1rem .35rem; border-radius:4px; }
  /* Image in paste-zone */
  .paste-zone figure {
    margin:1.6rem 0; border-radius:var(--radius); overflow:hidden;
  }
  .paste-zone figure img {
    width:100%; height:auto; display:block;
    border-radius:var(--radius); object-fit:cover;
  }
  .paste-zone figure figcaption {
    font-size:.76rem; color:var(--text-muted); padding:.55rem 0 0; font-style:italic;
  }
  @media (min-width:640px){
    .paste-zone figure.float-right {
      float:right; width:44%; margin:0 0 1.5rem 2rem;
    }
    .paste-zone figure.float-right::after { content:''; display:table; clear:both; }
  }
  .paste-zone::after { content:''; display:table; clear:both; }

  /* Footer */
  .site-footer{ border-top:1px solid var(--border); padding:56px 24px 28px; text-align:center; }
  .footer-logo{ width:clamp(100px,18vw,150px); height:auto; margin:0 auto 16px; }
  .footer-tagline{ color:var(--text-muted); max-width:400px; margin:0 auto 20px; font-size:.88rem; }
  .footer-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:18px; margin:0 0 20px; }
  .footer-links a{ color:var(--text-muted); font-size:.82rem; }
  .footer-links a:hover{ color:var(--accent); }
  .copyright{ font-size:.74rem; color:var(--text-muted); }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
    html{ scroll-behavior:auto; }
  }