/* Editorial page rhythm and focused product illustrations. */
:root { --section-space: clamp(64px, 7.3vw, 104px); --copy-width: 62ch; }
.section { padding-block: var(--section-space); }
.eyebrow, .page-kicker { font-weight: 600; }
.utility-claim, .utility-claim-short { color: #d5e1d8; }
.hero-refined .hero-grid { padding-block: 66px 76px; min-height: 660px; }
.hero-refined h1 { font-size: clamp(42px, 4.1vw, 60px); }
.hero-refined .lead { max-width: 390px; }
.page-intro h1 { max-width: 20ch; }
.page-intro > p:not(.page-kicker) { max-width: var(--copy-width); }
.section-head h2, .faq-intro h2 { line-height: 1.13; }

/* Three useful moments, not a whole desktop squeezed into a small picture. */
.up-tour { background: #163730; }
.up-tour .tour-panel { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 50px; min-height: 410px; }
.up-tour .tour-copy h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; font-weight: 500; }
.up-tour .tour-copy > p { color: #c1d0c7; }
.up-tour .tour-copy .up-step { color: #f3ae8d; font-size: 10px; font-weight: 600; letter-spacing: .13em; margin-bottom: 17px; }
.up-tour .tour-copy .text-link { font-size: 14px; margin-top: 4px; color: #f3bc9f; }
.up-tour .tour-tabs button { min-height: 66px; gap: 16px; padding-inline: 22px; }
.up-tour .tour-tabs button[aria-selected="true"] { background: #24493e; border-bottom-color: var(--accent); }
.up-preview { margin: 0; min-width: 0; background: #f6f7f2; color: var(--ink); border: 1px solid #557166; border-radius: 15px; box-shadow: 0 24px 50px -28px #031b18; overflow: hidden; }
.up-window-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); font-size: 12px; }
.up-window-head > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.up-window-head > span:last-child { color: var(--muted); }
.up-mark, .up-cta-mark { position: relative; display: inline-block; width: 17px; height: 20px; border-radius: 5px 5px 5px 0; background: var(--accent); flex-shrink: 0; }
.up-mark::after { content: ""; position: absolute; width: 4px; height: 8px; border-radius: 2px; right: 4px; bottom: 4px; background: #fff; }
.up-preview figcaption, .up-mini-preview figcaption { border-top: 1px solid var(--line); padding: 10px 18px; font-size: 11px; color: #61746a; background: #fff; }
.up-sales { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.up-floor { padding: 22px 20px; border-right: 1px solid var(--line); }
.up-preview-label { font-size: 10px; letter-spacing: .09em; color: var(--muted); font-weight: 600; }
.up-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.up-tables > div { display: flex; min-height: 78px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.up-tables strong { font-size: 21px; font-weight: 500; }
.up-tables small { font-size: 10px; color: var(--muted); }
.up-tables .is-occupied { background: #f5eadc; border-color: #decbb0; }
.up-tables .is-selected { border-color: var(--ink); background: #e3ebe2; }
.up-floor-note { display: flex; gap: 7px; align-items: center; margin: 16px 0 0; font-size: 11px; color: var(--muted); }
.up-floor-note i { width: 6px; height: 6px; border-radius: 50%; background: #4a735f; }
.up-bill { display: flex; flex-direction: column; padding: 22px 20px; background: #fff; }
.up-bill-title, .up-bill-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.up-bill-title strong { font-size: 18px; font-weight: 600; }
.up-bill-title > span { font-size: 11px; color: var(--muted); }
.up-bill ul { list-style: none; margin: 16px 0 22px; padding: 0; }
.up-bill li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf0ea; font-size: 13px; }
.up-bill li b { white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.up-bill-total { margin-top: auto; font-size: 13px; }
.up-bill-total strong { font-size: 25px; font-weight: 600; letter-spacing: -.7px; }
.up-status { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; margin-top: 13px; color: #2f6250; background: #eaf1e7; border-radius: 6px; font-size: 11px; }
.up-status .i { width: 15px; height: 15px; }
.up-kitchen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 24px 18px 32px; min-height: 300px; }
.up-lane-label { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; margin-bottom: 13px; }
.up-lane-label i { width: 5px; height: 5px; background: #be8c4c; border-radius: 50%; }
.is-preparing .up-lane-label i { background: #b66e48; }
.is-ready .up-lane-label i { background: #4b7c59; }
.up-lane-label > span { margin-left: auto; font-size: 10px; color: var(--muted); }
.up-kitchen-ticket { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 14px 12px; }
.is-preparing .up-kitchen-ticket { border-color: #dcb394; }
.up-kitchen-ticket header { display: flex; gap: 5px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.up-kitchen-ticket strong { font-size: 13px; font-weight: 600; }
.up-kitchen-ticket header span { font-size: 10px; color: var(--muted); }
.up-kitchen-ticket p { font-size: 11px; line-height: 2; margin: 16px 0 12px; }
.up-kitchen-ticket > small { display: block; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; color: #756149; }
.up-report { padding: 24px 26px; }
.up-report-summary { display: grid; grid-template-columns: 1.3fr 1fr; padding-bottom: 24px; }
.up-report-summary > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.up-report-summary span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.up-report-summary strong { font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -1px; }
.up-payment-bar { display: flex; gap: 3px; height: 12px; border-radius: 4px; overflow: hidden; }
.up-payment-bar i:nth-child(1) { width: 29.9065%; background: #1e493d; }
.up-payment-bar i:nth-child(2) { width: 60.7477%; background: #96b69e; }
.up-payment-bar i:nth-child(3) { flex: 1; background: #e8a681; }
.up-payment-list { margin: 20px 0 0; }
.up-payment-list > div { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; gap: 12px; font-size: 13px; }
.up-payment-list dt { display: flex; align-items: center; gap: 9px; }
.up-payment-list dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.up-payment-list i { width: 8px; height: 8px; border-radius: 2px; background: #1e493d; }
.up-payment-list > div:nth-child(2) i { background: #96b69e; }
.up-payment-list > div:nth-child(3) i { background: #e8a681; }

.up-sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.up-sector-card { display: grid; grid-template-columns: 1fr auto; text-decoration: none; padding: 25px 27px 23px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, background-color .2s; }
.up-sector-card:hover { background: #edf1e8; border-color: #9cab9b; }
.up-sector-card > .i { width: 29px; height: 29px; color: #5d7f6e; margin-bottom: 26px; }
.up-sector-card > span { align-self: start; font-size: 21px; font-weight: 400; color: #788e80; }
.up-sector-card h3 { grid-column: 1 / -1; font-size: 21px; letter-spacing: -.6px; margin: 0 0 8px; }
.up-sector-card p { grid-column: 1 / -1; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; max-width: 29ch; }
.up-management { background: #ecefe6; }
.up-management-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.up-management-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid #d0dbcd; border-radius: 16px; background: #e0e8da; }
.up-management-card.is-warm { background: #f1e8dc; border-color: #e4d5c4; }
.up-card-heading { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .1em; font-weight: 600; margin-bottom: 27px; color: #536b59; }
.up-card-heading .i { width: 22px; height: 22px; }
.up-management-card h3 { font-size: 28px; line-height: 1.2; letter-spacing: -.8px; margin-bottom: 14px; }
.up-management-card > p { color: #56685b; font-size: 15px; max-width: 40ch; margin-bottom: 26px; }
.up-mini-preview { margin: auto 0 5px; padding: 24px 24px 0; border: 1px solid #d8dfd2; background: #fff; border-radius: 10px; min-height: 186px; }
.up-mini-preview figcaption { padding: 10px 0; margin-top: 20px; font-size: 10px; }
.up-stock-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.up-stock-row strong { display: block; font-size: 14px; font-weight: 500; }
.up-stock-row span { font-size: 11px; color: var(--muted); }
.up-stock-row b { font-size: 24px; white-space: nowrap; font-weight: 500; letter-spacing: -.7px; }
.up-stock-track { margin-top: 23px; height: 7px; background: #edece4; border-radius: 4px; }
.up-stock-track span { display: block; height: 100%; width: 42.5%; background: #ce9870; border-radius: inherit; }
.up-stock-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-size: 10px; margin-top: 10px; color: #826445; }
.up-branch-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 70px; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 12px; }
.up-branch-row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.up-branch-row > div { height: 7px; border-radius: 4px; background: #f3ede5; }
.up-branch-row i { display: block; width: var(--bar); height: 100%; background: #bba284; border-radius: inherit; }
.up-management-card > .text-link { margin-top: 16px; align-self: flex-start; }
.up-service { padding-block: 64px; background: #f7f7f2; border-bottom: 1px solid var(--line); }
.up-service-grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 36px; }
.up-service .eyebrow { margin-bottom: 14px; font-size: 10px; }
.up-service h2 { font-size: 29px; line-height: 1.17; margin: 0; }
.up-service h3 { font-size: 16px; margin: 15px 0 8px; line-height: 1.4; }
.up-service p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.up-service a { text-underline-offset: 4px; }
.up-service .i { color: #6c8677; }
.plan-price { font-variant-numeric: tabular-nums; }
.plan-tax { margin: -13px 0 22px; font-size: 11px; color: var(--muted); }
.plan.featured .plan-tax { color: #c2d3c8; }
.plan-common { max-width: 750px; margin-inline: auto; }
.up-included { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 38px; }
.up-included .eyebrow { margin-bottom: 12px; font-size: 10px; }
.up-included h3 { font-size: 23px; letter-spacing: -.6px; margin: 0 0 8px; }
.up-included > div > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.up-included-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.up-included-groups strong { font-size: 14px; font-weight: 600; }
.up-included-groups p { font-size: 13px; color: var(--muted); margin: 8px 0 0; max-width: 33ch; }
.up-included > .text-link { margin-top: 16px; }
.up-cta .cta-box { position: relative; isolation: isolate; }
.up-cta-mark { position: absolute; right: 34%; bottom: -24px; z-index: -1; width: 160px; height: 182px; border-radius: 43px 43px 43px 0; opacity: .2; }
.up-cta-mark::after { content: ""; position: absolute; right: 32px; bottom: 38px; width: 31px; height: 70px; border-radius: 9px; background: #dfe8d6; }
.up-cta h2 { max-width: 21ch; }
.audience-page .wrap { max-width: 1280px; }
.up-audience-grid { padding-top: 14px; }
.up-audience-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 0 0; margin-top: 36px; border-top: 1px solid var(--line); }
.up-audience-note p { margin: 0; max-width: 53ch; }

/* Long documents keep their wording and use a dedicated reading layout. */
.document-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 68px; padding-block: 64px 96px; }
.document-toc { align-self: start; position: sticky; top: 116px; }
.document-toc > p { font-size: 11px; font-weight: 600; letter-spacing: .1em; margin-bottom: 17px; }
.document-toc nav { display: grid; border-left: 1px solid var(--line); max-height: calc(100dvh - 250px); overflow-y: auto; }
.document-toc nav a { padding: 7px 14px; font-size: 12px; color: var(--muted); text-decoration: none; line-height: 1.5; }
.document-toc nav a:hover, .document-toc nav a:focus-visible { color: var(--ink); background: #eaf0e5; }
.document-toc > a { display: inline-block; margin-top: 22px; font-size: 13px; text-underline-offset: 4px; }
.document-layout > .doc { padding: 0; min-width: 0; }
.document-layout .doc .wrap { padding: 0; }
.document-layout .doc h1 { font-size: clamp(30px, 3.4vw, 45px); line-height: 1.18; overflow-wrap: normal; letter-spacing: -.04em; }
.document-layout .doc h2 { font-size: 22px; line-height: 1.4; scroll-margin-top: 112px; margin-top: 40px; }
.document-layout .doc p, .document-layout .doc li { color: #53665c; font-size: 15px; line-height: 1.9; }
.document-layout .doc .meta { color: var(--muted); font-size: 12px; }

@media (max-width: 1100px) {
  .hero-refined .hero-grid { min-height: auto; }
  .up-tour .tour-panel { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 28px; }
  .up-kitchen { gap: 8px; padding-inline: 12px; }
  .up-kitchen-ticket { padding-inline: 9px; }
  .up-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .document-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 800px) {
  .hero-refined .hero-grid { padding-block: 45px 52px; }
  .up-tour .tour-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: auto; }
  .up-tour .tour-copy { padding: 0; }
  .up-tour .tour-copy h3 br { display: none; }
  .up-tour .tour-copy > p { max-width: 55ch; }
  .up-tour .tour-copy h3 { margin-bottom: 12px; }
  .up-tour .tour-copy .up-step { margin-bottom: 10px; }
  .up-tour .tour-tabs button { padding: 14px 12px; gap: 8px; font-size: 13px; }
  .up-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .up-management-grid { grid-template-columns: minmax(0, 1fr); }
  .up-management-card { padding: 28px; }
  .up-included-groups { gap: 20px; }
  .document-layout { display: block; padding-block: 36px 64px; }
  .document-toc { position: static; margin-bottom: 36px; padding: 20px; background: #edf1e8; border-radius: 10px; }
  .document-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; border-left: 0; gap: 3px 12px; }
  .document-toc nav a { padding: 7px 0; }
  .document-toc > a { margin-top: 12px; }
}
@media (max-width: 520px) {
  .up-tour .tour-tabs button { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; padding-inline: 9px; }
  .up-tour .tour-tabs button > span { font-size: 10px; }
  .up-window-head { padding: 13px 15px; font-size: 11px; }
  .up-sales { grid-template-columns: minmax(0, 1fr); }
  .up-floor { display: none; }
  .up-bill { padding: 20px; }
  .up-bill li { font-size: 14px; padding-block: 12px; }
  .up-kitchen { grid-template-columns: minmax(0, 1fr); min-height: auto; padding: 18px; }
  .up-kitchen-lane:not(.is-preparing) { display: none; }
  .up-lane-label { font-size: 13px; margin-bottom: 10px; }
  .up-kitchen-ticket { padding: 18px; }
  .up-kitchen-ticket strong { font-size: 16px; }
  .up-kitchen-ticket p { font-size: 14px; margin-block: 16px; }
  .up-kitchen-ticket header span, .up-kitchen-ticket > small { font-size: 12px; }
  .up-report { padding: 22px 19px; }
  .up-report-summary { grid-template-columns: 1.1fr 1fr; }
  .up-report-summary > div + div { padding-left: 16px; }
  .up-report-summary strong { font-size: 27px; }
  .up-report-summary span { font-size: 11px; }
  .up-preview figcaption { padding: 11px 14px; font-size: 10px; }
  .up-sector-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .up-sector-card { padding: 21px 24px; grid-template-columns: 35px minmax(0, 1fr) 20px; gap: 0 15px; align-items: center; }
  .up-sector-card > .i { grid-row: 1 / 3; margin: 0; width: 27px; height: 27px; }
  .up-sector-card h3 { grid-column: 2; grid-row: 1; font-size: 19px; margin-bottom: 5px; }
  .up-sector-card p { grid-column: 2; grid-row: 2; font-size: 12px; }
  .up-sector-card > span { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .up-management-card { padding: 24px 20px; }
  .up-management-card h3 { font-size: 25px; }
  .up-mini-preview { padding: 20px 16px 0; }
  .up-stock-row { gap: 8px; }
  .up-stock-row strong { font-size: 13px; }
  .up-stock-row b { font-size: 21px; }
  .up-branch-row { gap: 9px; grid-template-columns: 45px minmax(0, 1fr) 61px; font-size: 11px; }
  .up-service-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .up-service-grid > div:not(:first-child) { position: relative; padding-left: 38px; }
  .up-service .i { position: absolute; left: 0; top: 3px; }
  .up-service h3 { margin-top: 0; }
  .up-included-groups { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .up-included { margin-top: 32px; padding-top: 30px; }
  .up-included h3 { max-width: 22ch; }
  .up-included-groups p { max-width: none; margin-top: 5px; }
  .up-cta-mark { display: none; }
  .document-toc nav { grid-template-columns: minmax(0, 1fr); }
  .document-layout .doc p, .document-layout .doc li { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .up-sector-card { transition: none; }
}
