/* egrethq.com. The same bird as the app: white plumage, black legs, the green of the wetland, and the yellow beak,
   kept for one meaning: progress, the step you are on now. Archivo, condensed and heavy, for headlines, numbers and
   the wordmark; each device's own system face for reading. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --paper: #ffffff; --mist: #f2f5f3; --ink: #000000; --muted: #4c544e; --line: #d9dfda;
  --marsh: #0b5c43; --marsh-soft: #dcebe3; --marsh-ink: #ffffff; --beak: #f2b705; --beak-ink: #000000;
  --no: #b3261e;
  --w: 1180px; --gut: 24px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Reading text in each device's own face: drawn for its screen, nothing to load. Archivo stays for display. */
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d100e; --mist: #151917; --ink: #f3f5f2; --muted: #a2aaa4; --line: #2a312d;
    --marsh: #3aa877; --marsh-soft: #13281e; --marsh-ink: #04140c; --beak: #f5c518; --no: #f2786b;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--text); font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--marsh); }
:focus-visible { outline: 2px solid var(--marsh); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ------------------------------------------------ type ------------------------------------------------ */
h1, h2, h3 { font-weight: 800; font-stretch: 70%; letter-spacing: -0.005em; margin: 0; font-family: var(--font); }
.display { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.93; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 0.98; }
h3 { font-size: 26px; line-height: 1.05; font-stretch: 78%; font-family: var(--font); }
p { margin: 0 0 16px; max-width: 64ch; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.small { font-size: 15px; }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, var(--beak) 62%, var(--beak) 92%, transparent 92%); }

/* ------------------------------------------------ chrome ------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 70%; font-size: 26px; text-decoration: none; letter-spacing: 0.01em; font-family: var(--font); }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 16px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 650 17px/1 var(--font); text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--marsh); border-color: var(--marsh); color: var(--marsh-ink); }
.btn:hover { color: var(--marsh); border-color: var(--marsh); }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.lang { font-size: 14px; color: var(--muted); text-decoration: none; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 650; padding: 8px 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav div { position: absolute; right: 0; top: 44px; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25); }
.mnav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.mnav a:hover { background: var(--mist); }
@media (max-width: 860px) {
  .nav, .lang { display: none; }
  .mnav { display: block; margin-left: auto; }
  .mnav + .btn { margin-left: 0 !important; }
  .top .wrap { gap: 14px; }
  .top .btn { margin-left: auto; }
}

.foot { border-top: 1px solid var(--line); margin-top: 120px; padding: 56px 0 64px; font-size: 15px; color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 10px; }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------ sections ------------------------------------------------ */
section { padding: 112px 0 0; }
.band { background: var(--mist); padding: 104px 0; margin-top: 112px; }
.band + section { padding-top: 104px; }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.head p { margin: 0; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; gap: 18px; } section { padding-top: 80px; } .band { padding: 72px 0; margin-top: 80px; } }

