/* Cincotaps landing — tokens aligned to the product dark theme */

:root {
  --brand-primary: #9f1239;
  --brand-primary-hover: #881337;
  --brand-primary-light: #be123c;
  --surface: #3a3633;
  --surface-dark: #2c2926;
  --surface-muted: #484440;
  --text: #f2f3f5;
  --text-muted: #c4beb8;
  --on-primary: #ffffff;
  --success: #4ade80;
  --danger: #fca5a5;
  --info: #60a5fa;
  --warning: #fbbf24;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --header-h: 4.25rem;
  --max: 70rem;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  background: var(--surface-dark);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.5rem 0.85rem;
  background: var(--brand-primary);
  color: var(--on-primary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* Buttons and shared product-like controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  color: var(--text);
  background: var(--surface-muted);
}

.btn:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.country-switch a:focus-visible,
.country-card:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-primary-light);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
}

.btn-secondary {
  background: transparent;
  border-color: #6b6560;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-muted);
}

.btn-success {
  background: #166534;
  color: #ecfdf3;
}

.btn-danger-outline {
  background: transparent;
  border-color: var(--danger);
  color: var(--danger);
}

.btn-info {
  background: #1e3a5f;
  color: #dbeafe;
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(44, 41, 38, 0.92);
  border-bottom: 1px solid #484440;
  backdrop-filter: blur(10px);
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  flex: 0 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex: 0 0 auto;
}

.logo img {
  width: 28px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.nav .btn {
  margin-left: 0.35rem;
}

.country-switch {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.1rem;
}

.country-switch a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
}

.country-switch a:hover {
  color: var(--text);
}

.country-switch a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-muted);
}

/* Hero */

