/* deny.sh */

:root {
  --bg: #0a0a0a;
  --surface: #111;
  --border: #222;
  --text: #e8e8e8;
  --text-secondary: #888;
  --font: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--text);
  text-decoration: none;
}

::selection {
  background: rgba(255, 255, 255, 0.15);
}

input, textarea, button {
  -webkit-appearance: none;
  appearance: none;
}

/* ─── NAV ─── */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 820px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* ─── MAIN ─── */

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* ─── HERO ─── */

.hero {
  padding: 6rem 0 5rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-compact {
  padding: 5rem 0 2rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.hero-cta:hover {
  opacity: 0.85;
}

/* ─── SECTIONS ─── */

section {
  padding: 3rem 0;
}

section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

section p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

section p strong {
  color: var(--text);
  font-weight: 600;
}

section p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── PROBLEM ─── */

.problem {
  padding: 4rem 0;
}

.problem p {
  font-size: 1.08rem;
  line-height: 1.75;
}

/* ─── HOW IT WORKS ─── */

.how .step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.how .step:last-child {
  margin-bottom: 0;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.step p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ─── WHO / USE CASES ─── */

.who-section {
  padding: 3rem 0;
}

.use-case {
  margin-bottom: 2.25rem;
}

.use-case:last-child {
  margin-bottom: 0;
}

.use-case h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.use-case p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ─── PROOF STATS ─── */

.proof-stats {
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.stat {
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 0.4rem;
}

.stat-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.stat-detail a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.stat-detail a:hover {
  color: var(--text);
}

/* ─── CODE BLOCK ─── */

.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.75rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.code-block code .c {
  color: #555;
}

.code-block code .g {
  color: #4a9;
}

/* ─── DEMO ─── */

.demo-section {
  padding: 3rem 0;
}

.demo-section > p {
  margin-bottom: 2rem;
}

.demo-app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.demo-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.demo-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.demo-tab:hover {
  color: var(--text);
}

.demo-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

.demo-panel label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  margin-top: 1rem;
}

.demo-panel label:first-child {
  margin-top: 0;
}

.demo-panel label .hint {
  color: #555;
  font-weight: 400;
}

.demo-panel textarea,
.demo-panel input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}

.demo-panel textarea:focus,
.demo-panel input:focus {
  border-color: #555;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.demo-panel textarea::placeholder,
.demo-panel input::placeholder {
  color: #444;
}

.field-row {
  display: flex;
  gap: 1rem;
}

.field-row .field {
  flex: 1;
}

.demo-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.demo-btn:hover {
  opacity: 0.85;
}

.demo-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.demo-output {
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-secondary);
  word-break: break-all;
  display: none;
  white-space: pre-wrap;
}

.demo-output.visible {
  display: block;
}

.demo-output.error {
  border-color: #522;
  color: #c66;
}

.demo-output .label {
  color: #555;
  display: block;
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-output .label:first-child {
  margin-top: 0;
}

.demo-output .value {
  color: var(--text);
  display: block;
  word-break: break-all;
}

.copy-btn {
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--border);
  color: var(--text-secondary);
  border: 1px solid #333;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.copy-btn:hover {
  background: #333;
  color: var(--text);
}

/* ─── CLOSING ─── */

.closing {
  text-align: center;
  padding: 4rem 0;
}

.closing h2 {
  margin-bottom: 1rem;
}

.closing p {
  margin-bottom: 2rem;
}

.closing .kicker {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  font-style: italic;
}

/* ─── FOOTER ─── */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-left: 1rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  transition: color 0.15s;
}

.footer-right a:hover {
  color: var(--text);
}

/* ─── PRICING TABLE ─── */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-table td {
  color: var(--text-secondary);
}

.pricing-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* ─── INLINE LINK ─── */

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: #fff;
}

/* ─── INLINE CODE ─── */

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.code-block code {
  background: none;
  padding: 0;
}

/* ─── VERIFY PAGE ─── */

.verify-hero {
  padding: 6rem 0 3rem;
}

.verify-hero h1 {
  font-size: 2.4rem;
}

.verify-hero .score {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 1.5rem 0 0.5rem;
}

.verify-hero .score-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.suite {
  padding: 2.5rem 0;
}

.suite-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.suite-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.suite-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.suite > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.result {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.result:last-child {
  border-bottom: none;
}

.result .check {
  color: #4a9;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.result .name {
  color: var(--text);
}

.result .detail {
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.claim {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.claim:last-child {
  margin-bottom: 0;
}

.claim h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.claim p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.run-info {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem 0 1rem;
}

/* ─── LEGAL PAGES ─── */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.legal .last-updated {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.legal p, .legal li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--text);
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.82rem;
  }

  main {
    padding: 0 1.5rem 4rem;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-compact {
    padding: 3rem 0 1.5rem;
  }

  .field-row {
    flex-direction: column;
    gap: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .result {
    flex-wrap: wrap;
  }

  .result .detail {
    margin-left: 1.5rem;
    margin-top: 0.15rem;
  }

  .verify-hero .score {
    font-size: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}
