:root {
  --cream: #f6ede3;
  --ink: #26110c;
  --muted-ink: rgba(38, 17, 12, 0.82);
  --terracotta: #b9552f;
  --terracotta-dark: #9d4527;
  --sage: #5f7a65;
  --danger: #9a2f2f;
  --border: rgba(59, 29, 20, 0.14);
  --panel: rgba(246, 237, 227, 0.72);
  --panel-open: rgba(246, 237, 227, 0.90);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--cream);
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.overlay {
  position: absolute;
  inset: 0;
}

.overlay-horizontal {
  background: linear-gradient(
    90deg,
    rgba(246, 237, 227, 0.65) 0%,
    rgba(246, 237, 227, 0.25) 48%,
    rgba(246, 237, 227, 0.05) 100%
  );
}

.overlay-vertical {
  background: linear-gradient(
    0deg,
    rgba(246, 237, 227, 0.75) 0%,
    rgba(246, 237, 227, 0) 48%,
    rgba(246, 237, 227, 0.08) 100%
  );
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  flex: 0 1 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 200px;
  max-width: 600px;
}

.brand .brand-small {
  display: inline-block;
  font-size: 0.78em;
  transform: scaleX(0.78);
  transform-origin: left center;
  margin-left: -0.02em;
  margin-right: -0.16em;
  -webkit-text-stroke: 2.5px currentColor;
}

/* Fine-tune spacing between FREE and TOBE */
.brand > .brand-large:nth-child(3) {
    margin-left: -0.18em;
}

.brand > .brand-small:nth-child(4) {
    margin-left: -0.10em;
}

.tm {
  display: inline-block;
  font-size: 0.10em;
  vertical-align: top;
  position: relative;
  top: 0.08em;
  margin-left: 0.04em;
  font-family: Arial, sans-serif;
  font-weight: 500;
}

.coming-soon {
  flex: 0 0 auto;
  padding: 20px 50px;
  border: 1px solid rgba(59, 29, 20, 0.20);
  border-radius: 999px;
  background: rgba(246, 237, 227, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transform: translateX(-160px);
}

.hero {
  width: 100%;
  max-width: 640px;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

h1,
h2,
summary {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.intro {
  max-width: 500px;
  margin: 26px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(59, 29, 20, 0.82);
}

.founders {
  max-width: 500px;
  margin: 16px 0 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--muted-ink);
}

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

.badges span {
  padding: 7px 12px;
  border: 1px solid rgba(59, 29, 20, 0.10);
  border-radius: 999px;
  background: rgba(246, 237, 227, 0.70);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  color: rgba(59, 29, 20, 0.74);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
text-transform: uppercase; 
} 

.badges-second-row {
  margin-top: 12px;
}

.waitlist-form { position: relative; margin-top: 55px; }

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 650;
}

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

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(59, 29, 20, 0.20);
  border-radius: 10px;
  outline: none;
  background: rgba(246, 237, 227, 0.82);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-row input[type="email"]::placeholder {
  color: rgba(59, 29, 20, 0.45);
}

.form-row input[type="email"]:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(185, 85, 47, 0.14);
}

.form-row button {
  height: 48px;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  background: var(--terracotta);
  color: #fff7f0;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.form-row button:hover {
  background: var(--terracotta-dark);
}

.form-row button:active {
  transform: translateY(1px);
}

.form-row button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-message {
  min-height: 1.25em;
  margin: 9px 0 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-message.success {
  color: var(--sage);
}

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

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.faq-section {
  width: 100%;
  max-width: 760px;
  padding: 64px 0 96px;
}

.faq-section h2 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.faq-list {
  display: grid;
  gap: 18px;
}

details {
  border: 1px solid rgba(59, 29, 20, 0.10);
  border-radius: 18px;
  padding: 22px 24px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

details[open] {
  background: var(--panel-open);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 400;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 16px 0 0;
  color: rgba(59, 29, 20, 0.80);
  line-height: 1.65;
}

.chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(59, 29, 20, 0.60);
  border-bottom: 2px solid rgba(59, 29, 20, 0.60);
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

details[open] .chevron {
  transform: rotate(225deg);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(59, 29, 20, 0.62);
  font-size: 1.8rem;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .content {
    padding: 40px 48px;
  }

  .hero {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .content {
    padding: 40px 80px;
  }
}

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

  .brand {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
    letter-spacing: 0.08em;
  }

  .coming-soon {
    margin-top: 4px;
    font-size: 0.67rem;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

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

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Cellphone adjustments */
@media (max-width: 768px) {

  .header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .brand {
    max-width: 100%;
  }

  .brand img {
    height: 85px;
    width: auto;
    max-width: 100%;
  }

  .coming-soon {
    position: static;
    flex-shrink: 0;
    margin-top: 0;
    transform: none;
    font-size: 0.85rem;
    padding: 0.7rem 1.1rem;
    white-space: nowrap;
  }

  .hero {
    max-width: 100%;
    padding-top: 30px;
  }

  .background img {
    object-position: 30% center;
  }

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

  .form-row input[type="email"] {
    height: 55px !important;
    min-height: 55px !important;
    flex: none;
  }

  .form-row button {
    width: 100%;
  }
  /* Darker text on mobile for stronger contrast */
  body {
    color: #1f0d09;
  }

  .intro {
    color: rgba(31, 13, 9, 0.98);
  }

  .founders {
    color: rgba(31, 13, 9, 0.97);
  }
    /* Stronger beige overlay on mobile only */
  .overlay-horizontal {
    background: linear-gradient(
      90deg,
      rgba(246, 237, 227, 0.78) 0%,
      rgba(246, 237, 227, 0.42) 48%,
      rgba(246, 237, 227, 0.15) 100%
    );
  }

  .overlay-vertical {
    background: linear-gradient(
      0deg,
      rgba(246, 237, 227, 0.82) 0%,
      rgba(246, 237, 227, 0.08) 48%,
      rgba(246, 237, 227, 0.15) 100%
    );
  }
}

/* iPad / tablet adjustments */
@media (min-width: 769px) and (max-width: 1100px) {

  .brand img {
    height: 120px;
    width: auto;
    max-width: 420px;
  }

  .coming-soon {
    transform: translateX(-20px);
    font-size: 1.3rem;
    padding: 16px 32px;
  }

  .background img {
    object-position: 35% center;
  }
}