.hero {
  position: relative;
  padding: 3.25rem 0 4.5rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 28rem;
  background: radial-gradient(ellipse at 30% 40%, rgba(159, 18, 57, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #e7b6c3;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.15rem, 6vw, 3.55rem);
  font-weight: 600;
  max-width: 16ch;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

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

.hero-actions .btn {
  padding: 0.8rem 1.15rem;
}

/* Mockup stage */

.stage {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

/* Phone (guest) */

.phone {
  width: 17.25rem;
  background: #1c1a18;
  border: 3px solid #1a1816;
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  background: var(--surface);
  border-bottom: 1px solid #484440;
  font-size: 0.8rem;
  font-weight: 600;
}

.phone-bar .mesa {
  color: var(--text-muted);
  font-weight: 500;
}

.cart-badge {
  display: inline-flex;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--on-primary);
  font-size: 0.7rem;
  align-items: center;
  justify-content: center;
}

.phone-body {
  padding: 0.85rem 0.8rem 0.7rem;
  background: var(--surface-dark);
}

.phone-body .hint {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #4e4945;
}

.ui-promo-banner {
  background: var(--brand-primary);
  color: var(--on-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.28rem 0.5rem;
}

.dish-body {
  padding: 0.85rem 0.85rem 0.95rem;
}

.dish-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.dish-body p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  font-size: 0.8rem;
}

.size-row .price {
  font-weight: 700;
}

.dock {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  padding: 0.65rem 0.6rem 0.75rem;
  background: #241f1d;
  border-top: 1px solid #484440;
}

.dock .btn {
  padding: 0.48rem 0.2rem;
  font-size: 0.72rem;
  border-radius: 0.6rem;
}

/* Staff / kitchen tickets */

.ticket {
  width: 19.5rem;
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ticket-head {
  padding: 0.7rem 0.9rem;
  background: #322e2b;
  border-bottom: 1px solid #4e4945;
  font-weight: 700;
  font-size: 0.92rem;
}

.ticket-body {
  padding: 0.8rem 0.9rem 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.ticket-actions {
  display: grid;
  gap: 0.4rem;
}

.ticket-actions .btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.5rem 0.7rem;
}

.kitchen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.kitchen-head h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--warning);
  color: #1c1917;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.timer-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.timer {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.95rem;
}

.kitchen-dish {
  margin-top: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  border-left: 3px solid var(--warning);
}

.badge {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  background: var(--warning);
  color: #1c1917;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kitchen-dish .name {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.kitchen-dish .meta {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.callout {
  margin: 0.4rem 0 0;
  color: #fecaca;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Sections */

section {
  padding: 4.25rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-head {
  margin: 0 0 2rem;
  max-width: 38rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.roles {
  display: grid;
  gap: 1rem;
}

.role {
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.2rem 1.3rem;
}

.role .num {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #e7b6c3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

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

.features {
  display: grid;
  gap: 0.85rem;
}

.feature {
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.1rem 1.15rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

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

/* Demo */

.demo {
  padding-bottom: 5rem;
}

.demo-card {
  display: grid;
  gap: 1.75rem;
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.demo-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
}

.demo-card .intro {
  margin: 0;
  color: var(--text-muted);
}

.form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #5c574f;
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.8rem;
  background: var(--surface-dark);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.8rem 1.15rem;
}

.thanks {
  align-self: center;
  padding: 0.5rem 0;
}

.thanks h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.thanks p {
  margin: 0;
  color: var(--text-muted);
}

.thanks[hidden],
.form[hidden] {
  display: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid #484440;
  padding: 1.75rem 0 2.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-brand {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Breakpoints */

@media (min-width: 640px) {
  .roles {
    grid-template-columns: 1fr 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .demo-card {
    padding: 2rem 2.1rem;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 2rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    width: 100%;
    align-items: center;
  }

  .stage {
    display: block;
    position: relative;
    height: 31.5rem;
  }

  .stage .phone {
    position: absolute;
    right: 0;
    top: 4.1rem;
    z-index: 3;
  }

  .stage .ticket-waiter {
    position: absolute;
    left: 0;
    top: 0;
    width: 18.25rem;
    z-index: 1;
    transform: rotate(-2.5deg);
  }

  .stage .ticket-kitchen {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 18.25rem;
    z-index: 2;
    transform: rotate(2deg);
  }

  .roles {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .demo-card {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 8.35rem;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cta"
      "links links"
      "countries countries";
    align-items: center;
    gap: 0.4rem 0.75rem;
    height: auto;
    padding: 0.55rem 0 0.65rem;
  }

  .header-inner:not(:has(.header-cta)) {
    grid-template-areas:
      "logo logo"
      "countries countries";
  }

  .logo { grid-area: logo; }
  .nav {
    grid-area: links;
    margin-left: 0;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .country-switch {
    grid-area: countries;
  }
  .header-cta {
    grid-area: cta;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .logo span {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: 2rem;
  }
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.footer-inner p {
  margin: 0;
}

.footer-note {
  margin: 0.25rem 0 0;
}

.price-placeholder {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Country chooser */

.chooser {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: clip;
  min-height: calc(100vh - var(--header-h) - 6.5rem);
}

.chooser::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 22rem;
  background: radial-gradient(ellipse at 30% 40%, rgba(159, 18, 57, 0.28), transparent 65%);
  pointer-events: none;
}

.chooser-inner {
  position: relative;
  max-width: 46rem;
}

.chooser h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.15rem, 6vw, 3.1rem);
}

.chooser .lede {
  margin-bottom: 2rem;
}

.country-grid {
  display: grid;
  gap: 0.85rem;
}

.country-card {
  display: block;
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.3rem 1.35rem;
  text-decoration: none;
}

.country-card:hover {
  border-color: #6b6560;
}

.country-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.country-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Offer + notes */

.offer-grid {
  display: grid;
  gap: 1rem;
}

.offer {
  background: var(--surface);
  border: 1px solid #4e4945;
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.2rem 1.3rem;
}

.offer h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

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

.offer p:last-child {
  margin-bottom: 0;
}

.price-list {
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.price-list div {
  display: grid;
  gap: 0.15rem;
}

.price-list dt {
  font-size: 0.8rem;
  font-weight: 600;
}

.price-list dd {
  margin: 0;
  color: var(--text-muted);
}

.wa-placeholder {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .country-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .nav {
    gap: 0.25rem 0.95rem;
  }
}

.header-inner.header-inner--chooser {
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}
