/* WookAI Restaurant Timer — landing page
   Colors follow the app: dark background, high-contrast orange (SPEC DESIGN BASELINE). */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0d;
  --bg-elev: #121212;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --faint: #8a8a8a;
  --orange: #ff9800;
  --orange-hover: #ffb74d;
  --orange-ink: #1a0e00;
  --orange-soft: rgba(255, 152, 0, 0.14);
  --blue: #4babff;
  --blue-soft: rgba(75, 171, 255, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 5rem;
  --max: 70rem;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 420;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  hyphens: none;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: #7cc0ff; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -6rem;
  z-index: 100;
  background: var(--orange);
  color: var(--orange-ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo-link img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 520;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--orange-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-lg { padding: 0.95rem 1.5rem; font-size: 1.0625rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(255, 152, 0, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(75, 171, 255, 0.06), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.5rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  color: var(--faint);
  font-size: 0.95rem;
  margin: 0;
}

.shot {
  margin: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #111;
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  margin: 0;
  padding: 0.7rem 0.9rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}

.hero-shot { position: relative; }
.hero-shot .phone-shot {
  position: absolute;
  width: 28%;
  right: -4%;
  bottom: -10%;
  border-radius: 18px;
  border: 3px solid #0d0d0d;
  box-shadow: var(--shadow);
  display: none; /* shown at desktop when there's room; enabled below */
}

@media (min-width: 1100px) {
  .hero-shot .phone-shot { display: block; }
}

/* Sections */
section { padding: 4.25rem 0; }
section + section { border-top: 1px solid var(--line); }

.section-kicker {
  color: var(--orange);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.feature-copy p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-copy li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.35rem 0;
  color: var(--text);
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.lang-list span {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.88rem;
  color: var(--text);
}

/* Plans */
.plans {
  background:
    linear-gradient(180deg, rgba(255, 152, 0, 0.04), transparent 40%),
    var(--bg);
}

.demo-banner {
  background: var(--orange-soft);
  border: 1px solid rgba(255, 152, 0, 0.35);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.demo-banner p { margin: 0; flex: 1 1 16rem; }
.demo-banner .btn { flex: 0 0 auto; }
.demo-banner strong { color: var(--orange-hover); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--shadow);
  background: linear-gradient(180deg, rgba(255, 152, 0, 0.08), var(--surface) 40%);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-ink);
  background: var(--orange);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}

.plan h3 {
  margin: 0 0 0.15rem;
  font-size: 1.65rem;
}

.plan .price {
  margin: 0.2rem 0 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}
.plan .price .amount {
  font-size: clamp(1.85rem, 2.4vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}
.plan.featured .price .amount { color: var(--orange); }
.plan .price .period {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 520;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}
.plan li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.plan li:first-child { border-top: 0; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.plan-note {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 1.75rem 0 0;
  max-width: 50rem;
}



/* Stacked feature shots (menu library + builder) */
.shot-stack {
  display: grid;
  gap: 1rem;
}
.shot-stack .shot { margin: 0; }

/* How it works */
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.35rem;
}
.step-num {
  margin: 0 0 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--orange-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.step-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.step-card p { margin: 0; color: var(--muted); }

/* Setup */
.setup-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.setup-list-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.setup-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}
.setup-checklist li {
  counter-increment: setup;
  position: relative;
  padding: 0.7rem 0 0.7rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.setup-checklist li:first-child { border-top: 0; padding-top: 0; }
.setup-checklist li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.setup-checklist li:first-child::before { top: 0; }
.setup-downloads {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}
.setup-downloads p { margin: 0 0 0.85rem; color: var(--muted); }
.setup-downloads ul { margin: 0; padding: 0; list-style: none; }
.setup-downloads li { padding: 0.35rem 0; }
.setup-downloads a { font-weight: 600; }

/* Franchise body list */
.franchise-copy { max-width: 46rem; }
.feature-copy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-copy-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  color: var(--text);
}
.feature-copy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 50rem;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.25rem;
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 650;
  padding: 1rem 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.support-list li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
}
.support-list li:first-child { border-top: 0; padding-top: 0; }
.support-list .label {
  color: var(--faint);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.support-list a { font-weight: 600; word-break: break-word; }

.support-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.support-cta p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--faint);
  font-size: 0.95rem;
}
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer p { margin: 0 0 0.35rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

/* 404 */
.page-404 {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

/* Responsive: tablet */
@media (max-width: 900px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse,
  .cards-3,
  .support-grid,
  .steps-3,
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse { direction: ltr; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-shot .phone-shot { display: none; }
}

/* Responsive: phone */
@media (max-width: 700px) {
  :root { --header-h: 4.35rem; }
  .logo-link img { width: 3.65rem; height: 3.65rem; }

  .menu-btn { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.75rem 1rem 1.1rem;
    background: #111;
    border-bottom: 1px solid var(--line-strong);
  }
  #nav-toggle:checked ~ .nav { display: flex; }
  #nav-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-btn span { transition: transform 0.15s, opacity 0.15s; }

  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 0.75rem 0.5rem; }
  .header-actions { flex-direction: column; align-items: stretch; margin-top: 0.4rem; }
  .header-actions .btn { width: 100%; }

  .plan-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-shot { margin-top: 0.5rem; }
  .support-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  section { padding: 3rem 0; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 32rem; }
  @media (min-width: 800px) {
    .plan-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
  }
}

.nowrap { white-space: nowrap; }
