  :root{
    --paper:#e9dec7;
    --paper-card:#f5eedd;
    --ink:#1c2b36;
    --ink-soft:#4a5a66;
    --line:#c9b896;
    --orange:#e2571c;
    --orange-dark:#b8420f;
    --red:#a13228;
    --yellow:#f0b429;
    --green-brand:#3ecf4c;
    --green-brand-dark:#1f7a2b;
    --blue-brand:#3fc6ff;
    --blue-brand-dark:#0f6fa8;
    --dark-panel:#16232b;
    --dark-panel-2:#0f1a20;
  }
  *{box-sizing:border-box;}
  img, svg{ max-width:100%; height:auto; }
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'IBM Plex Sans', sans-serif;
    line-height:1.55;
    overflow-x:hidden;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(28,43,54,0.07) 1px, transparent 0);
    background-size: 22px 22px;
  }
  .mono{ font-family:'IBM Plex Mono', 'Consolas', 'Courier New', monospace; }
  .display{ font-family:'Bebas Neue', sans-serif; letter-spacing:0.02em; }
  a{ color:inherit; }
  .wrap{ max-width:1080px; margin:0 auto; padding:0 24px; }

  /* NAV */
  nav{
    position:sticky; top:0; z-index:50;
    background:rgba(233,222,199,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; flex-wrap:wrap; gap:12px; }
  .nav-badges{ display:flex; gap:10px; flex-wrap:wrap; }
  .nav-badge{
    display:flex; align-items:center; gap:8px;
    text-decoration:none; color:var(--ink);
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:12px; font-weight:600;
    padding:6px 12px 6px 6px; border:1px solid var(--line); border-radius:999px;
    background:var(--paper-card);
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .nav-badge:hover{ transform:translateY(-1px); box-shadow:0 3px 0 var(--line); }
  .nav-badge img{ width:28px; height:28px; border-radius:50%; display:block; object-fit:cover; }
  .nav-cta{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:12px; font-weight:600;
    color:var(--paper); background:var(--ink); padding:8px 14px; border-radius:6px; text-decoration:none;
    white-space:nowrap;
  }

  /* HERO */
  header.hero{ padding:76px 0 0; }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:12px; letter-spacing:0.14em;
    text-transform:uppercase; color:var(--orange-dark); font-weight:600;
    border:1px solid var(--orange); padding:5px 10px; border-radius:4px;
    background:rgba(226,87,28,0.08);
  }
  .eyebrow::before{ content:"●"; color:var(--orange); font-size:8px; }
  h1.display{
    font-size:clamp(44px, 8vw, 92px);
    line-height:0.96;
    margin:22px 0 18px;
    color:var(--ink);
  }
  h1.display .accent{ color:var(--orange); }
  .hero-sub{
    max-width:640px; font-size:19px; color:var(--ink-soft); margin:0 0 34px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-weight:600; font-size:14px;
    padding:13px 22px; border-radius:6px; text-decoration:none;
    border:1.5px solid var(--ink); transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-solid{ background:var(--ink); color:var(--paper); }
  .btn-solid:hover{ transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--orange); }
  .btn-ghost{ background:transparent; color:var(--ink); }
  .btn-ghost:hover{ transform:translate(-2px,-2px); box-shadow:4px 4px 0 var(--ink); }

  /* form-strip mimicking permit header block */
  .form-strip{
    border:1.5px solid var(--ink); border-radius:8px; background:var(--paper-card);
    display:grid; grid-template-columns:repeat(4,1fr);
    margin-bottom:-1px;
  }
  .form-field{
    padding:16px 18px; border-right:1.5px dashed var(--line);
  }
  .form-field:last-child{ border-right:none; }
  .form-field .k{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:11px; text-transform:uppercase;
    letter-spacing:0.08em; color:var(--ink-soft); display:block; margin-bottom:6px;
  }
  .form-field .v{ font-weight:600; font-size:15px; }
  @media (max-width:760px){
    .form-strip{ grid-template-columns:1fr 1fr; }
    .form-field{ border-bottom:1.5px dashed var(--line); }
  }

  section{ padding:88px 0; }
  .section-head{ max-width:640px; margin-bottom:44px; }
  .section-head .eyebrow{ margin-bottom:16px; }
  h2.display{ font-size:clamp(32px,5vw,52px); margin:0 0 12px; line-height:1; }
  .section-head p{ color:var(--ink-soft); font-size:17px; margin:0; }

  /* PRODUCT CARDS */
  .card{
    position:relative;
    background:var(--paper-card);
    border:1.5px solid var(--ink);
    border-radius:14px;
    padding:40px;
    display:grid; grid-template-columns:220px 1fr; gap:36px;
    align-items:start;
  }
  .card + .card{ margin-top:0; }
  .card.stroy{ border-top:6px solid var(--green-brand-dark); }
  .card.ozhr{ border-top:6px solid var(--blue-brand-dark); }
  @media (max-width:820px){ .card{ grid-template-columns:1fr; } }

  .card-media{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
  .card-logo{
    width:96px; height:96px; border-radius:50%; object-fit:cover;
    border:3px solid var(--ink);
  }
  .stamp{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:11px; font-weight:700;
    letter-spacing:0.08em; text-transform:uppercase;
    border:2px solid; border-radius:999px; padding:6px 12px;
    transform:rotate(-6deg);
  }
  .card.stroy .stamp{ color:var(--green-brand-dark); border-color:var(--green-brand-dark); }
  .card.ozhr .stamp{ color:var(--blue-brand-dark); border-color:var(--blue-brand-dark); }

  .card h3.display{ font-size:44px; margin:0 0 4px; line-height:0.95; }
  .card .tagline{ font-size:17px; font-weight:600; color:var(--ink-soft); margin:0 0 18px; }
  .card .problem{ font-size:15px; color:var(--ink-soft); margin:0 0 22px; padding-left:14px; border-left:2px solid var(--line); }
  .steps{ list-style:none; margin:0 0 26px; padding:0; display:grid; gap:10px; }
  .steps li{
    display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:baseline;
    font-size:15px;
  }
  .steps .tag{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:11px; font-weight:700;
    padding:3px 7px; border-radius:4px; color:var(--paper); white-space:nowrap;
  }
  .card.stroy .steps .tag{ background:var(--green-brand-dark); }
  .card.ozhr .steps .tag{ background:var(--blue-brand-dark); }
  .card .note{
    font-size:13px; color:var(--ink-soft); background:rgba(28,43,54,0.05);
    border-radius:6px; padding:10px 14px; margin-bottom:24px;
  }
  .card .btn-solid{ }
  .card.stroy .btn-solid{ background:var(--green-brand-dark); border-color:var(--green-brand-dark); }
  .card.stroy .btn-solid:hover{ box-shadow:4px 4px 0 var(--yellow); }
  .card.ozhr .btn-solid{ background:var(--blue-brand-dark); border-color:var(--blue-brand-dark); }
  .card.ozhr .btn-solid:hover{ box-shadow:4px 4px 0 var(--orange); }

  /* perforated tear divider */
  .tear{
    display:flex; align-items:center; gap:6px; margin:0; padding:26px 0;
  }
  .tear::before, .tear::after{
    content:""; flex:1; border-top:2px dashed var(--line);
  }
  .tear span{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:11px; color:var(--ink-soft);
    display:flex; align-items:center; gap:8px; white-space:nowrap;
  }
  .scissors{ font-size:13px; }

  /* COMPARE TABLE */
  .compare-wrapper{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .compare{ width:100%; border-collapse:collapse; font-size:15px; background:var(--paper-card); border:1.5px solid var(--ink); border-radius:10px; overflow:hidden; min-width:500px; }
  .compare th, .compare td{ padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; }
  .compare th{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em;
    background:var(--ink); color:var(--paper);
  }
  .compare th:not(:first-child), .compare td:not(:first-child){ text-align:center; width:170px; }
  .compare tr:last-child td{ border-bottom:none; }
  .yes{ color:var(--green-brand-dark); font-weight:700; }
  .dash{ color:var(--ink-soft); opacity:0.5; }

  /* FAQ ACCORDION */
  .faq-list{ display:flex; flex-direction:column; gap:12px; }
  .faq-item{
    background:var(--paper-card);
    border:1.5px solid var(--ink);
    border-radius:10px;
    padding:0;
    transition:box-shadow .15s ease;
  }
  .faq-item:hover{ box-shadow:0 2px 0 var(--line); }
  .faq-item summary{
    font-family:'IBM Plex Sans', sans-serif;
    font-size:17px;
    font-weight:600;
    color:var(--ink);
    padding:18px 24px;
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item summary::after{
    content:"＋";
    font-size:20px;
    font-weight:400;
    color:var(--orange);
    flex-shrink:0;
    transition:transform .2s ease;
  }
  .faq-item[open] summary::after{
    content:"−";
  }
  .faq-answer{
    font-size:15px;
    line-height:1.6;
    color:var(--ink-soft);
    padding:0 24px 18px 24px;
    border-top:1px dashed var(--line);
    margin-top:-1px;
    padding-top:16px;
  }

  /* LEGAL STAMP CALLOUT */
  .legal-box{
    border:1.5px dashed var(--red); border-radius:10px; padding:28px 30px;
    background:rgba(161,50,40,0.05); position:relative;
    display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:flex-start;
  }
  .legal-box .icon{
    font-family:'IBM Plex Mono', 'Consolas', monospace; font-weight:700; font-size:12px;
    color:var(--red); border:2px solid var(--red); border-radius:50%;
    width:46px; height:46px; display:flex; align-items:center; justify-content:center;
    transform:rotate(-8deg); flex-shrink:0;
  }
  .legal-box p{ margin:0 0 10px; font-size:15px; color:var(--ink); }
  .legal-box p:last-child{ margin-bottom:0; }
  @media (max-width:600px){ .legal-box{ grid-template-columns:1fr; } }

  /* FOOTER */
  footer{ background:var(--dark-panel); color:var(--paper); padding:56px 0 30px; }
  footer .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; }
  footer h4{ font-family:'IBM Plex Mono', 'Consolas', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.1em; color:var(--yellow); margin:0 0 14px; }
  footer a{ text-decoration:none; color:var(--paper); opacity:0.85; }
  footer a:hover{ opacity:1; text-decoration:underline; }
  footer .col{ min-width:180px; }
  footer .fine{ font-size:12px; opacity:0.55; margin-top:40px; border-top:1px solid rgba(245,238,221,0.15); padding-top:20px; }

  /* reveal on scroll */
  .reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  ::selection{ background:var(--orange); color:var(--paper); }
  :focus-visible{ outline:2.5px solid var(--orange); outline-offset:2px; }

  /* MOBILE ADAPTATION */
  @media (max-width:820px){
    .card{ grid-template-columns:1fr; padding:24px; }
    .card h3.display{ font-size:32px; }
    .card-media{ flex-direction:row; gap:16px; }
  }

  @media (max-width:640px){
    nav .wrap{ flex-direction:column; align-items:stretch; gap:10px; }
    .nav-badges{ flex-wrap:wrap; justify-content:center; }
    .nav-cta{ text-align:center; }

    h1.display{ font-size:clamp(32px, 10vw, 56px); }
    h2.display{ font-size:clamp(24px, 7vw, 40px); }

    .hero-actions{ flex-direction:column; }
    .btn{ width:100%; justify-content:center; }

    .form-strip{ grid-template-columns:1fr; }
    .form-field{ border-right:none; border-bottom:1px dashed var(--line); }
    .form-field:last-child{ border-bottom:none; }

    section{ padding:48px 0; }

    .compare-wrapper{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .compare{ min-width:500px; }

    .faq-item summary{ font-size:15px; padding:14px 16px; }
    .faq-answer{ padding:0 16px 14px 16px; font-size:14px; }

    footer .wrap{ flex-direction:column; gap:24px; }
    footer .col{ min-width:0; }
  }

  @media (max-width:480px){
    .wrap{ padding:0 16px; }
    .card{ padding:20px; }
    .card-logo{ width:72px; height:72px; }
    .card h3.display{ font-size:28px; }
    .card .tagline{ font-size:15px; }
    .card .problem{ font-size:14px; }
    .steps li{ font-size:14px; }
  }
