    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:          #161618;
      --bg2:         #1e1e21;
      --line:        #2e2e32;
      --line-dim:    #262629;
      --txt:         #e8e6e3;
      --txt-dim:     #a8a5a0;
      --txt-faint:   #666360;
      --accent:      #d4924f;
      --accent-lo:   #8a5e30;
      --warn:        #d96045;
      --content-max: 1120px;
      --tap-min:     44px;
      --radius-sm:   6px;
      --radius-md:   10px;
      --radius-lg:   14px;
      --font-sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                     'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans',
                     'Noto Sans CJK SC', 'Source Han Sans SC', 'Helvetica Neue',
                     Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
      --font-mono:   ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
                     'Cascadia Mono', 'Ubuntu Mono', 'Liberation Mono',
                     'DejaVu Sans Mono', 'Source Code Pro', monospace;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      overflow-x: hidden;
    }

    body {
      font-family: var(--font-sans);
      font-size: 14px;
      line-height: 1.62;
      background: var(--bg);
      color: var(--txt);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    code,
    pre,
    .ctab,
    .clang,
    .cpbtn {
      font-family: var(--font-mono);
    }


    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; height: auto; }
    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    /* ── Layout ── */
    .wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 28px; }

    /* ── Header ── */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
    }
    .hdr-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 0 28px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
      font-size: 13px;
      color: #fff;
      letter-spacing: -0.01em;
    }
    .logo img { height: 17px; width: auto; filter: brightness(0) invert(1); }
    .hdr-nav {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 12px;
      color: var(--txt-dim);
      min-width: 0;
    }
    .hdr-nav a { transition: color .15s; min-width: 0; }
    .hdr-nav a:hover { color: var(--txt); }
    .hdr-gh {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .hdr-nav a { min-height: 32px; display: inline-flex; align-items: center; }

    /* ── Hero ── */
    .hero {
      border-bottom: 1px solid var(--line);
    }
    .hero-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 52px 28px 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
      gap: 48px;
      align-items: start;
    }
    .hero-inner > * { min-width: 0; }

    .hero-eyebrow {
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .1em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    h1 {
      font-size: clamp(24px, 3.2vw, 36px);
      font-weight: 700;
      color: #fff;
      letter-spacing: -.025em;
      line-height: 1.25;
      margin-bottom: 16px;
    }
    .hero-desc {
      font-size: 13px;
      color: var(--txt-dim);
      max-width: 420px;
      line-height: 1.75;
      margin-bottom: 28px;
    }
    .hero-ctas {
      display: flex;
      align-items: center;
      gap: 18px;
      padding-bottom: 52px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent);
      color: #1a0e06;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      padding: 7px 15px;
      border-radius: 3px;
      letter-spacing: .01em;
      transition: background .15s;
      min-height: 34px;
    }
    .btn:hover { background: #d99960; }
    .btn-ghost {
      font-size: 12px;
      color: var(--txt-dim);
      border-bottom: 1px solid var(--txt-faint);
      padding-bottom: 1px;
      transition: color .15s, border-color .15s;
    }
    .btn-ghost:hover { color: var(--txt); border-color: var(--txt-dim); }
    .hero-preview-toggle { display: none; }

    /* Mock quota panel */
    .hero-mock {
      border: 1px solid var(--line);
      border-bottom: none;
      border-radius: 6px 6px 0 0;
      overflow: hidden;
      background: var(--bg2);
      box-shadow: 0 8px 32px rgba(0,0,0,.4);
    }
    .mock-titlebar {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 11px 16px;
      border-bottom: 1px solid var(--line);
      background: #19191c;
    }
    .tbar-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
    .tbar-dot:nth-child(1) { background: #ff5f57; }
    .tbar-dot:nth-child(2) { background: #febc2e; }
    .tbar-dot:nth-child(3) { background: #28c840; }
    .tbar-label {
      margin-left: 10px;
      font-size: 11.5px;
      color: var(--txt-faint);
      letter-spacing: 0.02em;
    }
    .mock-body { padding: 0; }
    .mock-row {
      display: grid;
      grid-template-columns: 158px 1fr 48px 76px;
      gap: 14px;
      align-items: center;
      padding: 11px 18px;
      border-bottom: 1px solid var(--line-dim);
      font-size: 13px;
      transition: background .12s;
    }
    .mock-row:hover { background: rgba(255,255,255,.03); }
    .mock-row:last-child { border-bottom: none; }
    .mock-name {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--txt-dim);
      overflow: hidden;
      white-space: nowrap;
    }
    .mock-name img {
      width: 20px;
      height: 20px;
      object-fit: contain;
      background: #fff;
      border-radius: 4px;
      padding: 2px;
      flex-shrink: 0;
    }
    .mock-name span {
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 13px;
      color: var(--txt);
    }
    .mock-track {
      height: 5px;
      background: rgba(255,255,255,.08);
      border-radius: 3px;
      overflow: hidden;
    }
    .mock-fill {
      height: 100%;
      border-radius: 3px;
      transition: width .3s ease;
    }
    .fill-green { background: #4fa86a; box-shadow: 0 0 6px rgba(79,168,106,.4); }
    .fill-ok    { background: var(--accent); box-shadow: 0 0 6px rgba(212,146,79,.4); }
    .fill-warn  { background: #d96045; box-shadow: 0 0 6px rgba(217,96,69,.4); }
    .mock-pct  { color: var(--txt); text-align: right; font-size: 12.5px; font-variant-numeric: tabular-nums; }
    .mock-reset { color: var(--txt-faint); font-size: 11.5px; text-align: right; }
    .mock-pct.warn  { color: var(--accent); }
    .mock-reset.warn { color: var(--accent); opacity: .8; }
    .mock-pct.danger  { color: var(--warn); }
    .mock-reset.danger { color: var(--warn); opacity: .8; }

    /* ── Stats strip ── */
    .strip {
      border-bottom: 1px solid var(--line);
      background: var(--bg2);
    }
    .strip-inner {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 10px 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 4px 28px;
      font-size: 11px;
      color: var(--txt-dim);
      font-weight: 400;
    }
    .strip-inner strong { color: var(--txt); font-weight: 500; }

    /* ── Section base ── */
    section { border-bottom: 1px solid var(--line); }

    .sec-head {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 28px;
    }
    .sec-n {
      font-size: 11px;
      color: var(--txt-faint);
      font-weight: 400;
      width: 20px;
      flex-shrink: 0;
    }
    .sec-label {
      font-size: 11px;
      color: var(--txt-dim);
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    /* ── Spec / what it does ── */
    .spec-sec { padding: 56px 0; }
    .spec-table { border-top: 1px solid var(--line); }
    .spec-row {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 20px;
      padding: 13px 0;
      border-bottom: 1px solid var(--line-dim);
    }
    .spec-key { font-size: 12px; color: var(--txt-dim); padding-top: 1px; }
    .spec-val { font-size: 12px; color: var(--txt); line-height: 1.7; }
    .spec-val strong { color: #e8e5e0; font-weight: 500; }

    /* ── Providers ── */
    .prov-sec { padding: 44px 0; }
    .prov-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .pchip {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      border: 1px solid var(--line);
      background: var(--bg2);
      padding: 9px 16px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      color: var(--txt-dim);
      letter-spacing: 0.01em;
      transition: border-color .15s, color .15s, background .15s;
    }
    .pchip:hover {
      border-color: var(--accent-lo);
      background: #232326;
      color: var(--txt);
    }
    .pchip img {
      width: 22px;
      height: 22px;
      object-fit: contain;
      background: #fff;
      border-radius: 4px;
      padding: 3px;
      flex-shrink: 0;
    }

    /* ── Screenshots ── */
    .shots-sec { padding: 56px 0; }
    .shots-layout {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 28px;
    }
    .shots-layout > * { min-width: 0; }
    .vtabs {
      display: flex;
      flex-direction: column;
      gap: 2px;
      border-right: 1px solid var(--line);
    }
    .vtab {
      padding: 9px 16px 9px 0;
      margin-right: -1px;
      font-size: 12px;
      color: var(--txt-faint);
      border-right: 2px solid transparent;
      cursor: pointer;
      transition: color .15s, border-color .15s;
      user-select: none;
      white-space: nowrap;
    }
    .vtab:hover { color: var(--txt); }
    .vtab.on { color: var(--txt); border-right-color: var(--accent); }
    .vtab-n { color: var(--txt-faint); margin-right: 8px; font-size: 11px; }
    .vtab.on .vtab-n { color: var(--accent); }

    .spanel { display: none; }
    .spanel.on { display: block; }
    .sshot {
      cursor: zoom-in;
      border: 1px solid var(--line);
      border-radius: 4px;
      overflow: hidden;
      transition: border-color .15s;
    }
    .sshot:hover { border-color: var(--txt-faint); }
    .sshot img { width: 100%; }
    .scap {
      font-size: 11px;
      color: var(--txt-faint);
      margin-top: 9px;
    }
    .shots-dots {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 14px;
    }
    .sdot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: none;
      background: var(--line);
      cursor: pointer;
      transition: transform .16s ease, background .16s ease;
    }
    .sdot.on {
      background: var(--accent);
      transform: scale(1.2);
    }

    /* Lightbox */
    #lb {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.96);
      z-index: 500;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    #lb.on { display: flex; }
    #lb img {
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      border: 1px solid var(--line);
      border-radius: 4px;
    }
    #lb-x {
      position: absolute;
      top: 16px;
      right: 20px;
      font-family: inherit;
      font-size: 18px;
      color: var(--txt-faint);
      background: none;
      border: none;
      cursor: pointer;
      line-height: 1;
      transition: color .15s;
    }
    #lb-x:hover { color: var(--txt); }

    /* ── Install ── */
    .inst-sec { padding: 56px 0; }
    .inst-head { margin-bottom: 28px; }
    .inst-layout {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 40px;
      align-items: start;
    }
    .inst-layout > * { min-width: 0; }
    .inst-meta h2 {
      font-size: clamp(14px, 1.3vw, 17px);
      font-weight: 600;
      color: #fff;
      margin-bottom: 10px;
      letter-spacing: -.01em;
    }
    .inst-meta p  {
      font-size: clamp(12px, 1vw, 13px);
      color: var(--txt-dim);
      line-height: 1.74;
    }
    .inst-code-inline {
      color: var(--accent);
      font-size: .96em;
    }
    .inst-list    {
      list-style: none;
      margin-top: 15px;
      display: grid;
      gap: 6px;
    }
    .inst-list li {
      font-size: clamp(12px, 1vw, 13px);
      color: var(--txt-faint);
      padding: 2px 0;
      display: flex;
      flex-wrap: nowrap;
      align-items: baseline;
      column-gap: 8px;
      row-gap: 1px;
    }
    .inst-list li::before {
      content: '→';
      color: var(--txt-faint);
      flex: 0 0 auto;
    }
    .inst-item-key { color: var(--txt); white-space: nowrap; }
    .inst-item-val { color: var(--txt-dim); flex: 1 1 auto; min-width: 0; }
    .inst-docs {
      display: inline-flex;
      margin-top: 14px;
      font-size: clamp(12px, 1vw, 13px);
      color: var(--accent);
      border-bottom: 1px solid var(--accent-lo);
      padding-bottom: 1px;
      transition: border-color .15s;
    }
    .inst-docs:hover { border-color: var(--accent); }
    .inst-hint {
      margin-top: 12px;
      font-size: 11px;
      color: var(--txt-faint);
      line-height: 1.7;
    }

    .code-tabs {
      display: flex;
      border-bottom: 1px solid var(--line);
      gap: 0;
    }
    .ctab {
      padding: 8px 16px;
      font-family: inherit;
      font-size: 12px;
      color: var(--txt-faint);
      border: none;
      border-bottom: 2px solid transparent;
      background: none;
      cursor: pointer;
      margin-bottom: -1px;
      transition: color .15s, border-color .15s;
    }
    .ctab:hover { color: var(--txt); }
    .ctab.on { color: var(--txt); border-bottom-color: var(--accent); }

    .cpanel { display: none; }
    .cpanel.on { display: block; }
    .cblock {
      background: var(--bg2);
      border: 1px solid var(--line);
      border-top: none;
      border-radius: 0 0 4px 4px;
      overflow: hidden;
    }
    .cbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 14px;
      border-bottom: 1px solid var(--line-dim);
    }
    .clang { font-size: 11px; color: var(--txt-faint); }
    .cpbtn {
      font-family: inherit;
      font-size: 11px;
      color: var(--txt-faint);
      background: none;
      border: none;
      cursor: pointer;
      transition: color .15s;
    }
    .cpbtn:hover { color: var(--txt); }
    pre {
      padding: 16px;
      font-size: clamp(11.5px, .92vw, 12.5px);
      color: var(--txt);
      line-height: 1.76;
      overflow-x: auto;
      tab-size: 2;
      white-space: pre;
    }
    pre .cm { color: var(--txt-faint); }

    /* ── Footer ── */
    footer {
      padding: 18px 28px;
      max-width: var(--content-max);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .ft-l { font-size: 11px; color: var(--txt-faint); }
    .ft-r { display: flex; gap: 18px; }
    .ft-r a {
      font-size: 11px;
      color: var(--txt-faint);
      transition: color .15s;
    }
    .ft-r a:hover { color: var(--txt); }

    /* ── Small desktop / tablet landscape (821px - 1024px) ── */
    @media (min-width: 821px) and (max-width: 1024px) {
      .hero-inner      { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(320px, 360px); }
      .hdr-nav         { gap: 18px; }
      .shots-layout    { grid-template-columns: 132px 1fr; gap: 22px; }
      .inst-layout     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    }

    /* ── Tablet portrait & below (≤ 820px) ── */
    @media (max-width: 820px) {
      body            { font-size: 14px; line-height: 1.62; }
      header          { position: sticky; top: 0; background: rgba(22,22,24,.94); backdrop-filter: blur(6px); }
      .hdr-inner      { height: auto; padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
      .hdr-nav        { width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; }
      .hdr-nav a      {
        flex: 1;
        min-height: var(--tap-min);
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--bg2);
        justify-content: center;
      }
      .hdr-gh         { margin-left: 0; }
      .hdr-gh span    { display: inline; }

      .hero-inner      { grid-template-columns: 1fr; padding-bottom: 40px; }
      .hero-mock       {
        display: block;
        width: 100%;
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        overflow: hidden;
        transition: max-height .2s ease, opacity .2s ease, transform .2s ease;
        border-radius: var(--radius-md);
      }
      .mock-row {
        grid-template-columns: minmax(0, 1fr) 56px;
        grid-template-areas:
          "name pct"
          "track reset";
        gap: 6px 10px;
        padding: 10px 12px;
      }
      .mock-name  { grid-area: name; min-width: 0; }
      .mock-track { grid-area: track; min-width: 0; }
      .mock-pct   { grid-area: pct; }
      .mock-reset { grid-area: reset; text-align: left; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      body.preview-on .hero-mock {
        max-height: 900px;
        opacity: 1;
        transform: translateY(0);
      }
      .hero-desc       { max-width: 100%; }
      .hero-ctas       { flex-direction: column; align-items: stretch; gap: 12px; }
      .btn             { justify-content: center; min-height: var(--tap-min); }
      .btn-ghost       { text-align: center; padding: 10px 0; min-height: var(--tap-min); display: inline-flex; align-items: center; justify-content: center; }
      .hero-preview-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: var(--tap-min);
        padding: 10px 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--txt-dim);
        background: var(--bg2);
        font-size: 12px;
        cursor: pointer;
      }
      body.preview-on .hero-preview-toggle { color: var(--txt); border-color: var(--accent-lo); }

      .strip-inner     { gap: 6px 14px; line-height: 1.6; }

      .spec-row        { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; margin-top: 10px; background: rgba(255,255,255,.015); }
      .spec-table      { border-top: none; }
      .spec-key        { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
      .spec-val        { margin-top: 4px; }

      .prov-chips      { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .pchip           { width: 100%; justify-content: flex-start; min-height: var(--tap-min); }
    }

    /* ── Tablet (≤ 768px) ── */
    @media (max-width: 768px) {
      .wrap            { padding: 0 20px; }
      .hdr-inner       { padding: 12px 20px; }
      .strip-inner     { padding: 10px 20px; gap: 4px 20px; }

      .hero-inner      { padding: 36px 20px 0; gap: 32px; }
      h1               { font-size: clamp(22px, 5.5vw, 32px); }
      .hero-desc       { font-size: 12.5px; max-width: 100%; }
      .hero-ctas       { padding-bottom: 40px; gap: 16px; }
      .shots-layout    { gap: 18px; }

      .spec-sec        { padding: 40px 0; }
      .spec-row        { grid-template-columns: 1fr; gap: 6px; }
      .spec-key        { font-size: 10.5px; color: var(--accent);
                         text-transform: uppercase; letter-spacing: .08em; }

      .prov-sec        { padding: 32px 0; }
      .shots-sec       { padding: 40px 0; }
      .inst-sec        { padding: 40px 0; }
      .inst-layout     { gap: 24px; }
      .inst-meta p,
      .inst-list       { max-width: 100%; }
      .code-tabs       { overflow-x: auto; white-space: nowrap; }
      .ctab            { flex: 0 0 auto; }
      .cpbtn           { min-height: 32px; min-width: 56px; }
      .shots-dots      { display: flex; }

      footer           { padding: 16px 20px; }
    }

    /* ── Large phones / small tablets (≤ 600px) ── */
    @media (max-width: 600px) {
      .shots-layout    { grid-template-columns: 1fr; gap: 14px; }
      .vtabs { display: none; }
      #spanels {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 2px;
        width: 100%;
      }
      #spanels::-webkit-scrollbar { display: none; }
      #spanels .spanel {
        display: block !important;
        flex: 0 0 calc(100% - 2px);
        scroll-snap-align: start;
        min-width: 0;
      }
      .mock-reset { display: none; }
      .mock-row {
        grid-template-areas:
          "name pct"
          "track track";
      }
      .inst-layout     { grid-template-columns: 1fr; }
      .inst-meta       { max-width: 64ch; }
      .prov-chips      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .sec-head        { flex-wrap: wrap; row-gap: 4px; }
      #screenshots .sec-head span[style*="margin-left:auto"] { display: none; }
      .strip-inner span:nth-child(3) { display: none; }
      .cbar { padding: 8px 12px; }
    }

    /* ── Phone (≤ 480px) ── */
    @media (max-width: 480px) {
      .wrap            { padding: 0 16px; }
      .hdr-inner       { padding: 10px 16px; gap: 8px; }
      .logo            { font-size: 12px; gap: 6px; }
      .logo img        { height: 15px; }
      .hdr-nav         { gap: 6px; font-size: 11px; }
      .hdr-nav a       { padding: 9px 10px; min-height: var(--tap-min); }

      .hero-inner      { padding: 24px 16px 0; }
      .hero-eyebrow    { font-size: 10px; margin-bottom: 12px; }
      h1               { font-size: clamp(26px, 7vw, 30px); margin-bottom: 12px; }
      .hero-desc       { font-size: 13px; margin-bottom: 20px; line-height: 1.66; }
      .hero-ctas       { gap: 10px; padding-bottom: 32px; }
      .btn             { font-size: 12px; padding: 9px 16px;
                         justify-content: center; }
      .btn-ghost       { font-size: 12px; text-align: center; }

      .strip-inner     { padding: 8px 16px; font-size: 10.5px; gap: 3px 14px; }

      .sec-head        { margin-bottom: 18px; }
      .spec-sec        { padding: 32px 0; }
      .spec-val        { font-size: 13px; }

      .prov-sec        { padding: 28px 0; }
      .prov-chips      { gap: 8px; }
      .pchip           { padding: 7px 12px; font-size: 12.5px; gap: 8px; border-radius: 5px; }
      .pchip img       { width: 18px; height: 18px; padding: 2px; border-radius: 3px; }

      .shots-sec       { padding: 32px 0; }
      .vtab            { font-size: 11.5px; padding: 7px 12px; }

      .inst-sec        { padding: 32px 0; }
      .inst-layout     { gap: 24px; }
      .inst-meta h2    { font-size: 14px; margin-bottom: 8px; }
      .inst-meta p     { font-size: 12.5px; line-height: 1.72; }
      .inst-list       { margin-top: 12px; gap: 5px; }
      .inst-list li    { font-size: 12.5px; column-gap: 7px; flex-wrap: wrap; }
      .inst-item-val   { display: inline; }
      .inst-docs       { margin-top: 12px; font-size: 12.5px; }
      .inst-hint       { margin-top: 10px; font-size: 11px; }
      .ctab            { font-size: 12px; padding: 9px 12px; min-height: 38px; }
      pre              { font-size: 11.5px; padding: 13px 14px;
                         -webkit-overflow-scrolling: touch; }

      footer           { flex-direction: column; align-items: flex-start;
                         gap: 10px; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
      .ft-l, .ft-r a  { font-size: 12px; }
      .ft-r            { gap: 14px; }
    }

    /* ── Very small phones (≤ 360px) ── */
    @media (max-width: 360px) {
      .hdr-inner       { padding-left: 12px; padding-right: 12px; }
      .wrap            { padding-left: 12px; padding-right: 12px; }
      h1               { font-size: 24px; }
      .hero-desc       { font-size: 11.5px; }
      .hdr-nav         { flex-wrap: wrap; }
      .hdr-nav a       { min-width: 0; }
      .prov-chips      { grid-template-columns: 1fr; }
      .pchip           { padding: 6px 10px; font-size: 12px; gap: 7px; }
      .pchip img       { width: 16px; height: 16px; }
      .inst-meta p     { font-size: 12px; }
      .inst-list li    { row-gap: 2px; }
      .inst-list li::before { margin-top: 1px; }
      .inst-item-val   { font-size: 11.5px; }
      pre              { font-size: 11px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
      }
    }

    /* ── Desktop (1280px - 1439px) ── */
    @media (min-width: 1280px) and (max-width: 1439px) {
      body { font-size: 15px; line-height: 1.68; }
      .hdr-inner { height: 52px; }
      .logo { font-size: 14px; }
      .hdr-nav { font-size: 13px; }
      .hero-eyebrow { font-size: 12px; }
      .hero-desc { font-size: 15px; }
      .btn, .btn-ghost { font-size: 13px; }
      .sec-n, .sec-label { font-size: 12px; }
      .spec-key, .spec-val { font-size: 14px; }
      .spec-val { line-height: 1.78; }
      .pchip { font-size: 15px; }
      .vtab { font-size: 14px; }
      .scap { font-size: 14px; }
      .inst-meta h2 { font-size: 18px; }
      .inst-meta p,
      .inst-list li,
      .inst-docs,
      .ctab { font-size: 14px; }
      .inst-hint,
      .clang,
      .cpbtn { font-size: 12px; }
      pre { font-size: 13px; }
      .ft-l, .ft-r a { font-size: 13px; }
    }

    /* ── Large desktop (≥ 1440px) ── */
    @media (min-width: 1440px) {
      :root { --content-max: 1240px; }
      body { font-size: 16px; line-height: 1.68; }
      .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(420px, 460px); gap: 60px; }
      .hdr-inner { height: 62px; }
      .logo { font-size: 14px; }
      .hdr-nav { font-size: 13px; }
      .hero-eyebrow { font-size: 12px; }
      .hero-desc { font-size: 16px; }
      .btn, .btn-ghost { font-size: 13px; }
      .sec-n, .sec-label { font-size: 12px; }
      .spec-key, .spec-val { font-size: 15px; }
      .spec-val { line-height: 1.78; }
      .vtab { font-size: 14px; }
      .scap { font-size: 14px; }
      .inst-meta h2 { font-size: 18px; }
      .inst-meta p,
      .inst-list li,
      .inst-docs,
      .ctab { font-size: 15px; }
      .inst-hint,
      .clang,
      .cpbtn { font-size: 12px; }
      pre { font-size: 14px; }
      .ft-l, .ft-r a { font-size: 13px; }
    }

    /* ── Wide desktop (≥ 1920px) ── */
    @media (min-width: 1920px) {
      :root { --content-max: 1420px; }
      body { font-size: 17px; line-height: 1.7; }
      .wrap, .hdr-inner, .strip-inner, footer { padding-left: 36px; padding-right: 36px; }
      .hdr-inner { height: 64px; }
      .hero-inner {
        padding-top: 68px;
        gap: 72px;
        grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
      }
      .hero-desc { max-width: 520px; }
      .logo { font-size: 15px; }
      .hdr-nav { font-size: 14px; }
      .hero-eyebrow { font-size: 12.5px; }
      .hero-desc { font-size: 16px; }
      .btn, .btn-ghost { font-size: 13.5px; }
      .strip-inner { font-size: 13px; }
      .sec-n, .sec-label { font-size: 13px; }
      .spec-key, .spec-val { font-size: 15px; }
      .spec-val { line-height: 1.8; }
      .pchip { font-size: 15px; }
      .vtab { font-size: 14.5px; }
      .scap { font-size: 14.5px; }
      .inst-meta h2 { font-size: 18px; }
      .inst-meta p,
      .inst-list li,
      .inst-docs,
      .ctab { font-size: 14.5px; }
      .inst-hint,
      .clang,
      .cpbtn { font-size: 12px; }
      pre { font-size: 13.5px; }
      .ft-l, .ft-r a { font-size: 13px; }
    }

    /* ── 2K screens (≥ 2560px) ── */
    @media (min-width: 2560px) {
      :root { --content-max: 1680px; }
      body { font-size: 18px; line-height: 1.72; }
      .wrap, .hdr-inner, .strip-inner, footer { padding-left: 56px; padding-right: 56px; }
      .hdr-inner { height: 72px; }
      .logo { font-size: 16px; }
      .logo img { height: 20px; }
      .hdr-nav { gap: 28px; font-size: 15px; }
      .hero-inner {
        padding-top: 76px;
        gap: 86px;
        grid-template-columns: minmax(0, 1fr) minmax(560px, 620px);
      }
      h1 { font-size: clamp(40px, 2.3vw, 56px); }
      .hero-eyebrow { font-size: 13px; }
      .hero-desc { font-size: 17px; max-width: 620px; margin-bottom: 34px; }
      .hero-ctas { padding-bottom: 72px; }
      .btn, .btn-ghost { font-size: 14px; }
      .mock-row {
        grid-template-columns: 212px 1fr 64px 96px;
        padding: 13px 20px;
      }
      .strip-inner { font-size: 15px; gap: 8px 34px; padding-top: 13px; padding-bottom: 13px; }
      .sec-n, .sec-label { font-size: 14px; }
      .spec-key, .spec-val { font-size: 16px; }
      .spec-val { line-height: 1.82; }
      .pchip { font-size: 16px; }
      .vtab { font-size: 15px; }
      .scap { font-size: 15px; }
      .spec-row { grid-template-columns: 220px 1fr; }
      .shots-layout { grid-template-columns: 186px 1fr; gap: 36px; }
      .inst-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px; }
      .inst-meta h2 { font-size: 19px; }
      .inst-meta p,
      .inst-list li,
      .inst-docs,
      .ctab { font-size: 15px; }
      .inst-hint,
      .clang,
      .cpbtn { font-size: 12.5px; }
      pre { font-size: 14px; }
      .ft-l, .ft-r a { font-size: 14px; }
    }

    /* ── 4K screens (≥ 3840px) ── */
    @media (min-width: 3840px) {
      :root { --content-max: 2080px; }
      body { font-size: 19px; line-height: 1.74; }
      .wrap, .hdr-inner, .strip-inner, footer { padding-left: 72px; padding-right: 72px; }
      .hdr-inner { height: 82px; }
      .logo { font-size: 17px; }
      .logo img { height: 22px; }
      .hdr-nav { gap: 34px; font-size: 16px; }
      .hero-inner {
        padding-top: 90px;
        gap: 108px;
        grid-template-columns: minmax(0, 1fr) minmax(700px, 760px);
      }
      h1 { font-size: clamp(46px, 2vw, 64px); }
      .hero-eyebrow { font-size: 14px; }
      .hero-desc { font-size: 18px; max-width: 760px; margin-bottom: 38px; }
      .hero-ctas { padding-bottom: 84px; }
      .btn, .btn-ghost { font-size: 15px; }
      .mock-row {
        grid-template-columns: 250px 1fr 72px 108px;
        padding: 15px 24px;
        font-size: 15px;
      }
      .mock-name span,
      .mock-pct,
      .sec-n,
      .sec-label,
      .spec-key,
      .spec-val,
      .inst-meta p,
      .inst-list li,
      .ctab,
      pre { font-size: 15px; }
      .pchip { font-size: 17px; }
      .vtab { font-size: 16px; }
      .scap { font-size: 16px; }
      .inst-meta h2 { font-size: 20px; }
      .inst-docs { font-size: 16px; }
      .inst-hint,
      .clang,
      .cpbtn,
      .ft-l,
      .ft-r a { font-size: 14px; }
      .spec-val { line-height: 1.84; }
      .spec-row { grid-template-columns: 260px 1fr; }
      .shots-layout { grid-template-columns: 210px 1fr; gap: 44px; }
      .inst-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 62px; }
    }