/* ------------------------------------------------ hero ------------------------------------------------ */
.hero { padding: 72px 0 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero .display { margin: 0 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 22px; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* The phone in the hero: the guide on screen while the agent talks, advancing line by line. */
.phone { position: relative; width: min(100%, 380px); margin: 0 auto; aspect-ratio: 9 / 18.5; border: 2px solid var(--ink); border-radius: 46px; padding: 18px 16px; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(11, 92, 67, 0.45); overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: var(--ink); border-radius: 14px; }
.phone .bar { display: flex; justify-content: space-between; align-items: center; margin: 30px 4px 14px; font-size: 13px; color: var(--muted); }
.phone .rec { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; }
.phone .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--no); }
.steps { display: flex; gap: 4px; margin: 0 4px 18px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps i.done { background: var(--ink); }
.steps i.now { background: var(--beak); }
.prompter { list-style: none; margin: 0; padding: 0 4px; }
.prompter li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.35; transition: color .4s, font-size .4s; }
.prompter li small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.prompter li.now { color: var(--ink); font-size: 21px; font-weight: 650; font-stretch: 90%; font-family: var(--font); }
.prompter li.now small::before { content: "Ahora"; display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 3px; background: var(--beak); color: var(--beak-ink); font-weight: 700; font-size: 11px; }
.prompter li.done { color: color-mix(in srgb, var(--muted) 60%, transparent); }
.prompter li.done small::after { content: "  ✓"; color: var(--marsh); font-weight: 700; }
.phone .objection { position: absolute; left: 16px; right: 16px; bottom: 18px; border-radius: 18px; background: var(--marsh-soft); padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.phone .objection b { display: block; font-size: 12px; color: var(--marsh); margin-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .prompter li { transition: none; } }
.phone .listen { position: absolute; left: 20px; right: 20px; bottom: 176px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.phone .listen span { margin-right: 8px; }
.phone .listen i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.phone .listen i:nth-child(3n) { height: 14px; } .phone .listen i:nth-child(4n+1) { height: 22px; } .phone .listen i:nth-child(5n+2) { height: 10px; }
.phone .ctrl { position: absolute; left: 16px; right: 16px; bottom: 112px; display: flex; gap: 8px; font-size: 15px; }
.phone .ctrl span, .phone .ctrl b { flex: 1; text-align: center; padding: 12px 0; border-radius: 14px; border: 1.5px solid var(--line); }
.phone .ctrl b { flex: 2; background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------------------------ the loop ------------------------------------------------ */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.loop li { list-style: none; padding: 26px 26px 0 0; position: relative; }
.loop li::before { counter-increment: s; content: counter(s); display: block; font-weight: 800; font-stretch: 70%; font-size: 64px; line-height: 1; color: var(--marsh); margin-bottom: 18px; font-family: var(--font); }
.loop li:nth-child(3)::before { color: var(--beak); -webkit-text-stroke: 0; }
.loop h3 { margin-bottom: 10px; }
.loop p { font-size: 16.5px; color: var(--muted); }
.loop-wrap { padding: 0; margin: 0; }
ol.loop { padding: 0; margin: 0; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr; } }

/* ------------------------------------------------ split ------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h3 { margin: 22px 0 10px; }
.split h3:first-child { margin-top: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.flip > :first-child { order: 0; } }

/* The feedback card after a conversation. */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.score { display: flex; align-items: baseline; gap: 12px; }
.score b { font-size: 76px; font-weight: 800; font-stretch: 68%; line-height: 1; font-family: var(--font); }
.score span { color: var(--muted); font-size: 15px; }
.delta { display: inline-block; margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--marsh-soft); color: var(--marsh); font-size: 14px; font-weight: 650; }
.fb { list-style: none; padding: 0; margin: 22px 0 0; }
.fb li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.fb li i { font-style: normal; font-weight: 800; }
.fb .ok i { color: var(--marsh); }
.fb .try i { color: var(--beak); }
.fb small { display: block; color: var(--muted); font-size: 14px; }

/* Progress over weeks: the chart is the point, so it gets the room. */
.progress { position: relative; }
.progress svg { width: 100%; height: auto; overflow: visible; }
.progress .grid line { stroke: var(--line); stroke-width: 1; }
.progress .axis text { fill: var(--muted); font: 13px var(--font); }
.progress .area { fill: var(--marsh-soft); }
.progress .line { fill: none; stroke: var(--marsh); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.progress .dot { fill: var(--paper); stroke: var(--marsh); stroke-width: 2.5; }
.progress .now { fill: var(--beak); stroke: var(--ink); stroke-width: 2; }
.progress .lbl { font: 700 15px var(--font); fill: var(--ink); }
.streak { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.streak i { width: 26px; height: 26px; border-radius: 8px; background: var(--marsh); }
.streak i.half { background: color-mix(in srgb, var(--marsh) 45%, var(--paper)); }
.streak i.today { background: var(--beak); outline: 2px solid var(--ink); outline-offset: 1px; }

/* For whom: three readers, three columns of plain text. */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.three h3 { margin-bottom: 14px; }
.three ul { list-style: none; padding: 0; margin: 0; }
.three li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; gap: 36px; } }

/* Where each piece of data lives. */
.where { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: stretch; }
.where .side { border-radius: 24px; padding: 30px; }
.where .phone-side { background: var(--paper); border: 2px solid var(--ink); }
.where .server-side { background: var(--marsh-soft); }
.where h3 { margin-bottom: 16px; }
.where ul { margin: 0; padding: 0 0 0 20px; }
.where li { margin: 7px 0; font-size: 16.5px; }
.where .arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.where .arrow svg { width: 60px; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } .where .arrow { padding: 12px 0; } .where .arrow svg { transform: rotate(90deg); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.facts div { padding: 24px 28px 0 0; }
.facts b { display: block; font-size: 19px; margin-bottom: 6px; font-weight: 700; }
.facts p { font-size: 16px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* Countries: rows, read across. */
.countries { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.countries th { text-align: left; font-weight: 650; font-size: 14px; color: var(--muted); padding: 0 18px 12px 0; border-bottom: 2px solid var(--ink); }
.countries td { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.countries td:first-child { font-weight: 800; font-stretch: 72%; font-size: 30px; line-height: 1; white-space: nowrap; font-family: var(--font); }
.countries small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.table-scroll { overflow-x: auto; }
@media (max-width: 760px) { .countries { min-width: 720px; } }

/* Industries: a quiet list with the words each one uses. */
.inds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.inds div { padding: 22px 22px 0 0; }
.inds b { display: block; font-size: 18px; margin-bottom: 6px; }
.inds p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .inds { grid-template-columns: 1fr 1fr; row-gap: 20px; } }

.close { text-align: left; }
.close .display { font-size: clamp(40px, 6vw, 84px); margin-bottom: 26px; max-width: 14ch; }

/* ------------------------------------------------ long-form pages ------------------------------------------------ */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 56px; }
.doc aside { position: sticky; top: 92px; align-self: start; font-size: 15px; }
.doc aside a { display: block; padding: 5px 0; text-decoration: none; color: var(--muted); }
.doc aside a:hover { color: var(--ink); }
.doc article { max-width: 760px; }
.doc article h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 0.95; margin-bottom: 20px; }
.doc article h2 { font-size: clamp(28px, 3vw, 38px); margin: 64px 0 16px; scroll-margin-top: 92px; }
.doc article h3 { font-size: 22px; margin: 32px 0 8px; }
.doc article p, .doc article li { font-size: 17.5px; }
.doc article ul, .doc article ol { padding-left: 22px; }
.doc article li { margin: 7px 0; max-width: 64ch; }
.doc .meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 48px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 18px 0 24px; }
.doc th { text-align: left; font-size: 14px; color: var(--muted); font-weight: 650; border-bottom: 1.5px solid var(--ink); padding: 8px 14px 8px 0; }
.doc td { border-bottom: 1px solid var(--line); padding: 12px 14px 12px 0; vertical-align: top; }
.doc .callout { background: var(--mist); border-radius: 18px; padding: 22px 24px; margin: 24px 0; }
.doc .callout p:last-child { margin: 0; }
.doc figure { margin: 28px 0; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } .doc aside { position: static; display: flex; flex-wrap: wrap; gap: 2px 16px; } }

