:root {
  --cream: #f7f2e8;
  --maroon: #6d1f2f;
  --maroon-dark: #511b27;
  --ink: #1c1c1c;
  --ink-soft: rgba(28, 28, 28, 0.78);
  --panel: #e7e1d5;
  --panel-border: rgba(35, 25, 20, 0.12);
  --white: #fff;
  --shadow: rgba(31, 23, 18, 0.12);
  --focus: #1a73e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  border: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  min-height: 112px;
}

.brand-mark {
  width: 120px;
  height: 96px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding: 0 10px;
  font-size: clamp(0.95rem, 0.9vw + 0.6rem, 1.5rem);
  line-height: 1.2;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 0.8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: center;
  min-height: 680px;
  padding-top: 10px;
}

.hero-copy {
  padding-left: 18px;
}

h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  font-size: clamp(2.4rem, 2vw + 1.1rem, 4.2rem);
  max-width: 720px;
}

h1 .line {
  display: block;
}

.tagline {
  font-size: clamp(1.4rem, 1.5vw + 0.75rem, 2rem);
  font-weight: 500;
  color: var(--ink-soft);
  margin: 48px 0 34px;
  font-style: normal;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 540px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 56px;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  background: var(--maroon);
  color: var(--white);
  font-size: clamp(1.1rem, 1vw + 0.8rem, 1.7rem);
  font-weight: 600;
  box-shadow: 0 3px 0 rgba(58, 18, 27, 0.35);
  border: 1px solid rgba(28, 28, 28, 0.06);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 690px;
}

.phone-scale-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  transform: scale(0.72);
  transform-origin: top center;
  margin-bottom: -110px;
}

.phone-mockup {
  width: auto;
  max-width: 320px;
  max-height: 620px;
  height: auto;
  background: #0b0b0b;
  border-radius: 30px 30px 34px 34px;
  box-shadow: inset 0 0 0 1px rgba(35, 25, 20, 0.08);
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-card {
  width: 100%;
  border-radius: 20px;
  background: rgba(249, 247, 244, 0.38);
  overflow: hidden;
}

.owl-card {
  min-height: 210px;
  background: #f7f2e8;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 18px;
}

.owl-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  transform: translateY(0);
  background: transparent;
  filter: none;
  -webkit-filter: none;
}

.waitlist-card {
  background: rgba(247, 242, 232, 0.26);
  border: 1px solid rgba(28, 28, 28, 0.06);
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}

.card-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vintage-logo {
  width: 132px;
  height: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  object-fit: contain;
}

.mini-button {
  background: var(--maroon);
  color: var(--white);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 42px;
  font-size: 0.92rem;
}

.waitlist-card p {
  margin: 0;
  font-size: clamp(1.2rem, 1.2vw + 0.8rem, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.seller-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  text-align: center;
  padding: 18px 20px;
  background: rgba(247, 242, 232, 0.3);
  border: 1px solid rgba(28, 28, 28, 0.06);
  color: var(--ink);
  font-size: clamp(1.15rem, 1vw + 0.7rem, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 32px;
}

.deals-section {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: start;
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon-dark);
}

.section-copy h2,
.about-block h2 {
  margin: 0 0 18px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 2vw + 1.1rem, 3.4rem);
  line-height: 1.1;
}

.section-copy p,
.about-block p {
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 0.9vw + 0.8rem, 1.6rem);
  line-height: 1.65;
}

.deal-actions {
  margin-top: 14px;
}

.waitlist-panel {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(61, 38, 31, 0.05);
}

.waitlist-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 1vw + 1rem, 2.3rem);
}

.waitlist-panel p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.waitlist-form input {
  flex: 1 1 220px;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(28, 28, 28, 0.18);
  background: rgba(255, 255, 255, 0.62);
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
}

.form-status {
  min-height: 26px;
  margin-top: 12px;
  color: var(--maroon-dark);
  font-weight: 600;
}

.about-section {
  padding-top: 62px;
}

.about-block {
  max-width: 980px;
}

.signature {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-top: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 13, 11, 0.5);
  z-index: 1000;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(440px, 90vw);
  background: rgba(247, 242, 232, 0.96);
  border: 1px solid rgba(28, 28, 28, 0.04);
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(17, 12, 10, 0.18);
  padding: 28px 24px 22px;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal-owl {
  width: min(260px, 70%);
  margin: 10px auto 14px;
  background: transparent;
  filter: none;
}

.modal-panel h2 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
  }

  .brand-mark {
    width: 130px;
    height: 104px;
  }

  .main-nav {
    gap: 16px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0;
  }

  .hero-copy {
    padding-left: 0;
  }

  .phone-stage {
    min-height: auto;
    padding-bottom: 20px;
  }

  .deals-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 18px 48px;
  }

  .main-nav {
    font-size: 1.05rem;
    gap: 12px 16px;
  }

  .tagline {
    margin: 28px 0 24px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .phone-mockup {
    min-height: auto;
    padding: 12px 12px 10px;
  }

  .waitlist-card p {
    font-size: 1.15rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

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