@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0a0a0a;
  --text: #292524;
  --body: #44403c;
  --muted: #78716c;
  --line: #e8e6e3;
  --line-dark: #262626;
  --soft: #faf9f7;
  --blue: #1e5cab;
  --blue-on-dark: #5b8fdf;
  --warn-bg: #fdf0d9;
  --warn-fg: #92500a;
  --ok-bg: #e3f5dc;
  --ok-fg: #15803d;
  --danger-bg: #fdecec;
  --danger-fg: #b42318;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-snap: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--text);
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img,
svg {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Reveals */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal--scale {
  transform: translateY(10px) scale(0.985);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn--black {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn--black:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
}
.btn--line {
  background: #fff;
  border-color: #d6d3d0;
  color: var(--text);
}
.btn--line:hover {
  border-color: var(--ink);
}
.btn--sm {
  height: 30px;
  padding: 0 12px;
  font-size: 11px;
}
.btn__arrow {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Product-UI buttons (the product's own look) */
.ubtn {
  height: 32px;
  padding: 0 14px;
  border: 1px solid #d6d3d0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease),
    opacity 0.2s;
}
.ubtn:hover {
  background: #f3f1ee;
}
.ubtn:active {
  transform: scale(0.98);
}
.ubtn--black {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ubtn--black:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
}
.ubtn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}
.ubtn--black:disabled:hover {
  background: var(--ink);
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.top.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}
.top__in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.top__nav {
  display: flex;
  gap: 28px;
}
.top__nav a,
.top__login {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  position: relative;
  transition: color 0.2s;
}
.top__nav a.is-active {
  color: var(--ink);
}
.top__nav a.is-active::after {
  transform: scaleX(1);
}
.top__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.top__nav a:hover {
  color: var(--ink);
}
.top__nav a:hover::after {
  transform: scaleX(1);
}
.top__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.top__login:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  padding-top: 80px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
}
.kicker__sq {
  width: 8px;
  height: 8px;
  background: var(--blue);
}
.hero__title {
  margin-top: 22px;
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 820px;
}
.hero__lead {
  margin-top: 20px;
  font-size: 16px;
  color: var(--body);
  max-width: 520px;
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.hero__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Pixel field */
.field {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: #1e5cab;
  overflow: clip;
  isolation: isolate;
}
.field--hero {
  margin-top: 64px;
  aspect-ratio: 2.3;
}
.field--panel {
  aspect-ratio: 1.22;
}
.field--tall {
  aspect-ratio: 1.08;
}
.field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.field__soft {
  image-rendering: auto;
}
.field__cells {
  image-rendering: pixelated;
  opacity: 0.34;
}
.field > .card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  transition: transform 0.6s var(--ease);
}

/* Product cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
  color: var(--text);
  box-shadow:
    0 30px 70px -20px rgba(10, 36, 90, 0.45),
    0 2px 6px rgba(10, 36, 90, 0.12);
}
.face {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
}
.face svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.face--comercial {
  background: #dcebff;
  color: #1e5cab;
}
.face--financeiro {
  background: #ffeccb;
  color: #8f5400;
}
.face--rh {
  background: #eee2ff;
  color: #6a3db0;
}
.face--juridico {
  background: #ffe1dc;
  color: #a8321f;
}
.face--mini {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-grid;
  vertical-align: -5px;
  margin-right: 6px;
}
.face--mini svg {
  width: 12px;
  height: 12px;
}
.face--sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.face--sm svg {
  width: 15px;
  height: 15px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transform-origin: center;
}
.pill--warn {
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.pill--ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}
.pill--danger {
  background: var(--danger-bg);
  color: var(--danger-fg);
}
.pill.is-swapped {
  animation: pill-in 0.45s var(--ease-snap);
}
@keyframes pill-in {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Decision card */
.decision {
  padding: 18px 20px 16px;
}
.decision__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.decision__who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.decision__who strong {
  font-weight: 600;
  font-size: 14px;
}
.decision__who span {
  font-size: 12.5px;
  color: var(--muted);
}
.decision__head .pill {
  margin-left: auto;
}
.decision__title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 16px;
}
.decision__msg {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.decision__foot {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 32px;
}
.decision__meta {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.decision__actions {
  display: flex;
  gap: 8px;
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease);
}
.decision__actions.is-out {
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}
.decision__result {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
  animation: result-in 0.5s var(--ease) both;
}
.decision__result a {
  margin-left: auto;
  white-space: nowrap;
}
.decision__result[hidden] {
  display: none;
}
.decision__result a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.decision__result a:hover {
  color: var(--ink);
}
.decision__check {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--ok-fg);
}
.decision.is-declined .decision__check {
  display: none;
}
@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Apps */
.apps {
  padding: 72px 24px 80px;
  text-align: center;
}
.apps__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.apps__track {
  margin-top: 30px;
  overflow: hidden;
  display: flex;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.apps__row {
  list-style: none;
  margin: 0;
  padding: 0 0 0 56px;
  display: flex;
  gap: 56px;
  flex: none;
  animation: marquee var(--marquee-duration, 48s) linear infinite;
}
.apps__track:hover .apps__row {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}
.apps__row li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #57534e;
  white-space: nowrap;
  transition: color 0.3s;
}
.apps__row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.75;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.apps__row li:hover {
  color: var(--ink);
}
.apps__row li:hover img {
  filter: none;
  opacity: 1;
}
.apps__more {
  margin: 32px auto 0;
  max-width: 600px;
  font-size: 13px;
  color: var(--muted);
}

/* Labels */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.label__bar {
  width: 14px;
  height: 3px;
  background: var(--blue);
}
.label--dark {
  color: var(--blue-on-dark);
}
.label--dark .label__bar {
  background: var(--blue-on-dark);
}

/* Dark section */
.dark {
  background: var(--ink);
  color: #fff;
  padding: 104px 0 96px;
  text-align: center;
}
.dark__title {
  margin: 18px auto 0;
  max-width: 780px;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #fff;
}
.dark__title span {
  color: #6f6f6f;
}
.cols {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
}
.col {
  padding: 40px 36px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-dark);
  transition: background-color 0.4s;
}
.col:last-child {
  border-right: 0;
}
.col:hover {
  background: #111;
}
.col__icon {
  width: 56px;
  height: 56px;
  color: var(--blue-on-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .col__icon path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 250ms);
}
.js .col.is-in .col__icon path {
  stroke-dashoffset: 0;
}
.col__icon path:nth-child(2) {
  transition-delay: calc(var(--i, 0) * 120ms + 500ms);
}
.col__icon path:nth-child(3) {
  transition-delay: calc(var(--i, 0) * 120ms + 750ms);
}
.col h3 {
  margin-top: auto;
  padding-top: 72px;
  font-size: 25px;
  color: #fff;
  letter-spacing: -0.005em;
}
.col p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #9a9a9a;
  max-width: 320px;
}

