/* Plattivo landing page. Colours and fonts follow the plugin's design system, on a white page. */
:root {
  --brand: #1e6b4f;
  --brand-strong: #175640;
  --brand-soft: #e2f0e8;
  --accent: #b4532a;
  --accent-soft: #f6e9e2;
  --ink: #1e1a16;
  --ink-muted: #675d54;
  --ink-faint: #9a8f85;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-tint: #f7f7f5;
  --line: #e7e5e1;
  --danger: #b42318;
  --warn: #9a6200;
  --warn-soft: #fdf1d8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(30, 26, 22, 0.06), 0 8px 24px rgba(30, 26, 22, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
img, svg { display: block; max-width: 100%; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 16px; top: -48px; z-index: 50;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-light { background: #fff; color: #17402f; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.eyebrow {
  color: var(--accent); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 800 1.35rem/1 var(--font-display); letter-spacing: -0.02em;
}
.logo-mark { width: 34px; height: 34px; color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink-muted); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.menu-toggle {
  display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 10px; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink-muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-muted); font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-inline-end: 6px; }

.hero-visual { position: relative; min-height: 460px; }
.mock-phone {
  position: absolute; inset-inline-start: 0; top: 0; width: 262px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: 28px;
  padding: 18px 14px; box-shadow: var(--shadow);
}
.mock-phone-bar { display: flex; justify-content: space-between; align-items: center; font: 700 1rem var(--font-display); margin-bottom: 12px; }
.pill { font: 600 0.72rem var(--font-sans); background: var(--brand-soft); color: var(--brand); padding: 4px 10px; border-radius: 999px; }
.mock-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 0.85rem;
}
.mock-item strong { display: block; font-size: 0.9rem; }
.mock-item small { color: var(--ink-faint); }
.mock-thumb { width: 48px; height: 48px; border-radius: 12px; }
.t1 { background: linear-gradient(135deg, #f0c27b, #b4532a); }
.t2 { background: linear-gradient(135deg, #f6d365, #e37b3c); }
.t3 { background: linear-gradient(135deg, #6b4a32, #2e1f15); }
.mock-cart {
  margin-top: 14px; background: var(--brand); color: #fff; border-radius: 14px;
  padding: 12px 14px; display: flex; justify-content: space-between; font-weight: 600; font-size: 0.9rem;
}

.mock-kds {
  position: absolute; inset-inline-end: 0; top: 96px; display: grid; gap: 14px; width: 250px;
}
.ticket {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow); font-size: 0.9rem;
}
.ticket p { margin: 0; padding: 4px 14px; }
.ticket .mod { color: var(--ink-faint); padding-top: 0; font-size: 0.82rem; }
.ticket .note { color: var(--danger); font-weight: 600; }
.ticket-head {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: 6px;
  background: var(--brand-soft); font-family: var(--font-display);
}
.ticket-head b { font-size: 1.15rem; }
.tag { font: 600 0.72rem var(--font-sans); border: 1px solid var(--line); background: var(--surface-raised); padding: 2px 8px; border-radius: 999px; }
.time { margin-inline-start: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket.late .ticket-head { background: var(--danger); color: #fff; }
.ticket.late .tag { color: var(--ink); }
.ticket-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border-top: 1px solid var(--line); }
.ticket-actions span { padding: 10px; text-align: center; font-weight: 600; }
.ticket-actions .go { background: var(--brand); color: #fff; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .mock-phone, .mock-kds { position: static; }
  .mock-kds { width: 260px; }
}
@media (max-width: 600px) {
  .mock-kds { display: none; }
  .mock-phone { width: 100%; max-width: 320px; }
}

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface-tint); }
.strip-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px;
  padding: 18px 0; color: var(--ink-muted); font-weight: 600; font-size: 0.95rem;
}
.strip-row span::before { content: "●"; color: var(--brand); font-size: 0.6em; vertical-align: middle; margin-inline-end: 10px; }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tint { background: var(--surface-tint); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-muted); font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.feature p { color: var(--ink-muted); font-size: 0.97rem; margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); font-size: 1.4rem; margin-bottom: 14px;
}
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; }
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 0.75rem; font-weight: 800;
}

