/* PetitPOS website — colours and type from the design ("Logo & huisstijl"). */
:root {
  --tomato: #c4492b;
  --tomato-dark: #9e3519;
  --peach-orange: #f2a27a;
  --peach: #fbe3d6;
  --navy: #1f2a44;
  --navy-soft: #33415f;
  --cream: #f7f1e6;
  --white: #ffffff;
  --line: #e8ddcb;
  --muted: #5a4e44;
  --ok: #3e5a1e;
  --radius: 20px;
  --title: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Baloo 2', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--tomato); }
a:hover { color: var(--tomato-dark); }
h1, h2, h3 { font-family: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 8px 12px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); font-weight: 500; }
.lead--light { color: #d3d8e4; }

.wordmark { font-family: 'Permanent Marker', cursive; font-size: 30px; line-height: 1; display: inline-block; transform: rotate(-3deg); color: var(--navy); white-space: nowrap; }
.wordmark span { color: var(--tomato); }
.wordmark--dark { color: var(--cream); font-size: 26px; }
.wordmark--dark span { color: var(--peach-orange); }

.eyebrow { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; color: var(--tomato); margin-bottom: 12px; }
.eyebrow--dark { color: var(--tomato-dark); }
.eyebrow--peach { color: var(--peach-orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--big { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--tomato); color: var(--white); }
.btn--primary:hover { background: var(--tomato-dark); color: var(--white); }
.btn--primary:disabled { background: #e0d3be; color: var(--muted); cursor: not-allowed; }
.btn--light { background: var(--white); color: var(--navy); border-color: #e0c3b0; }
.btn--white { background: var(--white); color: var(--tomato-dark); }
.btn--peach { background: var(--peach-orange); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }

/* Top bar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.topbar__logo { text-decoration: none; margin-right: 8px; }
.topbar__nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar__nav a, .topbar__login { color: var(--navy); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.topbar__nav a:hover, .topbar__login:hover { background: var(--cream); color: var(--navy); }
.topbar__spacer { flex: 1; }
.topbar form { margin: 0; }
.langs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.langs a { font-size: 13px; font-weight: 800; color: var(--muted); text-decoration: none; padding: 4px 7px; border-radius: 7px; }
.langs a[aria-current='true'] { background: var(--navy); color: var(--white); }

/* Bands */
.band--white { background: var(--white); }
.band--navy { background: var(--navy); color: var(--white); }
.band--tomato { background: var(--tomato); color: var(--white); }

/* Hero */
.hero { background: var(--peach); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero__text h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero__text .lead { color: #4a3c2e; }
.hero__note { font-weight: 600; color: #7a3a20; font-size: 0.95rem; margin-top: 16px; }
.hero__visual { flex: 999 1 560px; min-width: 0; position: relative; padding-bottom: 32px; }
.hero__visual .device--phone { position: absolute; right: 0; bottom: 0; width: 26%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Device frames for app screenshots */
.device { background: var(--navy); border-radius: 32px; padding: 14px; box-shadow: 0 30px 60px rgba(31, 42, 68, 0.25); }
.device img, .device__placeholder { width: 100%; aspect-ratio: 1194 / 834; border-radius: 14px; background: var(--cream); object-fit: cover; }
.device__placeholder { background: repeating-linear-gradient(135deg, #f7f1e6 0 18px, #f1e7d7 18px 36px); }
.device--phone { border-radius: 36px; padding: 9px; }
.device--phone img, .device--phone .device__placeholder { aspect-ratio: 390 / 844; border-radius: 28px; }

/* Cards and lists */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.values p { color: var(--muted); margin: 0; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: var(--white); color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; }
.chips--light { justify-content: flex-start; }
.feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.feature--flip { flex-direction: row-reverse; }
.feature__text { flex: 1 1 340px; min-width: 0; }
.feature__visual { flex: 999 1 520px; min-width: 0; display: flex; justify-content: center; }
.feature__visual .device--phone { width: 260px; }
.feature__visual .device:not(.device--phone) { width: 100%; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.checks svg { color: var(--tomato); flex-shrink: 0; }
.checks--plain { grid-template-columns: 1fr; margin: 16px 0 24px; }
.checks--plain li { border: none; padding: 0; background: none; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }

/* Pricing */
.pricing { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.price-card { flex: 1 1 380px; max-width: 560px; background: var(--white); border: 3px solid var(--tomato); border-radius: 28px; padding: 32px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0; }
.price strong { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-weight: 600; }
.request-card { flex: 1 1 360px; max-width: 520px; background: var(--navy); color: var(--white); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.request-card p { color: #d3d8e4; }
.faq { background: var(--cream); border-radius: 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 1.1rem; }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.final { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.final h2 { margin: 0; flex: 1 1 420px; }

/* Forms */
.auth { padding: 56px 16px; display: flex; justify-content: center; align-items: center; gap: 56px; }
.auth__art { flex: 0 1 300px; display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.auth__card h1 { font-size: 2rem; }
.form { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input[type='text'], .field input[type='email'], .field input[type='password'] { height: 52px; border-radius: 12px; border: 1px solid #d8cab4; padding: 0 14px; font: inherit; color: var(--navy); background: var(--white); }
.field input[aria-invalid='true'] { border: 2px solid var(--tomato); }
.field__hint { font-size: 0.85rem; color: var(--muted); }
.field__error { font-size: 0.9rem; color: var(--tomato-dark); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--tomato); }
.alert { border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.alert--error { background: #fdf0ee; color: #8f1d12; }
.alert--ok { background: #e6eed8; color: var(--ok); }

/* Signed-in pages */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 20px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between h2 { margin: 0; }
.tag { font-size: 0.8rem; font-weight: 800; color: #7a3a20; background: var(--peach); border-radius: 8px; padding: 4px 10px; }
.tag--warn { background: #fdebdd; color: #7a3b0c; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.devices { list-style: none; padding: 0; margin: 0; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.devices form { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.kpis .card { display: flex; flex-direction: column; padding: 18px; }
.kpis strong { font-size: 1.8rem; font-weight: 800; }
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 8px 0; border-top: 1px solid var(--line); }
.table .num { text-align: right; font-weight: 700; }

/* Footer */
.footer { background: var(--navy); color: #d3d8e4; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.footer a { color: #d3d8e4; font-weight: 600; }

@media (max-width: 640px) {
  .section { padding-top: 44px; padding-bottom: 44px; }
  .topbar__nav { display: none; }
  .topbar .btn--primary { min-height: 40px; padding: 8px 14px; font-size: 0.95rem; }
  .hero__visual .device--phone { display: none; }
  .price-card, .request-card, .auth__card { padding: 24px; }
}

/* The waiter artwork */
.ober { display: block; height: auto; }
.ober--s { width: 96px; }
.ober--m { width: 180px; }
.ober--l { width: 100%; max-width: 300px; }
.final .ober { flex: 0 0 auto; margin: -24px 0; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-title .ober { margin-bottom: -8px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 32px 24px; }
.empty p { margin: 0; max-width: 440px; }
@media (max-width: 760px) {
  .auth__art, .page-title .ober { display: none; }
}
