:root {
      --ink:#141414;
      --muted:#686868;
      --line:#d7d7d2;
      --paper:#171717;
      --panel:#fff;
      --soft:#f3f3f0;
      --soft-2:#e9e9e5;
      --accent:#1d1d1d;
      --accent-2:#505050;
      --shadow-sm:0 6px 16px rgba(20,20,20,.07);
      --shadow-md:0 14px 32px rgba(20,20,20,.10);
      --shadow-lg:0 26px 60px rgba(20,20,20,.16);
      --radius-sm:8px;
      --radius-md:12px;
      --radius-lg:18px;
      --section-gap:clamp(48px,7vw,94px);
      font-family:Inter, Segoe UI, Arial, sans-serif;
    }
    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; }
    body {
      margin:0;
      color:var(--ink);
      background:
        radial-gradient(circle at 12% 6%, rgba(255,255,255,.08), transparent 25%),
        radial-gradient(circle at 88% 0%, rgba(255,255,255,.05), transparent 30%),
        linear-gradient(180deg,#111 0,#1c1c1c 385px,#171717 100%),
        var(--paper);
      line-height:1.5;
      font-variant-numeric:tabular-nums;
    }
    a { color:inherit; text-decoration:none; }
    .wrap { width:min(1180px,calc(100% - 32px)); margin:0 auto; }
    header { padding:16px 0 6px; color:#f7f7f4; }
    .topbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; }
    .brand { display:flex; align-items:center; gap:13px; min-width:0; }
    .mark {
      display:grid; place-items:center; width:50px; height:50px; border-radius:10px;
      color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent-2));
      box-shadow:var(--shadow-md); font-weight:950; letter-spacing:-.02em;
    }
    .brand strong { display:block; color:#fff; font-size:1.05rem; line-height:1.05; }
    .brand span span { display:block; color:#c9c9c4; font-size:.78rem; font-weight:800; }
    .nav-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
    .nav-actions a, .button, .button-secondary {
      display:inline-flex; align-items:center; justify-content:center; min-height:42px;
      border-radius:var(--radius-sm); padding:10px 14px; font-size:.84rem; font-weight:900;
      text-decoration:none; transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
    }
    .nav-actions a { color:#efefea; border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.06); }
    .nav-actions a:hover, .button:hover, .button-secondary:hover { transform:translateY(-1px); }
    .button { color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent-2)); border:1px solid rgba(255,255,255,.10); box-shadow:var(--shadow-sm); }
    .button-secondary { color:#f7f7f4; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); }
    main { padding:30px 0 var(--section-gap); }
    .hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.62fr); gap:18px; align-items:stretch; color:#f7f7f4; }
    .hero-copy {
      min-height:560px; display:grid; align-content:space-between; gap:24px;
      padding:clamp(24px,5vw,58px); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius-lg);
      background:
        radial-gradient(circle at 78% 4%, rgba(255,255,255,.11), transparent 24rem),
        linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
      box-shadow:var(--shadow-lg);
    }
    .eyebrow { margin:0 0 9px; color:#9c9c96; font-size:.76rem; font-weight:950; letter-spacing:.16em; text-transform:uppercase; }
    .hero .eyebrow { color:#d9d9d1; }
    h1,h2,h3,p { margin-top:0; }
    h1 { max-width:900px; margin-bottom:18px; font-size:clamp(3rem,7vw,6.9rem); line-height:.86; letter-spacing:-.085em; }
    h2 { margin-bottom:12px; font-size:clamp(2rem,4vw,3.75rem); line-height:.94; letter-spacing:-.07em; }
    h3 { margin-bottom:8px; line-height:1.05; letter-spacing:-.035em; }
    .lead { max-width:780px; color:rgba(255,255,255,.74); font-size:clamp(1.02rem,1.6vw,1.22rem); line-height:1.6; }
    .button-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
    .loop-band { display:flex; flex-wrap:wrap; gap:6px; align-items:center; color:#fff; font-weight:950; letter-spacing:-.02em; }
    .loop-band span { display:inline-flex; align-items:center; min-height:34px; padding:7px 10px; border-radius:var(--radius-sm); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); }
    .chip-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
    .chip {
      border:1px solid rgba(255,255,255,.14); border-radius:var(--radius-md); padding:12px;
      background:rgba(255,255,255,.07); min-height:96px;
    }
    .chip span, .view-card span, .metric span, .step span, .source-list span { display:block; color:var(--muted); font-size:.80rem; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
    .chip strong { display:block; margin-top:5px; color:#fff; line-height:1.14; }
    .hero-stack { display:grid; gap:14px; }
    .hero-card {
      border:1px solid rgba(255,255,255,.13); border-radius:var(--radius-lg); padding:18px;
      background:rgba(255,255,255,.07); color:#f7f7f4; box-shadow:var(--shadow-sm);
    }
    .hero-card strong { display:block; font-size:clamp(1.4rem,2.2vw,2.15rem); line-height:.98; letter-spacing:-.055em; }
    .hero-card p { margin:.5rem 0 0; color:rgba(255,255,255,.72); }
    .section {
      margin-top:18px; padding:clamp(20px,4vw,38px); border-radius:var(--radius-lg);
      background:rgba(255,255,255,.94); border:1px solid rgba(0,0,0,.10); box-shadow:var(--shadow-md);
    }
    .section.dark {
      color:#f7f7f4; background:linear-gradient(135deg,#191919,#292929); border-color:rgba(255,255,255,.13);
    }
    .section.dark .plain, .section.dark .view-card p, .section.dark .step span, .section.dark .metric small { color:rgba(255,255,255,.70); }
    .plain { color:var(--muted); max-width:860px; line-height:1.58; }
    .grid-2,.grid-3,.grid-4,.views-grid,.steps { display:grid; gap:12px; }
    .grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .steps { grid-template-columns:repeat(5,minmax(0,1fr)); }
    .views-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .view-card, .metric, .step, .source-card {
      display:block; min-width:0; border:1px solid rgba(20,20,20,.11); border-radius:var(--radius-md);
      background:#fbfbf9; padding:15px; min-height:132px;
    }
    .view-card:hover { border-color:rgba(20,20,20,.25); box-shadow:var(--shadow-sm); transform:translateY(-1px); }
    .view-card strong, .metric strong, .source-card strong { display:block; margin-top:7px; color:var(--ink); line-height:1.1; letter-spacing:-.035em; }
    .view-card p, .source-card p { margin:8px 0 0; color:var(--muted); font-size:.92rem; line-height:1.45; }
    .section.dark .view-card, .section.dark .metric, .section.dark .step, .section.dark .source-card {
      background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.13);
    }
    .section.dark .view-card strong, .section.dark .metric strong, .section.dark .source-card strong { color:#fff; }
    .step { display:grid; grid-template-columns:38px minmax(0,1fr); gap:11px; }
    .step b {
      display:grid; place-items:center; width:38px; height:38px; border-radius:var(--radius-sm);
      color:#fff; background:#1d1d1d; font-size:.88rem;
    }
    .metric strong { font-size:clamp(1.6rem,3vw,2.45rem); }
    .metric small { display:block; margin-top:8px; color:var(--muted); line-height:1.42; }
    .source-list { display:grid; gap:8px; margin-top:16px; }
    .source-list a { color:#f7f7f4; text-decoration:underline; text-underline-offset:3px; }
    .product-widget {
      display:grid;
      grid-template-columns:minmax(0,.95fr) minmax(320px,.58fr);
      gap:14px;
      margin-top:18px;
    }
    .widget-panel {
      border:1px solid rgba(20,20,20,.11);
      border-radius:var(--radius-lg);
      background:#fbfbf9;
      padding:18px;
      min-width:0;
    }
    .widget-controls {
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .widget-field { display:grid; gap:5px; }
    .widget-field label {
      color:var(--muted);
      font-size:.72rem;
      font-weight:950;
      letter-spacing:.08em;
      text-transform:uppercase;
    }
    .widget-field input,.widget-field select {
      width:100%;
      min-height:42px;
      border:1px solid rgba(20,20,20,.14);
      border-radius:var(--radius-sm);
      background:#fff;
      color:var(--ink);
      padding:9px 10px;
      font:inherit;
    }
    .widget-output {
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:10px;
      margin-top:12px;
    }
    .widget-note {
      margin-top:12px;
      padding:12px;
      border-radius:var(--radius-md);
      background:#ededeb;
      color:var(--ink);
      line-height:1.45;
    }
    .widget-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
    .widget-tabs { display:grid; gap:8px; }
    .widget-tab {
      width:100%;
      text-align:left;
      border:1px solid rgba(20,20,20,.11);
      border-radius:var(--radius-md);
      background:#fff;
      padding:12px;
      color:var(--ink);
      cursor:pointer;
      font:inherit;
    }
    .widget-tab strong { display:block; line-height:1.1; }
    .widget-tab span { display:block; margin-top:4px; color:var(--muted); font-size:.9rem; line-height:1.36; }
    .widget-tab[aria-pressed="true"] { background:#1d1d1d; color:#fff; }
    .widget-tab[aria-pressed="true"] span { color:rgba(255,255,255,.72); }
    .note {
      margin-top:16px; padding-top:16px; border-top:1px solid rgba(0,0,0,.10);
      color:var(--muted); font-size:.9rem; line-height:1.55;
    }
    footer { color:#c9c9c4; padding:0 0 32px; font-size:.86rem; }
    footer a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
    @media (max-width:1080px) {
      .hero,.grid-2,.grid-3,.grid-4,.steps,.views-grid,.chip-grid { grid-template-columns:1fr 1fr; }
      .product-widget,.widget-controls,.widget-output { grid-template-columns:1fr 1fr; }
      .topbar { grid-template-columns:1fr; }
      .nav-actions { justify-content:flex-start; }
    }
    @media (max-width:720px) {
      .wrap { width:min(100% - 22px,1180px); }
      .hero,.grid-2,.grid-3,.grid-4,.steps,.views-grid,.chip-grid,.product-widget,.widget-controls,.widget-output { grid-template-columns:1fr; }
      .hero-copy { min-height:auto; }
      h1 { font-size:clamp(2.85rem,16vw,4.5rem); }
      .nav-actions a { display:none; }
      .nav-actions .button { display:inline-flex; }
    }
    @media print {
      header,.button-row { display:none!important; }
      body { background:#fff; color:#111; }
      .hero,.section { color:#111; background:#fff; box-shadow:none; border-color:#ddd; break-inside:avoid; }
      .lead,.plain,.hero-card p,.chip span,.chip strong { color:#111; }
    }
