/* Frontcall marketing — warm restaurant-tech, mobile-first */

:root {
  --ink: #1c1410;
  --ink-soft: #3d322a;
  --muted: #6b5c50;
  --cream: #faf6f1;
  --cream-deep: #f0e6d8;
  --paper: #fffdf9;
  --terracotta: #c45c26;
  --terracotta-deep: #a3481c;
  --terracotta-soft: #e8a078;
  --sage: #3d5a4c;
  --sage-soft: #d4e0d8;
  --border: rgba(28, 20, 16, 0.1);
  --shadow: 0 12px 40px rgba(28, 20, 16, 0.1);
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--terracotta);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--terracotta), var(--terracotta-deep));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--terracotta);
}

.header-cta {
  display: inline-flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(196, 92, 38, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(61, 90, 76, 0.1), transparent 50%),
    var(--cream);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow.light {
  color: var(--terracotta-soft);
}

.hero h1,
.section-head h2,
.demo-copy h2,
.contact-band h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
}

.lede,
.section-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Hero visual cards */
.hero-visual {
  position: relative;
  min-height: 280px;
}

.card-stack {
  position: relative;
  height: 300px;
}

.preview-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
}

.call-card {
  top: 0;
  left: 0;
  right: 12%;
  z-index: 3;
  background: linear-gradient(160deg, #fffdf9 0%, #fff5eb 100%);
}

.call-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d8f5f;
  box-shadow: 0 0 0 3px rgba(61, 143, 95, 0.25);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.call-line {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
}

.call-line.muted {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.site-card {
  top: 7.5rem;
  right: 0;
  width: 58%;
  z-index: 2;
  padding: 0;
  overflow: hidden;
}

.site-bar {
  display: flex;
  gap: 5px;
  padding: 0.65rem 0.85rem;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--border);
}

.site-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9b8a8;
}

.site-bar span:nth-child(1) { background: #e8a078; }
.site-bar span:nth-child(2) { background: #d4c4a8; }
.site-bar span:nth-child(3) { background: #a8c4b0; }

.site-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-body strong {
  font-size: 0.95rem;
}

.site-body span {
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-card {
  bottom: 0;
  left: 8%;
  width: 52%;
  z-index: 1;
  background: var(--sage);
  color: #f4f8f5;
  border-color: transparent;
}

.admin-card strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.admin-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.admin-card li {
  display: flex;
  gap: 0.75rem;
  padding: 0.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-card li span {
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
  min-width: 2.5rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

.features {
  background: var(--paper);
  border-block: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--border);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--cream-deep);
  color: var(--terracotta-deep);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* How it works */
.how {
  background: var(--cream);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step-num {
  grid-row: 1 / -1;
  align-self: start;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

.step h3 {
  margin: 0;
  font-size: 1.15rem;
  align-self: end;
}

.step p {
  margin: 0;
  color: var(--muted);
  grid-column: 2;
}

/* Demo CTA */
.demo {
  padding-top: 1rem;
}

.demo-panel {
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 1.5rem;
  background:
    linear-gradient(145deg, rgba(28, 20, 16, 0.55), rgba(28, 20, 16, 0.35)),
    linear-gradient(120deg, #5c3a28 0%, #1c1410 45%, #2a4035 100%);
  color: #faf6f1;
  box-shadow: var(--shadow);
}

.demo-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.demo-copy p {
  color: rgba(250, 246, 241, 0.82);
  max-width: 32rem;
  margin: 0 0 1.5rem;
}

/* Contact band */
.contact-band {
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.contact-band h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.4rem;
}

.contact-band p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.phone-link {
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.phone-link:hover {
  color: var(--terracotta);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 241, 0.75);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.5;
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

.footer-meta a {
  color: #fff;
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--terracotta-soft);
}

.legal {
  color: rgba(250, 246, 241, 0.45);
  font-size: 0.8rem;
}

/* Tablet+ */
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .step {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--paper);
  }

  .step:last-child {
    border-bottom: 1px solid var(--border);
  }

  .step-num {
    grid-row: auto;
    margin-bottom: 0.75rem;
  }

  .step p {
    grid-column: auto;
  }

  .demo-panel {
    padding: 3rem 2.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr auto;
  }

  .contact-actions {
    align-items: flex-end;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    justify-content: space-between;
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .card-stack {
    height: 340px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 4.5rem 0;
  }
}

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

  .dot {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
