:root {
  --propolis: #1B1A17;
  --cera: #FBF7EE;
  --favo: #F3E7CC;
  --ghost: #F6EEDC;
  --mel: #E9A320;
  --ambar: #8A5300;
  --ambar-hover: #6B4000;
  --pedra: #5C574D;
  --linha: #E2D8C3;
  --card-dark: #26241F;
  --text-dark-muted: #CFC7B6;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cera);
  color: var(--propolis);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ambar); }
a:hover { color: var(--ambar-hover); }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 30px; height: 30px; flex: none; }
.word { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--propolis); }
.word span { color: var(--ambar); }
.logo-sm .mark { width: 24px; height: 24px; }
.logo-sm .word { font-size: 20px; }

/* Nav */
.nav { border-bottom: 1px solid var(--linha); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav nav { display: flex; align-items: center; gap: 36px; font-size: 16px; }
.nav-link { color: var(--pedra); text-decoration: none; display: none; }
.nav-link:hover { color: var(--propolis); }

/* Pills */
.pill {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 14px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--propolis); color: var(--cera); }
.pill-dark:hover { background: #000; color: var(--cera); }
.pill-honey { background: var(--mel); color: var(--propolis); min-height: 54px; font-size: 17px; padding: 0 28px; }
.pill-honey:hover { background: #F0B23A; color: var(--propolis); }
.pill-lg { min-height: 56px; font-size: 16px; padding: 0 30px; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ambar); }
.eyebrow-honey { color: var(--mel); }
.mono { font-family: var(--mono); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 11vw, 84px); line-height: 0.98; letter-spacing: -0.035em; }
.lead { font-size: 17px; line-height: 1.55; color: var(--pedra); max-width: 560px; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }
.hero-cta .pill-honey { width: 100%; }
.text-link { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; color: var(--propolis); text-decoration: none; font-weight: 600; font-size: 17px; }
.text-link:hover { color: var(--ambar); }

/* Honeycomb: pointy-top hexagons, rows 3-4-3 */
.comb {
  --g: 6px;
  --c: min(150px, calc((100vw - 2 * var(--gutter) - 3 * var(--g)) / 4));
  --h: calc(var(--c) * 1.1547);
  align-self: center;
  display: flex; flex-direction: column;
  padding-top: calc(var(--h) * 0.25);
}
.comb-row { display: flex; gap: var(--g); margin-top: calc(var(--h) * -0.25 + var(--g) * 0.866); }
.comb-row.offset { margin-left: calc((var(--c) + var(--g)) / 2); }
.cell {
  width: var(--c); height: var(--h); flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
.cell.wax { background: var(--favo); }
.cell.ghost { background: var(--ghost); }
.cell.honey { background: var(--mel); }
.cell strong { font-family: var(--display); font-weight: 700; font-size: clamp(11px, calc(var(--c) * 0.127), 19px); letter-spacing: -0.02em; line-height: 1.1; padding: 0 8%; }
.cell span { font-family: var(--mono); font-size: clamp(8px, calc(var(--c) * 0.075), 11px); }

/* How it works */
.how { background: var(--propolis); color: var(--cera); padding: 64px 0; }
.how .wrap { display: flex; flex-direction: column; gap: 28px; }
.how-head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.how h2 { font-weight: 800; font-size: clamp(34px, 9vw, 56px); line-height: 1.03; }
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step { padding: 24px; background: var(--card-dark); display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--mel); }
.step h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-dark-muted); }
.step .mono { color: var(--cera); }

/* Systems */
.systems { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.systems-head { display: flex; flex-direction: column; gap: 14px; }
.systems h2 { font-weight: 800; font-size: clamp(34px, 9vw, 56px); line-height: 1.03; }
.sys-list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--propolis); }
.sys { padding: 20px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 8px; align-items: start; border-bottom: 1px solid var(--linha); }
.sys-hex { width: 20px; height: 23px; margin-top: 4px; background: var(--mel); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sys-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sys h3 { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.sys p { font-size: 15px; line-height: 1.5; }
.sys-host { font-family: var(--mono); font-size: 13px; color: var(--pedra); }
.sys-link { grid-column: 2; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Contact */
.contact { background: var(--mel); color: var(--propolis); padding: 40px 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-copy { display: flex; flex-direction: column; gap: 12px; }
.contact h2 { font-weight: 800; font-size: clamp(34px, 9vw, 60px); line-height: 1; }
.contact p { font-size: 16px; line-height: 1.5; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.whats {
  min-height: 64px; width: 100%; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: #25D366; color: var(--propolis); border-radius: 999px; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: 18px; transition: transform .15s ease, background .15s ease;
}
.whats:hover { background: #3BE07A; color: var(--propolis); transform: translateY(-1px); }
.whats svg { flex: none; }
.mail-link { color: var(--propolis); font-size: 15px; text-align: center; text-underline-offset: 3px; }
.mail-link:hover { color: var(--propolis); }

/* Footer */
.footer { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.footer::before { content: ""; display: block; border-top: 1px solid var(--linha); margin-bottom: 8px; }
.footer p { font-size: 14px; color: var(--pedra); }

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 80px; }
  .nav-inner { height: 84px; }
  .logo .mark { width: 34px; height: 34px; }
  .word { font-size: 27px; }
  .logo-sm .mark { width: 26px; height: 26px; }
  .logo-sm .word { font-size: 22px; }
  .nav-link { display: inline; }
  .nav-cta { padding: 0 20px; font-size: 16px; }

  .hero { padding-top: 96px; padding-bottom: 104px; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-copy { flex: 0 1 50%; gap: 28px; }
  .lead { font-size: 20px; }
  .hero-cta { flex-direction: row; align-items: center; gap: 12px; }
  .hero-cta .pill-honey { width: auto; }
  .text-link { padding: 0 24px; }
  .comb { --g: 8px; --c: min(150px, calc((50vw - var(--gutter) - 3 * var(--g)) / 4)); align-self: center; }

  .how { padding: 104px 0; }
  .how .wrap { gap: 56px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step { padding: 32px; gap: 14px; }
  .step h3 { font-size: 26px; }
  .step p { font-size: 16px; }

  .systems { padding-top: 112px; padding-bottom: 112px; gap: 48px; }
  .sys-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .sys { padding: 28px 0; grid-template-columns: auto 1fr auto; column-gap: 16px; }
  .sys-hex { width: 22px; height: 25px; }
  .sys h3 { font-size: 22px; }
  .sys p { font-size: 16px; }
  .sys-link { grid-column: 3; grid-row: 1; }

  .contact { padding: 72px; flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .contact-copy { max-width: 720px; }
  .contact p { font-size: 18px; }
  .contact-actions { flex: none; align-items: center; }
  .whats { width: auto; min-height: 76px; padding: 0 40px; font-size: 22px; white-space: nowrap; }
  .whats svg { width: 34px; height: 34px; }

  .footer { padding-top: 72px; padding-bottom: 48px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .footer::before { flex-basis: 100%; margin-bottom: 20px; }
  .footer p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill, .whats { transition: none; }
}
