/* JnJ Vending · marketing pages. Same palette and fonts as the report form (styles.css). */
:root {
  --navy: oklch(0.21 0.03 262);
  --navy-2: oklch(0.27 0.035 262);
  --teal: oklch(0.71 0.12 208);
  --teal-ink: oklch(0.47 0.09 210);
  --teal-wash: oklch(0.96 0.025 205);
  --ground: oklch(0.97 0.006 240);
  --surface: oklch(0.995 0.002 240);
  --ink: oklch(0.21 0.03 262);
  --ink-2: oklch(0.42 0.025 258);
  --line: oklch(0.9 0.01 245);
  --on-navy: oklch(0.97 0.006 240);
  --on-navy-2: oklch(0.82 0.02 245);
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Fill-in placeholders: highlighted so they're easy to find and replace */
.todo { background: oklch(0.93 0.1 95); color: oklch(0.3 0.05 80); padding: 0 4px; border-radius: 4px; }

/* Header */
.bar { background: var(--navy); color: var(--on-navy); position: sticky; top: 0; z-index: 10; }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.wordmark { font: 700 1.15rem/1 var(--display); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--on-navy-2); font-weight: 500; font-size: 0.95rem; transition: background .2s var(--ease), color .2s var(--ease); }
.nav a:hover { color: var(--on-navy); background: oklch(1 0 0 / 0.07); }
.nav a[aria-current="page"] { color: var(--on-navy); background: oklch(1 0 0 / 0.1); }
.nav .cta { background: var(--teal); color: var(--navy); font-weight: 600; margin-left: 6px; }
.nav .cta:hover { background: oklch(0.78 0.11 208); color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid oklch(1 0 0 / 0.2); color: var(--on-navy); border-radius: 10px; padding: 8px 12px; font: 600 0.9rem var(--body); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-top: 1px solid oklch(1 0 0 / 0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .cta { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding: 72px 0 88px; }
.hero.small { padding: 48px 0 60px; }
.eyebrow { font: 600 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
h1 { margin: 0 0 16px; font: 700 clamp(2.2rem, 5.5vw, 3.6rem)/1.05 var(--display); letter-spacing: -0.03em; text-wrap: balance; max-width: 18ch; }
.hero.small h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.hero p.lead { margin: 0; max-width: 52ch; color: var(--on-navy-2); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: background .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: oklch(0.78 0.11 208); }
.btn-ghost { border-color: oklch(1 0 0 / 0.22); color: var(--on-navy); }
.btn-ghost:hover { background: oklch(1 0 0 / 0.07); }
.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-2); }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { margin: 0 0 12px; font: 700 clamp(1.6rem, 3.4vw, 2.2rem)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
h3 { margin: 0 0 8px; font: 600 1.2rem/1.25 var(--display); letter-spacing: -0.01em; }
.sec-head { max-width: 60ch; margin-bottom: 36px; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
p { margin: 0 0 14px; }
.muted { color: var(--ink-2); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid.four { grid-template-columns: 1fr; } }
.grid.two { grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
section.alt .card { background: var(--ground); }
.card p { color: var(--ink-2); margin: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-wash); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); }
.card ul li { margin-bottom: 4px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--teal-ink); background: var(--teal-wash); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }

/* Machine cards with a photo slot */
.machine .photo { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; place-items: center; color: var(--teal); margin-bottom: 18px; overflow: hidden; }
.machine .photo svg { width: 64px; height: 64px; }
.machine .photo img { width: 100%; height: 100%; object-fit: cover; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0 0; font-size: 0.94rem; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 500; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--teal); font: 700 1.05rem/38px var(--display); text-align: center; }
.step p { color: var(--ink-2); margin: 0; }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157f93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Callout band */
.band { background: var(--navy); color: var(--on-navy); border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: var(--on-navy-2); max-width: 50ch; }

/* Forms */
form.request { display: grid; gap: 16px; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: block; font-weight: 600; font-size: 0.94rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
button.btn { cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }

/* Footer */
footer { background: var(--navy); color: var(--on-navy-2); padding: 52px 0 32px; margin-top: 72px; }
.foot { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }
footer h4 { color: var(--on-navy); font: 600 0.95rem var(--display); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-navy); text-decoration: underline; }
.fine { border-top: 1px solid oklch(1 0 0 / 0.1); margin-top: 36px; padding-top: 20px; font-size: 0.88rem; }

/* Product photos (e.g. HAHA smart coolers) sit on white so cut-out shots look clean */
.machine .photo.shot { background: #fff; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.machine .photo.shot img { object-fit: contain; padding: 12px; }
.machine .photo.shot svg { color: var(--teal-ink); }

/* Logo */
.logo-chip { display: grid; place-items: center; width: 44px; height: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.wordmark .amp { color: var(--teal); }
@media (max-width: 400px) { .wordmark { font-size: 1rem; } }
.hero-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-logo { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 20px 60px oklch(0 0 0 / 0.35); }
.hero-logo img { width: 100%; height: auto; }
.hero-call { margin: 22px 0 0; color: var(--on-navy-2); }
.hero-call a { color: var(--on-navy); font-weight: 600; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { max-width: 360px; padding: 20px; }
}
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; }
.foot-logo img { width: 170px; height: auto; }
footer a[href^="tel:"], footer a[href^="mailto:"] { color: var(--on-navy); }

/* Logo now has a transparent background, so it sits directly on the navy */
.logo-chip { background: none; padding: 0; width: 52px; height: 32px; }
.hero-logo { background: none; box-shadow: none; padding: 0; }
.foot-logo { background: none; padding: 0; }
.foot-logo img { width: 200px; }
/* HAHA product shots are square */
.machine .photo.shot { aspect-ratio: 1 / 1; }

/* Same photo size for drawings and product shots so cards line up */
.machine .photo { aspect-ratio: 1 / 1; }

/* Products page: product photo tiles */
.prod-head { margin: 36px 0 14px; }
.prod-head:first-of-type { margin-top: 0; }
.prod-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.prod { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.prod-img { aspect-ratio: 1 / 1; background: #fff; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.prod figcaption { margin-top: 10px; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.credit { font-size: 0.85rem; margin-top: 28px; }

/* Products page: name lists */
.menu-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr; } }
.card.menu h3 { font-size: 1.35rem; }
.names { list-style: none; margin: 14px 0 0; padding: 0; }
.names li { font: 500 1.02rem/1.3 var(--display); letter-spacing: -0.005em; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.names li:first-child { border-top: 0; }

/* Products page: brand logos */
.brand-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-tile { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-align: center; }
.brand-logo { height: 90px; display: grid; place-items: center; }
.brand-logo img { max-height: 90px; max-width: 80%; object-fit: contain; }
.brand-tile figcaption { margin-top: 12px; font: 600 1rem var(--display); }
