:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #5e6965;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --line: #d6d8d2;
  --red: #b4232b;
  --amber: #d99025;
  --green: #226957;
  --cyan: #2f6f82;
  --shadow: 0 18px 50px rgba(20, 31, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(22, 33, 31, 0.08);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 178px;
  height: auto;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: var(--red);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(22, 33, 31, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 7vw, 96px) clamp(92px, 14vw, 150px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(246, 244, 239, 0.96), rgba(255, 255, 255, 0.78));
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 7vw, 96px);
  right: clamp(20px, 7vw, 96px);
  bottom: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--cyan));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 740px;
  margin: 28px 0 0;
  color: #31413d;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-tagline {
  margin: 18px 0 0;
  color: var(--red);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.alert-preview {
  border: 1px solid rgba(22, 33, 31, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 244, 239, 0.86)),
    url("/logo-assets/PatchSiren-logo-badge.png") right -54px bottom -58px / 210px auto no-repeat;
  box-shadow: var(--shadow);
}

.alert-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.alert-preview-header span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-preview h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.alert-preview dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.alert-preview dl div {
  padding-top: 16px;
  border-top: 1px solid rgba(22, 33, 31, 0.12);
}

.alert-preview dt {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alert-preview dd {
  margin: 0;
  color: #31413d;
  font-weight: 700;
}

.band {
  padding: clamp(60px, 8vw, 96px) clamp(20px, 6vw, 72px);
}

.section-inner,
.waitlist-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.pilot-focus-strip {
  padding: clamp(34px, 5vw, 56px) clamp(20px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.pilot-focus-strip h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
}

.focus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.focus-pills li {
  border: 1px solid rgba(22, 33, 31, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  color: #293632;
  background: rgba(246, 244, 239, 0.84);
  font-size: 0.92rem;
  font-weight: 800;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.focus-grid article {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.focus-grid h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
}

.focus-grid p,
.waitlist-copy p,
.privacy-list,
.join-steps ol {
  color: var(--muted);
}

.waitlist-band {
  background: #ffffff;
}

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.waitlist-copy {
  position: sticky;
  top: 104px;
}

.privacy-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.join-steps {
  margin: 28px 0;
}

.join-steps h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.join-steps ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.waitlist-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
fieldset {
  min-width: 0;
}

label span,
legend {
  display: block;
  margin-bottom: 10px;
  color: #293632;
  font-size: 0.94rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b8bdb7;
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

select[multiple] {
  min-height: 202px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 111, 130, 0.24);
  border-color: var(--cyan);
}

fieldset {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-groups {
  display: grid;
  gap: 22px;
}

.checkbox-group h3 {
  margin: 0 0 10px;
  color: #293632;
  font-size: 0.96rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #31413d;
  font-size: 0.94rem;
}

.checkbox-grid input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 4px;
}

.turnstile-slot {
  min-height: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.error {
  color: var(--red);
}

.form-status.success {
  color: var(--green);
}

.submit-button {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.submit-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.submit-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(240px, 1.2fr) minmax(160px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #b8bdb7;
}

.footer-logo img {
  width: 238px;
  height: auto;
  animation: footer-logo-glow 3.4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 1))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.42));
}

@keyframes footer-logo-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 3px rgba(255, 255, 255, 0.98))
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.68))
      drop-shadow(0 0 22px rgba(255, 255, 255, 0.38));
  }

  50% {
    filter:
      drop-shadow(0 0 5px rgba(255, 255, 255, 1))
      drop-shadow(0 0 18px rgba(255, 255, 255, 0.88))
      drop-shadow(0 0 34px rgba(255, 255, 255, 0.56));
  }
}

.footer-tagline,
.footer-launch {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.15;
  animation: footer-tagline-glow 3.4s ease-in-out infinite;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.92),
    0 0 8px rgba(255, 255, 255, 0.66),
    0 0 16px rgba(255, 255, 255, 0.42);
}

.footer-tagline {
  color: var(--red);
  text-align: center;
}

@keyframes footer-tagline-glow {
  0%,
  100% {
    text-shadow:
      0 0 2px rgba(255, 255, 255, 0.92),
      0 0 8px rgba(255, 255, 255, 0.66),
      0 0 16px rgba(255, 255, 255, 0.42);
  }

  50% {
    text-shadow:
      0 0 3px rgba(255, 255, 255, 1),
      0 0 12px rgba(255, 255, 255, 0.86),
      0 0 22px rgba(255, 255, 255, 0.6),
      0 0 32px rgba(255, 255, 255, 0.36);
  }
}

.footer-launch {
  color: var(--ink);
  text-align: right;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

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

  h1 {
    max-width: 11ch;
  }

  .focus-grid,
  .waitlist-layout,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .alert-preview {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 239, 0.92)),
      url("/logo-assets/PatchSiren-logo-badge.png") right -48px bottom -64px / 170px auto no-repeat;
  }

  .waitlist-copy {
    position: static;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-launch {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo img,
  .footer-tagline,
  .footer-launch {
    animation: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 154px;
  }

  .header-cta {
    width: 100%;
  }
}
