/* Public pages share this palette and typography. The staff counter has its own styles. */
:root {
    color-scheme: light;
    --ink: #162e29;
    --subtle: #4f625a;
    --forest: #153c33;
    --deep: #102f29;
    --cream: #fbf8ef;
    --paper: #fffdf7;
    --line: #d8dcd1;
    --apricot: #ffb476;
    --gold-ink: #905122;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --sans: "Inter", "Segoe UI", Arial, sans-serif;
    --mono: "IBM Plex Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.1rem; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible {
    outline: 3px solid #a45317;
    outline-offset: 4px;
}
.hero :focus-visible, .site-footer :focus-visible {
    outline-color: var(--apricot);
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.049em;
    text-wrap: balance;
}
h2 {
    font-size: clamp(2.65rem, 5.4vw, 4.85rem);
    line-height: 1.035;
}
h1 em, h2 em { font-weight: 400; }
.wrap {
    width: min(1200px, calc(100% - clamp(36px, 9vw, 146px)));
    margin-inline: auto;
}
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    z-index: 8;
    left: 12px;
    top: 12px;
    padding: 8px 14px;
    background: white;
    color: var(--deep);
}
.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: .67rem 1.15rem;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}
.button span[aria-hidden] { font-size: 1.12em; }
.arrow-ne {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    flex: none;
}
.arrow-ne::before {
    content: "";
    position: absolute;
    right: 1px;
    top: 1px;
    width: 7px;
    height: 7px;
    border-top: 1.7px solid currentColor;
    border-right: 1.7px solid currentColor;
}
.arrow-ne::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 1px;
    width: 12px;
    height: 1.7px;
    background: currentColor;
    transform: rotate(-45deg);
    transform-origin: right center;
}
.primary { background: var(--forest); color: white; }
.primary:hover { background: #234e43; }
.apricot { background: var(--apricot); color: #242a21; }
.apricot:hover { background: #ffc99a; }
.outline { border-color: #a4b0a3; color: var(--ink); background: transparent; }
.outline:hover { background: #edf0e7; }
.inline-link, .form-note a { text-underline-offset: 4px; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--gold-ink);
    font: 650 .70rem/1.45 var(--mono);
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow > span { width: 25px; height: 2px; background: currentColor; }
.eyebrow.light { color: #ffc293; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    text-decoration: none;
    font-size: 1.42rem;
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1;
}
.brand strong { font-weight: 760; }
.brand img { object-fit: contain; }
.primary-nav, .header-actions, .hero-actions, .measure-actions {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.1vw, 32px);
}
.primary-nav a, .staff-link {
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}
.primary-nav a:hover, .staff-link:hover, .hero-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* The photograph has a separate mobile crop to keep the till in view. */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--deep);
    color: #fffaf0;
}
.hero-image, .hero-image img, .hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-image img { object-fit: cover; object-position: center 65%; }
.hero::after {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, rgb(9 30 25 / 97%) 1%, rgb(11 34 29 / 90%) 21%,
        rgb(15 36 30 / 65%) 38%, rgb(16 30 22 / 5%) 70%);
}
.hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(485px, 43vw, 620px);
    padding-block: 60px 70px;
}
.hero-copy { max-width: 550px; }
.hero h1 {
    font-size: clamp(4.25rem, 7.5vw, 7rem);
    line-height: .94;
    letter-spacing: -.06em;
}
.hero h1 em { color: #ffc490; }
.hero-copy > p:not(.eyebrow) {
    max-width: 425px;
    margin-block: 24px 27px;
    color: #f1f1e4;
    line-height: 1.6;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
}
.hero .button { min-height: 49px; }
.hero-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fffaf0;
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
}
.section { padding-block: clamp(52px, 6.5vw, 96px); }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 32px;
}
.section-heading > p, .demo-grid > div > p:not(.eyebrow) {
    max-width: 360px;
    color: var(--subtle);
    font-size: 1.02rem;
}
.counter-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(255px, 1fr);
    border: 1px solid #cbd1c6;
    border-radius: 16px;
    background: var(--paper);
    overflow: hidden;
}
.service-pane { padding: clamp(18px, 2.6vw, 40px); }
.preview-top, .receipt-head, .receipt-total, .shift-card header, .shift-card dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.preview-top > strong { font-size: 1.22rem; letter-spacing: -.03em; }
.sample-label, .shift-card header > span {
    color: var(--subtle);
    font: .72rem/1.4 var(--mono);
}
.table-choices { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.table-choices button {
    padding: .46rem .8rem;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font-size: .83rem;
}
.table-choices button[aria-pressed="true"] {
    background: var(--forest);
    color: white;
    border-color: var(--forest);
}
.table-choices button:hover { border-color: var(--forest); }
.dish-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dish-choices button {
    position: relative;
    overflow: hidden;
    padding: 0;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
}
.dish-choices button:hover { border-color: #567263; }
.dish-choices img { width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; }
.dish-info { display: grid; gap: 2px; padding: 11px 26px 11px 12px; }
.dish-info strong { font-size: .88rem; line-height: 1.25; }
.dish-info > span { color: var(--subtle); font-size: .80rem; }
.add-dish {
    position: absolute;
    right: 7px;
    bottom: 11px;
    display: grid;
    width: 20px;
    height: 20px;
    place-content: center;
    border-radius: 50%;
    background: #e6ede2;
    color: #224738;
    line-height: 1;
}
.ticket-pane {
    display: grid;
    align-items: center;
    padding: clamp(18px, 2.5vw, 32px);
    background: #e6ebdf;
    background-image: repeating-linear-gradient(45deg, transparent 0 8px, rgb(41 70 50 / 3%) 8px 9px);
    border-left: 1px solid var(--line);
}
.ticket {
    position: relative;
    margin-block: 6px;
    padding: 22px clamp(14px, 1.8vw, 28px);
    background: #fffef9;
    box-shadow: 0 7px 13px rgb(28 52 35 / 9%);
}
.ticket::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: -5px;
    height: 6px;
    background: linear-gradient(135deg, #fffef9 45%, transparent 46%) 0 0 / 10px 6px repeat-x,
        linear-gradient(225deg, #fffef9 45%, transparent 46%) 0 0 / 10px 6px repeat-x;
}
.receipt-head, .receipt-total span, .ticket li {
    font: .74rem/1.5 var(--mono);
}
.receipt-head { color: #526052; }
.ticket h3 { font-size: 1.55rem; letter-spacing: -.04em; margin: 6px 0 13px; }
.ticket ul {
    margin: 0;
    padding: 12px 0;
    border-block: 1px dashed #b1b8a9;
    list-style: none;
    min-height: 69px;
}
.ticket li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.ticket-empty { color: var(--subtle); }
.receipt-total { margin: 11px 0; }
.receipt-total strong { font: 700 1.34rem var(--mono); }
.ticket button, .text-button {
    background: none;
    color: var(--subtle);
    border: 0;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: .8rem;
}
.ticket button:disabled { color: #757d73; }
.insights-band {
    padding-block: clamp(52px, 6vw, 84px);
    background: var(--forest);
    color: #faf6e9;
}
.insight-grid, .faq-grid, .demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 7vw, 100px);
    align-items: center;
}
.insight-copy h2 { font-size: clamp(2.65rem, 4.6vw, 4.45rem); }
.insight-copy h2 em { color: #ffc490; }
.insight-copy > p:last-child { margin-top: 21px; color: #dfe9dd; max-width: 415px; }
.shift-card {
    padding: clamp(24px, 3vw, 42px);
    background: var(--cream);
    color: var(--ink);
    border-radius: 12px;
}
.shift-card header { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.shift-card h3 { font-size: 1.2rem; letter-spacing: -.025em; }
.collection-total { display: grid; margin: 18px 0 14px; }
.collection-total span, .shift-card dt { color: var(--subtle); font-size: .88rem; }
.collection-total strong { font-size: 2.8rem; line-height: 1.12; letter-spacing: -.055em; }
.collection-bar {
    height: 9px;
    border-radius: 9px;
    overflow: hidden;
    background: #df985e;
    margin-bottom: 15px;
}
.collection-bar i { display: block; height: 100%; width: 37.5%; background: #39735d; }
.shift-card dl > div { margin-top: 6px; }
.shift-card dt { display: flex; align-items: center; gap: 9px; }
.shift-card dd { font: 650 .91rem var(--mono); }
.key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.cash { background: #39735d; }
.upi { background: #df985e; }
.shift-card dl .pending { margin-top: 16px; padding-top: 13px; border-top: 1px dashed #bec5b7; }
.faq-grid { align-items: start; grid-template-columns: .8fr 1.2fr; }
.question-list { border-top: 1px solid #c1c9bc; }
.question-list details { border-bottom: 1px solid #c1c9bc; }
.question-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-block: 18px;
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: "+"; font-size: 1.2rem; color: var(--gold-ink); }
.question-list details[open] summary::after { content: "−"; }
.question-list details p { padding: 0 26px 18px 0; color: var(--subtle); }
.demo-band { padding-block: clamp(50px, 6vw, 80px); background: #efe5d3; }
.demo-grid > div > p:not(.eyebrow) { margin-top: 19px; max-width: 390px; }
.demo-grid h2 em { color: #875125; }
.demo-form, .utility-card {
    padding: clamp(22px, 3.2vw, 46px);
    background: var(--paper);
    border: 1px solid #d8d2c1;
    border-radius: 14px;
}
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 18px; }
.demo-form label, .utility-card label {
    display: grid;
    gap: 5px;
    color: var(--ink);
    font-size: .87rem;
    font-weight: 650;
}
.demo-form input:not([type="hidden"]):not([hidden]), .utility-card input {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 8px 10px;
    border: 1px solid #a8b5a8;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
}
.demo-form .button { margin-top: 20px; }
.form-note, .field-help { margin-top: 10px; color: var(--subtle); font-size: .8rem; }
.validation-summary-valid, .field-validation-valid { display: none; }
.validation-summary-errors, .field-validation-error { color: #992f24; }
.validation-summary-errors ul { padding-left: 20px; margin-top: 0; }
.input-validation-error { border-color: #ae4330 !important; }
.site-footer { padding-block: 27px; background: var(--deep); color: var(--cream); }
.footer-row, .footer-row nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-row { justify-content: space-between; }
.footer-row .brand { font-size: 1.25rem; }
.footer-row p, .footer-row nav, .footer-row .text-button { font-size: .81rem; color: #dbe5da; }
.footer-row p { margin-top: 6px; }
.footer-row a { text-underline-offset: 3px; }
.utility-section { padding-block: clamp(40px, 7vw, 110px); }
.utility-card { max-width: 500px; margin-inline: auto; }
.utility-card h1, .privacy-copy h1 { font-size: clamp(2.65rem, 5vw, 4.2rem); line-height: 1.04; }
.utility-card h1 { margin-block: 18px 12px; }
.utility-card > p:not(.eyebrow), .privacy-copy p:not(.eyebrow) { color: var(--subtle); }
.utility-card .button, .utility-card form { margin-top: 20px; }
.utility-card label + label { margin-top: 12px; }
.privacy-copy { max-width: 740px; padding-block: clamp(45px, 6vw, 90px); }
.privacy-copy h2 { font-size: 2rem; margin: 32px 0 10px; }
.privacy-copy p + p, .privacy-copy .inline-link { margin-top: 12px; }
.privacy-copy .inline-link { display: inline-block; }
.measure-box {
    position: fixed;
    z-index: 6;
    bottom: 16px;
    right: 16px;
    width: min(380px, calc(100% - 32px));
    padding: 20px;
    background: var(--paper);
    border: 1px solid #acb7a9;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgb(10 32 24 / 18%);
}
.measure-box h2 { font: 700 1.05rem/1.35 var(--sans); letter-spacing: -.02em; }
.measure-box p { margin: 6px 0 12px; color: var(--subtle); font-size: .85rem; }
.measure-actions { gap: 8px; }
.measure-actions .button { min-height: 38px; }

@media (max-width: 910px) {
    .header-row { gap: 14px; }
    .primary-nav { gap: 14px; }
    .counter-shell { grid-template-columns: minmax(0, 1.55fr) minmax(215px, .9fr); }
    .dish-choices { gap: 8px; }
    .dish-info { padding-left: 9px; }
    .form-fields { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
    .header-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3px 12px;
        padding-block: 9px 6px;
    }
    .brand { font-size: 1.22rem; }
    .brand img { width: 35px; height: 35px; }
    .header-row > .brand { grid-area: 1 / 1; justify-self: start; }
    .header-actions { display: contents; }
    .header-cta {
        grid-area: 1 / 2;
        min-height: 37px;
        padding: .47rem .68rem;
        font-size: .82rem;
        gap: 6px;
    }
    .staff-link { grid-area: 2 / 2; justify-self: end; font-size: .8rem; }
    .primary-nav {
        grid-area: 2 / 1;
        gap: 16px;
        justify-content: flex-start;
    }
    .primary-nav a { padding-block: 6px; font-size: .82rem; white-space: nowrap; }
    .nav-detail { display: none; }
    .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 23px; }
    .section-heading > p { max-width: 500px; }
    .counter-shell { grid-template-columns: 1fr; }
    .ticket-pane { border-left: 0; border-top: 1px solid var(--line); }
    .ticket { width: min(100%, 380px); justify-self: center; }
    .insight-grid, .faq-grid, .demo-grid { grid-template-columns: 1fr; gap: 28px; }
    .faq-grid h2 br, .demo-grid h2 br { display: none; }
    .demo-grid > div > p:not(.eyebrow) { max-width: 490px; }
    .form-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .hero-inner { align-items: end; min-height: 560px; padding-block: 150px 38px; }
    .hero-image img { object-position: center 33%; }
    .hero::after {
        background: linear-gradient(0deg, rgb(9 30 25 / 99%) 0%, rgb(10 32 26 / 93%) 23%,
            rgb(14 35 28 / 79%) 47%, rgb(15 30 24 / 12%) 79%);
    }
    .hero h1 { font-size: clamp(3.55rem, 11.5vw, 5rem); }
    .hero .eyebrow { margin-bottom: 13px; }
    .hero-copy > p:not(.eyebrow) { margin-block: 15px 20px; }
}
@media (max-width: 450px) {
    .primary-nav { gap: 12px; }
    .header-cta span { display: none; }
    .hero-inner { min-height: 535px; }
    .dish-info { padding: 9px 5px; }
    .dish-info strong { font-size: .76rem; }
    .dish-choices img { aspect-ratio: 1; }
    .add-dish { right: 5px; top: 5px; bottom: auto; background: #fffdf3; }
    .dish-choices { gap: 6px; }
    .service-pane { padding: 14px; }
    .form-fields { grid-template-columns: 1fr; }
    .footer-row nav { gap: 11px 17px; }
}
@media (max-width: 370px) {
    .hero-actions { flex-wrap: wrap; gap: 12px 16px; }
    .hero-actions > a { white-space: nowrap; }
    .hero-actions .button { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .button { transition: background-color 140ms ease; }
}
@media print {
    .site-header, .site-footer, .measure-box { display: none !important; }
}
