:root {
  color-scheme: light;
  --ink: #151515;
  --cream: #fff7e8;
  --paper: #ffffff;
  --turquoise: #17c8c1;
  --turquoise-dark: #006d68;
  --coral: #ef4652;
  --orange: #f49a32;
  --yellow: #ffd15a;
  --green: #4f9c4a;
  --muted: #69635b;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 0 20px 50px rgba(45, 31, 15, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 3%, rgba(23, 200, 193, 0.18), transparent 25rem),
    var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 110px;
}
body.crm-open { padding-bottom: 40px; background: #f2f0eb; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }
.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-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: .8rem 1rem;
  border-radius: 12px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-lockup {
  display: grid;
  gap: 1px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.brand-kicker {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.brand-name { font-size: 1.35rem; font-weight: 950; letter-spacing: -.045em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.demo-badge {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  padding: 7px 11px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}
.owner-button, .secondary-button, .text-button, .icon-button {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}
.owner-button {
  min-height: 42px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  padding: 0 14px;
}

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.intro { display: grid; gap: 22px; padding: 22px 0px 48px; }
.intro-copy { align-self: center; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--turquoise-dark);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.55rem, 11vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.065em;
}
.intro-text { max-width: 52ch; margin: 18px 0 24px; color: #4f4a44; font-size: 1.04rem; }
.primary-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21,21,21,.2);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  min-height: 300px;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 42%);
  pointer-events: none;
}
.hero-image img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.hero-image figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  color: white;
  font-size: .78rem;
  font-weight: 750;
}

