/* Blockpin. A survey map: records are spot heights pinned at a block; contour lines are the page texture. */
:root {
  --paper: #EEF4F0; --surface: #FFFFFF; --ink: #10231A; --ink-2: #3F5248; --line: #C9DACF;
  --green: #1C6B43; --on-green: #FFFFFF; --yellow: #FFD23F; --hl: #FFE27A;
  --good: #13703F; --good-bg: #D9EFE1; --warn: #8A5A00; --warn-bg: #FDEBC0;
  --dark: #10231A; --on-dark: #EEF4F0; --on-dark-2: #A9BDB1; --contour: #1C6B43;
  --display: "Gabarito", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0F1D17; --surface: #16291F; --ink: #E6F1EA; --ink-2: #A9BDB1; --line: #2A3F34;
  --green: #7EE0A6; --on-green: #0F1D17; --hl: #5C5320; --good: #7EE0A6; --good-bg: #1F3D2C; --warn: #FFC94D; --warn-bg: #3D3418;
  --dark: #0A140F; --on-dark: #E6F1EA; --on-dark-2: #A9BDB1; --contour: #7EE0A6; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #0F1D17; --surface: #16291F; --ink: #E6F1EA; --ink-2: #A9BDB1; --line: #2A3F34;
  --green: #7EE0A6; --on-green: #0F1D17; --hl: #5C5320; --good: #7EE0A6; --good-bg: #1F3D2C; --warn: #FFC94D; --warn-bg: #3D3418;
  --dark: #0A140F; --on-dark: #E6F1EA; --on-dark-2: #A9BDB1; --contour: #7EE0A6; color-scheme: dark; }

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.mono, code { font-family: var(--mono); }
.contour { position: absolute; pointer-events: none; color: var(--contour); opacity: .16; }

/* nav */
.nav { position: relative; z-index: 3; }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 26px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 46px; height: 46px; overflow: visible; }
.brand .pin { transform-origin: 30px 35px; transition: transform .24s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .pin { transform: translateY(3px); }
.links { display: flex; gap: 24px; list-style: none; margin: 0 0 0 auto; padding: 0; font-weight: 600; font-size: 17px; }
.links a { text-decoration: none; }
.links a:hover, .links a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: 48px; background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; padding: 10px; list-style: none; margin: 0; min-width: 200px; box-shadow: 5px 5px 0 var(--ink); display: grid; gap: 2px; z-index: 5; }
.menu ul a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.menu ul a:hover { background: var(--paper); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font: 700 17px/1 var(--text); text-decoration: none; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .1s ease, box-shadow .1s ease; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: var(--green); color: var(--on-green); }
.btn.ghost { background: var(--surface); }
.btn.sm { padding: 10px 16px; font-size: 15px; box-shadow: 0 3px 0 var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; }
.hero .contour { right: -120px; top: -40px; width: 760px; height: 560px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
h1 { font-size: clamp(44px, 6.1vw, 78px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
h1 em { font-style: normal; background: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 90%, transparent 90%); padding: 0 .06em; }
.lede { margin-top: 22px; font-size: 21px; max-width: 36ch; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.either { margin-top: 30px; display: grid; gap: 10px; max-width: 520px; }
.either p { font-size: 18px; }
.path { display: flex; align-items: center; gap: 0; font: 600 13px/1.2 var(--mono); color: var(--ink-2); flex-wrap: wrap; row-gap: 6px; }
.path span { display: inline-flex; align-items: center; gap: 6px; }
.path span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--green); background: var(--surface); }
.path span:last-child::before { background: var(--yellow); border-color: var(--ink); }
.path i { width: 34px; border-top: 2px dashed var(--green); margin: 0 8px; opacity: .7; }

/* record card */
.rec { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; padding: 26px 24px 20px; box-shadow: 6px 6px 0 var(--ink); display: grid; gap: 12px; }
.rec .k { font: 500 13px/1.4 var(--mono); color: var(--ink-2); }
.rec h3 { font-size: 25px; line-height: 1.15; font-weight: 800; }
.rows { display: grid; gap: 0; font: 500 15px/1.35 var(--mono); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1.5px dashed var(--line); padding: 10px 0; }
.row > span:first-child { min-width: 0; }
.chip { font: 700 12.5px/1 var(--mono); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.chip.ok { color: var(--good); background: var(--good-bg); }
.chip.wa { color: var(--warn); background: var(--warn-bg); }
.tab { position: absolute; top: -17px; right: 20px; background: var(--yellow); color: #10231A; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font: 700 13px/1 var(--mono); display: flex; gap: 6px; align-items: center; }
.tab b { color: #1C6B43; }
.recfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 13px var(--mono); color: var(--ink-2); }
.recfoot a { font-weight: 700; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 7px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.live.on i { background: #2BB673; animation: ping 2.4s infinite; }
.blk { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.5); } 70% { box-shadow: 0 0 0 8px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }

/* signature animation: pinning the claim */
.anim .rec { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.anim .row { animation: fade .3s ease both; }
.anim .row:nth-child(1) { animation-delay: .35s; } .anim .row:nth-child(2) { animation-delay: .47s; } .anim .row:nth-child(3) { animation-delay: .59s; }
.anim .chip { animation: stamp .22s cubic-bezier(.34,1.56,.64,1) both; }
.anim .row:nth-child(1) .chip { animation-delay: .5s; } .anim .row:nth-child(2) .chip { animation-delay: .62s; } .anim .row:nth-child(3) .chip { animation-delay: .85s; }
.anim .tab { animation: drop .38s cubic-bezier(.34,1.56,.64,1) 1.05s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); box-shadow: 0 0 0 var(--ink); } to { opacity: 1; transform: none; box-shadow: 6px 6px 0 var(--ink); } }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: scale(1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.eye { animation: blink 6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 96%, 100% { transform: scaleY(1); } 98% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: 20px 22px; min-width: 0; }
.stat b { display: block; font: 800 44px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.stat.y { background: var(--yellow); }
.stat.y b, .stat.y span, .stat.y a { color: #10231A; }
.trust { margin-top: 14px; font: 500 14px var(--mono); color: var(--ink-2); }
.trust a { color: var(--ink); font-weight: 700; }

/* sections */
.sec { padding: 72px 0 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.sec-head a { font-weight: 700; }
.kick { font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 10px; }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc article { background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.svc h3 { font-size: 27px; font-weight: 800; }
.svc p { color: var(--ink-2); }
.svc ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; display: grid; gap: 4px; }
.svc .cost { margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--line); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.svc .cost b { font: 800 30px var(--display); }
.svc .cost small { color: var(--ink-2); font-size: 15px; }

/* agents block */
.agents { position: relative; overflow: hidden; margin-top: 18px; background: var(--dark); color: var(--on-dark); border-radius: 24px; padding: 34px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.agents .contour { right: -80px; bottom: -120px; width: 560px; height: 420px; color: #7EE0A6; opacity: .14; }
.agents h3 { font-size: 30px; font-weight: 800; position: relative; }
.agents p { color: var(--on-dark-2); position: relative; margin-top: 8px; }
.agents p a { color: var(--on-dark); }
.agents .price { position: relative; background: var(--yellow); color: #10231A; border: 2px solid #10231A; border-radius: 18px; padding: 18px 22px; }
.agents .price b { display: block; font: 800 54px/1 var(--display); }
.agents .price small { display: block; margin-top: 6px; font: 500 13.5px/1.45 var(--mono); }

/* records band */
.band { margin-top: 72px; padding: 56px 0 60px; background: var(--surface); border-block: 2px solid var(--ink); position: relative; overflow: hidden; }
.band .contour { left: -160px; top: -80px; width: 700px; height: 520px; }
.carousel { position: relative; display: grid; gap: 18px; }
.recs { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 10px; scrollbar-width: none; }
.recs::-webkit-scrollbar { display: none; }
.recs:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 20px; }
.rcard { scroll-snap-align: start; background: var(--cl-tint, var(--paper)); border: 2px solid var(--ink); border-radius: 20px; padding: 0 22px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }
.rcard .cl { margin: 0 -22px; padding: 18px 22px 10px; display: flex; align-items: center; gap: 8px; font: 700 14px var(--mono); color: var(--ink); background: var(--surface); border-bottom: 2px solid var(--ink); position: relative; }
.rcard .cl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--cl); }
.rcard .cl .d { margin-left: auto; font-weight: 500; color: var(--ink-2); }
.cl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cl); border: 2px solid var(--ink); }
.rcard .top { display: flex; gap: 8px; flex-wrap: wrap; }
.rcard h3 { font-size: 22px; font-weight: 800; line-height: 1.2; }
.rcard h3 a { text-decoration: none; }
.rcard h3 a:hover { text-decoration: underline; }
.rcard p { font-size: 16px; color: var(--ink-2); }
.rcard .flag { border-left: 3px solid var(--warn); padding-left: 10px; color: var(--ink); font-size: 15.5px; }
.rcard .rfoot { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 14px var(--mono); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rcard { background: var(--paper); } }
:root[data-theme="dark"] .rcard { background: var(--paper); }
.cnav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ccount { font: 600 14px var(--mono); color: var(--ink-2); min-width: 90px; text-align: center; font-variant-numeric: tabular-nums; }
.cbtn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 800 20px var(--display); cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.cbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.cbtn:disabled { opacity: .35; cursor: default; }

/* order steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; border-top: 2.5px dashed var(--green); opacity: .55; }
.steps li { position: relative; display: grid; gap: 8px; align-content: start; }
.steps .n { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--ink); display: grid; place-items: center; font: 800 21px var(--display); }
.steps li:last-child .n { background: var(--yellow); color: #10231A; }
.steps b { font: 800 21px var(--display); margin-top: 6px; }
.steps p { color: var(--ink-2); font-size: 16.5px; }
.steps code { font-size: 13px; word-break: break-all; }
.order-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.order-cta .mascot { width: 54px; height: 54px; }

/* clients */
.clients { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.clients li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; gap: 6px 20px; padding: 16px 0; border-bottom: 1.5px solid var(--line); align-items: baseline; }
.clients b { font: 800 20px var(--display); }
.clients span { color: var(--ink-2); font-size: 16px; }
.clients a { font: 600 14px var(--mono); white-space: nowrap; }

/* inner pages */
.page-head { padding: 24px 0 8px; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 64px); }
.page-head .lede { max-width: 52ch; }
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger th { text-align: left; font: 700 13px var(--mono); color: var(--ink-2); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.ledger td { padding: 14px 12px 14px 0; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.ledger td.when, .ledger td.paid { font: 500 14px var(--mono); white-space: nowrap; }
.ledger td b { font-family: var(--display); font-size: 18px; }
.ledger td p { color: var(--ink-2); margin-top: 4px; font-size: 15.5px; }
.ledger .links-cell a { font: 600 14px var(--mono); display: inline-block; margin: 2px 10px 2px 0; }
.ledger tr.past td { opacity: .92; }
.tw { overflow-x: auto; }
.note { border-left: 4px solid var(--green); background: var(--surface); padding: 14px 18px; border-radius: 0 14px 14px 0; color: var(--ink-2); font-size: 16px; }
.price-list { display: grid; gap: 12px; }
.pl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; padding: 18px 22px; align-items: baseline; }
.pl-row b { font: 800 21px var(--display); }
.pl-row p { color: var(--ink-2); font-size: 16px; grid-column: 1; }
.pl-row .amt { font: 800 22px var(--display); text-align: right; grid-row: 1; grid-column: 2; white-space: nowrap; }
.pl-row .amt small { display: block; font: 500 13px var(--mono); color: var(--ink-2); }
.pl-row code { font-size: 13px; }

/* footer */
.foot { margin-top: 80px; background: var(--dark); color: var(--on-dark); padding: 44px 0 52px; position: relative; overflow: hidden; }
.foot .contour { right: -100px; top: -60px; width: 520px; height: 380px; color: #7EE0A6; opacity: .12; }
.foot .wrap { position: relative; display: grid; gap: 14px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.foot a { color: var(--on-dark); }
.foot p { color: var(--on-dark-2); max-width: 74ch; font-size: 16px; }
.foot .agentsline { font: 500 13.5px var(--mono); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .links, .nav .btn { display: none; }
  .menu { display: block; }
  .stats, .svc, .agents { grid-template-columns: 1fr; }
  .recs { grid-auto-columns: 84%; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 23px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 2.5px dashed var(--green); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .steps li > :not(.n) { grid-column: 2; }
  .steps .n { grid-row: span 3; }
  .clients li { grid-template-columns: 1fr; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tr { border-bottom: 1.5px solid var(--line); padding: 12px 0; }
  .ledger td { border: 0; padding: 2px 0; }
  .pl-row { grid-template-columns: 1fr; }
  .pl-row .amt { grid-row: auto; grid-column: 1; text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .agents { padding: 26px 22px; }
  .stat b { font-size: 38px; }
}