/* Control */
.control {
  padding-top: 120px;
  text-align: center;
}
.control__title {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.feature {
  margin-top: 104px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
  text-align: left;
}
.feature--flip .feature__text {
  order: 2;
}
.feature__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.feature__text h3 {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.feature__text > p:last-child {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 420px;
}

/* Tools card */
.tools__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.tools__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}
.tool__name {
  font-size: 14px;
}
.seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2px;
  background: #f3f1ee;
  border-radius: 8px;
  flex: none;
  --level: 0;
}
.seg[data-level='1'] {
  --level: 1;
}
.seg[data-level='2'] {
  --level: 2;
}
.seg button {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 0 11px;
  height: 26px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}
.seg button:hover {
  color: var(--text);
}
.seg button[aria-checked='true'] {
  color: #fff;
}
.seg__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc((100% - 4px) / 3);
  height: calc(100% - 4px);
  background: var(--ink);
  border-radius: 6px;
  transform: translateX(calc(var(--level) * 100%));
  transition: transform 0.4s var(--ease-snap);
}
.tools__foot {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Rule card */
.rule {
  padding: 20px;
}
.rule__label,
.rule__readlabel {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule__input {
  margin-top: 8px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d6d3d0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.rule__caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--text);
  animation: blink 1s steps(2, start) infinite;
}
.rule.is-typed .rule__caret {
  display: none;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.rule__read {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rule__read dl {
  margin: 10px 0 0;
}
.rule__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}
.rule__row:first-child {
  border-top: 0;
}
.rule__row dt {
  color: var(--muted);
  font-size: 13px;
}
.rule__row dd {
  margin: 0;
}
.js .rule__read {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.js .rule__row {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 140ms + 150ms);
}
.js .rule.is-read .rule__read,
.js .rule.is-read .rule__row {
  opacity: 1;
  transform: none;
}
.rule__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rule__status {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}
.rule.is-confirmed .rule__status {
  color: var(--ok-fg);
}
.rule.is-confirmed .rule__input {
  border-color: var(--line);
  background: var(--soft);
}

/* Trail card */
.trail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.trail__head div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.trail__head strong {
  font-size: 14px;
  font-weight: 600;
}
.trail__head span {
  font-size: 12.5px;
  color: var(--muted);
}
.trail__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.trail__item {
  display: grid;
  grid-template-columns: 44px 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  transition: background-color 0.2s;
}
.trail__item:hover {
  background: var(--soft);
}
.trail__time {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.trail__text {
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trail__text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.js .trail__item {
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    background-color 0.2s;
  transition-delay: calc(var(--i, 0) * 70ms + 200ms);
}
.js .is-in .trail__item {
  opacity: 1;
  transform: none;
}

/* Stats */
.stats {
  padding-top: 120px;
}
.stats__row {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat dt {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Close */
.close {
  padding: 136px 24px 128px;
  text-align: center;
}
.close__title {
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.close__lead {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.close__cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.close__hint {
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
}
.foot__in {
  padding-top: 48px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.foot__col p {
  font-size: 13px;
  color: var(--muted);
}
.foot__col .brand {
  margin-bottom: 6px;
}
.foot__h {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-bottom: 4px;
}
.foot__col a:not(.brand) {
  font-size: 13px;
  color: var(--body);
  transition: color 0.2s;
}
.foot__col a:not(.brand):hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot__base {
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 12px;
  color: var(--muted);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 50px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 88px;
  }
  .feature--flip .feature__text {
    order: 0;
  }
  .feature__text > p:last-child {
    max-width: 560px;
  }
  .field--panel,
  .field--tall {
    aspect-ratio: auto;
    padding: 48px 32px;
  }
  .dark__title,
  .control__title {
    font-size: 38px;
  }
  .col {
    padding: 32px 24px;
    min-height: 280px;
  }
  .col h3 {
    font-size: 22px;
  }
}

/* Phone */
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .top__in {
    gap: 16px;
    padding: 0 16px;
  }
  .top__nav {
    display: none;
  }
  .top__right {
    gap: 14px;
  }
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero__title {
    margin-top: 16px;
    font-size: 38px;
    line-height: 1.08;
  }
  .hero__title br {
    display: none;
  }
  .hero__lead {
    margin-top: 14px;
    font-size: 15px;
  }
  .hero__cta {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
    height: 44px;
  }
  .field {
    padding: 36px 14px;
  }
  .field--hero {
    margin-top: 40px;
    aspect-ratio: auto;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
  .field--panel,
  .field--tall {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
  .decision__head {
    flex-wrap: wrap;
  }
  .decision__head .pill {
    margin-left: 52px;
    margin-top: -4px;
  }
  .decision__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .decision__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .decision__actions .ubtn {
    height: 38px;
  }
  .apps {
    padding: 56px 16px 64px;
  }
  .apps__row {
    gap: 36px;
    padding-left: 36px;
  }
  .dark {
    padding: 72px 0 64px;
  }
  .dark__title,
  .control__title {
    font-size: 31px;
    margin-top: 14px;
  }
  .cols {
    margin-top: 48px;
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .col {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .col:hover {
    background: transparent;
  }
  .col__icon {
    width: 36px;
    height: 36px;
  }
  .col h3 {
    padding-top: 22px;
    font-size: 23px;
  }
  .control {
    padding-top: 72px;
  }
  .feature {
    margin-top: 64px;
    gap: 28px;
  }
  .feature__text h3 {
    font-size: 28px;
  }
  .tool {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px;
  }
  .tools__head,
  .tools__foot,
  .trail__head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .seg button {
    padding: 0 6px;
  }
  .rule,
  .decision {
    padding: 16px;
  }
  .rule__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .rule__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .rule__foot .ubtn {
    height: 38px;
  }
  .trail__item {
    grid-template-columns: 40px 1fr auto;
    padding: 8px 16px;
  }
  .trail__item .face {
    display: none;
  }
  .trail__text {
    white-space: normal;
  }
  .stats {
    padding-top: 72px;
  }
  .stats__row {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 24px 16px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .stat dd {
    font-size: 40px;
  }
  .close {
    padding: 88px 16px 80px;
  }
  .close__title {
    font-size: 42px;
  }
  .foot__in {
    grid-template-columns: 1fr 1fr;
  }
  .foot__col:first-child {
    grid-column: 1 / -1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal--scale,
  .js .rule__read,
  .js .rule__row,
  .js .trail__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .col__icon path {
    stroke-dashoffset: 0;
    transition: none;
  }
  .apps__row {
    animation: none;
  }
  .apps__track {
    flex-wrap: wrap;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .apps__row {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
    row-gap: 20px;
  }
  .apps__row + .apps__row {
    display: none;
  }
  .pill.is-swapped,
  .decision__result {
    animation: none;
  }
  .btn,
  .ubtn,
  .seg__thumb,
  .btn__arrow {
    transition: none;
  }
}

/* ---------- legal pages (/terms, /privacy), built by legal.mjs from the same nav and footer ---------- */

.legal {
  width: min(70ch, 100% - 48px);
  margin: 0 auto;
  padding: 72px 0 112px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

.legal h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal h2 {
  margin: 44px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
}

.legal p,
.legal ul {
  margin: 0 0 14px;
}

.legal ul {
  padding-inline-start: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  font-weight: 600;
  color: var(--text);
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