/* Questions: the question in bold, the answer under it, two columns of reading. */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.faq dl { margin: 0; border-top: 2px solid var(--ink); }
.faq dt { font-size: 21px; font-weight: 700; padding: 22px 0 6px; }
.faq dd { margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 17px; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ------------------------------------------------ hero composition ------------------------------------------------ */
/* The conversation on the phone and the CRM record it fills, side by side: the product in one picture. */
.stage { position: relative; min-height: 700px; }
.stage .phone { position: absolute; left: 0; top: 0; width: 290px; margin: 0; }
.stage .phone .prompter li { font-size: 13.5px; padding: 8px 0; }
.stage .phone .prompter li.now { font-size: 18px; }
.stage .phone .listen { bottom: 156px; } .stage .phone .ctrl { bottom: 100px; font-size: 14px; }
.stage .phone .ctrl span, .stage .phone .ctrl b { padding: 10px 0; }
.stage .phone .objection { font-size: 13px; }
.record { position: absolute; right: -8px; top: 250px; width: 320px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .28), 0 2px 0 rgba(0, 0, 0, .02); }
.record .rh { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.record .av { width: 40px; height: 40px; border-radius: 12px; background: var(--marsh-soft); color: var(--marsh); display: grid; place-items: center; font-weight: 800; font-stretch: 75%; font-family: var(--font); }
.record .rh b { display: block; font-size: 17px; line-height: 1.2; }
.record .rh span { font-size: 13px; color: var(--muted); }
.record .live { white-space: nowrap; align-self: flex-start; margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--beak); color: var(--beak-ink); }
.record dl { margin: 6px 0 0; display: grid; grid-template-columns: 1fr auto; }
.record dt, .record dd { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; margin: 0; }
.record dt { color: var(--muted); }
.record dd { text-align: right; font-weight: 650; }
.record dd.tag span { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--marsh-soft); color: var(--marsh); }
.record .rf { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 13px; color: var(--muted); }
.record .rf b { font-size: 26px; font-weight: 800; font-stretch: 70%; color: var(--ink); font-family: var(--font); }
.flow { position: absolute; right: 120px; top: 190px; width: 70px; color: var(--marsh); transform: rotate(35deg); }
@media (prefers-reduced-motion: no-preference) {
  .record dd { animation: fill .5s ease-out both; }
  .record dd:nth-of-type(1) { animation-delay: .5s; } .record dd:nth-of-type(2) { animation-delay: .8s; } .record dd:nth-of-type(3) { animation-delay: 1.1s; }
  .record dd:nth-of-type(4) { animation-delay: 1.4s; } .record dd:nth-of-type(5) { animation-delay: 1.7s; } .record dd:nth-of-type(6) { animation-delay: 2s; }
  @keyframes fill { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) { .stage .phone { width: 260px; } .record { width: 290px; } }
@media (max-width: 960px) {
  .stage { min-height: 0; display: grid; gap: 20px; justify-items: center; }
  .stage .phone, .record { position: relative; left: auto; right: auto; top: auto; }
  .stage .phone { width: min(100%, 320px); }
  .record { width: min(100%, 380px); }
  .flow { display: none; }
}

/* ------------------------------------------------ modules ------------------------------------------------ */
/* What a CRM must do: a two-column ledger, name on the left, what it does on the right. */
.modules { border-top: 2px solid var(--ink); }
.modules > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) minmax(0, 3fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.modules h3 { font-size: 24px; }
.modules p { margin: 0; color: var(--muted); font-size: 17px; }
.modules .from { font-size: 14px; color: var(--marsh); font-weight: 650; text-align: right; }
@media (max-width: 860px) { .modules > div { grid-template-columns: 1fr; gap: 6px; } .modules .from { text-align: left; } }

/* Before and after: how a record is made in a typical CRM and in Egret. */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.compare > div { padding: 34px; }
.compare > div + div { background: var(--marsh-soft); }
.compare h3 { margin-bottom: 18px; }
.compare ol { margin: 0; padding-left: 20px; }
.compare li { margin: 9px 0; font-size: 16.5px; }
.compare .k { font-size: 14px; color: var(--muted); margin-bottom: 8px; display: block; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ------------------------------------------------ the team ------------------------------------------------ */
/* The ranking as the manager sees it, with the team average as a line to beat, and the evidence beside it. */
.team { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 10px; overflow-x: auto; }
.board .bh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.board .bh span { font-size: 13px; color: var(--muted); }
.board table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 520px; }
.board th { text-align: left; font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1.5px solid var(--ink); }
.board td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.board td:first-child { width: 28px; font-weight: 800; font-stretch: 75%; font-size: 18px; color: var(--muted); font-family: var(--font); }
.board tr:nth-child(-n+3) td:first-child { color: var(--ink); }
.board tr.me td { background: color-mix(in srgb, var(--beak) 16%, transparent); }
.board tr.me td:first-child { box-shadow: inset 3px 0 0 var(--beak); padding-left: 8px; }
.board tr.avg td { border-top: 1.5px dashed var(--muted); border-bottom: 1.5px dashed var(--muted); color: var(--muted); font-weight: 650; font-size: 14px; }
.board tr.low td:nth-child(4) { color: var(--no); font-weight: 650; }
.bar-c { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--mist); margin-right: 10px; vertical-align: middle; overflow: hidden; }
.bar-c i { display: block; height: 100%; background: var(--marsh); border-radius: 3px; }
.avg .bar-c i { background: var(--muted); }
.side-stack { display: grid; gap: 16px; }
.card.mini { padding: 22px; border-radius: 20px; }
.card.mini .k { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card.mini .big { font-size: 17px; margin: 0 0 6px; }
.card.mini .big b { font-size: 44px; font-weight: 800; font-stretch: 68%; margin-right: 6px; font-family: var(--font); }
.card.mini p { margin: 0 0 8px; }
.card.finding { border-color: color-mix(in srgb, var(--beak) 70%, var(--line)); }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }

