:root {
  color-scheme: dark;
  --bg: #090806;
  --bg-soft: #12100c;
  --panel: #18150f;
  --panel-strong: #211c13;
  --text: #fffaf0;
  --muted: #d8cdb8;
  --dim: #9f927c;
  --gold: #d9a441;
  --gold-strong: #f0c15d;
  --gold-soft: rgba(217, 164, 65, 0.18);
  --line: rgba(255, 250, 240, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
  --error: #ffb4a8;
  --success: #bfe8c4;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

#signup,
#local-suggestion,
#suggestion-panel {
  scroll-margin-top: 1rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 164, 65, 0.18), transparent 32rem),
    linear-gradient(180deg, #0d0b08 0%, #090806 48%, #0f0c08 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--gold);
  color: #171109;
  font-weight: 800;
  padding: 0.75rem 1rem;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  padding: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(240, 193, 93, 0.68);
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.13);
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.9) 0%, rgba(9, 8, 6, 0.78) 48%, rgba(9, 8, 6, 0.62) 100%),
    linear-gradient(180deg, rgba(9, 8, 6, 0.34), rgba(9, 8, 6, 0.92)),
    var(--hero-background-image, url("../img/og-image.jpg")) center / cover no-repeat;
  padding: 5.5rem 1rem 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 193, 93, 0.24), transparent 66%);
  pointer-events: none;
}

.hero__inner,
.section-inner,
.footer-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 45rem;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 10ch;
  color: #fffdf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 14vw, 6.7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

.tagline {
  margin: 1.1rem 0 0;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 7vw, 3rem);
  line-height: 1.08;
}

.intro {
  max-width: 43rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.24rem);
}

.coming-soon {
  margin: 1rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.suggestion-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(240, 193, 93, 0.52);
  outline-offset: 3px;
}

.button--primary {
  background: var(--gold);
  color: #171109;
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.22);
}

.button--primary:hover {
  background: var(--gold-strong);
}

.button--secondary {
  border-color: rgba(255, 250, 240, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--secondary:hover {
  border-color: rgba(240, 193, 93, 0.72);
}

.button--full {
  width: 100%;
}

.signup-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 28, 19, 0.94), rgba(18, 16, 12, 0.96));
  box-shadow: 0 24px 70px var(--shadow);
  padding: 1.1rem;
}

.signup-panel.form-attention {
  border-color: rgba(240, 193, 93, 0.78);
  box-shadow: 0 24px 70px var(--shadow), 0 0 0 3px rgba(240, 193, 93, 0.18);
  animation: form-attention 1100ms ease-out;
}

@keyframes form-attention {
  0% {
    box-shadow: 0 24px 70px var(--shadow), 0 0 0 0 rgba(240, 193, 93, 0.34);
  }

  55% {
    box-shadow: 0 24px 70px var(--shadow), 0 0 0 6px rgba(240, 193, 93, 0.18);
  }

  100% {
    box-shadow: 0 24px 70px var(--shadow), 0 0 0 3px rgba(240, 193, 93, 0.18);
  }
}

.signup-panel h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 7vw, 2.25rem);
  line-height: 1.1;
}

.signup-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.optional-suggestion {
  display: grid;
  gap: 0.7rem;
}

.suggestion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(240, 193, 93, 0.34);
  border-radius: 5px;
  background: rgba(217, 164, 65, 0.1);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  padding: 0.75rem 0.82rem;
  text-align: left;
  cursor: pointer;
}

.suggestion-toggle::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.suggestion-toggle[aria-expanded="true"]::after {
  content: "-";
}

.suggestion-panel[hidden] {
  display: none;
}

label {
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 5px;
  background: rgba(9, 8, 6, 0.74);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.82rem;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

select {
  color: var(--text);
}

::placeholder {
  color: var(--dim);
}

.form-note {
  margin: 0;
  color: var(--dim);
  font-size: 0.86rem;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.status-message {
  margin: 0 0 1rem;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.status-message--success {
  border: 1px solid rgba(191, 232, 196, 0.45);
  background: rgba(191, 232, 196, 0.1);
  color: var(--success);
}

.status-message--error {
  border: 1px solid rgba(255, 180, 168, 0.45);
  background: rgba(255, 180, 168, 0.1);
  color: var(--error);
}

.about {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 3rem 1rem;
}

.scope {
  border-top: 1px solid var(--line);
  background: #0b0907;
  padding: 3rem 1rem;
}

.section-heading {
  max-width: 48rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 8vw, 3.8rem);
  line-height: 1.05;
}

.section-copy {
  max-width: 54rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.1rem;
}

.card-number {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.info-card h3 {
  margin: 0.6rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.info-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.scope-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.scope-intro {
  max-width: 48rem;
}

.scope-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.04;
}

.scope-intro p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.scope-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.scope-block {
  border-top: 1px solid rgba(240, 193, 93, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  padding: 1.25rem 1rem 1.1rem;
}

.scope-block h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.18;
}

.scope-block p,
.scope-block ul {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.scope-block ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.2rem;
}

.scope-block li::marker {
  color: var(--gold-strong);
}

.scope-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.2rem;
}

.scope-cta p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070605;
  padding: 1.4rem 1rem;
}

.footer-inner {
  display: grid;
  gap: 0.3rem;
}

.footer-inner p {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
}

@media (min-width: 560px) {
  .site-header {
    padding: 1.25rem 1.5rem;
  }

  .hero {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button {
    min-width: 13rem;
  }

  .signup-panel {
    padding: 1.4rem;
  }

  .about,
  .scope,
  .site-footer {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .scope-cta {
    grid-template-columns: 1fr auto;
    padding: 1.35rem 1.5rem;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .footer-inner p:nth-child(2) {
    text-align: center;
  }

  .footer-inner p:last-child {
    text-align: right;
  }
}

@media (min-width: 920px) {
  .hero {
    display: grid;
    align-items: center;
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.72fr);
    gap: 3.5rem;
  }

  .about {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .scope {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .scope-grid {
    gap: 1.5rem 2rem;
  }

  .scope-block {
    padding: 1.55rem 1.45rem 1.35rem;
  }

  .section-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.75rem 2.5rem;
    align-items: start;
  }

  .section-heading {
    grid-row: 1 / span 2;
  }

  .section-copy,
  .cards {
    grid-column: 2;
  }

  .section-copy {
    grid-row: 1;
    margin-top: 0;
  }

  .cards {
    grid-row: 2;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .signup-panel.form-attention {
    animation: none;
  }
}
