/* Comandera marketing site.
   Source of truth: designs/comandera.md. Gabarito display + Inter body,
   warm canvas, teal as the only action colour, clay as the brand world on
   surfaces where the product speaks about itself, which this site is. */

:root {
  --canvas: #FAF7F2; --surface: #FFFFFF; --sunken: #F1EBE4;
  --ink: #1C1714; --ink2: #6E645C; --ink3: #A3968C; --inverse: #FAF7F2;
  --teal: #0E6E5C; --teal-press: #0A5646; --tealwash: #E8F2EF;
  --clay: #A8452B; --clay-deep: #8F3A24; --claywash: #F6E9E3;
  --danger: #B42318; --dangerwash: #FDECEA;
  --warning: #B54708; --warningwash: #FDF3E8;
  --border: rgba(28,23,20,0.07); --border-strong: rgba(28,23,20,0.13);
  --ring: 0 0 0 1px rgba(28,23,20,0.07), 0 1px 2px rgba(80,52,36,0.06), 0 8px 24px -12px rgba(80,52,36,0.18);
  --ring-deep: 0 0 0 1px rgba(28,23,20,0.08), 0 2px 6px rgba(80,52,36,0.08), 0 24px 48px -20px rgba(80,52,36,0.30);
  --display: "Gabarito", "Inter", sans-serif;
  --body: "Inter", -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 24px; }
.money, .tnum { font-variant-numeric: tabular-nums; }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.25rem; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--ink2); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { color: var(--ink3); font-size: 0.88rem; font-weight: 500; }

.comanda { width: 26px; height: 32px; background: var(--clay); border-radius: 3px 3px 0 0; position: relative; flex: none;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 87% 100%, 75% 92%, 62% 100%, 50% 92%, 38% 100%, 25% 92%, 13% 100%, 0 92%); }
.comanda::before, .comanda::after { content: ""; position: absolute; left: 5px; right: 5px; height: 2.5px; background: rgba(250,247,242,0.55); border-radius: 2px; }
.comanda::before { top: 7px; }
.comanda::after { top: 12px; right: 9px; }
.comanda i { position: absolute; left: 5px; right: 5px; bottom: 6px; height: 3.5px; background: #9ec4bb; border-radius: 2px; }
.on-clay .comanda { background: rgba(250,247,242,0.16); }

/* buttons: teal is the action colour; on clay the button is a white surface.
   Radius 14 per the product's scale. Labels are verbs. */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 14px; border: 0; cursor: pointer; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-teal { background: var(--teal); color: var(--inverse); }
.btn-teal:hover { background: var(--teal-press); }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px rgba(28,23,20,0.10); }
.btn-light:hover { background: #FDFBF8; }
.btn-ghost-clay { background: rgba(250,247,242,0.14); color: var(--inverse); }
.btn-ghost-clay:hover { background: rgba(250,247,242,0.22); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; border-radius: 12px; }

/* ===== hero: the clay brand world ===== */
.hero { background: var(--clay); color: var(--inverse); position: relative; overflow: hidden; }
.hero .brandfield { position: absolute; right: -140px; bottom: -200px; width: 560px; height: 700px; opacity: 0.05; pointer-events: none;
  background: var(--inverse); border-radius: 24px 24px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 87% 100%, 75% 94%, 62% 100%, 50% 94%, 38% 100%, 25% 94%, 13% 100%, 0 94%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 96px; position: relative; }
.hero h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem); text-wrap: balance; }
.hero .sub { color: rgba(250,247,242,0.85); font-size: 1.15rem; line-height: 1.65; margin-top: 22px; max-width: 44ch; }
.hero .sub b { color: var(--inverse); font-weight: 600; }
.hero .ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { color: rgba(250,247,242,0.6); font-size: 0.88rem; margin-top: 18px; }

/* the report, drawn rather than screenshotted: crisp at every size and
   holding the product's exact tokens. Labelled invented, always. */
