 :root {
      --bg: #050505;
      --bg-soft: #11100e;
      --panel: #181512;
      --panel-light: #29231d;
      --text: #f5f5f4;
      --muted: #a8a29e;
      --muted-dark: #78716c;
      --line: rgba(255, 255, 255, 0.11);
      --accent: #f59e0b;
      --accent-light: #fbbf24;
      --green: #22c55e;
    }

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

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input {
      font: inherit;
    }

    .container {
      width: min(1280px, calc(100% - 48px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid var(--line);
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(14px);
    }

    .header-inner {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      border: 2px solid var(--muted);
      transform: rotate(45deg);
      display: grid;
      place-items: center;
      font-weight: 900;
      font-size: 12px;
    }

    .brand-mark span {
      transform: rotate(-45deg);
    }

    .eyebrow {
      display: block;
      color: var(--accent);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.35em;
      text-transform: uppercase;
    }

    .brand-title {
      font-size: 21px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.13em;
    }

    .nav {
      display: flex;
      gap: 32px;
      color: #d6d3d1;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.22em;
    }

    .nav a:hover {
      color: #ffffff;
    }

    .hero {
      position: relative;
      min-height: 760px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background:
        linear-gradient(115deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.78) 42%, rgba(0,0,0,0.25) 100%),
        radial-gradient(circle at 70% 30%, rgba(120,113,108,0.35), transparent 32%),
        linear-gradient(140deg, #1c1917, #090909 55%, #292524);
    }

    .hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 170px;
      background: linear-gradient(to top, var(--bg), transparent);
      pointer-events: none;
    }

    .hero-watermark {
      position: absolute;
      right: 32px;
      top: 70px;
      font-size: clamp(110px, 17vw, 260px);
      line-height: 1;
      font-weight: 900;
      color: rgba(255,255,255,0.035);
      letter-spacing: -0.07em;
      text-transform: uppercase;
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 80px;
      align-items: center;
      padding: 96px 0;
    }

    .hero-copy {
      max-width: 760px;
    }

    .hero-kicker {
      color: var(--accent);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.45em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .hero h1 {
      font-size: clamp(58px, 8vw, 120px);
      line-height: 0.88;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.065em;
      margin-bottom: 32px;
    }

    .hero-lead {
      max-width: 720px;
      color: #d6d3d1;
      font-size: 21px;
      line-height: 1.7;
      margin-bottom: 36px;
    }

    .stats {
      max-width: 720px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      padding: 22px 0;
      margin-bottom: 36px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .stat-value {
      display: block;
      font-size: 34px;
      line-height: 1;
      font-weight: 900;
    }

    .stat-label {
      display: block;
      margin-top: 8px;
      color: var(--muted-dark);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 0 30px;
      border: 1px solid transparent;
      cursor: pointer;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      transition: 0.2s ease;
    }

    .btn-primary {
      background: var(--accent);
      color: #000000;
    }

    .btn-primary:hover {
      background: var(--accent-light);
    }

    .btn-secondary {
      border-color: var(--muted-dark);
      color: var(--text);
      background: transparent;
    }

    .btn-secondary:hover {
      background: #ffffff;
      color: #000000;
    }

    .feature-panel {
      position: relative;
      aspect-ratio: 4 / 5;
      border: 1px solid var(--line);
      background:
        linear-gradient(155deg, rgba(68,64,60,0.45), rgba(0,0,0,0.75)),
        radial-gradient(circle at 50% 22%, rgba(245,158,11,0.18), transparent 30%);
      padding: 36px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    }

    .feature-panel-content {
      border-left: 4px solid var(--accent);
      padding-left: 22px;
    }

    .feature-panel small,
    .code-card small {
      display: block;
      margin-bottom: 12px;
      color: var(--muted-dark);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.3em;
      text-transform: uppercase;
    }

    .feature-panel h2 {
      font-size: clamp(34px, 4vw, 52px);
      line-height: 0.95;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .feature-panel p {
      color: #d6d3d1;
    }

    .code-card {
      position: absolute;
      left: -38px;
      bottom: -36px;
      max-width: 340px;
      background: #000000;
      border: 1px solid var(--line);
      padding: 22px;
    }

    pre {
      overflow-x: auto;
      color: #d6d3d1;
      font-size: 13px;
      line-height: 1.6;
    }

    .script-example {
      margin-top: 42px;
      border: 1px solid rgba(255,255,255,0.12);
      background: #0d1117;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    }

    .script-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding: 18px 24px 0;
    }

    .script-tags span {
      border: 1px solid rgba(245,158,11,0.25);
      background: rgba(245,158,11,0.08);
      color: #fbbf24;
      padding: 7px 12px;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    .code-wrapper {
      margin-top: 18px;
    }

    .code-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 24px;
      border-top: 1px solid rgba(255,255,255,0.06);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: #161b22;
    }

    .code-header span {
      color: #d6d3d1;
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.24em;
    }

    .copy-btn {
      border: none;
      background: var(--accent);
      color: #000;
      padding: 8px 16px;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .copy-btn:hover {
      background: var(--accent-light);
    }

    .code-wrapper pre[class*="language-"] {
      margin: 0;
      border-radius: 0;
      background: #0d1117;
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      line-height: 1.8;
    }

    .code-wrapper code[class*="language-"] {
      font-family: 'JetBrains Mono', monospace;
    }

    .warning-box {
      border-top: 1px solid rgba(255,255,255,0.06);
      background: rgba(245,158,11,0.08);
      color: #fde68a;
      padding: 18px 24px;
      font-size: 14px;
      line-height: 1.7;
    }

    .warning-box strong {
      color: #fbbf24;
    }

    .section {
      padding: 96px 0;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 48px;
      margin-bottom: 48px;
    }

    .section-heading h2 {
      margin-top: 12px;
      font-size: clamp(42px, 5vw, 72px);
      line-height: 0.95;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.045em;
    }

    .section-heading p {
      max-width: 580px;
      color: var(--muted);
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .card {
      min-height: 370px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border: 1px solid var(--line);
      background: rgba(41, 37, 36, 0.42);
      padding: 32px;
      transition: 0.2s ease;
    }

    .card:hover {
      background: rgba(41, 37, 36, 0.8);
      transform: translateY(-4px);
    }

    .card-label {
      color: var(--accent);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.35em;
      text-transform: uppercase;
    }

    .card h3 {
      margin-top: 24px;
      font-size: 33px;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
    }

    .card p {
      margin-top: 18px;
      color: var(--muted);
    }

    .card-link {
      display: inline-block;
      width: max-content;
      border-bottom: 1px solid var(--accent);
      padding-bottom: 8px;
      color: #e7e5e4;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

    .card:hover .card-link {
      color: var(--accent-light);
    }

    .index-section {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #0c0a09;
    }

    .index-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 56px;
      align-items: center;
    }

    .index-title h2 {
      margin-top: 14px;
      font-size: clamp(40px, 5vw, 70px);
      line-height: 0.96;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.045em;
    }

    .index-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      border: 1px solid var(--line);
      background: var(--line);
    }

    .index-item {
      background: #050505;
      padding: 28px;
      transition: 0.2s ease;
    }

    .index-item:hover {
      background: var(--panel);
    }

    .index-item h3 {
      font-size: 20px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .index-item p {
      margin-top: 8px;
      color: var(--muted-dark);
      font-size: 14px;
    }

    .search-section {
      padding: 80px 0;
      background:
        linear-gradient(135deg, rgba(245,158,11,0.12), transparent 35%),
        #050505;
    }

    .search-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      padding: 24px;
    }

    .search-box input {
      min-height: 58px;
      border: 1px solid var(--line);
      background: #000000;
      color: var(--text);
      padding: 0 20px;
      outline: none;
    }

    .search-box input:focus {
      border-color: var(--accent);
    }

    .site-footer {
      border-top: 1px solid var(--line);
      background: #000000;
      padding: 54px 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 42px;
      color: var(--muted);
      font-size: 14px;
    }

    .footer-grid h3,
    .footer-grid h4 {
      color: var(--text);
      margin-bottom: 16px;
      text-transform: uppercase;
    }

    .footer-grid ul {
      list-style: none;
    }

    .footer-grid li + li {
      margin-top: 8px;
    }

    .status {
      display: inline-block;
      border: 1px solid rgba(34,197,94,0.3);
      background: rgba(34,197,94,0.1);
      color: #86efac;
      padding: 16px;
    }

    @media (max-width: 1024px) {
      .nav {
        display: none;
      }

      .hero-grid,
      .index-grid {
        grid-template-columns: 1fr;
      }

      .feature-panel {
        max-width: 620px;
      }

      .cards,
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(100% - 32px, 1280px);
      }

      .brand-title {
        font-size: 16px;
      }

      .hero {
        min-height: auto;
      }

      .hero-grid {
        padding: 72px 0;
      }

      .stats,
      .cards,
      .index-list,
      .footer-grid,
      .search-box {
        grid-template-columns: 1fr;
      }

      .section-heading {
        display: block;
      }

      .section-heading p {
        margin-top: 20px;
      }

      .code-card {
        position: static;
        margin-top: 24px;
        max-width: none;
      }

      .btn {
        width: 100%;
      }
    }