:root {
  --navy: #002e5d;
  --navy-950: #001225;
  --navy-900: #001b35;
  --orange: #ff6b00;
  --white: #ffffff;
  --muted: #c9d5e6;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(0, 34, 70, 0.72);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy-950);
  color: var(--white);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 18, 37, 0.24), rgba(0, 18, 37, 0.98)),
    radial-gradient(circle at 15% 10%, rgba(255, 107, 0, 0.18), transparent 30%),
    var(--navy-950);
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 13, 30, 0.94) 0%, rgba(0, 36, 75, 0.86) 42%, rgba(0, 25, 54, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.54) 100%),
    url("../images/caterbids-hero-showroom.png");
  background-size: cover;
  background-position: center center;
}

.hero-inner,
.content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(255, 107, 0, 0.22);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand-name span,
.orange {
  color: var(--orange);
}

.tagline {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

.hero-copy {
  max-width: 760px;
  padding: 72px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 28, 58, 0.7);
  color: #ffe2cc;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.5;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 950;
}

.button.primary {
  background: linear-gradient(135deg, var(--orange), #ff8b2d);
  color: white;
  box-shadow: 0 18px 45px rgba(255, 107, 0, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.waitlist-card {
  max-width: 620px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.waitlist-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.waitlist-card p {
  margin: 0;
  color: #47617f;
  font-weight: 700;
  line-height: 1.5;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.signup-form input[type="email"] {
  min-height: 54px;
  width: 100%;
  border: 1px solid #d7e0ec;
  border-radius: 18px;
  padding: 0 16px;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.signup-form input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.13);
}

.signup-form button {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  padding: 0 20px;
  background: var(--orange);
  color: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-message {
  min-height: 22px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-message[data-tone="success"] {
  color: #047857;
}

.form-message[data-tone="error"] {
  color: #b42318;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 38px 0 48px;
}

.trust-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.trust-card {
  padding: 18px;
}

.trust-card strong {
  display: block;
  margin-bottom: 4px;
  color: white;
}

.trust-card span,
.info-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.6;
}

.content {
  padding: 52px 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  padding: 22px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

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

.legal-page {
  min-height: 100vh;
  padding: 24px 0 52px;
  background: linear-gradient(180deg, var(--navy), var(--navy-950));
}

.legal-card {
  width: min(860px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(0, 28, 58, 0.78);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.legal-card h2 {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .hero {
    background-position: center right;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .signup-form,
  .trust-row,
  .grid {
    grid-template-columns: 1fr;
  }

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

  .actions .button {
    width: 100%;
  }
}