/* ------------------------------------------------ contact ------------------------------------------------ */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; padding-top: 72px; align-items: start; }
.contact .display { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 22px; }
.checks-list { list-style: none; padding: 0; margin: 28px 0 0; }
.checks-list li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); font-size: 17px; }
.checks-list li::before { content: "✓"; position: absolute; left: 4px; top: 11px; color: var(--marsh); font-weight: 800; }
.lead-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .3); display: grid; gap: 16px; }
.lead-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.lead-form input, .lead-form select, .lead-form textarea { font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--marsh); box-shadow: 0 0 0 4px color-mix(in srgb, var(--marsh) 18%, transparent); }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.5; }
.lead-form .consent input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--marsh); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.lead-form .btn { justify-self: start; min-width: 160px; }
.lead-form .status { margin: 0; font-size: 15px; min-height: 22px; }
.lead-form .status[data-state="ok"] { color: var(--marsh); }
.lead-form .status[data-state="error"] { color: var(--no); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; } .lead-form .two { grid-template-columns: 1fr; } }

/* ------------------------------------------------ form controls ------------------------------------------------ */
/* The same controls on every browser: quiet fields that darken on hover, a drawn chevron on the country menu, and a
   box that fills with the brand green. */
.lead-form { gap: 18px; }
.lead-form label { color: var(--ink); letter-spacing: .005em; }
.lead-form input, .lead-form select, .lead-form textarea { background: var(--mist); border-color: transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: var(--line); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { background: var(--paper); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.lead-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.lead-form label[hidden] { display: none; }
.lead-form .consent input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 0; border: 1.5px solid var(--muted);
  border-radius: 7px; background: var(--paper); cursor: pointer; display: grid; place-content: center;
}
.lead-form .consent input::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--marsh-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.lead-form .consent input:checked { background: var(--marsh); border-color: var(--marsh); }
.lead-form .consent input:checked::after { opacity: 1; }
.lead-form .consent input:focus-visible { outline: 2px solid var(--marsh); outline-offset: 2px; box-shadow: none; }
.lead-form .consent a { color: var(--ink); }
.lead-form .btn { min-height: 52px; font-size: 17px; }
.lead-form .btn:disabled { opacity: .55; cursor: progress; }
.lead-form .status:empty { display: none; }
.lead-form .status { padding: 12px 14px; border-radius: 12px; background: var(--mist); }
.lead-form .status[data-state="ok"] { background: var(--marsh-soft); }
.lead-form .status[data-state="error"] { background: color-mix(in srgb, var(--no) 10%, var(--paper)); }
@media (prefers-reduced-motion: reduce) { .lead-form input, .lead-form select, .lead-form textarea { transition: none; } }

h1, h2, h3, .logo { font-family: var(--font); }
