/* ROUX website. Plain CSS, no build step. Colours and type are ROUX's own. */
:root {
  --paper: #f5efe4; --paper-2: #ece3d3; --ink: #1b1714; --ink-2: #4a423b; --muted: #7b7168;
  --roux: #b4531c; --roux-dark: #8f3f12; --roux-soft: #f0d9c6; --green: #1f3a32; --line: #dccfbb; --white: #fffaf2;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px; --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 76px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--roux); }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 56ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--ink); transition: transform .08s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--roux); border-color: var(--roux); color: #fff; }
.btn.primary:hover { background: var(--roux-dark); border-color: var(--roux-dark); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--roux); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 239, 228, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.mark { font-family: var(--text); font-weight: 800; font-size: 24px; letter-spacing: .14em; text-decoration: none; padding-bottom: 3px; border-bottom: 4px solid var(--roux); line-height: 1; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--roux); }
.hero .lede { margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* the product picture, drawn in CSS so it never shows a real restaurant's menu */
.device { background: #111; border-radius: 26px; padding: 12px; box-shadow: 0 30px 70px rgba(27, 23, 20, .28), 0 4px 0 rgba(255,255,255,.05) inset; transform: rotate(-1.2deg); }
.screen { background: #151517; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 34%; aspect-ratio: 16 / 10; color: #f3efe8; font-size: 11px; }
.s-menu { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.s-tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.s-tabs span { padding: 5px 10px; border-radius: 999px; background: #24242a; white-space: nowrap; font-weight: 600; }
.s-tabs span.on { background: var(--roux); color: #fff; }
.s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; flex: 1; }
.s-item { background: #1f1f24; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.s-item i { flex: 1; min-height: 22px; background: linear-gradient(135deg, #3a2a1f, #6b3a1c); }
.s-item:nth-child(3n) i { background: linear-gradient(135deg, #20362f, #3f6a55); }
.s-item:nth-child(4n+1) i { background: linear-gradient(135deg, #3a2f1c, #8a6a2a); }
.s-item b { padding: 5px 7px 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-item small { padding: 0 7px 6px; color: #e2a374; font-weight: 700; }
.s-ticket { background: #1b1b1f; border-left: 1px solid #2c2c33; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.s-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #26262c; border-radius: 8px; padding: 3px; text-align: center; font-weight: 600; }
.s-seg span { padding: 4px 0; border-radius: 6px; color: #a8a299; }
.s-seg span.on { background: #34343c; color: #fff; }
.s-line { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #2c2c33; padding-bottom: 6px; }
.s-line span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-line em { display: block; font-style: normal; color: #8f8a82; font-size: 10px; }
.s-total { margin-top: auto; display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.s-pay { background: var(--roux); color: #fff; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 12px; }

/* sections */
section { padding: clamp(56px, 7vw, 96px) 0; }
.band { background: var(--white); border-block: 1px solid var(--line); }
.dark { background: var(--green); color: var(--paper); }
.dark .eyebrow { color: #e2a374; }
.dark .lede { color: #cfd9d3; }
.head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 52px); max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; }
.band .card { background: var(--paper); }
.card p { color: var(--ink-2); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--roux-soft); color: var(--roux-dark); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid rgba(245, 239, 228, .28); counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--display); font-size: 40px; color: #e2a374; line-height: 1; }
.step p { color: #cfd9d3; font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.list li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--roux-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f3f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.list b { color: var(--ink); }
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.duo { display: grid; grid-template-columns: 1.500fr 1fr; gap: 12px; align-items: end; }
.duo div { background: #111; border-radius: 12px; padding: 7px; }
.duo div i { display: block; border-radius: 7px; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #24242a, #151517); }
.duo div:last-child i { background: linear-gradient(160deg, #2a1d14, #151517); }
.duo span { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 8px; }

.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.status .card h3 { font-size: 19px; }
.tag { display: inline-block; justify-self: start; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--roux-soft); color: var(--roux-dark); }
.tag.g { background: #dbe8e1; color: var(--green); }

.closer { text-align: center; }
.closer .lede { margin: 16px auto 0; }
.closer .cta { justify-content: center; }

.foot { padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards, .steps, .status { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .device { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps, .status { grid-template-columns: 1fr; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  /* phone: fewer items, a wider ticket, and nothing allowed to wrap or run into its neighbour */
  .screen { font-size: 9px; grid-template-columns: 1fr 46%; aspect-ratio: auto; }
  .s-grid { grid-template-columns: repeat(2, 1fr); }
  .s-item:nth-child(n+5) { display: none; }
  .s-item i { min-height: 44px; }
  .s-tabs span:nth-child(n+3) { display: none; }
  .s-seg { font-size: 8px; }
  .s-seg span { white-space: nowrap; }
  .s-line em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 24vw; }
  .s-total { font-size: 12px; gap: 8px; }
  .s-pay { font-size: 10px; padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
