/* Platebook marketing site
   Colours and type follow platebook-brand-kit (v1.0, October 2026). */

/* Public Sans, variable weight. Files come from the brand guidelines bundle. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand colours (04-colors/platebook-colors.css) */
  --leaf: #2f5d44;
  --deep-leaf: #1f3a2c;
  --rice: #eef0e8;
  --ink: #1d2b22;
  --tender-leaf: #cfe0c3;
  --off-white: #f3f5ee;

  /* Supporting tones used in the brand guidelines */
  --text-2: #4a5a4f;
  --text-3: #5f6e63;
  --line: #d5dccb;
  --counter: #dfe4d6;
  --alert: #a13d22;

  /* Thermal paper */
  --paper: #fdfdfb;
  --print: #161a17;

  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-app: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-print: "Courier New", Courier, ui-monospace, monospace;

  --wrap: 1180px;
  --gutter: 40px;
  --header-h: 72px;
  --section-y: 120px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

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

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

/* Light focus ring on the dark green sections, dark again inside light cards */
.site-header :focus-visible,
.hero :focus-visible,
.section--pricing :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible { outline-color: var(--tender-leaf); }
.cta .form :focus-visible { outline-color: var(--leaf); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--off-white);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

h1, h2, h3 { font-weight: 700; text-wrap: balance; }

h2 {
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.kicker {
  margin-bottom: 14px;
  color: var(--leaf);
  font-size: 0.9375rem;
  font-weight: 600;
}
.kicker--light { color: var(--tender-leaf); }

.lede {
  max-width: 36em;
  color: var(--text-2);
  font-size: 1.1875rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.fineprint {
  max-width: 46em;
  margin-top: 20px;
  color: var(--text-3);
  font-size: 0.875rem;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--leaf);
  color: var(--off-white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--deep-leaf); color: var(--off-white); }

.btn--light { background: var(--tender-leaf); color: var(--deep-leaf); }
.btn--light:hover { background: var(--off-white); color: var(--deep-leaf); }

.btn--sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.text-link { font-weight: 600; }
.text-link--light { color: var(--off-white); text-decoration-color: rgba(243, 245, 238, 0.45); }
.text-link--light:hover { color: var(--tender-leaf); text-decoration-color: currentColor; }

.dash-list { display: grid; gap: 10px; margin-top: 22px; }
.dash-list li { position: relative; padding-left: 24px; color: var(--text-2); }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 12px;
  border-top: 2px solid var(--leaf);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--deep-leaf);
  color: var(--off-white);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(207, 224, 195, 0.12); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand { flex: none; }
