:root {
  --wood: #1a120c;
  --ink: #f6efe4;
  --gold: #d4a24a;
  --gold-2: #e8c57a;
  --muted: rgba(246, 239, 228, .68);
  --card: rgba(255, 248, 238, .94);
  --line: rgba(246, 239, 228, .16);
  --navy: #1e1b26;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  background: #120c08;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.stage {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(12, 8, 5, .55) 0%, rgba(12, 8, 5, .72) 45%, #120c08 100%),
    url("/landing-cafe.webp") center 30% / cover no-repeat;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(12, 8, 5, .55), transparent);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand em { font-style: normal; color: var(--gold-2); }
.mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: #1a120c;
  display: grid; place-items: center; font-weight: 800;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { font-weight: 600; font-size: 14px; color: var(--muted); }
.header-link:hover { color: #fff; }

.btn {
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--wood);
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.btn.gold { background: var(--gold); color: #1a120c; }
.btn.gold:hover { background: var(--gold-2); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}
.btn.full { width: 100%; justify-content: center; display: inline-flex; }

main { padding: 12px 7vw 72px; }
.hero {
  max-width: 1180px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 140px);
}
.eyebrow {
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}
.script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 6vw, 68px);
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 4px;
}
h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
}
.lead { margin: 16px 0 20px; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.checks { list-style: none; margin-bottom: 26px; }
.checks li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: #fff;
  font-weight: 600;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.scan-line {
  margin-top: 18px;
  color: var(--gold-2);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero-scene {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}
.phone {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 12px 10px 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  border: 2px solid #2a2118;
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}
.phone-notch {
  width: 88px; height: 10px; border-radius: 999px;
  background: #1c1c1c; margin: 4px auto 10px;
}
.phone-screen {
  background: #f7f0e4;
  color: #2a2118;
  border-radius: 24px;
  padding: 16px 12px 14px;
  min-height: 430px;
}
.phone-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}
.phone-tag { text-align: center; font-size: 9px; letter-spacing: .16em; color: #8a7a68; margin-bottom: 12px; }
.pill {
  display: inline-block;
  background: #4a3424;
  color: #f7f0e4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin: 8px 0 6px;
}
.pitem {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(42, 33, 24, .08);
}
.pitem img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.pitem b { display: block; font-size: 12px; }
.pitem small { color: #8a7a68; font-size: 10px; font-style: italic; }
.pitem span { color: #b8862c; font-weight: 800; font-size: 12px; white-space: nowrap; }

.stand {
  width: 168px;
  background:
    linear-gradient(180deg, #5a3d26, #3a2416);
  border-radius: 10px 10px 6px 6px;
  padding: 16px 12px 14px;
  text-align: center;
  box-shadow: 0 22px 40px rgba(0,0,0,.4);
  transform: rotate(4deg) translateY(-18px);
  border: 1px solid #7a5534;
}
.stand-name { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 18px; }
.stand-tag { font-size: 8px; letter-spacing: .12em; color: #e8c57a; margin: 4px 0 10px; font-weight: 700; }
.qr { background: #fff; padding: 8px; border-radius: 6px; }
.qr svg { display: block; width: 100%; height: auto; }
.stand-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3e6d0;
  font-weight: 700;
}

.features {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  color: #2a2118;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.card h2 { font-family: "Cormorant Garamond", serif; font-size: 26px; margin: 10px 0 8px; }
.card p { color: #6b5b4c; line-height: 1.5; }
.tag {
  display: inline-block;
  background: var(--gold);
  color: #1a120c;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

footer {
  padding: 8px 7vw 28px;
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 5, .62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}
.modal.open { display: flex; }
.login-card {
  background: #fff8ee;
  color: #2a2118;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  position: relative;
  max-height: min(92vh, 760px);
  overflow: auto;
}
.login-card.wide { max-width: 440px; }
.login-card .eyebrow { color: #b8862c; }
.switch { margin-top: 16px; font-size: 13px; color: #6b5b4c; text-align: center; }
.switch button {
  border: 0; background: none; color: #8a5a18;
  font-weight: 700; cursor: pointer; font: inherit; font-size: 13px;
}
.close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 0; border-radius: 10px;
  background: #efe4d2; color: #2a2118;
  cursor: pointer; font-size: 18px;
}
.login-card h2 { font-family: "Cormorant Garamond", serif; font-size: 30px; margin-bottom: 6px; }
.login-card .hint { color: #6b5b4c; font-size: 14px; margin-bottom: 22px; line-height: 1.45; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%;
  border: 1px solid rgba(42, 33, 24, .12);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: #2a2118;
  outline: none;
}
.field input:focus { border-color: var(--gold); }
.error { display: none; color: #c23b3b; font-size: 13px; font-weight: 600; margin: 10px 0 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-scene { min-height: 0; padding-top: 10px; }
}
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-link { display: none; }
  header, main, footer { padding-left: 20px; padding-right: 20px; }
  .phone { width: 230px; }
  .stand { width: 132px; }
  .phone-screen { min-height: 360px; }
}
