:root {
  --bg-top: #17110d;
  --bg-bottom: #090706;
  --panel: rgba(242, 234, 221, 0.94);
  --panel-border: rgba(203, 177, 131, 0.3);
  --gold: #d6a048;
  --gold-soft: rgba(214, 160, 72, 0.72);
  --gold-dim: rgba(214, 160, 72, 0.44);
  --text-main: #efe5d6;
  --text-muted: rgba(239, 229, 214, 0.68);
  --text-dark: #3d352f;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-border: rgba(61, 53, 47, 0.08);
  --danger: #a54832;
  --success: #375f40;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-panel: 0 24px 50px rgba(0, 0, 0, 0.26);
  --max-width: 72rem;
  --body-font: "Georgia", "Times New Roman", serif;
  --ui-font: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 28%, rgba(112, 73, 27, 0.26), transparent 36%),
    radial-gradient(circle at 50% 62%, rgba(130, 87, 38, 0.12), transparent 42%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text-main);
  font-family: var(--body-font);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

body.is-ready [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready [data-reveal="brand-1"] {
  transition-delay: 40ms;
}

body.is-ready [data-reveal="brand-2"] {
  transition-delay: 140ms;
}

body.is-ready [data-reveal="brand-3"] {
  transition-delay: 240ms;
}

body.is-ready [data-reveal="content-1"] {
  transition-delay: 420ms;
}

body.is-ready [data-reveal="content-2"] {
  transition-delay: 520ms;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 20;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(214, 160, 72, 0.24);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(47, 74, 49, 0.97), rgba(31, 50, 33, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  color: #f4ead8;
  font-family: var(--ui-font);
  font-size: 0.98rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(-50%) translateY(-0.75rem);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-glow {
  position: absolute;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 134, 58, 0.1), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.page-glow-left {
  top: 10%;
  left: -10rem;
}

.page-glow-right {
  right: -12rem;
  bottom: 16%;
}

.landing-page {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.hero,
.signup-section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
}

.hero-inner {
  width: min(100%, 52rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.eyebrow,
.season-line,
.social-links,
.copyright,
.section-kicker,
.button-link {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.brand-logo {
  width: min(44rem, 84vw);
  height: auto;
  max-height: 10.5rem;
  aspect-ratio: 2439 / 549;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.36));
}

.brand-subtitle {
  margin: -0.45rem 0 0;
  color: var(--gold);
  font-style: italic;
  font-size: clamp(1.5rem, 1rem + 1vw, 2.1rem);
}

.season-line {
  margin: 0;
  color: rgba(215, 191, 155, 0.54);
  font-size: clamp(0.92rem, 0.72rem + 0.46vw, 1.45rem);
}

.primary-panel,
.signup-column {
  width: 100%;
}

.primary-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18.75rem);
  min-width: 0;
  padding: 0.95rem 1.25rem;
  border: 1px solid rgba(208, 173, 117, 0.18);
  background: rgba(255, 255, 255, 0.015);
  color: rgba(232, 209, 166, 0.82);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button-link[href]:hover,
.button-link[href]:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 160, 72, 0.48);
  background: rgba(214, 160, 72, 0.08);
  outline: none;
}

.button-link[aria-disabled="true"] {
  cursor: default;
}

.button-link-muted {
  color: rgba(232, 209, 166, 0.66);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: rgba(215, 191, 155, 0.56);
}

.social-links a {
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

.social-links a[aria-disabled="true"] {
  cursor: default;
}

.copyright {
  margin: 0;
  color: rgba(239, 229, 214, 0.34);
  font-size: 0.68rem;
}

.page-footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 1rem;
}

.signup-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  margin-top: 0;
}