.brand img { width: auto; height: 28px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.site-nav ul { display: flex; gap: 26px; }
.site-nav a {
  color: rgba(243, 245, 238, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--off-white); }
.site-nav__phone { font-variant-numeric: tabular-nums; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
}
.nav-toggle__bars,
.nav-toggle__bars::before {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--off-white);
  transition: transform 0.2s ease;
}
.nav-toggle__bars { position: relative; transform: translateY(-4px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

/* ---------- Hero ---------- */

.hero {
  --hero-top: 96px;
  position: relative;
  z-index: 2;
  background: var(--deep-leaf);
  color: var(--off-white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  padding-top: var(--hero-top);
  padding-bottom: 88px;
}

.hero h1 {
  max-width: 9em;
  font-size: clamp(2.875rem, 1.3rem + 5.6vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
}

.hero__lede {
  max-width: 31em;
  margin-top: 30px;
  color: var(--tender-leaf);
  font-size: 1.25rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 38px;
}

.hero__note {
  margin-top: 30px;
  padding-top: 20px;
  max-width: 31em;
  border-top: 1px solid rgba(207, 224, 195, 0.18);
  color: rgba(207, 224, 195, 0.85);
  font-size: 0.9375rem;
}

.hero__printer { position: relative; }

/* ---------- Thermal printer and paper ---------- */

.printer {
  position: absolute;
  top: calc(var(--hero-top) * -1);
  left: 50%;
  width: 344px;
  transform: translateX(-50%);
}

.printer__slot {
  position: relative;
  z-index: 2;
  height: 16px;
  border-radius: 0 0 12px 12px;
  background: #13261b;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28);
}

.printer__feed {
  display: flex;
  justify-content: center;
  margin-top: -8px;
  clip-path: inset(0 -120px -4000px -120px);
}

.paper-wrap { filter: drop-shadow(0 16px 22px rgba(12, 28, 19, 0.28)); }

.paper {
  position: relative;
  width: 300px;
  margin-bottom: 7px;
  padding: 24px 20px 22px;
  background: var(--paper);
  color: var(--print);
  font-family: var(--font-print);
  font-size: 13px;
  line-height: 1.5;
}

/* Torn bottom edge */
.paper::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 7px;
  background: var(--paper);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}

.paper__head,
.paper__foot {
  display: grid;
  justify-items: center;
  gap: 1px;
  text-align: center;
}
.paper__foot { gap: 4px; padding-top: 4px; }

.paper__name { font-size: 17px; letter-spacing: 0.06em; }

.paper__rule {
  height: 0;
  margin: 9px 0;
  border: 0;
  border-top: 1px dashed currentColor;
  opacity: 0.75;
}

.paper__title { font-weight: 700; letter-spacing: 0.1em; text-align: center; }
.paper__center { text-align: center; }

.paper__row { display: flex; justify-content: space-between; gap: 12px; }
.paper__row > :last-child { text-align: right; white-space: nowrap; }

.paper__total { font-size: 15px; font-weight: 700; }

.paper__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3ch 7ch 7.5ch;
  gap: 0 6px;
}
.paper__items > :not(:first-child) { text-align: right; }
.paper__items--head { font-weight: 700; }

.paper__logo { width: 96px; height: auto; margin-top: 8px; mix-blend-mode: multiply; }
.paper__brand { width: 200px; height: auto; margin: 0 auto 4px; mix-blend-mode: multiply; }
.paper__qr { width: 104px; height: 104px; margin: 4px auto 2px; fill: var(--print); }

.paper__block { position: relative; }

@keyframes feed {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.paper-wrap--feed { animation: feed 1.5s cubic-bezier(0.3, 0.7, 0.3, 1) 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  .paper-wrap--feed { animation: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head .lede { margin-top: 20px; }

.section--try { padding-top: 104px; }

/* ---------- Try a bill: billing screen ---------- */

.device {
  padding: 14px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 40px 70px -40px rgba(29, 43, 34, 0.6);
}

.app {
  --order-w: 340px;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 620px;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f6f1;
  color: #1b231d;
  font-family: var(--font-app);
  font-size: 14px;
  line-height: 1.35;
}

.app__seg button,
.app__cats button,
.stepper button { border: 0; background: none; }

.app__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e7dc;
  background: #fff;
}

.app__where { display: flex; align-items: baseline; gap: 8px; min-width: 180px; }
.app__where strong { font-size: 17px; }
.app__where span { color: #66746a; }

.app__seg {
  display: inline-flex;
  margin: 0 auto;
  padding: 3px;
  border-radius: 10px;
  background: #eef1ea;
}
.app__seg button {
  padding: 7px 16px;
  border-radius: 8px;
  color: #4f5d53;
  font-weight: 600;
}
.app__seg button[aria-pressed="true"] {
  background: #fff;
  color: #1b231d;
  box-shadow: 0 1px 2px rgba(29, 43, 34, 0.15);
}

.app__who { display: flex; gap: 12px; min-width: 180px; justify-content: flex-end; color: #66746a; }
.app__who time { color: #1b231d; font-weight: 600; font-variant-numeric: tabular-nums; }

.app__body {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) var(--order-w);
  min-height: 0;
}

.app__cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  overflow-y: auto;
  border-right: 1px solid #e2e7dc;
  background: #fff;
}
.app__cats button {
  padding: 11px 12px;
  border-radius: 10px;
  color: #3b4a40;
  font-weight: 600;
  text-align: left;
}
.app__cats button:hover { background: #f1f4ee; }
.app__cats button[aria-pressed="true"] { background: var(--leaf); color: #fff; }

.app__menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 14px;
}

.app__search input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 38px;
  border: 1px solid #d9dfd2;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2366746a' stroke-width='1.8'%3E%3Ccircle cx='7' cy='7' r='5.2'/%3E%3Cpath d='m11 11 3.6 3.6' stroke-linecap='round'/%3E%3C/svg%3E") 13px 50% no-repeat;
  font-size: 14px;
}
.app__search input:focus { border-color: var(--leaf); outline: 2px solid rgba(47, 93, 68, 0.2); outline-offset: 0; }

.app__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-content: start;
  gap: 10px;
  padding: 6px 6px 6px 0;
  overflow-y: auto;
}

.app__empty { grid-column: 1 / -1; padding: 24px 4px; color: #66746a; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 92px;
  padding: 11px 12px;
  border: 1px solid #dfe5d8;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.tile:hover { border-color: #b7c5ae; }
.tile:active { transform: scale(0.97); }
.tile.is-bumped { animation: bump 0.25s ease; }

@keyframes bump {
  50% { transform: scale(0.96); border-color: var(--leaf); }
}

.tile__top { display: flex; align-items: center; justify-content: space-between; color: #66746a; font-size: 12px; font-variant-numeric: tabular-nums; }
.tile__name { font-weight: 600; line-height: 1.25; }
.tile__price { color: #4f5d53; font-variant-numeric: tabular-nums; }

.tile__qty {
  position: absolute;
  top: -7px; right: -7px;
  display: grid;
  place-items: center;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  border: 2px solid #f4f6f1;
  border-radius: 12px;
  background: var(--leaf);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Indian veg / non-veg marks */
.food {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 12px; height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.food::after { content: ""; }
.food--veg { color: #2e8644; }
.food--veg::after { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.food--nonveg { color: #8e3b1c; }
.food--nonveg::after {
  width: 0; height: 0;
  border-right: 3px solid transparent;
  border-bottom: 5px solid currentColor;
  border-left: 3px solid transparent;
}

.app__order {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-height: 0;
  border-left: 1px solid #e2e7dc;
  background: #fff;
}

.app__order-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #edf0e9;
}
.app__order-head strong { font-size: 16px; }
.app__order-head span { color: #66746a; }

.app__lines { overflow-y: auto; }

.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 66px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f2ec;
}
.line__name { font-weight: 600; }
.line__tag { display: block; margin-top: 2px; color: #66746a; font-size: 12px; font-weight: 500; }
.line__tag--new { color: var(--alert); }
.line__amt { text-align: right; font-variant-numeric: tabular-nums; }

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe5d8;
  border-radius: 9px;
}
.stepper button {
  width: 30px; height: 30px;
  color: #3b4a40;
  font-size: 18px;
  line-height: 1;
}
.stepper button:hover { color: var(--leaf); }
.stepper output { min-width: 20px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }

.app__lines-empty { padding: 28px 16px; color: #66746a; }

.app__totals {
  display: grid;
  gap: 3px;
  padding: 12px 16px;
  border-top: 1px solid #e2e7dc;
  color: #4f5d53;
  font-variant-numeric: tabular-nums;
}
.app__totals div { display: flex; justify-content: space-between; }
.app__totals .app__grand { margin-top: 6px; color: #1b231d; font-size: 20px; font-weight: 700; }

.app__actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  padding: 0 16px 16px;
}

.app-btn {
  height: 48px;
  padding: 0 16px;
  border: 1px solid #cfd8c8;
  border-radius: 12px;
  background: #fff;
  color: #1b231d;
  font-weight: 700;
}
.app-btn:hover { border-color: #9fb194; }
.app-btn--primary { border-color: var(--leaf); background: var(--leaf); color: #fff; }
.app-btn--primary:hover { border-color: var(--deep-leaf); background: var(--deep-leaf); }
.app-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* KOT slips that pop up after "Send KOT" */
.app__toast {
  position: absolute;
  top: 132px; right: calc(var(--order-w) + 20px);
  z-index: 3;
  display: grid;
  gap: 10px;
  width: 236px;
  pointer-events: none;
}
.app__toast .paper-wrap { animation: toast-in 0.3s ease both; }
.app__toast.is-leaving .paper-wrap { animation: toast-out 0.3s ease both; }

@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

.toast-msg {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.3s ease both;
}

/* Printed bill */
.app__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow-y: auto;
  background: rgba(22, 36, 28, 0.62);
}
.app__overlay[hidden] { display: none; }

.app__overlay-actions {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px;
}

.printer--app {
  position: relative;
  top: auto; left: auto;
  margin: -76px auto 40px;
  transform: none;
}

.app__noscript { position: absolute; inset: auto 16px 16px; padding: 12px; border-radius: 10px; background: #fff; }

/* ---------- Features ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.feature__num {
  margin-bottom: 12px;
  color: var(--leaf);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.feature h3 {
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.feature__text > p:not(.feature__num) { margin-top: 18px; color: var(--text-2); text-wrap: pretty; }

.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 48px 40px;
  border-radius: 24px;
}
.panel--white { background: #fff; }
.panel--counter { background: var(--counter); }
.panel--leaf { background: var(--leaf); }

/* KOT slips */
.slips { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; }
.slip-fig { display: grid; justify-items: center; gap: 14px; }
.slip-fig--lower { margin-top: 48px; }
.slip-fig figcaption { color: var(--text-2); font-size: 0.875rem; }

.paper--slip { width: 230px; padding: 18px 16px 16px; }

.slip__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.slip__kot { font-size: 20px; letter-spacing: 0.02em; }
.slip__station { padding: 0 5px; background: var(--print); color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }

.slip__items { display: grid; gap: 2px; }
.slip__items li { display: grid; grid-template-columns: 2.4ch 1fr; font-size: 16px; font-weight: 700; }
.slip__items .slip__note { font-size: 13px; font-weight: 400; }
.slip__note span { grid-column: 2; }

/* Table view */
.floor { width: 100%; max-width: 540px; font-family: var(--font-app); font-size: 13px; }

.floor__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.floor__tabs span { padding: 7px 12px; border-radius: 9px; background: #f1f4ee; color: #4f5d53; font-weight: 600; }
.floor__tabs .is-active { background: var(--ink); color: #fff; }

.floor__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.t {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  padding: 10px 11px;
  border: 1.5px dashed #c5cfbd;
  border-radius: 14px;
  color: #66746a;
  line-height: 1.25;
}
.t b { color: #1b231d; font-size: 15px; }
.t span { font-weight: 700; font-variant-numeric: tabular-nums; }
.t small { display: block; font-size: 11.5px; font-weight: 500; }
.t--wide { grid-column: span 2; }

.t--busy { border: 0; background: var(--leaf); color: #fff; }
.t--busy b { color: #fff; }
.t--busy small { color: rgba(255, 255, 255, 0.75); }

.t--bill { border: 0; background: var(--tender-leaf); color: var(--deep-leaf); }
.t--bill b { color: var(--deep-leaf); }
.t--bill small { color: #3d5a47; }

.floor__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; color: #4f5d53; }
.lg { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 4px; vertical-align: -1px; }
.lg--free { border: 1.5px dashed #a9b6a0; }
.lg--busy { background: var(--leaf); }
.lg--bill { background: var(--tender-leaf); }

/* Daily sales report */
.paper--report { width: 300px; padding-top: 20px; }

/* Changes log */
.log {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  background: #fff;
  font-family: var(--font-app);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 24px 40px -28px rgba(29, 43, 34, 0.45);
}
.log__head { display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #edf0e9; }
.log__head span { color: #66746a; }
.log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f0f2ec; }
.log li:last-child { border-bottom: 0; }
.log time { padding-top: 1px; color: #66746a; font-size: 13px; font-variant-numeric: tabular-nums; }
.log__who { margin-top: 3px; color: #66746a; font-size: 13px; }
.log__ok { color: var(--leaf); font-weight: 600; }

/* Smaller features */
.extras {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.extras__title { font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); letter-spacing: -0.025em; }
.extras__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin: 0; }
.extras__list dt { font-weight: 700; }
.extras__list dd { margin: 4px 0 0; color: var(--text-2); }

/* ---------- The bill ---------- */

.section--bill { background: var(--counter); }

.bill__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 56px;
}

.bill__paper { position: sticky; top: calc(var(--header-h) + 32px); display: flex; justify-content: center; padding-right: 36px; }

.paper--large { width: 340px; font-size: 13.5px; }

.pin {
  position: absolute;
  top: 0;
  right: var(--pin-x, -54px);
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.paper--large .paper__head { position: relative; }
.paper__foot .paper__block { width: 100%; display: grid; justify-items: center; }
.paper__foot .pin { top: 50%; transform: translateY(-50%); }

.notes li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid #c8d1bd;
}
.notes li:first-child { border-top: 0; padding-top: 4px; }

.notes__n {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.notes h3 { font-size: 1.1875rem; letter-spacing: -0.01em; }
.notes p { max-width: 34em; margin-top: 4px; color: var(--text-2); }

/* ---------- Devices ---------- */

.devices__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 64px;
}

.devices__text .lede { margin-top: 20px; }

.spec { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 36%; padding-right: 20px; font-weight: 600; }
.spec td { color: var(--text-2); }

.widths {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 48px 32px 32px;
  border-radius: 24px;
  background: var(--counter);
}
.widths__pair { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }
.widths__col { display: grid; gap: 14px; }
.widths__col--80 { width: 260px; }
.widths__col--58 { width: 188px; }
.widths figcaption { max-width: 30em; color: var(--text-2); font-size: 0.875rem; text-align: center; }

.dim { position: relative; height: 22px; color: var(--leaf); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.dim::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; bottom: 4px; border-right: 1px solid currentColor; border-left: 1px solid currentColor; }
.dim span {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  margin: 0 auto;
  padding: 0 8px;
  background: var(--counter);
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
}

.strip {
  position: relative;
  display: grid;
  justify-items: stretch;
  margin-bottom: 7px;
  padding: 18px 12px 14px;
  background: var(--paper);
  color: var(--print);
  font-family: var(--font-print);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
  filter: drop-shadow(0 10px 14px rgba(29, 43, 34, 0.18));
}
.strip .paper__name { font-size: 14px; }
.strip .paper__items, .strip .paper__row { text-align: left; }
.strip .paper__items { grid-template-columns: minmax(0, 1fr) 3ch 6ch 6ch; gap: 0 4px; }
.strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 7px;
  background: var(--paper);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}

/* ---------- Who it's for ---------- */

.section--who { padding-top: 0; }

.menu-card {
  position: relative;
  padding: 72px 64px 64px;
  border-radius: 24px;
  background: #fff;
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  pointer-events: none;
}

.menu-card__head { max-width: 640px; margin: 0 auto 44px; text-align: center; }

.menu-list { max-width: 940px; margin: 0 auto; }
.menu-list li {
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
}
.menu-list__name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.menu-list__dots { border-bottom: 2px dotted #aebba5; transform: translateY(-6px); }
.menu-list__desc { color: var(--text-2); text-align: right; }

/* ---------- Pricing ---------- */

.section--pricing { background: var(--leaf); color: var(--off-white); }

.price {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 64px;
}

.price__amount {
  margin-top: 36px;
  font-size: clamp(4.5rem, 2.5rem + 6vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.price__soon {
  margin-top: 36px;
  font-size: clamp(2.5rem, 1.6rem + 2.8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.price__rupee { margin-right: 0.04em; font-size: 0.55em; font-weight: 600; vertical-align: 0.6em; }
.price__per { margin-top: 12px; color: var(--tender-leaf); font-size: 1.25rem; }
.price__day { margin-top: 4px; color: var(--tender-leaf); }
.price__actions { margin-top: 36px; }
.price__more { margin-top: 18px; color: var(--tender-leaf); font-size: 0.9375rem; }
.price__more a { color: var(--off-white); font-weight: 600; }

.price__card {
  padding: 40px;
  border-radius: 24px;
  background: var(--off-white);
  color: var(--ink);
}
.price__card h3 { font-size: 1.125rem; }
.price__card h3 + .dash-list { margin-top: 16px; }
.price__card .dash-list + h3 { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.dash-list--muted li::before { border-top-color: var(--alert); }

/* ---------- Questions ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: 64px;
}
.faq__intro .lede { margin-top: 20px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 6px;
  background:
    linear-gradient(var(--leaf) 0 0) center / 100% 2px no-repeat,
    linear-gradient(var(--leaf) 0 0) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--leaf); }
.faq details p { max-width: 40em; padding-bottom: 24px; color: var(--text-2); }

/* ---------- Demo / contact ---------- */

.cta {
  padding: var(--section-y) 0;
  background: var(--deep-leaf);
  color: var(--off-white);
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: 72px;
}
.cta .lede { margin-top: 20px; color: var(--tender-leaf); }
.cta__grid--single { grid-template-columns: minmax(0, 1fr); }
.cta__actions { margin-top: 32px; }

.contact-list { display: grid; gap: 20px; margin: 44px 0 0; }
.contact-list dt { color: rgba(207, 224, 195, 0.75); font-size: 0.875rem; }
.contact-list dd { margin: 2px 0 0; }
.contact-list a { color: var(--off-white); font-size: 1.25rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { color: var(--tender-leaf); text-decoration: underline; }
.contact-list .contact-list__alt { margin-left: 14px; color: var(--tender-leaf); font-size: 0.9375rem; text-decoration: underline; text-decoration-color: rgba(207, 224, 195, 0.5); }

.form {
  display: grid;
  gap: 18px;
  padding: 40px;
  border-radius: 24px;
  background: var(--off-white);
  color: var(--ink);
}
.form__title { font-size: 1.375rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.field label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; }
.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #c4cdbb;
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232f5d44' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat;
}
.field input:focus,
.field select:focus { border-color: var(--leaf); outline: 3px solid rgba(47, 93, 68, 0.18); outline-offset: 0; }

.form__note { color: var(--text-3); font-size: 0.875rem; }

/* ---------- Footer ---------- */

.site-footer { padding-bottom: 40px; background: var(--deep-leaf); color: var(--tender-leaf); }

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid rgba(207, 224, 195, 0.16);
}
.site-footer__brand img { width: auto; height: 30px; }
.site-footer__brand p { margin-top: 16px; max-width: 24em; }

.site-footer__nav { display: flex; gap: 72px; }
.site-footer__nav ul { display: grid; gap: 10px; align-content: start; }
.site-footer a { color: var(--off-white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(207, 224, 195, 0.16);
  color: rgba(207, 224, 195, 0.7);
  font-size: 0.875rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1140px) {
  .app { --order-w: 312px; }
  .app__body { grid-template-columns: 148px minmax(0, 1fr) var(--order-w); }
  .app__where, .app__who { min-width: 0; }
  .site-nav ul { gap: 20px; }
  .site-nav__phone { display: none; }
}

@media (max-width: 960px) {
  :root { --section-y: 96px; }

  .site-header__inner { gap: 16px; }
  .site-header__cta { margin-left: auto; }
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid rgba(207, 224, 195, 0.14);
    background: var(--deep-leaf);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid rgba(207, 224, 195, 0.12); }
  .site-nav__phone { display: block; border-bottom: 0 !important; }

  .hero { --hero-top: 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-bottom: 0; }
  .hero__printer { height: 400px; }
  .printer { top: 0; }
  .section--try { padding-top: 280px; }

  .app { height: auto; }
  .app { --order-w: 300px; }
  .app__body { grid-template-columns: minmax(0, 1fr) var(--order-w); }
  .app__cats {
    grid-column: 1 / -1;
    flex-direction: row;
    padding: 10px 12px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #e2e7dc;
  }
  .app__cats button { flex: none; padding: 8px 14px; }
  .app__menu { height: 460px; }

  /* The stacked screen is taller than the viewport, so slips and the printed
     bill attach to the viewport instead of the top of the app. */
  .app__toast {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 12px; right: 12px;
    width: auto;
    justify-items: center;
  }
  .app__overlay {
    position: fixed;
    z-index: 60;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
  }
  .app__overlay[hidden] { display: none; }
  .app__overlay-actions {
    order: 2;
    position: sticky;
    top: auto; bottom: 0;
    justify-content: center;
    margin-top: auto;
    padding: 28px 16px 20px;
    background: linear-gradient(rgba(22, 36, 28, 0), rgba(22, 36, 28, 0.9) 45%);
  }
  .printer--app { margin: 0 auto 8px; }
  html.is-locked, html.is-locked body { overflow: hidden; }

  .feature, .extras, .bill__grid, .devices__grid, .price, .faq__grid, .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .feature { gap: 32px; }
  .extras { gap: 28px; }
  .bill__paper { position: static; }
  .devices__grid, .price, .faq__grid, .cta__grid { gap: 48px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 72px; --header-h: 64px; }

  body { font-size: 16px; }
  .lede, .hero__lede { font-size: 1.0625rem; }

  .brand img { height: 26px; }
  .site-header__cta { padding: 0 12px; font-size: 0.875rem; }

  .hero { --hero-top: 44px; }
  .hero__lede { margin-top: 22px; }
  .hero__actions { margin-top: 30px; }
  .hero__printer { height: 360px; }
  .section--try { padding-top: 236px; }

  .printer { width: 300px; }
  .paper { width: 280px; padding: 20px 16px 18px; font-size: 12.5px; }
  .paper--slip { width: 220px; }
  .paper--large { width: 100%; max-width: 320px; font-size: 12.5px; }

  .device { padding: 8px; border-radius: 22px; }
  .app { border-radius: 15px; font-size: 13.5px; }
  .app__bar { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .app__seg { order: 3; width: 100%; }
  .app__seg button { flex: 1; padding: 7px 8px; }
  .app__who { margin-left: auto; }
  .app__body { grid-template-columns: minmax(0, 1fr); }
  .app__menu { height: 380px; padding: 12px; }
  .app__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { min-height: 84px; }
  .app__order { border-top: 1px solid #e2e7dc; border-left: 0; }
  .app__lines { max-height: 260px; }

  .panel { min-height: 0; padding: 32px 16px; border-radius: 20px; }
  .slips { gap: 24px; }
  .slip-fig--lower { margin-top: 0; }
  .floor__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .t { min-height: 84px; padding: 8px 9px; }
  .t--wide { grid-column: span 2; }
  .extras__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .bill__paper { padding-right: 34px; }
  .paper--large { --pin-x: -46px; }
  .pin { width: 24px; height: 24px; font-size: 12px; }

  .widths { padding: 36px 16px 28px; }
  .widths__pair { flex-direction: column; align-items: center; gap: 28px; }
  .widths__col--80 { width: 280px; }
  .widths__col--58 { width: 203px; }
  .strip { font-size: 11px; }

  .spec th { width: 40%; }

  .menu-card { padding: 48px 24px 36px; }
  .menu-card::before { inset: 10px; }
  .menu-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px dotted #aebba5; }
  .menu-list li:last-child { border-bottom: 0; }
  .menu-list__dots { display: none; }
  .menu-list__name { font-size: 1.125rem; }
  .menu-list__desc { text-align: left; }

  .price__card, .form { padding: 28px 22px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }

  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { gap: 48px; }
}
