/* joalku landing page
   Ported from the approved design (Main.dc.html). Values match the design
   exactly; only the inline styles moved here as classes. */

/* ---------- Fonts (self-hosted Barlow, SIL OFL, see fonts/OFL.txt) ---------- */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/barlow-latin-900-normal.woff2") format("woff2");
}

/* ---------- Colors ---------- */

:root {
  --sand: #E6D9C3;
  --rust: #93401E;
  --slate: #4A5A72;
  --cabernet: #5E1828;
  --marigold: #E3A73C;
  --cream: #F4EEE3;
  --ink: #1E2533;
}

/* ---------- Base ---------- */

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.55;
  min-height: 100vh;
}

/* Anything marked hidden stays hidden, even if its class sets display. */
[hidden] { display: none !important; }

/* Plain text links only. Styled links (nav, buttons) keep their own colors,
   as they did in the design. */
a:not([class]) { color: var(--cabernet); }
a:not([class]):hover { color: var(--rust); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.wordmark {
  width: auto;
  display: block;
}
.wordmark--header { height: 56px; }
.wordmark--footer { height: 40px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 17px;
  font-weight: 600;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
}

.nav-cta {
  text-decoration: none;
  background: var(--cabernet);
  color: var(--cream);
  padding: 12px 20px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  padding: 48px 24px 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cabernet);
}

.hero-lede {
  margin: 0;
  font-size: 21px;
  max-width: 34rem;
}

/* ---------- Waitlist panel ---------- */

.notify {
  margin-top: 16px;
  padding: 32px;
  background: var(--slate);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 34rem;
}

.notify-heads {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notify-title {
  margin: 0;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.notify-sub {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--marigold);
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 15px;
  font-weight: 600;
}

.field-input {
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid var(--cream);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
}

.btn-submit {
  min-height: 48px;
  padding: 12px 22px;
  border: none;
  border-radius: 0;
  background: var(--cabernet);
  color: var(--cream);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.notify-note {
  margin: 0;
  font-size: 15px;
}

/* ---------- Phone mockups ---------- */

.hero-phones {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

.phone {
  padding: 12px;
  border-radius: 36px;
  background: var(--ink);
}
.phone--list { width: 270px; }
.phone--redeem { width: 230px; margin-top: 72px; }

.screen-list {
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 520px;
  box-sizing: border-box;
}

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 2px;
}

.screen-title {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--cabernet);
}

.screen-sort {
  font-size: 12px;
  font-weight: 600;
}

.deal {
  padding: 12px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.deal-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.deal-time {
  font-size: 12px;
}
.deal-time--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-ending {
  padding: 2px 8px;
  background: var(--rust);
  color: var(--cream);
  font-weight: 700;
}

.screen-redeem {
  border-radius: 26px;
  background: var(--marigold);
  color: var(--ink);
  padding: 28px 18px;
  min-height: 440px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 16px;
}

.redeem-heads {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.redeem-place {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.redeem-deal {
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.redeem-button {
  width: 150px;
  height: 150px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.04em;
}

.redeem-hint {
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Section headings ---------- */

.section-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cabernet);
}

/* ---------- How it works ---------- */

.how {
  background: var(--sand);
}

.how-inner {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.step {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: var(--slate);
}

.step-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.step-text {
  margin: 0;
}

/* ---------- What we won't do ---------- */

.wont {
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.wont-card {
  padding: 28px;
  background: var(--sand);
  border-top: 6px solid var(--cabernet);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wont-title {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  color: var(--cabernet);
}

.wont-text {
  margin: 0;
  font-size: 18px;
}

/* ---------- For bars & restaurants ---------- */

.places {
  padding: 0 24px 96px;
}

.places-panel {
  padding: 56px 48px;
  background: var(--cabernet);
  color: var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.places-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.places-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.places-text {
  margin: 0;
  font-size: 19px;
  max-width: 36rem;
}

.places-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.btn-contact {
  text-decoration: none;
  background: var(--marigold);
  color: var(--ink);
  padding: 14px 26px;
  font-weight: 700;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}

.contact-address {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sand);
}

.footer-inner {
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

/* ---------- Waitlist form behavior ---------- */

/* Honeypot: off-screen rather than display:none, because some bots skip
   fields that are display:none. People never see or tab into it. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit:disabled {
  cursor: progress;
  opacity: 0.7;
}

/* Problem messages: one bold line under the field. */
.form-status {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* Success: replaces the form, same cream, bold. */
.form-status--success {
  font-size: 19px;
}

/* ---------- Privacy page ---------- */

.legal {
  padding: 48px 24px 96px;
}

/* Keep lines readable, aligned under the logo. */
.legal > * {
  max-width: 44rem;
}

.legal p {
  margin: 0 0 16px;
}

.legal-date {
  margin: 16px 0 40px !important;
  font-size: 15px;
  font-weight: 600;
}

.legal-heading {
  margin: 40px 0 12px;
  font-size: 26px;
  font-weight: 700;
  color: var(--cabernet);
}

.legal-list {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal-list li {
  margin-bottom: 10px;
}