.products-section { scroll-margin-top: 20px; padding-bottom: 42px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
h2 { margin: 0; font-size: clamp(1.75rem, 7vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.price-note { margin: 0; text-align: right; font-weight: 950; white-space: nowrap; }
.price-note span { display: block; color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.product-grid { display: grid; gap: 14px; }
.product-card {
  --accent: var(--coral);
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(45,31,15,.06);
}
.product-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--accent); }
.product-card[data-product="cilantro"] { --accent: var(--turquoise); }
.product-card[data-product="senor"] { --accent: var(--orange); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-number {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 18%, white);
  font-size: 1.05rem;
  font-weight: 950;
}
.product-card h3 { margin: 0 0 5px; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.03em; }
.product-card p { margin: 0; color: var(--muted); }
.heat-picker { border: 0; margin: 0; padding: 0; }
.heat-picker legend { margin-bottom: 6px; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.heat-row { display: flex; flex-wrap: wrap; gap: 7px; }
.heat-option { position: relative; }
.heat-option input { position: absolute; opacity: 0; pointer-events: none; }
.heat-option span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5f2ed;
  padding: 5px 12px;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}
.heat-option input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.heat-option input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price { font-size: 1.45rem; font-weight: 950; letter-spacing: -.04em; }
.price small { display: block; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.stepper { display: flex; align-items: center; gap: 7px; }
.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease;
}
.stepper button:first-child { background: white; color: var(--ink); }
.stepper button:active { transform: scale(.93); }
.stepper output { min-width: 28px; text-align: center; font-weight: 900; }
.trust-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}
.trust-strip div { display: grid; gap: 2px; background: var(--paper); padding: 18px; }
.trust-strip strong { font-size: 1rem; }
.trust-strip span { color: var(--muted); font-size: .88rem; }

.cart-dock {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(21,21,21,.96);
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 12px 12px 12px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
}
.cart-dock strong { display: block; font-size: 1rem; }
.cart-label { display: block; color: #c9c4bc; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cart-button, .place-order-button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--coral);
  color: white;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 950;
}
.cart-button:disabled { opacity: .45; cursor: not-allowed; }

.checkout-dialog {
  width: min(620px, calc(100% - 18px));
  max-height: calc(100dvh - 20px);
  margin: auto auto 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.checkout-dialog::backdrop { background: rgba(12,12,12,.64); backdrop-filter: blur(8px); }
.dialog-shell { max-height: calc(100dvh - 20px); overflow: auto; padding: 24px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.icon-button { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #f1eee8; font-size: 1.6rem; line-height: 1; }
.order-lines { display: grid; gap: 9px; }
.order-line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-line span { color: var(--muted); }
.checkout-total { display: flex; align-items: baseline; justify-content: space-between; margin: 15px 0 24px; }
.checkout-total span { color: var(--muted); font-weight: 750; }
.checkout-total strong { font-size: 1.65rem; }
fieldset { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-weight: 950; font-size: 1.05rem; }
legend span { color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; }
.form-grid { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; color: var(--muted); font-size: .83rem; font-weight: 850; }
.field em { font-style: normal; font-weight: 650; }
.field input, .search-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfaf8;
  color: var(--ink);
  padding: 0 14px;
  font-size: 1rem;
}
.choice-card, .check-card, .check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf8;
  padding: 14px;
}
.choice-card input, .check-row input { margin-top: 4px; accent-color: var(--coral); transform: scale(1.15); }
.choice-card span, .check-row span { display: grid; gap: 2px; }
.choice-card small, .check-row small { color: var(--muted); font-size: .8rem; }
.consent-box { display: grid; gap: 9px; border: 1px solid rgba(23,200,193,.35); border-radius: 18px; background: rgba(23,200,193,.08); padding: 15px; }
.check-row { border: 0; background: white; }
.demo-disclaimer { margin: 0 0 16px; color: var(--muted); font-size: .8rem; }
.place-order-button { width: 100%; min-height: 56px; font-size: 1rem; }
.success-state { padding: 18px 0 8px; text-align: center; }
.success-state h2 { margin: 8px auto 12px; max-width: 13ch; font-size: 2.2rem; }
.success-state > p:not(.eyebrow) { max-width: 40ch; margin: 0 auto 20px; color: var(--muted); }
.success-mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 22px; background: var(--turquoise); font-size: 2rem; font-weight: 950; }
.order-code { display: grid; gap: 2px; width: fit-content; margin: 0 auto 22px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf8; padding: 11px 18px; }
.order-code span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.text-button { background: transparent; color: var(--ink); padding: 7px 0; text-decoration: underline; text-underline-offset: 4px; }
.success-state .text-button { margin-top: 12px; }

.crm-view { padding: 18px 0 40px; }
.crm-hero { display: grid; gap: 18px; align-items: end; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.crm-hero h1 { max-width: 14ch; font-size: clamp(2.3rem, 8vw, 4.8rem); }
.crm-hero p:not(.eyebrow) { max-width: 58ch; margin: 16px 0 0; color: #d1ccc5; }
.crm-hero .eyebrow { color: var(--turquoise); }
.local-note { width: fit-content; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 9px 12px; color: #e9e5df; font-size: .8rem; font-weight: 800; }
.local-note span { color: var(--turquoise); margin-right: 5px; }
.crm-tabs { display: flex; gap: 6px; margin: 18px 0; padding: 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
.crm-tab { min-height: 42px; border: 0; border-radius: 11px; background: transparent; padding: 0 14px; cursor: pointer; font-weight: 850; white-space: nowrap; }
.crm-tab.active { background: var(--ink); color: white; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.metric-card { display: grid; gap: 5px; min-height: 120px; align-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: white; padding: 17px; }
.metric-card span { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.metric-card strong { font-size: 1.9rem; letter-spacing: -.05em; }
.metric-card small { color: var(--muted); }
.crm-columns { display: grid; gap: 12px; }
.crm-card { border: 1px solid var(--line); border-radius: 22px; background: white; padding: 20px; overflow: hidden; }
.accent-card { background: linear-gradient(145deg, #fff, rgba(23,200,193,.11)); }
.card-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.card-heading h2, .make-card h2 { font-size: 1.7rem; }
.list-row, .customer-row, .followup-row {
  display: grid;
  gap: 7px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.list-row:last-child, .customer-row:last-child, .followup-row:last-child { border-bottom: 0; padding-bottom: 0; }
.row-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.row-main strong { display: block; }
.row-main small, .row-detail, .muted { color: var(--muted); font-size: .82rem; }
.status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eeeae3;
  padding: 4px 8px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status.new { background: #dff8f6; color: #005f5a; }
.status.ready { background: #fff1bd; color: #674a00; }
.status.complete { background: #e7f3e3; color: #30642c; }
.followup-callout { display: grid; gap: 12px; border: 1px solid rgba(239,70,82,.24); border-radius: 16px; background: #fff8f7; padding: 14px; }
.followup-callout p { margin: 0; color: var(--muted); }
.secondary-button { min-height: 42px; border-radius: 12px; background: #f0ede7; padding: 0 13px; }
.secondary-button.coral { background: var(--coral); color: white; }
.empty-state { padding: 28px 12px; text-align: center; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
td { font-size: .9rem; }
select { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 0 8px; }
.search-field { display: block; width: min(100%, 300px); }
.customer-list { display: grid; }
.customer-row { grid-template-columns: 1fr; }
.customer-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { border-radius: 999px; background: #f0ede7; padding: 4px 8px; font-size: .72rem; font-weight: 800; }
.tag.opted { background: #dff8f6; color: #005f5a; }
.followup-message { margin: 8px 0 0; border-left: 4px solid var(--coral); background: #fff8f7; padding: 12px; color: #4f4a44; font-size: .9rem; }
.make-card { background: var(--ink); color: white; }
.make-card .eyebrow { color: var(--turquoise); }
.make-card p, .make-card li { color: #d1ccc5; }
.make-card ol { display: grid; gap: 10px; padding-left: 22px; }
.integration-status { display: inline-flex; margin-top: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 10px; color: #e9e5df; font-size: .78rem; font-weight: 800; }

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  top: 18px;
  transform: translate(-50%, -150%);
  max-width: calc(100% - 28px);
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .25s ease;
}
.toast.show { transform: translate(-50%, 0); }

@media (min-width: 520px) {
  .demo-badge { display: inline-flex; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .site-header, main { width: min(1120px, calc(100% - 64px)); }
  .intro { grid-template-columns: .95fr 1.05fr; align-items: center; min-height: 560px; padding: 34px 0 70px; }
  .hero-image, .hero-image img { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card { min-height: 322px; align-content: space-between; }
  .crm-hero { grid-template-columns: 1fr auto; }
  .metric-grid { grid-template-columns: repeat(4, 1fr); }
  .crm-columns { grid-template-columns: 1.1fr .9fr; }
  .customer-row { grid-template-columns: 1fr auto; align-items: center; }
  .checkout-dialog { margin: auto; }
}
@media (max-width: 519px) {
  .stack-mobile { align-items: stretch; flex-direction: column; }
  .stack-mobile .secondary-button, .stack-mobile .search-field { width: 100%; }
  .intro { padding-top: 10px; }
  .hero-image, .hero-image img { min-height: 250px; }
  .section-heading { align-items: start; }
  .product-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
