  :root{
    --ink:#1B1815;
    --paper:#EFE8D8;
    --paper-dim:#E3DCC9;
    --charcoal:#171512;
    --charcoal-2:#211E19;
    --safelight:#FF5A36;
    --safelight-dim:#C7431F;
    --taupe:#9A8F7B;
    --line: rgba(239,232,216,0.14);
    --ok:#7FB07A;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    background:var(--charcoal);
    color:var(--paper);
    font-family:'Work Sans', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .display{ font-family:'Big Shoulders Display', sans-serif; text-transform:uppercase; letter-spacing:0.01em; }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{ color:inherit; }

  /* subtle sprocket texture background */
  .sprockets{
    position:fixed; top:0; bottom:0; width:26px; z-index:0; pointer-events:none;
    background-image: repeating-linear-gradient(to bottom, transparent 0 10px, var(--charcoal-2) 10px 24px);
    opacity:0.6;
  }
  .sprockets.left{ left:0; }
  .sprockets.right{ right:0; }
  .sprockets span{
    display:block; width:10px; height:10px; border-radius:2px; background:var(--charcoal);
    margin:7px auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
  }

  .wrap{ max-width:960px; margin:0 auto; padding:0 28px; position:relative; z-index:1; }

  header.top{ padding:34px 28px 0; display:flex; justify-content:space-between; align-items:center; max-width:960px; margin:0 auto; position:relative; z-index:1;}
  .brand{ display:flex; align-items:center; gap:10px; }
  .brand .dot{ width:11px; height:11px; border-radius:50%; background:var(--safelight); box-shadow:0 0 10px 2px rgba(255,90,54,0.7); }
  .brand-name{ font-size:22px; letter-spacing:0.04em; font-weight:700; }
  nav.top-nav{ display:flex; gap:26px; font-size:14px; color:var(--taupe); }
  nav.top-nav a:hover{ color:var(--paper); }

  .hero{ padding:64px 0 30px; }
  .eyebrow{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.18em; color:var(--safelight); text-transform:uppercase; margin-bottom:18px; }
  h1{ font-size:clamp(40px,7vw,74px); line-height:0.96; margin:0 0 20px; font-weight:800; }
  h1 em{ font-style:normal; color:var(--safelight); }
  .sub{ max-width:520px; color:var(--taupe); font-size:17px; line-height:1.55; margin-bottom:0; }

  /* ticket readout - signature element */
  .ticket{
    margin-top:40px;
    background:var(--paper);
    color:var(--ink);
    border-radius:2px;
    position:relative;
    display:flex;
    align-items:stretch;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  }
  .ticket::before,.ticket::after{
    content:""; position:absolute; top:50%; transform:translateY(-50%);
    width:26px; height:26px; border-radius:50%; background:var(--charcoal);
  }
  .ticket::before{ left:-13px; }
  .ticket::after{ right:-13px; }
  .ticket-seg{ flex:1; padding:22px 26px; }
  .ticket-seg + .ticket-seg{ border-left:2px dashed rgba(27,24,21,0.25); }
  .ticket-label{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--taupe); margin-bottom:6px; }
  .ticket-value{ font-family:'IBM Plex Mono', monospace; font-size:28px; font-weight:600; }
  .ticket-value.big-savings{ color:var(--safelight-dim); }

  /* tabs styled as ticket stubs */
  .tabs{ display:flex; gap:10px; margin-top:56px; flex-wrap:wrap; }
  .tab{
    font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:0.04em;
    padding:11px 18px; border-radius:2px; border:1px solid var(--line);
    background:transparent; color:var(--taupe); cursor:pointer; position:relative;
  }
  .tab:hover{ color:var(--paper); border-color:rgba(239,232,216,0.3); }
  .tab.active{ background:var(--paper); color:var(--ink); border-color:var(--paper); font-weight:600; }
  .tab .num{ opacity:0.6; margin-right:8px; }

  .panel{
    background:var(--charcoal-2);
    border:1px solid var(--line);
    border-radius:4px;
    margin-top:0;
    padding:36px;
  }
  .panel h2{ font-size:15px; margin:0 0 4px; font-weight:600; letter-spacing:0.01em; }
  .panel .desc{ color:var(--taupe); font-size:14px; margin:0 0 24px; line-height:1.5; }

  .dropzone{
    border:2px dashed rgba(239,232,216,0.28);
    border-radius:4px;
    padding:40px 20px;
    text-align:center;
    cursor:pointer;
    transition:border-color .15s, background .15s;
  }
  .dropzone:hover, .dropzone.drag{ border-color:var(--safelight); background:rgba(255,90,54,0.05); }
  .dropzone .dz-title{ font-size:16px; font-weight:600; margin-bottom:6px; }
  .dropzone .dz-sub{ color:var(--taupe); font-size:13px; }
  input[type=file]{ display:none; }

  .filelist{ margin-top:18px; display:flex; flex-direction:column; gap:8px; }
  .file-row{
    display:flex; align-items:center; justify-content:space-between;
    background:var(--charcoal); border:1px solid var(--line); border-radius:3px;
    padding:10px 14px; font-size:13px;
  }
  .file-row .fname{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:340px; }
  .file-row .fmeta{ color:var(--taupe); font-family:'IBM Plex Mono', monospace; font-size:12px; }
  .file-row button.remove{
    background:none; border:none; color:var(--taupe); cursor:pointer; font-size:16px; line-height:1; padding:0 4px;
  }
  .file-row button.remove:hover{ color:var(--safelight); }

  .controls-row{ display:flex; gap:24px; flex-wrap:wrap; margin-top:24px; }
  .field{ display:flex; flex-direction:column; gap:8px; min-width:180px; }
  .field label{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--taupe); }
  select, input[type=number], input[type=text]{
    background:var(--charcoal); border:1px solid var(--line); color:var(--paper);
    padding:9px 12px; border-radius:3px; font-family:'Work Sans',sans-serif; font-size:14px;
  }
  input[type=range]{ accent-color:var(--safelight); }
  .range-row{ display:flex; align-items:center; gap:12px; }
  .range-val{ font-family:'IBM Plex Mono', monospace; font-size:13px; min-width:42px; text-align:right; }

  .btn{
    margin-top:28px;
    display:inline-flex; align-items:center; gap:10px;
    background:var(--safelight); color:#1B1000; border:none;
    padding:14px 26px; font-size:14px; font-weight:600; letter-spacing:0.02em;
    border-radius:3px; cursor:pointer; font-family:'Work Sans',sans-serif;
  }
  .btn:hover{ background:#ff6f4a; }
  .btn:disabled{ background:var(--taupe); color:var(--charcoal); cursor:not-allowed; }
  .btn.secondary{ background:transparent; border:1px solid var(--line); color:var(--paper); }
  .btn.secondary:hover{ border-color:var(--safelight); color:var(--safelight); }

  .status{ margin-top:16px; font-family:'IBM Plex Mono', monospace; font-size:12.5px; color:var(--taupe); min-height:18px; }
  .status.ok{ color:var(--ok); }

  .compress-preview{ display:flex; gap:24px; margin-top:24px; flex-wrap:wrap; }
  .compress-preview img{ max-width:220px; max-height:220px; border-radius:3px; border:1px solid var(--line); }

  .out-list{ margin-top:20px; display:flex; flex-direction:column; gap:8px; }
  .out-row{
    display:flex; align-items:center; justify-content:space-between;
    background:var(--charcoal); border:1px solid var(--line); border-radius:3px; padding:10px 14px;
  }
  .out-row a{ color:var(--safelight); font-size:13px; font-weight:600; text-decoration:none; }
  .out-row a:hover{ text-decoration:underline; }

  footer{ margin-top:80px; padding:36px 28px 60px; border-top:1px solid var(--line); }
  footer .foot-inner{ max-width:960px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; color:var(--taupe); font-size:13px; }
  footer .foot-note{ max-width:420px; line-height:1.6; }

  .why-strip{ margin-top:70px; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden; }
  .why-cell{ background:var(--charcoal); padding:24px 22px; }
  .why-cell .n{ font-family:'IBM Plex Mono', monospace; color:var(--safelight); font-size:12px; margin-bottom:10px; }
  .why-cell h3{ font-size:16px; margin:0 0 8px; }
  .why-cell p{ color:var(--taupe); font-size:13.5px; line-height:1.5; margin:0; }

  @media (max-width:640px){
    .ticket{ flex-direction:column; }
    .ticket-seg + .ticket-seg{ border-left:none; border-top:2px dashed rgba(27,24,21,0.25); }
    .ticket::before, .ticket::after{ display:none; }
    .why-strip{ grid-template-columns:1fr; }
    .panel{ padding:24px; }
    .file-row .fname{ max-width:160px; }
  }
  :focus-visible{ outline:2px solid var(--safelight); outline-offset:2px; }

/* --- Added for multi-page site: nav, articles, breadcrumbs, faq --- */
nav.top-nav a.active{ color:var(--safelight); }
.crumbs{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--taupe); margin:26px 0 -10px; }
.crumbs a:hover{ color:var(--safelight); }
.crumbs span{ margin:0 6px; opacity:0.5; }

