/* Base reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: #F4EBDD;
  /* surfaceBackground */
  color: #1C1A17;
  /* textPrimary */
}

/* Top "Coming Soon" banner */
.top-banner {
  background: #3E2C1E;
  /* brandPrimary */
  color: #F7F3EC;
  /* textInverse */
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
}

/* Layout helpers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 235, 221, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E6D6C2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Bigger header logo */
.brand-logo {
  height: 70px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: #3E2C1E;
  /* brandPrimary */
}

.brand-tagline {
  font-size: 12px;
  color: #4A4036;
  /* textSecondary */
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: #4A4036;
}

.nav a:hover {
  color: #0F2A24;
  /* brandSecondary */
}

.nav-cta {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #B87A3B;
  color: #3E2C1E;
  font-weight: 500;
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #3E2C1E;
  /* Reserved brand brown */
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Hero */
.hero {
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

/* Hero logo inside main content */
.hero-logo {
  height: 90px;
  width: auto;
  opacity: 0.95;
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
  color: #0F2A24;
  /* brandSecondary */
}

.hero-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: #4A4036;
  /* textSecondary */
  max-width: 520px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hero mockups (right side) */
.hero-mockups {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-mockups-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.18);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #3E2C1E;
}

.btn-primary {
  background: #3E2C1E;
  /* brandPrimary */
  color: #F7F3EC;
  /* textInverse */
}

.btn-primary:hover {
  background: #2E2116;
}

.btn-ghost {
  background: transparent;
  border-color: #B87A3B;
  color: #3E2C1E;
}

.btn-ghost:hover {
  background: #E9DCCB;
}

.btn-inverse {
  background: #F7F3EC;
  color: #3E2C1E;
  border-color: #3E2C1E;
}

.btn-inverse:hover {
  background: #E9DCCB;
}

/* Badges / chips */
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #E9DCCB;
  font-size: 12px;
  color: #4A4036;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #E6D6C2;
  font-size: 12px;
  color: #4A4036;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section-alt {
  background: #E9DCCB;
  /* surfaceCanvas */
}

.section-accent {
  background: #0F2A24;
  /* brandSecondary */
  color: #F7F3EC;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0F2A24;
}

.section-alt h2 {
  color: #3E2C1E;
}

.section-accent h2 {
  color: #F7F3EC;
}

.section-intro {
  margin-bottom: 24px;
  font-size: 14px;
  color: #4A4036;
}

.section-accent .section-intro {
  color: #F7F3EC;
}

/* Cards + grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #F7F3EC;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #E6D6C2;
  transition: all 0.25s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #c8b8a3;
  /* a warmer beige for your brand */
  background: #fffdf9;
  /* subtle warm shift */
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  color: #3E2C1E;
}

.card p {
  font-size: 14px;
  color: #4A4036;
}

.card-muted {
  background: #E6D6C2;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
  align-items: start;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 2.2fr);
}

.column-copy p {
  font-size: 14px;
  color: #4A4036;
}

.muted-line {
  font-size: 14px;
  color: #4A4036;
  margin: 6px 0;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  font-size: 14px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: #4A4036;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4D7C54;
  /* stateSuccess */
}

/* Waitlist section */
.waitlist {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
}

.waitlist-copy p {
  font-size: 14px;
  max-width: 520px;
}

/* Waitlist form styling */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #E6D6C2;
  padding: 20px;
  border-radius: 12px;
  max-width: 420px;
}

.waitlist-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #3E2C1E;
}

.waitlist-form input,
.waitlist-form select {
  margin-top: 4px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #B87A3B;
  background: #F7F3EC;
  font-size: 14px;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: #3E2C1E;
}

/* Footer */
.site-footer {
  border-top: 1px solid #E6D6C2;
  padding: 16px 0 20px;
  background: #F4EBDD;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #4A4036;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-muted {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #4A4036;
}

.footer-links a:hover {
  color: #0F2A24;
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar underline */
.hover-underline {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #3E2C1E;
  /* Reserved brand brown */
  transition: all 0.3s ease;
}

.nav-link:hover .hover-underline {
  width: 100%;
  left: 0;
}

/* Divider grow */
.divider {
  width: 0%;
  height: 2px;
  background: #3E2C1E;
  transition: width 0.6s ease;
  margin: 40px 0;
}

.fade-in-visible.divider {
  width: 100%;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

body,
p,
li,
span {
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

strong {
  font-weight: 600;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-mobile {
  display: none;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--rl-brown);
  border-radius: 2px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Responsive tweaks */
@media (max-width: 880px) {

  .hero-inner,
  .two-column,
  .two-column.reverse,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 24px;
  }

  .hero-mockups {
    justify-content: center;
  }

  .hero-mockups-img {
    max-width: 420px;
    margin-inline: auto;
    margin-top: 8px;
  }

  .nav {
    display: none;
    /* simplest mobile treatment for now */
  }

  .brand-logo {
    height: 56px;
    /* slightly smaller on narrow screens */
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 28px;
  }

  .section {
    padding: 28px 0;
  }

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

@media (min-width: 900px) {
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: none;
    position: absolute;
    top: 70px; 
    left: 0;
    width: 100%;
    background: var(--rl-beige);
    padding: 20px 0;
    border-top: 1px solid var(--rl-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    flex-direction: column;
  }

  .nav-mobile.open {
    display: flex;
    animation: fadeDown 0.25s ease;
  }

  .mobile-link {
    padding: 14px 24px;
    font-size: 1.1rem;
    color: var(--rl-brown);
    border-bottom: 1px solid var(--rl-border);
  }

  .mobile-cta {
    background: var(--rl-brown);
    color: white;
    margin: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 14px 0;
    font-weight: 600;
  }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
