/*
Theme Name: NoTolerated Brand Preview
Description: Reversible launch-candidate child theme for the NoTolerated public site.
Author: NoTolerated
Template: extendable
Version: 0.3.0-rc1
Text Domain: notolerated-brand-preview
*/

:root {
  color-scheme: dark;
  --nt-black: #05070a;
  --nt-ink: #0a0f14;
  --nt-surface: #101821;
  --nt-surface-raised: #16222d;
  --nt-gunmetal: #263746;
  --nt-chrome: #b8c7d1;
  --nt-white: #f7fbff;
  --nt-muted: #9dafbd;
  --nt-green: #a8ff00;
  --nt-blue: #00b8ff;
  --nt-focus: #70dcff;
  --nt-warning: #ffb000;
  --nt-border: rgb(184 199 209 / 18%);
  --nt-radius-sm: 8px;
  --nt-radius-md: 14px;
  --nt-max: 1180px;
  --nt-font-display: "Arial Black", "Segoe UI", sans-serif;
  --nt-font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nt-font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }
body { min-width: 0; margin: 0; background: radial-gradient(circle at 82% 2%, rgb(0 184 255 / 12%), transparent 34%), var(--nt-black); color: var(--nt-white); font-family: var(--nt-font-body); line-height: 1.6; }
.wp-site-blocks, .wp-block-post-content { margin: 0; padding: 0; }
a { color: var(--nt-blue); text-underline-offset: .2em; overflow-wrap: anywhere; }
button, a { touch-action: manipulation; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.nt-wrap { width: min(calc(100% - 32px), var(--nt-max)); margin-inline: auto; }
.nt-skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--nt-white); color: var(--nt-black); transform: translateY(-160%); }
.nt-skip:focus { transform: translateY(0); }
.nt-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--nt-border); background: rgb(5 7 10 / 94%); backdrop-filter: blur(12px); }
body.admin-bar .nt-header { top: 32px; }
.nt-nav { min-height: 72px; display: flex; align-items: center; gap: clamp(10px, 1.25vw, 20px); }
.nt-mark { margin-right: auto; flex: 0 0 auto; color: var(--nt-white); font-family: var(--nt-font-display); text-decoration: none; }
.nt-mark strong { color: var(--nt-blue); }
.nt-nav a:not(.nt-mark), .nt-nav span, .nt-menu-button { color: var(--nt-muted); font: 700 clamp(.7rem, .75vw, .84rem)/1.2 var(--nt-font-body); text-decoration: none; white-space: nowrap; }
.nt-nav a:hover { color: var(--nt-white); }
.nt-nav [aria-disabled="true"], .nt-unavailable { color: #8b98a2; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.nt-mobile-nav { display: none; position: relative; }
.nt-menu-button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--nt-border); border-radius: var(--nt-radius-sm); background: var(--nt-surface); }
.nt-menu-panel { position: absolute; top: calc(100% - 4px); right: 0; z-index: 30; width: min(290px, calc(100vw - 24px)); max-height: calc(100vh - 84px); overflow-y: auto; padding: 10px; border: 1px solid var(--nt-border); border-radius: var(--nt-radius-md); background: var(--nt-surface-raised); box-shadow: 0 18px 50px rgb(0 0 0 / 45%); }
.nt-menu-panel[hidden] { display: none; }
.nt-menu-panel a { display: block; min-height: 44px; padding: 11px 12px; color: var(--nt-white); }
.nt-hero { padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 80px); }
.nt-hero h1 { max-width: 980px; margin: 12px 0 20px; font: 900 clamp(2.7rem, 7vw, 7rem)/.92 var(--nt-font-display); letter-spacing: -.055em; text-transform: uppercase; }
.nt-hero h1 strong { color: var(--nt-green); }
.nt-eyebrow { display: inline-block; color: var(--nt-green); font: 700 .76rem/1.35 var(--nt-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.nt-lead { max-width: 760px; color: var(--nt-muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.nt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.nt-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid var(--nt-border); border-radius: var(--nt-radius-sm); color: var(--nt-white); font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; }
.nt-button--primary { background: var(--nt-green); border-color: var(--nt-green); color: #071000; }
.nt-status { margin-top: 18px; color: var(--nt-muted); font: 650 .8rem/1.5 var(--nt-font-mono); }
.nt-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.nt-section-heading h2 { margin: 8px 0 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.nt-section-heading p { max-width: 420px; margin: 0; color: var(--nt-muted); }
.nt-grid, .nt-lane-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nt-lane-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nt-card { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--nt-border); border-radius: var(--nt-radius-md); background: linear-gradient(145deg, rgb(22 34 45 / 86%), rgb(10 15 20 / 92%)); }
.nt-card h2, .nt-card h3 { margin: 10px 0; line-height: 1.2; }
.nt-card p, .nt-card li, .nt-card small { color: var(--nt-muted); }
.nt-card ul, .nt-card ol { padding-left: 1.3rem; }
.nt-wrap.nt-card, .nt-wrap.nt-grid, .nt-wrap.nt-lane-grid, .nt-wide { margin-top: 16px; }
.nt-wide { margin-bottom: 16px; }
.nt-loading { min-height: 160px; }
.nt-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nt-chip-row a, .nt-chip-row span { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--nt-border); border-radius: 999px; color: var(--nt-muted); text-decoration: none; }
.nt-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; padding-left: 1.5rem; }
.nt-footer { padding-block: 32px 48px; color: var(--nt-muted); font-size: .86rem; }
.nt-footer-line { font: 700 .74rem/1.5 var(--nt-font-mono); letter-spacing: .08em; }
.nt-page-hero { padding-block: clamp(48px, 7vw, 88px) 28px; }
.nt-page-hero h1 { max-width: 900px; margin: 10px 0 18px; font: 900 clamp(2.4rem, 6vw, 5.8rem)/.96 var(--nt-font-display); letter-spacing: -.045em; text-transform: uppercase; }
.nt-page-hero h1 strong { color: var(--nt-green); }
.nt-content-stack { display: grid; gap: 16px; padding-bottom: 32px; }
.nt-note { border-left: 4px solid var(--nt-warning); }
.nt-legal h2 { margin-top: 1.6em; }
.nt-legal h3 { margin-top: 1.3em; }
.nt-legal p, .nt-legal li { max-width: 78ch; color: var(--nt-muted); }
.nt-legal strong { color: var(--nt-white); }
.nt-badge { display: inline-flex; min-height: 36px; align-items: center; padding: 6px 10px; border: 1px solid var(--nt-border); border-radius: 999px; color: var(--nt-muted); font: 700 .72rem/1.2 var(--nt-font-mono); text-transform: uppercase; }

@media (max-width: 1120px) {
  .nt-desktop-nav { display: none; }
  .nt-mobile-nav { display: flex; }
}

@media (max-width: 760px) {
  body.admin-bar .nt-header { top: 46px; }
  .nt-wrap { width: min(calc(100% - 24px), var(--nt-max)); }
  .nt-nav { gap: clamp(8px, 3vw, 14px); }
  .nt-nav a:not(.nt-mark), .nt-nav span, .nt-menu-button { font-size: .78rem; }
  .nt-hero { padding-top: 52px; }
  .nt-hero h1 { font-size: clamp(2.45rem, 14vw, 4.8rem); }
  .nt-grid, .nt-lane-grid, .nt-steps { grid-template-columns: 1fr; }
  .nt-section-heading { display: block; }
  .nt-actions { align-items: stretch; flex-direction: column; }
  .nt-button { width: 100%; }
}

@media (max-width: 359px) {
  .nt-nav { gap: 7px; }
  .nt-nav a:not(.nt-mark), .nt-nav span, .nt-menu-button { font-size: .7rem; }
  .nt-mark { font-size: .9rem; }
  .nt-hero h1 { font-size: 2.35rem; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .nt-header { position: relative; }
  .nt-hero { padding-block: 36px; }
  .nt-menu-panel { max-height: calc(100vh - 72px); }
}

@media (prefers-reduced-motion: reduce) {
  .nt-header { backdrop-filter: none; }
}