.app-card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%;
}
.app-card-head { font: 800 1.4rem var(--font-display); margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpis div { background: var(--surface-tint); border-radius: var(--radius-sm); padding: 12px; }
.kpis small { display: block; color: var(--ink-faint); font-size: 0.78rem; }
.kpis b { font: 800 1.15rem var(--font-display); font-variant-numeric: tabular-nums; }
.alert { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; font-size: 0.9rem; }
.alert.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.tiles span { text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; color: var(--ink-muted); font-size: 0.85rem; }
.tiles b { display: block; color: var(--ink); font: 800 1.5rem var(--font-display); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--ink-muted); margin: 0; }
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 800 1.05rem var(--font-display); margin-bottom: 16px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience div {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  background: var(--surface-raised); border: 1px solid var(--line); font-weight: 600;
}
.audience span { font-size: 1.3rem; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.plan {
  position: relative; background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column;
}
.plan .checks { flex: 1; }
.plan-pro { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price { font: 800 1.6rem var(--font-display); margin-bottom: 18px; }
.price small { display: block; font: 500 0.95rem var(--font-sans); color: var(--ink-muted); margin-top: 4px; }
.plan-intro { font-weight: 600; margin-bottom: 12px; }
.badge {
  position: absolute; top: -13px; inset-inline-start: 28px; margin: 0;
  background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.faq details {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 700; font-family: var(--font-display); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 14px; font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-muted); padding-bottom: 6px; }

.cta-band { background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; }
.notify { display: flex; gap: 10px; max-width: 480px; margin: 26px auto 12px; }
.notify input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: #fff;
  font: 500 1rem var(--font-sans);
}
.notify input::placeholder { color: rgba(255, 255, 255, 0.7); }
.notify input:focus-visible { outline-color: #fff; }
.fine { font-size: 0.9rem !important; }
@media (max-width: 480px) { .notify { flex-direction: column; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-muted); font-size: 0.92rem; }
.footer-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 40px; align-items: start; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer-row nav a { color: var(--ink-muted); text-decoration: none; font-weight: 500; }
.footer-row nav a:hover { color: var(--ink); }
.logo-footer { margin-bottom: 10px; }
.legal { grid-column: 1 / -1; font-size: 0.82rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.legal a { color: inherit; }
@media (max-width: 700px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-row nav { justify-content: flex-start; }
}

/* Privacy and terms pages: the home page's hero band, a content card and the green band */
.page-hero {
  background: var(--surface-tint); border-bottom: 1px solid var(--line);
  padding: clamp(44px, 7vw, 80px) 0 clamp(36px, 6vw, 64px);
}
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lede { margin-bottom: 0.8em; }
.updated { font-size: 0.92rem; color: var(--ink-faint); margin: 0; }
.legal-page { padding: clamp(32px, 6vw, 64px) 0 clamp(56px, 9vw, 104px); }
.legal-card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: clamp(24px, 5vw, 48px);
  margin-top: clamp(-56px, -5vw, -32px); position: relative;
}
.legal-card > p:first-child { font-size: 1.1rem; color: var(--ink); }
.legal-card h2 {
  font-size: 1.35rem; margin: 2em 0 0.6em; padding-top: 1.4em; border-top: 1px solid var(--line);
}
.legal-card p, .legal-card li { color: var(--ink-muted); }
.legal-card b { color: var(--ink); }
.legal-card ul { list-style: none; padding: 0; margin: 0 0 1em; }
.legal-card ul li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; }
.legal-card ul li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 0.75rem; font-weight: 800;
}
.cta-row-center { justify-content: center; }
.footer-row nav a[aria-current="page"] { color: var(--ink); }
