/* Leavory DS (leavory-ds/especificacao.md): split of the sign-in pages, brand
   panel with the line field on the left, the tool on the right. */
@font-face { font-family: Geist; src: url(geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
:root {
  --ink: #1e1c1b; --red: #c62a3d; --red-type: #f2717f; --white: #fff;
  --text: #fff; --text-2: rgb(255 255 255 / .68); --text-3: rgb(255 255 255 / .54);
  --rule: rgb(255 255 255 / .14); --hair: rgb(255 255 255 / .08);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--ink); color: var(--text); font: 15px/1.55 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.split { min-height: 100vh; }
@media (min-width: 1024px) { .split { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; overflow: hidden; } }

/* ---- line field ---- */
.lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .055) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(115deg, transparent 18%, #000 62%, #000 100%); mask-image: linear-gradient(115deg, transparent 18%, #000 62%, #000 100%); }
.lines-top { inset: 0 0 auto 0; height: 160px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.bar { position: absolute; top: 0; width: 2px; height: var(--h); margin-left: -.5px; border-radius: 1px; background: rgb(255 255 255 / .32);
  transform: translateY(calc(var(--rest) / 100 * var(--travel))); }
.bar.red { background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .bar { animation: drift var(--dur) linear var(--delay) infinite; }
  .reveal { animation: fade .9s var(--ease) both, rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
}
@keyframes drift { from { transform: translateY(var(--travel)); } to { transform: translateY(calc(-1 * var(--h))); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(18px); } }
.i1 { --i: 1 } .i2 { --i: 2 } .i3 { --i: 3 } .i4 { --i: 4 } .i5 { --i: 5 } .i6 { --i: 6 }

/* ---- brand panel ---- */
.brand { position: relative; isolation: isolate; display: none; flex-direction: column; justify-content: space-between; overflow: hidden;
  border-right: 1px solid var(--rule); padding: 48px 64px; }
@media (min-width: 1024px) { .brand { display: flex; } }
@media (min-width: 1280px) { .brand { padding: 48px 80px; } }
.lockup { display: inline-flex; align-items: center; gap: .4em; color: var(--text); text-decoration: none; font-size: 20px; font-weight: 540; letter-spacing: -.04em; }
.mark { height: 1.2em; width: auto; }
.statement { width: 100%; max-width: 36rem; margin: 0 auto; }
.label, .eyebrow { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.claim { margin: 24px 0 0; font-size: clamp(40px, 3.6vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.dim { color: var(--text-3); }
.sub { margin: 24px 0 0; font-size: 18px; line-height: 27px; color: var(--text-2); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; flex-direction: column; }
.step { position: relative; display: block; border-top: 1px solid var(--rule); padding-top: 20px; font: 500 12px/1 'IBM Plex Mono', monospace; letter-spacing: .08em; color: var(--text-3); }
.step::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.steps .red .step { border-top-color: var(--red); }
.steps .red .step::before { background: var(--red); box-shadow: 0 0 12px rgb(198 42 61 / .8); }
.steps b { margin-top: 14px; font-size: 16px; font-weight: 600; }
.steps li > span:last-child { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--text-2); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---- tool side ---- */
.side { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; overflow-y: auto; padding: 40px 20px; }
@media (min-width: 640px) { .side { padding: 40px 32px; } }
@media (min-width: 1024px) { .side { min-height: 0; padding: 40px 64px; justify-content: center; } .lines-top, .lockup.mobile { display: none; } }
.panel { width: 100%; max-width: 460px; margin: auto; padding: 48px 0; }
.eyebrow { color: var(--red-type); }
h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin: 12px 0 12px; }
.lede { color: var(--text-2); margin: 0 0 28px; }
.lede strong { color: var(--text); font-weight: 500; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 20px; border: 1px dashed var(--rule); border-radius: 14px;
  background: rgb(255 255 255 / .03); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--text); background: rgb(255 255 255 / .05); outline: none; }
.drop-icon { width: 28px; height: 28px; color: var(--text-2); margin-bottom: 6px; }
.drop-title { font-size: 16px; font-weight: 500; }
.drop-sub { font: 12px 'IBM Plex Mono', monospace; color: var(--text-3); }
.result { margin-top: 20px; padding: 20px 22px; border: 1px solid var(--rule); border-left: 3px solid var(--text-3); border-radius: 12px; background: rgb(255 255 255 / .03); }
.result.valid { border-left-color: var(--white); }
.result.bad { border-left-color: var(--red); }
.result-head { display: flex; align-items: center; gap: 12px; }
.result h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; border: 1px solid var(--rule); color: var(--text-2); }
.valid .badge { border-color: var(--white); color: var(--white); }
.bad .badge { border-color: var(--red); color: var(--red-type); }
.result-text { color: var(--text-2); margin: 10px 0 0; font-size: 14px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 13px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; font: 12px 'IBM Plex Mono', monospace; color: var(--text); word-break: break-all; }
