@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
  :root {
    --bg: #090b0f;
    --bg-alt: #0e1117;
    --bg-raised: #12161d;
    --border: #1d222c;
    --border-soft: #171b24;
    --text: #eef0f4;
    --text-dim: #9aa3b2;
    --text-faint: #7b8494;
    --accent: #4ade80;
    --accent-dim: #2f6b47;
    --accent-ink: #06220f;
    --amber: #e8b969;
    --radius: 12px;
    --maxw: 1080px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  .mono { font-family: "IBM Plex Mono", "SF Mono", Consolas, monospace; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
  a { color: inherit; }

  #fx {
    position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0;
    opacity: .6;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 42%, #000 100%);
            mask-image: linear-gradient(to right, rgba(0,0,0,.2) 0, rgba(0,0,0,.2) 42%, #000 100%);
  }
  .page { position: relative; z-index: 2; }

  .js [data-in] { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
  .js [data-in].in { opacity: 1; transform: none; }

  /* ---------- Hero ---------- */
  header.hero { padding: 96px 0 88px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-size: 12.5px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
  }
  .kicker::before { content: "//"; color: var(--text-faint); }
  h1 {
    font-size: clamp(46px, 7vw, 88px);
    font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    margin-bottom: 24px; display: block;
  }
  .js h1 { visibility: hidden; }
  .js h1.in { visibility: visible; }
  .sub { font-size: 17.5px; color: var(--text-dim); max-width: 520px; margin-bottom: 34px; }
  .sub b { color: var(--text); font-weight: 600; }
  .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
    text-decoration: none; transition: transform .15s, opacity .15s, border-color .15s;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary {
    background: var(--accent); color: var(--accent-ink);
    box-shadow: 0 0 0 1px rgba(74,222,128,.4), 0 10px 24px -10px rgba(74,222,128,.45);
  }
  .btn-primary:hover { opacity: .92; }
  .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
  .btn-ghost:hover { border-color: var(--text-faint); }

  .profile {
    background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden;
  }
  .profile-bar {
    display: flex; align-items: center; gap: 7px; padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft); background: var(--bg-alt);
  }
  .profile-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
  .profile-bar .label { margin-left: 6px; font-size: 12px; color: var(--text-faint); }
  .profile-body { padding: 32px 28px 30px; }
  .profile .n {
    font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--accent);
    font-size: clamp(64px, 9vw, 96px); line-height: 1; letter-spacing: -0.04em; display: block;
  }
  .profile .l { font-size: 18px; font-weight: 600; margin-top: 14px; line-height: 1.35; }
  .profile .s { font-size: 14px; color: var(--text-dim); margin-top: 8px; }
  .handle {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--text-faint);
  }
  .handle .tag {
    color: var(--accent); background: rgba(74,222,128,.08); border: 1px solid var(--accent-dim);
    border-radius: 5px; padding: 2px 8px; text-decoration: none;
  }
  .handle .tag:hover { background: rgba(74,222,128,.16); }

  /* ---------- Sections ---------- */
  section { padding: 76px 0; border-top: 1px solid var(--border-soft); }
  .section-head { max-width: 600px; margin-bottom: 44px; }
  .section-label {
    font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--text-faint);
    margin-bottom: 14px; letter-spacing: .08em; text-transform: uppercase;
  }
  h2 { font-size: clamp(24px, 3vw, 31px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
  .lede { color: var(--text-dim); font-size: 15.5px; margin-top: 14px; max-width: 540px; }

  .orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
  .org {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-height: 158px;
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 22px; transition: border-color .2s, transform .2s, box-shadow .2s;
  }
  .org .logo { width: 46px; height: 46px; flex: none; fill: var(--c); }
  .org .logo.stroke { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .org span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-top: auto; }
  .org:hover { border-color: var(--c); transform: translateY(-2px); box-shadow: 0 14px 30px -18px var(--c); }
  .fine { font-size: 12.5px; color: var(--text-faint); margin-top: 18px; max-width: 640px; }

  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .card {
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 26px; transition: transform .2s;
  }
  .card:hover { transform: translateY(-2px); }
  .card .num {
    font-family: "IBM Plex Mono", monospace; color: var(--text-faint);
    font-size: 12px; letter-spacing: .05em; margin-bottom: 10px;
  }
  .card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
  .card p { color: var(--text-dim); font-size: 14px; }


  /* ---------- Pen testing ---------- */
  .pricing-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
  .checks { list-style: none; }
  .checks li, #tablist li {
    position: relative; padding-left: 26px; margin-bottom: 14px; color: var(--text-dim); font-size: 14.5px;
  }
  .checks li b { color: var(--text); font-weight: 600; }
  .checks li::before, #tablist li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
  .price-card {
    position: relative; background: linear-gradient(180deg, rgba(74,222,128,.05), var(--bg-alt) 40%);
    border: 1px solid var(--accent-dim); border-radius: var(--radius); padding: 34px 26px 26px;
  }
  .price-tag {
    position: absolute; top: -11px; left: 26px; background: var(--accent); color: var(--accent-ink);
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 5px;
  }
  .price { font-size: clamp(46px, 6vw, 62px); font-weight: 600; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
  .per { color: var(--text-dim); font-size: 14px; margin: 10px 0 22px; }
  .stepper {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-raised); padding: 6px; margin-bottom: 14px;
  }
  .stepper button {
    width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--border);
    background: var(--bg-alt); color: var(--text); font: 600 18px "IBM Plex Mono", monospace; cursor: pointer;
    transition: border-color .15s;
  }
  .stepper button:hover, .stepper button:focus-visible { border-color: var(--accent); outline: none; }
  .stepper .count { font-size: 14px; color: var(--text); }
  .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; font-size: 14px; color: var(--text-dim); }
  .total strong { font-size: 24px; font-weight: 600; color: var(--text); }
  .price-card .btn { width: 100%; justify-content: center; }
  .price-note { font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }

  .stabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 52px; }
  .stab {
    font: 500 13.5px "Inter", sans-serif; padding: 9px 16px; border: 1px solid var(--border);
    border-radius: 7px; background: var(--bg-raised); color: var(--text-dim); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
  }
  .stab:hover, .stab:focus-visible { border-color: var(--text-faint); outline: none; }
  .stab[aria-selected="true"] { border-color: var(--accent); color: var(--text); background: var(--bg-alt); }
  .tab-panel { margin-top: 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px 16px; }
  #tablist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; animation: fadeIn .25s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }



  /* ---------- Sample report ---------- */
  .report { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .report-head {
    display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
    padding: 24px 26px; border-bottom: 1px solid var(--border-soft); background: var(--bg-raised);
  }
  .report-id { font-size: 12px; color: var(--text-faint); letter-spacing: .08em; margin-bottom: 6px; }
  .report-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; max-width: 460px; }
  .chips { display: flex; gap: 8px; flex-wrap: wrap; }
  .chip { font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; background: var(--bg-alt); }
  .chip.sample { color: var(--amber); border-color: rgba(232,185,105,.4); }
  .report-body { padding: 22px 26px 26px; }
  .rtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
  .rpanel { font-size: 14.5px; color: var(--text-dim); max-width: 680px; animation: fadeIn .25s ease; min-height: 120px; }
  .rpanel p { margin: 0; }
  .rpanel ol { padding-left: 22px; }
  .rpanel li { margin-bottom: 10px; }

  /* ---------- CTA ---------- */
  .cta-section { text-align: center; padding: 92px 0; }
  .cta-section .section-head { margin: 0 auto 32px; text-align: center; }
  .cta-section h2 { max-width: 560px; margin: 0 auto; }
  .cta-section .lede { margin: 14px auto 0; text-align: center; }
  .cta-section .cta-row { justify-content: center; margin-top: 30px; }

  footer { border-top: 1px solid var(--border-soft); padding: 30px 0; color: var(--text-faint); font-size: 13px; background: var(--bg); }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
  footer a { text-decoration: none; color: var(--text-dim); }
  footer a:hover { color: var(--accent); }

  .toast {
    position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(520px, calc(100vw - 32px));
    font-family: "IBM Plex Mono", monospace; font-size: 12.5px; line-height: 1.5; color: var(--text-dim);
    background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px;
    padding: 10px 14px; pointer-events: none;
    opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s;
  }
  .toast.show { opacity: 1; transform: none; }
  .toast.root { color: #f87171; border-color: #f87171; }

  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid, .grid.two { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    #tablist { grid-template-columns: 1fr; }
    #fx { opacity: .3; -webkit-mask-image: none; mask-image: none; }
  }
  @media (max-width: 480px) {
    .wrap { padding: 0 20px; }
    header.hero { padding: 64px 0 56px; }
    section { padding: 56px 0; }
    .profile-body { padding: 26px 20px 24px; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

  .org.c-indeed { --c: #2164f3; }
  .org.c-clickhouse { --c: #ffcc01; }
  .org.c-opensea { --c: #2081e2; }
  .org.c-gov { --c: #4ade80; }

  .rules-cta { margin-top: 28px; }

  /* ---------- FAQ ---------- */
  .faq { border-top: 1px solid var(--border-soft); max-width: 820px; }
  .faq details { border-bottom: 1px solid var(--border-soft); }
  .faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 4px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; transition: color .15s;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-family: "IBM Plex Mono", monospace; font-size: 22px; font-weight: 400; color: var(--accent); line-height: 1; flex: none; }
  .faq details[open] summary::after { content: "\2212"; }
  .faq summary:hover { color: var(--accent); }
  .faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
  .faq .ans { padding: 0 4px 24px; max-width: 700px; animation: fadeIn .25s ease; }
  .faq .ans p { color: var(--text-dim); font-size: 15px; margin: 0; }
  .faq .ans a { color: var(--accent); }
