/*
Theme Name: PCS Teaser
Theme URI: https://example.invalid/pcs-linux
Author: PCS Linux
Description: A focused early-access landing page for PCS Linux.
Version: 0.1.0
Requires at least: 7.1
Requires PHP: 8.3
License: GNU General Public License v2 or later
Text Domain: pcs-teaser
*/

:root {
  --ink: #f5f7fb;
  --muted: #aab6c8;
  --night: #07101e;
  --panel: rgba(11, 23, 41, 0.82);
  --line: rgba(179, 208, 239, 0.18);
  --cobalt: #4f8cff;
  --teal: #46d3c3;
  --amber: #ffc768;
  --danger: #ff8f8f;
  --success: #72e1b8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 5%, rgba(79, 140, 255, 0.16), transparent 35rem),
    radial-gradient(circle at 90% 20%, rgba(70, 211, 195, 0.1), transparent 31rem),
    var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  content: "";
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(114, 225, 184, 0.34);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(79, 140, 255, 0.26), rgba(70, 211, 195, 0.12));
  box-shadow: inset 0 0 18px rgba(79, 140, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.project-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-state::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 199, 104, 0.8);
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
  padding: clamp(68px, 9vw, 120px) 0 72px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.signup-block {
  max-width: 600px;
  margin-top: 34px;
}

.pcs-signup-form {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr) auto;
  gap: 10px;
}

.pcs-field {
  min-width: 0;
}

.pcs-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.pcs-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pcs-field input::placeholder {
  color: #7f8ca1;
}

.pcs-field input:focus {
  border-color: rgba(79, 140, 255, 0.75);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.pcs-signup-form button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #0b1524;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease;
}

.pcs-signup-form button:hover {
  background: #dbe8ff;
  transform: translateY(-1px);
}

.pcs-signup-form button:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.pcs-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pcs-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--cobalt);
}

.pcs-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pcs-form-message {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.pcs-form-message--success {
  border-color: rgba(114, 225, 184, 0.35);
  color: var(--success);
}

.pcs-form-message--error {
  border-color: rgba(255, 143, 143, 0.35);
  color: var(--danger);
}

.fine-print {
  margin: 12px 0 0;
  color: #7f8ca1;
  font-size: 12px;
}

.classified-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(159, 199, 238, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.classified-frame::after {
  position: absolute;
  inset: 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(7, 16, 30, 0.04), rgba(7, 16, 30, 0.42));
  pointer-events: none;
  content: "";
}

.classified-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 13px;
  object-fit: cover;
  filter: blur(7px) saturate(0.72) brightness(0.78);
  transform: scale(1.012);
}

.classification-strip {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: -14px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 199, 104, 0.55);
  border-radius: 6px;
  background: rgba(17, 17, 14, 0.92);
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.redaction {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 32px;
  width: 42%;
  height: 14px;
  border-radius: 2px;
  background: #05080d;
  box-shadow: 0 -24px 0 #05080d, -62px -48px 0 -2px #05080d;
  opacity: 0.88;
  transform: rotate(-1deg);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal {
  min-height: 160px;
  padding: 30px clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.signal:last-child {
  border-right: 0;
}

.signal-number {
  color: var(--teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.signal h2 {
  margin: 12px 0 7px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.signal p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding: 90px 0;
}

.manifesto-label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.manifesto-copy {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.manifesto-copy span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: #7f8ca1;
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .classified-frame {
    width: min(760px, 100%);
    transform: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .project-state {
    font-size: 10px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .pcs-signup-form {
    grid-template-columns: 1fr;
  }

  .pcs-signup-form button {
    width: 100%;
  }

  .signal-row,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal:last-child {
    border-bottom: 0;
  }

  .manifesto {
    gap: 28px;
    padding: 68px 0;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

