/* Mobile first. Breakpoints at 701px and 1001px, same structure as the reference site. */
:root {
  --teal: #176b61;
  --teal-deep: #145e56;
  --teal-ink: #173c39;
  --accent: #228173;
  --soft: #eaf4f0;
  --soft-2: #f1f8f6;
  --ink: #20323a;
  --body: #3e5158;
  --muted: #6d7c82;
  --line: #e4e9eb;
  --bg: #f6f8f9;
  --focus: #9acdc3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
p { color: var(--body); margin: 0 0 18px; }
h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 9vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: #20323a;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 650;
}
h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 650;
}
em { font-style: normal; color: var(--accent); }
.wrap { max-width: 1160px; margin: auto; padding-left: 22px; padding-right: 22px; }
.skip { position: absolute; top: -80px; left: 16px; background: #fff; padding: 12px 16px; z-index: 40; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffeb;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-ink);
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.06em;
  line-height: 1;
}
.brand-lockup small {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: #7e8d91;
}
.brand-mark { width: 34px; height: 38px; object-fit: contain; flex-shrink: 0; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 84px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; }
nav a:hover, nav a[aria-current='page'] { color: var(--teal); }
.header nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 22px 20px;
  border-bottom: 1px solid var(--line);
  gap: 4px;
}
.js .header nav:not(.open) { display: none; }
.header nav > a { min-height: 44px; display: flex; align-items: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--teal);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  box-shadow: 0 3px 6px #176b6114;
}
.button:hover { background: var(--teal-deep); }
.button.secondary { background: #fff; color: var(--ink); border-color: #dce3e5; box-shadow: none; }
.button.secondary:hover { background: var(--bg); }
.button.small { width: auto; min-height: 44px; padding: 10px 14px; font-size: 13px; }
nav .button { width: auto; }

.eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: var(--teal);
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #258c70;
}
.lead { font-size: 17px; line-height: 1.7; max-width: 640px; }
.hero { position: relative; isolation: isolate; padding: 36px 0 28px; }
.hero:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 10%;
  background:
    radial-gradient(ellipse at 8% 0%, #e7f3f0 0, transparent 52%),
    radial-gradient(ellipse at 100% 10%, #f4f7f8 0, transparent 46%);
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.hero-notes span:before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #258c70; transform: translateY(-1px); }

.app-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px #173c3912;
  overflow: hidden;
  min-width: 0;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.app-body { display: block; min-height: 0; }
.app-side .brand-lockup { font-size: 15px; }
.app-side .brand-mark { width: 30px; height: 34px; }
.app-side .brand-lockup small { letter-spacing: 0.08em; }
.hash-result p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.app-side {
  display: none;
  width: 210px;
  flex-shrink: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.app-main { background: var(--bg); padding: 16px; min-width: 0; }
.side-label {
  display: block;
  margin: 16px 8px 8px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: #98a2a9;
}
.side-item, .side-active {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  padding: 10px;
  border-radius: 7px;
  color: #71808a;
  font-size: 12px;
  font-weight: 600;
}
.side-active { background: var(--soft); color: #1c6c60; }
.count {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 5px;
  background: #d4e9e2;
  color: #257564;
  font-size: 10px;
}
.local-card {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid #edf0f0;
  border-radius: 8px;
  background: #f7f9f9;
  color: #4c7d73;
  font-size: 11px;
}
.local-card strong { display: block; font-size: 11px; }
.local-card p { margin: 4px 0 0; color: #88959a; font-size: 11px; line-height: 1.5; }
.crumb { color: var(--muted); }
.crumb b { color: var(--ink); font-weight: 650; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: #1c6c60;
  font-size: 11px;
  font-weight: 650;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: #258c70; }
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}
.flow b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-size: 11px;
}
.flow .now { color: var(--teal-ink); font-weight: 700; }
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}
.panel-title { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 12px; }
.panel-title strong { font-size: 14px; letter-spacing: -0.02em; }
.rows { display: grid; gap: 8px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.row span { color: var(--muted); font-size: 11px; }
.tag {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--soft);
  color: #1c6c60;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.tag.wait { background: #f4f1ea; color: #8a6a32; }
.caption { margin: 10px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.section { padding: 64px 0; }
.tinted { background: var(--bg); }
.split { display: grid; gap: 22px; align-items: start; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.text-link { color: var(--teal); font-weight: 700; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.grid { display: grid; gap: 16px; }
.feature {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.feature:hover { border-color: #c5ddd7; box-shadow: 0 12px 32px #173c390d; }
.feature p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.feature-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--teal);
}
.feature-index { color: #a1a7ac; font-size: 12px; font-weight: 700; }
.steps { display: grid; gap: 22px; margin-top: 28px; }
.steps article { padding-top: 18px; border-top: 1px solid var(--line); }
.steps article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.limits { display: grid; gap: 16px; }
.limit {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border-left: 3px solid var(--teal);
}
.limit p { margin: 0; font-size: 14px; }
.cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px;
  border-radius: 16px;
  background: var(--soft);
}
.cta p { margin: 0; }
.cta .button { width: 100%; }
.faq { display: grid; gap: 20px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
details p { margin: 8px 0 12px; font-size: 15px; }

.page-hero { padding: 48px 0 12px; }
.page-hero .lead { max-width: 720px; }
.page-hero .actions { margin-top: 22px; align-items: stretch; }
.resource-list article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.number {
  flex-shrink: 0;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
}
.resource-list h3 { margin: 0; font-size: 16px; }
.contact-grid { display: grid; gap: 16px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-card h2 { font-size: clamp(26px, 4vw, 32px); }
.contact-card .button { width: auto; margin-top: 8px; }

.integrity-showcase .lead { max-width: 760px; }
.demo {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.indicator-grid { display: grid; gap: 10px; }
.indicator-grid article { padding: 16px; border-radius: 10px; background: var(--soft-2); }
.indicator-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
.indicator-grid strong { display: block; margin-top: 6px; font-size: 18px; letter-spacing: -0.03em; }
.hash-demo { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--bg); }
.hash-head { display: flex; flex-direction: column; gap: 12px; }
.hash-controls { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.hash-controls button {
  min-height: 44px;
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.hash-controls button[aria-pressed='true'] { background: var(--soft); color: #1c6c60; }
.hash-result { margin-top: 16px; padding: 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.hash-result[data-tone='changed'] { border-color: #e3d3c2; background: #fbf8f4; }
.hash-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hash-line strong { color: #1c6c60; }
.hash-result[data-tone='changed'] strong { color: #8a5a32; }
.hash-result code {
  display: block;
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--ink);
}
.footnote { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

.timeline { padding: 8px 0 0; }
.timeline article { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 26px; }
.timeline article:not(:last-child):before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: #c9ddd8;
}
.point {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
}
.transcript {
  padding: 14px 16px;
  border-radius: 0 12px 12px 12px;
  background: var(--soft-2);
}
.transcript span { display: block; margin-bottom: 6px; color: var(--teal); font-size: 12px; font-weight: 700; }
.transcript p { margin: 0; font-size: 14px; }

footer { border-top: 1px solid var(--line); padding-top: 42px; background: #fbfcfc; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; font-size: 14px; }
.footer-grid strong { display: block; margin-bottom: 10px; }
.footer-grid a { display: flex; align-items: center; min-height: 36px; color: var(--body); }
.footer-grid a:hover { color: var(--teal); }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.footer-grid p { margin-top: 14px; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.privacy-settings {
  display: block;
  margin: 8px auto 20px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  max-height: 70vh;
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px #173c3924;
}
.analytics-consent p { font-size: 14px; }
.analytics-consent > div { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent .button { width: auto; }
.analytics-consent[hidden], .privacy-settings[hidden] { display: none; }
.whatsapp-float {
  position: fixed;
  z-index: 25;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  min-height: 56px;
  padding: 14px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 22px #173c3930;
  font-weight: 700;
}
.whatsapp-float span { display: none; }
.has-whatsapp .analytics-consent { bottom: calc(84px + env(safe-area-inset-bottom)); }
.has-whatsapp footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

@media (min-width: 701px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .header-inner { min-height: 84px; }
  .brand-lockup { font-size: 20px; }
  .brand-mark { width: 38px; height: 42px; }
  .menu-toggle { display: none; }
  .header nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 18px;
  }
  .js .header nav:not(.open) { display: flex; }
  .header nav > a { min-height: 44px; }
  nav .button { display: none; }
  .button, .cta .button { width: auto; }
  .actions { flex-direction: row; align-items: center; }
  .page-hero .actions { justify-content: flex-start; }
  .hero { padding-top: 56px; }
  .lead { font-size: 18px; }
  .app-body { display: flex; }
  .app-side { display: block; }
  .app-main { padding: 20px; }
  .section { padding: 88px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .section-head { flex-direction: row; justify-content: space-between; align-items: end; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .limits { grid-template-columns: 1fr 1fr 1fr; }
  .cta { flex-direction: row; justify-content: space-between; align-items: center; padding: 36px; }
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
  .indicator-grid { grid-template-columns: 1fr 1fr; }
  .hash-head { flex-direction: row; justify-content: space-between; align-items: center; }
  .hash-controls { flex: none; }
  .hash-controls button { min-width: 148px; flex: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .whatsapp-float { padding: 14px 18px; }
  .whatsapp-float span { display: inline; }
  .timeline { max-width: 760px; }
}

@media (min-width: 1001px) {
  h1 { font-size: clamp(48px, 5vw, 68px); }
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr); gap: 48px; }
  .grid { grid-template-columns: 1fr 1fr 1fr; }
  nav .button { display: inline-flex; }
  .indicator-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
