/* Kitchio marketing site. Colours and type tokens are defined once here. */

:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --ink: #0F1B3D;
  --ink-2: #1C2B55;
  --paper: #FFFFFF;
  --mist: #EEF1F6;
  --line: #D7DCE6;
  --muted: #4E5873;
  --soft: #9AA5C4;
  --saffron: #FFC53D;
  --save: #0E7A4F;
  --cut: #C2361B;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; max-width: 22ch; }
h3 { font-stretch: 108%; font-weight: 800; }
p { margin: 0 0 16px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; margin: 16px 0 0; }
section { padding: 96px 0; }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .lede { color: #C9D0E3; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 26px; border-radius: 10px; border: 0; font: 700 1.05rem var(--body); text-decoration: none; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-saffron:hover { background: #FFD266; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: inherit; border: 2px solid currentColor; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.more { font-weight: 700; text-underline-offset: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { height: 76px; display: flex; align-items: center; gap: 24px; }
.logo { display: block; margin-right: auto; }
.logo svg { height: 26px; width: auto; display: block; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; color: #C9D0E3; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav .nav-login { border-left: 1px solid rgba(255,255,255,.18); border-radius: 0 8px 8px 0; margin-left: 6px; padding-left: 16px; }
.nav .btn { color: var(--ink); margin-left: 10px; min-height: 46px; padding: 10px 18px; }
.nav .btn:hover { background: #FFD266; color: var(--ink); }
.menu-btn { display: none; background: none; border: 2px solid rgba(255,255,255,.35); color: #fff; font: 700 1rem var(--body); padding: 10px 16px; border-radius: 10px; cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.7rem); font-stretch: 122%; font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
.hero h1 span { display: block; }
.hero .lede { color: #C9D0E3; font-size: 1.28rem; max-width: 42ch; margin-top: 28px; }
.hero-small { color: var(--soft); font-size: 1rem; margin: 20px 0 72px; }
.page-hero { background: var(--ink); color: #fff; padding: 72px 0 72px; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); font-stretch: 118%; font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lede { color: #C9D0E3; }
.page-hero .hero-grid { align-items: center; }
.letter h2 { margin-bottom: 20px; }
.crumb { color: var(--soft); font-weight: 600; margin-bottom: 18px; display: inline-block; text-decoration: none; }
.crumb:hover { color: #fff; }

/* Receipt (home hero) */
.printer { position: relative; padding-top: 18px; }
.printer::before { content: ""; position: absolute; left: -14px; right: -14px; top: 0; height: 22px; background: #0A1330; border-radius: 10px 10px 4px 4px; box-shadow: inset 0 -6px 0 #060C22; z-index: 2; }
.receipt { position: relative; background: #fff; color: #1a1a1a; font-family: var(--mono); font-size: .95rem; line-height: 1.5; padding: 26px 24px 30px; margin: 0 8px; animation: print 1.6s cubic-bezier(.2,.7,.2,1) .25s both; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: linear-gradient(135deg, #fff 50%, transparent 50%) 0 0/16px 12px repeat-x, linear-gradient(225deg, #fff 50%, transparent 50%) 0 0/16px 12px repeat-x; }
@keyframes print { from { transform: translateY(-100%); clip-path: inset(100% 0 -20px 0); } to { transform: none; clip-path: inset(0 0 -20px 0); } }
.r-center { text-align: center; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-rule { border: 0; border-top: 1px dashed #999; margin: 12px 0; }
.r-head { font-weight: 600; }
.r-block { padding: 10px 12px; margin: 10px -12px 0; border-radius: 4px; }
.r-app { background: #FBEDEA; }
.r-k { background: #E7F4EE; }
.neg { color: var(--cut); font-weight: 600; }
.pos { color: var(--save); font-weight: 600; }
.r-big { font-size: 1.05rem; font-weight: 600; }
.r-foot { color: #666; font-size: .8rem; margin-top: 12px; }

/* Facts strip */
.facts { background: var(--mist); padding: 26px 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; font-weight: 600; }
.facts b { font-family: var(--display); font-stretch: 115%; font-size: 1.3rem; margin-right: 6px; }

/* Phone mockup */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #0A1330; border-radius: 42px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.screen { background: #fff; color: #231F1C; border-radius: 32px; overflow: hidden; height: 580px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; position: relative; }
.s-status { height: 30px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; font-weight: 700; font-size: 12px; }
.s-head { display: flex; align-items: center; gap: 8px; padding: 8px 16px 10px; border-bottom: 1px solid #ECE7E1; }
.s-logo { width: 26px; height: 26px; border-radius: 50%; background: #B3261E; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.s-name { font-weight: 800; font-size: 15px; }
.s-basket { margin-left: auto; background: #B3261E; color: #fff; border-radius: 8px; padding: 5px 9px; font-weight: 700; font-size: 11px; }
.s-body { padding: 14px 16px; flex: 1; overflow: hidden; }
.s-title { font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.05; margin: 2px 0 4px; }
.s-open { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; margin: 6px 0 10px; }
.s-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f7a45; }
.s-tabs { display: flex; gap: 14px; border-bottom: 1px solid #ECE7E1; margin: 0 -16px 10px; padding: 0 16px; font-weight: 700; color: #8a837c; font-size: 12px; }
.s-tabs span { padding: 8px 0; }
.s-tabs .on { color: #231F1C; box-shadow: inset 0 -3px 0 #B3261E; }
.s-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ECE7E1; }
.s-item-main { flex: 1; min-width: 0; }
.s-item-top { display: flex; align-items: baseline; gap: 6px; font-weight: 700; }
.s-item-top i { flex: 1; border-bottom: 2px dotted #DDD6CE; transform: translateY(-3px); }
.s-desc { color: #6E6862; font-size: 11.5px; margin-top: 2px; }
.s-tags { display: flex; gap: 4px; margin-top: 5px; }
.s-tag { font-size: 10px; font-weight: 700; color: #2F5D3A; border: 1px solid currentColor; border-radius: 99px; padding: 0 6px; }
.s-tag.hot { color: #B3261E; }
.s-thumb { width: 54px; height: 54px; border-radius: 8px; flex-shrink: 0; }
.th-pizza { background: radial-gradient(circle at 50% 50%, #F4D58D 0 32%, #D9472B 33% 58%, #E8B86B 59%); }
.th-pasta { background: radial-gradient(circle at 40% 45%, #F2C66D 0 20%, transparent 21%), repeating-linear-gradient(45deg, #F0C36A 0 5px, #E6AE4E 5px 9px); }
.th-sweet { background: linear-gradient(#5B3A29 0 30%, #F3E6CF 30% 55%, #6E4630 55% 70%, #F3E6CF 70%); }
.s-bar { margin: 0 12px 12px; background: #B3261E; color: #fff; border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; font-weight: 700; }
.s-seg { display: flex; background: #F5F2EE; border-radius: 10px; padding: 3px; gap: 3px; margin: 8px 0 14px; }
.s-seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 8px; font-weight: 700; color: #8a837c; }
.s-seg .on { background: #fff; color: #231F1C; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.s-label { font-weight: 800; font-size: 14px; margin: 10px 0 8px; }
.s-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-slots span { border: 1.5px solid #E4DED7; border-radius: 8px; padding: 8px; text-align: center; font-weight: 700; }
.s-slots .on { border-color: #B3261E; background: #FBEDEA; color: #B3261E; }
.s-slots .wide { grid-column: 1 / -1; }
.s-ticket { background: #F5F2EE; border-radius: 10px 10px 0 0; padding: 12px; margin-top: 14px; position: relative; }
.s-ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: linear-gradient(135deg, #F5F2EE 50%, transparent 50%) 0 0/10px 8px repeat-x, linear-gradient(225deg, #F5F2EE 50%, transparent 50%) 0 0/10px 8px repeat-x; }
.s-row { display: flex; justify-content: space-between; padding: 3px 0; }
.s-row.total { font-weight: 800; border-top: 2px dashed #E4DED7; margin-top: 6px; padding-top: 8px; }
.s-big { font-weight: 800; font-size: 44px; letter-spacing: -.03em; line-height: 1; margin: 4px 0 8px; }
.s-steps { list-style: none; padding: 0; margin: 14px 0; }
.s-steps li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-weight: 700; color: #8a837c; }
.s-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #E4DED7; }
.s-steps .done { color: #231F1C; }
.s-steps .done::before { background: #2F5D3A; border-color: #2F5D3A; }
.s-steps .now { color: #231F1C; }
.s-steps .now::before { background: #B3261E; border-color: #B3261E; box-shadow: inset 0 0 0 2px #fff; }
.s-banner { background: #2F5D3A; color: #fff; text-align: center; font-weight: 700; padding: 8px; font-size: 12px; }
.s-card { background: #F5F2EE; border-radius: 12px; padding: 14px; margin-top: 10px; }
.s-bar-p { height: 8px; background: #E4DED7; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.s-bar-p span { display: block; height: 100%; background: #2F5D3A; }
.s-check { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 8px; }
.s-check b { width: 18px; height: 18px; border-radius: 4px; background: #B3261E; display: grid; place-items: center; color: #fff; font-size: 12px; }
.s-input { border: 1.5px solid #E4DED7; border-radius: 8px; padding: 8px 10px; color: #6E6862; margin-bottom: 6px; }

/* Table card mockup (QR page) */
.tent { width: 260px; background: #fff; color: var(--ink); border-radius: 16px; padding: 22px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.tent .qr { width: 170px; height: 170px; margin: 8px auto 12px; display: block; }
.tent b { display: block; font-family: var(--display); font-stretch: 115%; font-size: 1.9rem; line-height: 1; }
.tent span { color: var(--muted); font-size: .95rem; }
.qr-pair { display: flex; gap: 24px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.qr-pair .phone { width: 240px; margin: 0; }
.qr-pair .screen { height: 500px; font-size: 12px; }
.qr-pair .s-slots span { padding: 6px; }
@media (min-width: 1021px) { .page-hero .hero-grid { grid-template-columns: 1fr 1fr; } .page-hero .qr-pair { flex-wrap: nowrap; } }

/* Tablet mockup (kitchen board) */
.hero-grid > *, .cols-2 > *, .tour-row > *, .demo-grid > *, .price-grid > * { min-width: 0; }
.tablet { overflow-x: auto; background: #0A1330; border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.t-screen { min-width: 520px; background: #EBE8E4; border-radius: 16px; overflow: hidden; font-size: 12px; line-height: 1.35; color: #1c1a18; }
.t-top { background: #1c1a18; color: #fff; padding: 10px 16px; display: flex; gap: 14px; align-items: center; font-weight: 700; }
.t-top span { color: #cfc9c2; font-weight: 600; }
.t-top .on { color: #fff; }
.t-top .pill { margin-left: auto; background: #1f7a45; border-radius: 99px; padding: 3px 10px; color: #fff; font-size: 11px; }
.t-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.t-cols h4 { margin: 0 0 8px; font: 700 12px var(--body); display: flex; justify-content: space-between; }
.t-tk { background: #fff; border-radius: 8px 8px 0 0; padding: 10px; margin-bottom: 14px; position: relative; }
.t-tk::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: linear-gradient(135deg, #fff 50%, transparent 50%) 0 0/8px 6px repeat-x, linear-gradient(225deg, #fff 50%, transparent 50%) 0 0/8px 6px repeat-x; }
.t-tk.fresh { outline: 2px solid #B3261E; }
.t-num { font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.t-type { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: #eaf3e6; color: #2c6a2b; }
.t-type.del { background: #e3ecf7; color: #1d4f8f; }
.t-type.tab { background: #f6e9d9; color: #8a4b0f; }
.t-when { color: #6b655f; font-size: 11px; margin: 2px 0 6px; }
.t-line { border-top: 1px dashed #e0dad3; padding: 4px 0; }
.t-btn { background: #B3261E; color: #fff; border-radius: 6px; text-align: center; font-weight: 700; padding: 6px; margin-top: 6px; }

/* Home tour rows */
.tour-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.tour-row:first-of-type { border-top: 0; }
.tour-row.flip .tour-text { order: 2; }
.tour-text h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.tour-text p { color: var(--muted); font-size: 1.12rem; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; }
.ticks li { position: relative; padding: 6px 0 6px 32px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 16px; height: 9px; border-left: 3px solid var(--save); border-bottom: 3px solid var(--save); transform: rotate(-45deg); }
.band-ink .ticks li::before { border-color: var(--saffron); }

/* Plain-number examples */
.examples { width: 100%; border-collapse: collapse; margin-top: 40px; font-variant-numeric: tabular-nums; font-size: 1.08rem; }
.examples th, .examples td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.examples th { font-size: .95rem; color: var(--muted); font-weight: 700; }
.examples td:not(:first-child), .examples th:not(:first-child) { text-align: right; }
.examples td small { display: block; color: var(--muted); font-size: .9rem; }
.examples .keep { color: var(--save); font-weight: 800; font-size: 1.2rem; }
.table-scroll { overflow-x: auto; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; max-width: 80ch; }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.fit h3 { font-size: 1.35rem; padding-bottom: 12px; border-bottom: 3px solid var(--ink); margin-bottom: 8px; }
.fit ul { padding: 0; margin: 0; list-style: none; }
.fit li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fit .no h3 { border-color: var(--line); color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--saffron); font: 800 1.35rem var(--display); margin-bottom: 18px; }
.band-ink .steps li::before { background: var(--saffron); color: var(--ink); }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
.band-ink .steps p { color: #C9D0E3; }

/* Two-column text blocks */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; align-items: start; }
.limits { background: var(--mist); border-radius: 16px; padding: 28px; }
.limits h3 { font-size: 1.25rem; margin-bottom: 10px; }
.limits ul { margin: 0; padding-left: 20px; }
.limits li { margin: 8px 0; }

/* Related pages */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px; border-top: 3px solid var(--ink); }
.related a { display: block; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.related b { display: block; font-size: 1.1rem; }
.related span { color: var(--muted); font-size: .98rem; }
.related a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.plan { border: 3px solid var(--ink); border-radius: 18px; padding: 36px; }
.plan .amount { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 4.4rem; letter-spacing: -0.04em; line-height: 1; }
.plan .amount small { font-size: 1.1rem; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.plan ul { padding: 0; margin: 24px 0 28px; list-style: none; columns: 2; column-gap: 24px; }
.plan li { padding: 6px 0 6px 28px; position: relative; break-inside: avoid; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--save); border-bottom: 3px solid var(--save); transform: rotate(-45deg); }
.fine h3 { font-size: 1.2rem; margin: 0 0 8px; }
.fine p { color: var(--muted); margin-bottom: 22px; }
.fine table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.fine td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fine td:last-child { text-align: right; font-weight: 700; }
.quick-calc { margin-top: 40px; background: var(--mist); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; }
.quick-calc label { font-weight: 700; font-size: 1.1rem; }
.quick-calc input { width: 140px; font: 700 1.4rem var(--body); padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; }
.quick-calc output { font-size: 1.15rem; }
.quick-calc output b { color: var(--save); font-size: 1.35rem; }

/* Founder */
.letter { display: grid; grid-template-columns: 120px 1fr; gap: 40px; max-width: 900px; }
.monogram { width: 120px; height: 120px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; font: 800 2.6rem var(--display); font-stretch: 115%; }
.letter p { color: #C9D0E3; font-size: 1.15rem; max-width: 62ch; }
.letter .sig { color: #fff; font-weight: 700; margin-top: 24px; }
.letter .sig a { color: var(--saffron); }

/* FAQ */
.faq { max-width: 840px; margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 2rem var(--body); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 68ch; margin-bottom: 22px; }

/* CTA band */
.cta-band { background: var(--saffron); color: var(--ink); padding: 72px 0; }
.cta-band .wrap { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin: 10px 0 0; font-size: 1.15rem; }

/* Demo form */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
form.card { background: #fff; border-radius: 18px; padding: 32px; border: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); margin: 20px 0; }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.form-msg { margin: 16px 0 0; font-weight: 700; }
.form-msg.err { color: var(--cut); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: inline-block; min-width: 120px; }

/* Footer */
footer { background: var(--ink); color: var(--soft); padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; margin: 0 0 12px; font: 700 1rem var(--body); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; }
footer a { color: #C9D0E3; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .logo svg { height: 24px; margin-bottom: 14px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .95rem; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; box-shadow: 0 18px 30px -10px rgba(0,0,0,.5); }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { margin: 10px 0 0; }
  .nav .nav-login { border-left: 0; margin-left: 0; padding-left: 12px; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; }
  .hero-grid, .price-grid, .demo-grid, .cols-2, .fit, .tour-row { grid-template-columns: 1fr; }
  .tour-row.flip .tour-text { order: 0; }
  .tour-row { gap: 36px; padding: 56px 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .related { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .printer { max-width: 440px; }
  .hero-small { margin-bottom: 40px; }
  .receipt-wrap { margin-bottom: -40px; }
  .page-hero .hero-visual { margin-top: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  section { padding: 72px 0; }
  .fields { grid-template-columns: 1fr; }
  .plan ul { columns: 1; }
  .plan { padding: 26px; }
  .letter { grid-template-columns: 1fr; gap: 20px; }
  .monogram { width: 84px; height: 84px; font-size: 1.9rem; }
  .facts ul { justify-content: flex-start; }
  .related, .foot-grid { grid-template-columns: 1fr; }
  .quick-calc { grid-template-columns: 1fr; }
  .logo svg { height: 22px; }
  .examples th, .examples td { padding: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Legal pages */
.legal-hero { padding: 56px 0 40px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { color: #2A3350; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal-flag { background: #FFF4D6; border-left: 4px solid #E0A100; padding: 12px 16px; border-radius: 6px; }
.notice-inline { background: var(--mist); border-radius: 12px; padding: 16px 18px; margin: 24px 0 0; }