.intro{ max-width:640px; color:var(--taupe); font-size:16px; line-height:1.6; margin:14px 0 40px; }
.intro strong{ color:var(--paper); }

.howto{ margin-top:60px; }
.howto h2{ font-size:22px; margin-bottom:18px; }
.howto ol{ padding-left:22px; color:var(--taupe); line-height:1.8; font-size:15px; }
.howto ol li strong{ color:var(--paper); }

.faq{ margin-top:60px; }
.faq h2{ font-size:22px; margin-bottom:18px; }
.faq-item{ border-top:1px solid var(--line); padding:18px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-item h3{ font-size:15.5px; margin:0 0 8px; }
.faq-item p{ color:var(--taupe); font-size:14px; line-height:1.6; margin:0; }

.related{ margin-top:60px; display:flex; gap:14px; flex-wrap:wrap; }
.related a{
  border:1px solid var(--line); border-radius:3px; padding:10px 16px; font-size:13px;
  text-decoration:none; color:var(--paper); font-family:'IBM Plex Mono', monospace;
}
.related a:hover{ border-color:var(--safelight); color:var(--safelight); }

/* Article / blog pages */
.article-wrap{ max-width:680px; margin:0 auto; padding:0 28px 90px; position:relative; z-index:1; }
.article-wrap h1{ font-size:clamp(32px,5vw,48px); line-height:1.05; margin:18px 0 10px; }
.article-meta{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--taupe); margin-bottom:34px; }
.article-body p{ color:#DAD3C2; font-size:16px; line-height:1.75; margin:0 0 20px; }
.article-body h2{ font-size:22px; margin:40px 0 14px; }
.article-body ul, .article-body ol{ color:#DAD3C2; font-size:16px; line-height:1.75; padding-left:22px; margin-bottom:20px; }
.article-body li{ margin-bottom:8px; }
.article-cta{
  margin-top:44px; padding:22px 24px; background:var(--charcoal-2); border:1px solid var(--line); border-radius:4px;
}
.article-cta a{ color:var(--safelight); font-weight:600; text-decoration:none; }
.article-cta a:hover{ text-decoration:underline; }

.blog-grid{ display:flex; flex-direction:column; gap:14px; margin-top:20px; }
.blog-card{ border:1px solid var(--line); border-radius:4px; padding:20px 22px; text-decoration:none; color:var(--paper); display:block; }
.blog-card:hover{ border-color:var(--safelight); }
.blog-card h3{ margin:0 0 6px; font-size:17px; }
.blog-card p{ margin:0; color:var(--taupe); font-size:13.5px; }

/* Simple content pages (about/contact/privacy) */
.page-wrap{ max-width:680px; margin:0 auto; padding:60px 28px 90px; position:relative; z-index:1; }
.page-wrap h1{ font-size:clamp(30px,5vw,44px); margin-bottom:20px; }
.page-wrap p{ color:#DAD3C2; font-size:15.5px; line-height:1.75; margin-bottom:16px; }
.page-wrap h2{ font-size:19px; margin:30px 0 12px; }