.panel { background: var(--canvas); color: var(--ink); border-radius: 28px; box-shadow: var(--ring-deep); overflow: hidden; max-width: 420px; margin: 0 auto; }
.panel-tag { background: var(--claywash); color: var(--clay); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 20px; }
.panel-body { padding: 22px 20px 24px; }
.p-rest { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.p-rest::after { content: ""; display: block; width: 26px; height: 3px; background: var(--clay); border-radius: 2px; margin-top: 4px; }
.p-label { color: var(--ink2); font-size: 0.8rem; margin-top: 16px; }
.p-big { font-family: var(--display); font-weight: 700; font-size: 2.5rem; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.p-hint { color: var(--ink3); font-size: 0.8rem; margin-top: 2px; }
.p-card { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--border); padding: 14px 16px; margin-top: 14px; }
.p-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.p-head b { font-size: 0.94rem; font-weight: 600; }
.p-amount { color: var(--danger); font-weight: 600; font-variant-numeric: tabular-nums; }
.p-note { color: var(--ink2); font-size: 0.82rem; margin-top: 3px; }
.p-alert { color: var(--danger); font-size: 0.82rem; margin-top: 3px; }
.p-flag { background: var(--claywash); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.p-flag b { font-size: 0.88rem; }
.p-flag p { color: var(--ink2); font-size: 0.8rem; margin-top: 2px; line-height: 1.5; }
.p-row { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 8px 0 0; margin-top: 8px; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.p-row span:last-child { color: var(--ink2); }

/* ===== quiet facts strip ===== */
.facts { display: flex; justify-content: center; gap: 0; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.facts div { color: var(--ink2); font-size: 0.94rem; font-weight: 500; padding: 4px 28px; }
.facts div + div { border-left: 1px solid var(--border-strong); }

/* ===== sections ===== */
section { padding: 88px 0; }
.eyebrow { color: var(--clay); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-wrap: balance; }
.lede { color: var(--ink2); font-size: 1.08rem; max-width: 56ch; margin-top: 16px; }
.lede b, .split-copy b { color: var(--ink); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy p { color: var(--ink2); margin-top: 14px; max-width: 50ch; }
.checks { margin-top: 22px; }
.checks li { list-style: none; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); color: var(--ink2); font-size: 0.97rem; }
.checks li b { color: var(--ink); font-weight: 600; }
.checks svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* ===== bento ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.tile { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--border); padding: 24px; position: relative; overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease; }
.tile:hover { box-shadow: var(--ring-deep); transform: translateY(-2px); }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.tile p { color: var(--ink2); font-size: 0.9rem; margin-top: 6px; line-height: 1.55; }
.t-2 { grid-column: span 2; }
.t-3 { grid-column: span 3; }
.t-viz { display: flex; flex-direction: column; }
.t-viz .viz { flex: 1; min-height: 190px; margin-top: 18px; position: relative; }

/* floor plan drawing */
.fplan { position: absolute; inset: 0; background: var(--canvas); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); }
.pt-table { position: absolute; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 600; }
.pt-table .m { font-weight: 500; color: var(--ink2); font-variant-numeric: tabular-nums; font-size: 0.66rem; }
.pt-on { background: var(--tealwash); box-shadow: inset 0 0 0 1px rgba(14,110,92,0.4); }
.pt-late { box-shadow: inset 0 0 0 1.5px var(--danger); }
.pt-late .m { color: var(--danger); }
.pt-slow .m { color: var(--warning); }
.pt-round { border-radius: 50%; }
.pt-rect { border-radius: 10px; }

/* kitchen card drawing */
.kcard { position: absolute; inset: 0; background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--danger); padding: 14px 16px; }
.k-head { display: flex; justify-content: space-between; align-items: baseline; }
.k-head b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.k-min { color: var(--danger); font-weight: 600; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.k-who { color: var(--ink3); font-size: 0.72rem; margin-top: 1px; }
.k-line { display: flex; gap: 12px; align-items: baseline; margin-top: 9px; }
.k-qty { color: var(--teal); font-family: var(--display); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.k-dish { font-size: 0.92rem; font-weight: 500; }
.k-btn { margin-top: 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--border-strong); text-align: center; padding: 8px; font-weight: 600; font-size: 0.9rem; }

/* corte drawing */
.corte { position: absolute; inset: 0; background: var(--canvas); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.c-verdict { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.c-sub { color: var(--ink2); font-size: 0.82rem; margin-top: 2px; }
.c-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding-top: 9px; margin-top: 9px; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.c-row span:first-child { color: var(--ink2); }

/* carta / QR drawing */
.poster { position: absolute; inset: 0; background: var(--canvas); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px; }
.poster .qr { width: 92px; height: 92px; color: var(--ink); }
.poster .qr svg { width: 100%; height: 100%; }
.poster b { font-family: var(--display); font-weight: 600; font-size: 0.88rem; }
.poster span { color: var(--ink3); font-size: 0.7rem; }

/* split phone: pin pad drawing */
.pinpad { position: absolute; inset: 0; background: var(--canvas); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.pin-dots { display: flex; gap: 8px; }
.pin-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--sunken); }
.pin-dots i.f { background: var(--teal); }
.pin-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pin-keys b { width: 44px; height: 34px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; }

/* ===== ink editorial band ===== */
.band { background: var(--ink); color: var(--inverse); padding: 96px 0; }
.band .eyebrow { color: #D08A72; }
.band h2 { color: var(--inverse); }
.band p { color: rgba(250,247,242,0.72); font-size: 1.08rem; max-width: 58ch; margin-top: 16px; }
.band p b { color: var(--inverse); font-weight: 600; }

/* ===== pricing ===== */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; max-width: 56rem; }
.plan { background: var(--surface); border-radius: 20px; box-shadow: 0 0 0 1px var(--border); padding: 30px 28px; }
.plan.pro { box-shadow: 0 0 0 1.5px var(--teal), 0 16px 40px -24px rgba(14,110,92,0.35); }
.plan .name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.plan .price { color: var(--ink2); font-size: 0.92rem; margin: 3px 0 16px; }
.plan ul { list-style: none; }
.plan li { color: var(--ink2); font-size: 0.95rem; padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--border); }
.plan li b { color: var(--ink); font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* ===== faq ===== */
.faq { max-width: 46rem; margin-top: 36px; }
.faq details { border-top: 1px solid var(--border-strong); }
.faq details:last-child { border-bottom: 1px solid var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink3); font-size: 1.3rem; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding: 0 2px 20px; max-width: 60ch; }

/* ===== closing clay band ===== */
.close-band { background: var(--clay); color: var(--inverse); text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.close-band .brandfield { position: absolute; left: -160px; top: -240px; width: 520px; height: 660px; opacity: 0.05; pointer-events: none;
  background: var(--inverse); border-radius: 24px 24px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 87% 100%, 75% 94%, 62% 100%, 50% 94%, 38% 100%, 25% 94%, 13% 100%, 0 94%); }
.close-band h2 { color: var(--inverse); }
.close-band p { color: rgba(250,247,242,0.8); margin: 14px auto 30px; max-width: 46ch; }

/* ===== footer ===== */
footer { padding: 44px 0 56px; }
.foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink3); font-size: 0.85rem; }
.foot .brand { opacity: 0.9; }
.foot a { color: var(--ink2); }
.foot .push { margin-left: auto; display: flex; gap: 20px; }


@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-2, .t-3 { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .facts div { padding: 4px 16px; font-size: 0.85rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .t-2, .t-3 { grid-column: span 1; }
  .facts { flex-direction: column; align-items: center; gap: 6px; }
  .facts div + div { border-left: 0; }
}