.signup-copy {
  align-self: center;
  padding: 0;
  text-align: center;
  margin-bottom: 0.85rem;
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: rgba(214, 160, 72, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: none;
  font-size: clamp(1rem, 0.82rem + 0.6vw, 1.28rem);
  line-height: 1.2;
  font-weight: 500;
  color: rgba(215, 191, 155, 0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-text {
  max-width: 30rem;
  margin: 0.5rem 0 0;
  color: rgba(215, 191, 155, 0.6);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-left: auto;
  margin-right: auto;
}

.form-card-wrap {
  position: relative;
  width: 100%;
  max-width: 27rem;
  margin: 0 auto;
}

.form-card-wrap::before {
  content: "";
  position: absolute;
  inset: 1.2rem 0.9rem -1rem;
  border-radius: 1.8rem;
  background: radial-gradient(circle, rgba(214, 160, 72, 0.16), transparent 70%);
  filter: blur(18px);
}

.signup-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 1.45rem;
  background: var(--panel);
  color: var(--text-dark);
  box-shadow: var(--shadow-panel);
}

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

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.field-group-full {
  grid-column: 1 / -1;
}

.field-group label,
.checkbox-label span {
  color: rgba(61, 53, 47, 0.92);
  font-family: var(--ui-font);
  font-size: 0.94rem;
  line-height: 1.3;
  font-weight: 600;
}

.field-group label span {
  color: rgba(61, 53, 47, 0.66);
  font-weight: 500;
}

.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="tel"] {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.82rem;
  background: var(--surface);
  color: var(--text-dark);
  font-family: var(--ui-font);
  font-size: 0.96rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.field-group input::placeholder {
  color: rgba(61, 53, 47, 0.5);
}

.field-group input:focus-visible,
.checkbox-label:focus-within {
  outline: none;
  border-color: rgba(214, 160, 72, 0.46);
  box-shadow:
    0 0 0 4px rgba(214, 160, 72, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.checkbox-group {
  padding-top: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.checkbox-label input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #4e4036;
}

.field-error {
  display: none;
  margin: 0;
  color: var(--danger);
  font-family: var(--ui-font);
  font-size: 0.82rem;
}

.field-group input[aria-invalid="true"] {
  border-color: rgba(165, 72, 50, 0.5);
  background: rgba(255, 247, 244, 0.96);
}

.field-error:not(:empty) {
  display: block;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0;
}

.form-status {
  display: none;
  margin: 0;
  font-family: var(--ui-font);
  font-size: 0.82rem;
}

.form-status:not(:empty) {
  display: block;
}

.submit-button {
  width: fit-content;
  min-width: 9.4rem;
  min-height: 3.4rem;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #433831, #332b26);
  color: rgba(255, 250, 244, 0.94);
  font-family: var(--ui-font);
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

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

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-status[data-state="success"] {
  color: var(--success);
}

@media (min-width: 861px) {
  .hero {
    padding-top: 1.8rem;
    padding-bottom: 1.4rem;
  }

  .hero-inner {
    width: min(100%, 56rem);
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .brand-subtitle {
    margin-bottom: 0.9rem;
  }

  .brand-logo {
    width: min(42rem, 74vw);
    max-height: 9.5rem;
  }

  .signup-section {
    grid-template-columns: minmax(18rem, 24rem) minmax(20rem, 27rem);
    justify-content: center;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-bottom: 3rem;
  }

  .primary-panel {
    width: min(100%, 24rem);
    padding-top: 0.3rem;
  }

  .signup-copy {
    width: 100%;
    margin: 0 0 1rem;
    padding: 0 0 0.4rem;
    text-align: center;
  }

  .section-kicker {
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
  }

  .signup-column {
    width: min(100%, 27rem);
  }

  .section-title {
    font-size: 1.08rem;
    white-space: normal;
  }

  .section-text {
    max-width: 18rem;
    margin-top: 0.32rem;
    font-size: 0.82rem;
    line-height: 1.32;
    margin-left: auto;
    margin-right: auto;
  }

  .button-link {
    width: min(100%, 20rem);
    font-size: 0.86rem;
  }

  .social-links {
    gap: 1.4rem;
  }

  .form-card-wrap {
    max-width: none;
  }

  .signup-form {
    gap: 0.7rem;
    padding: 0.9rem;
    border-radius: 1.2rem;
  }

  .form-grid {
    gap: 0.6rem 0.75rem;
  }

  .field-group label,
  .checkbox-label span {
    font-size: 0.9rem;
  }

  .field-group input[type="text"],
  .field-group input[type="email"],
  .field-group input[type="tel"] {
    min-height: 2.35rem;
    padding: 0.52rem 0.72rem;
    border-radius: 0.75rem;
    font-size: 0.92rem;
  }

  .checkbox-label input {
    width: 1.05rem;
    height: 1.05rem;
  }

  .form-actions {
    gap: 0.25rem;
  }

  .submit-button {
    min-width: 8.2rem;
    min-height: 2.95rem;
    padding: 0.7rem 1rem;
    border-radius: 0.9rem;
    font-size: 0.96rem;
  }
}

@media (max-width: 860px) {
  .toast {
    top: 1rem;
    left: 50%;
    max-width: none;
    width: min(calc(100vw - 2rem), 24rem);
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .signup-section {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 1rem;
  }

  .signup-copy {
    padding-top: 0;
    text-align: center;
  }

  .section-title,
  .section-text {
    margin-left: auto;
    margin-right: auto;
  }

  .section-text {
    max-width: 26rem;
  }
}

@media (max-width: 640px) {
  .hero,
  .signup-section {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .hero-inner {
    gap: 1rem;
  }

  .brand-subtitle {
    margin-top: -0.5rem;
  }

  .brand-logo {
    width: min(32rem, 84vw);
    max-height: 6.8rem;
  }

  .season-line {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .cta-group,
  .social-links {
    width: 100%;
  }

  .button-link {
    width: min(100%, 18rem);
    margin-inline: auto;
    padding: 0.9rem 1.1rem;
    font-size: 0.86rem;
  }

  .section-kicker,
  .section-title,
  .section-text {
    text-align: center;
  }

  .section-title {
    font-size: 1rem;
    white-space: normal;
  }

  .section-text {
    max-width: 18rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
  }

  .signup-form {
    border-radius: 1.4rem;
    padding: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .field-group-full {
    grid-column: auto;
  }

  .submit-button {
    width: auto;
    min-width: 7.75rem;
    min-height: 2.75rem;
    padding: 0.68rem 0.95rem;
    font-size: 0.94rem;
  }
}
