:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #171717;
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --subtle: #7c7c7c;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --silver: #c0c0c0;
  --silver-dark: #707070;
  --focus: #ffffff;
  --danger: #ffb4b4;
  --success: #c9f7d4;
  --radius: 8px;
  --max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 28%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 18px
    ),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(192, 192, 192, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0), #050505 72%);
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  min-width: 160px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.075);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: center;
  gap: 4rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-mark {
  position: absolute;
  top: -4.5rem;
  left: -5rem;
  z-index: -1;
  width: 24rem;
  max-width: 64vw;
  opacity: 0.11;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.5));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 1.4rem;
  font-size: 5.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.65;
}

.hero-instagram {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.85rem;
  min-width: min(100%, 23rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: var(--text);
  color: #080808;
  padding: 0.95rem 1rem;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.hero-instagram:hover,
.hero-instagram:focus-visible {
  transform: translateY(-1px);
  background: var(--silver);
}

.instagram-icon {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 2.1;
}

.instagram-copy {
  display: grid;
  gap: 0.12rem;
}

.instagram-copy > span {
  font-size: 0.98rem;
  font-weight: 720;
}

.instagram-copy strong {
  color: #080808;
  font-size: 1.35rem;
  font-weight: 820;
  line-height: 1.1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.button.primary {
  border-color: var(--silver);
  background: var(--text);
  color: #080808;
}

.button.primary:hover,
.button.primary:focus-visible,
.button.primary:disabled {
  background: var(--silver);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.07);
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(12, 12, 12, 0.84);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  padding: 1.25rem;
}

.panel-heading {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.partner-section h2,
.waitlist-section h2 {
  margin-bottom: 0.65rem;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.panel-heading p,
.partner-section p,
.waitlist-section p,
.partner-list p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding-top: 1.1rem;
}

.field-row {
  display: grid;
  gap: 0.45rem;
}

label {
  color: var(--silver);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  padding: 0.85rem 0.9rem;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--silver) 50%),
    linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--success);
  font-size: 0.95rem;
}

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

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 3rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.waitlist-copy p {
  max-width: 560px;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(12, 12, 12, 0.72);
  padding: 1.25rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.waitlist-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.waitlist-submit {
  width: 100%;
}

.partner-section,
.site-footer {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.partner-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  padding: 5rem 0;
}

.section-copy p {
  max-width: 520px;
}

.partner-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.partner-list div {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.partner-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.partner-list p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 720px);
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 170px;
  max-width: 42vw;
  height: auto;
  opacity: 0.68;
}

.footer-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: start;
  gap: 1.5rem;
}

.footer-link {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.footer-link span {
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  transition: border-color 160ms ease;
}

.footer-link strong {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 520;
}

.footer-link:hover span,
.footer-link:focus-visible span {
  border-color: currentColor;
}

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

  .header-actions {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-copy p {
    font-size: 1.12rem;
  }

  .hero-instagram {
    width: min(100%, 28rem);
  }

  .contact-panel {
    max-width: 580px;
  }

  .partner-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .waitlist-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .brand {
    width: 145px;
    min-width: 0;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .header-link {
    flex: 1 1 0;
    min-height: 2.5rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
    text-align: center;
  }

  .hero {
    padding: 1.25rem 0 3rem;
  }

  .hero-mark {
    top: -2.5rem;
    left: -4rem;
    width: 18rem;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.02;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-instagram {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .panel-heading h2,
  .partner-section h2,
  .waitlist-section h2 {
    font-size: 1.65rem;
  }

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

  .waitlist-fields {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
