/* VASHT Toque — public landing. The page borrows from the paper time card it replaces:
   green card stock, form lines printed in green, times stamped in violet (in) and red (out). */
:root {
  --bg: #F1F4EE;          /* page */
  --stock: #DCE6D6;       /* time-card stock */
  --stock-2: #CBDAC4;
  --print: #3E6B50;       /* green printing ink: form labels and lines */
  --rule: #9DB8A5;
  --ink: #16203A;         /* navy text */
  --ink-2: #4C576B;
  --violet: #5B2B8F;      /* stamp: entrada, primary action */
  --violet-d: #48207A;
  --red: #B8352A;         /* stamp: salida */
  --paper: #FBFCF8;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --stamp: 'Doto', ui-monospace, 'Courier New', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.land { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
:where(.land) a { color: inherit; } /* zero specificity so button colours win */
.land img, .land svg { display: block; }
.land :focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.t-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.t-h1, .t-h2, .t-end h2 { font-stretch: 68%; font-weight: 800; letter-spacing: -.005em; margin: 0; }
.t-h1 { font-size: clamp(72px, 10.5vw, 150px); line-height: .86; }
.t-h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: .98; max-width: 16ch; }
.t-lead { font-size: 19px; line-height: 1.55; max-width: 40ch; color: var(--ink-2); margin: 28px 0 0; }
.t-sub { color: var(--ink-2); max-width: 46ch; margin: 18px 0 0; }
.t-stamp { font-family: var(--stamp); font-weight: 900; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.t-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font: 700 16px/1 var(--f); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.t-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-btn--go { background: var(--violet); color: #fff; }
.t-btn--go:hover { background: var(--violet-d); }
.t-btn--line { border-color: var(--ink); color: var(--ink); }
.t-btn--line:hover { background: var(--ink); color: var(--bg); }
.t-btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.t-link { font-weight: 700; color: var(--violet); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.t-link:hover { color: var(--violet-d); text-decoration-thickness: 3px; }

/* ---------- header ---------- */
.t-top { padding: 18px 0; }
.t-top .t-wrap { display: flex; align-items: center; gap: 32px; }
.t-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.t-brand b { display: flex; align-items: center; gap: 6px; font-size: 30px; font-stretch: 70%; font-weight: 800; line-height: 1; }
.t-brand b svg { width: 22px; height: 22px; fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; }
.t-brand small { font-size: 13px; color: var(--ink-2); }
.t-top nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.t-top nav a { text-decoration: none; color: var(--ink-2); }
.t-top nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- hero ---------- */
.t-hero { padding: 48px 0 120px; overflow-x: clip; }
.t-hero .t-wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.t-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.t-fine { margin: 22px 0 0; font-size: 14px; color: var(--ink-2); }

/* the time card */
.tc { position: relative; background: var(--stock); border-radius: 6px; padding: 26px 26px 22px; transform: rotate(-1.4deg);
  box-shadow: 0 1px 0 rgb(22 32 58 / .06), 0 2px 4px rgb(22 32 58 / .06), 0 30px 60px -28px rgb(22 32 58 / .42); color: var(--print); }
.tc::before { content: ''; position: absolute; top: -1px; left: 50%; width: 46px; height: 14px; margin-left: -23px; background: var(--bg); border-radius: 0 0 23px 23px; } /* rack notch */
.tc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; }
.tc-h b { font-size: 17px; font-weight: 800; font-stretch: 80%; color: var(--print); }
.tc-who { margin: 14px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--print); display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.tc-who span { font: 600 21px/1.1 var(--f); font-stretch: 85%; color: var(--ink); }
.tc-g { display: grid; grid-template-columns: 74px 1fr 1fr 82px; }
.tc-g > * { min-height: 50px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--rule); }
.tc-g > :nth-child(4n+2), .tc-g > :nth-child(4n+3), .tc-g > :nth-child(4n+4) { border-left: 1px solid var(--rule); }
.tc-g .hd { min-height: 34px; font-size: 12.5px; font-weight: 600; }
.tc-g .d { font-size: 14px; font-weight: 600; }
.tc-g .hr { justify-content: flex-end; font: 600 15px var(--f); font-variant-numeric: tabular-nums; color: var(--ink); }
.tc-g .today { background: rgb(91 43 143 / .07); }
.tc-g .today.d { color: var(--violet); font-weight: 800; }
.tc-g .hr.run { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.st { font-family: var(--stamp); font-size: 29px; font-weight: 900; text-shadow: 0 0 .6px currentColor; line-height: 1; color: var(--violet); opacity: .9; display: inline-block; transform: rotate(var(--r, 0deg)); }
.st.out { color: var(--red); }
.st.wait { color: rgb(91 43 143 / .28); font-weight: 600; }
.land.js .tc .st.ld { opacity: 0; }
.land.js .tc .st.ld.on { animation: stamp .3s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.9) rotate(var(--r, 0deg)); } 55% { opacity: 1; transform: scale(.93) rotate(var(--r, 0deg)); } 100% { opacity: .9; transform: scale(1) rotate(var(--r, 0deg)); } }
.tc-f { display: flex; gap: 28px; margin-top: 12px; font-size: 12.5px; }
.tc-f b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }

/* tap target: the one interactive moment */
.tap { position: absolute; right: -52px; bottom: -84px; width: 136px; height: 136px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 6px; font: 700 14px/1.15 var(--f); text-align: center; transform: rotate(1.4deg);
  box-shadow: 0 16px 32px -12px rgb(72 32 122 / .6); transition: background .15s, transform .15s; }
.tap svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tap:hover { background: var(--violet-d); }
.tap:active { transform: rotate(1.4deg) scale(.96); }
.tap::before, .tap::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--violet); animation: ripple 2.6s ease-out infinite; pointer-events: none; }
.tap::after { animation-delay: 1.3s; }
@keyframes ripple { from { transform: scale(1); opacity: .55; } to { transform: scale(1.55); opacity: 0; } }
.tap.done { background: var(--paper); color: var(--violet); cursor: default; box-shadow: 0 12px 26px -14px rgb(22 32 58 / .45); }
.tap.done::before, .tap.done::after { display: none; }
.tc-next { position: absolute; left: 26px; bottom: -40px; font-size: 15px; color: var(--ink); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.tc-next.on { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.t-sec { padding: 104px 0; border-top: 1px solid var(--rule); overflow-x: clip; }
.t-sec--stock { background: var(--stock); border-top: 0; }

/* how it works: a real sequence, marked by the time each step happens */
.seq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 64px 0 0; padding: 0; }
.seq li { list-style: none; padding-top: 22px; border-top: 2px solid var(--ink); position: relative; }
.seq li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--violet); }
.seq .t-stamp { display: block; font-size: 30px; color: var(--violet); line-height: 1; margin-bottom: 18px; }
.seq h3 { font-size: 21px; font-stretch: 85%; font-weight: 800; margin: 0 0 8px; line-height: 1.15; }
.seq p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* three screens: rows of a form */
.rows { margin-top: 56px; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 260px 1fr auto; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.row h3 { margin: 0; font-size: 24px; font-stretch: 80%; font-weight: 800; line-height: 1.1; }
.row p { margin: 0; color: var(--ink-2); max-width: 56ch; }

/* proof: the sealed report beside the guarantees */
.proof { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; margin-top: 56px; }
.stub { position: relative; background: var(--paper); padding: 30px 28px 26px; border-radius: 4px; transform: rotate(1deg); box-shadow: 0 24px 48px -26px rgb(22 32 58 / .4); }
.stub::before { content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 10px; background: radial-gradient(circle 5px at 9px 5px, var(--stock) 98%, #0000) 0 0 / 18px 10px repeat-x; } /* torn-off perforation */
.stub h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.stub .who { font-size: 22px; font-stretch: 85%; font-weight: 800; margin: 4px 0 22px; }
.stub .tot { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; border-top: 1px solid #D9DED6; border-bottom: 1px solid #D9DED6; }
.stub .tot .t-stamp { font-size: 44px; color: var(--ink); }
.stub .tot span { color: var(--ink-2); font-size: 15px; }
.stub .ver { display: flex; gap: 18px; align-items: center; margin-top: 20px; }
.stub .qr { width: 92px; height: 92px; flex: none; }
.stub .qr svg { width: 100%; height: 100%; }
.stub .ver p { margin: 0; font-size: 14px; color: var(--ink-2); }
.stub .ver code { display: block; font: 900 17px var(--stamp); color: var(--ink); margin-top: 6px; letter-spacing: .04em; }
.seal { position: absolute; top: 22px; right: 18px; padding: 6px 14px; border: 3px solid var(--red); border-radius: 8px; color: var(--red); font: 800 22px/1 var(--f); font-stretch: 75%; transform: rotate(-9deg); opacity: .85; }
.guar { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.guar li { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.guar b { font-size: 19px; font-stretch: 85%; font-weight: 800; line-height: 1.2; }
.guar span { color: var(--ink-2); }

/* the law: obligation, how Toque meets it, source */
.law { margin-top: 56px; border-top: 2px solid var(--ink); }
.law-r { display: grid; grid-template-columns: 1fr 1.5fr 170px; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.law-r b { font-size: 18px; font-stretch: 85%; font-weight: 800; line-height: 1.25; }
.law-r p { margin: 0; color: var(--ink-2); }
.law-r small { font-size: 13px; color: var(--print); font-weight: 600; text-align: right; }
.t-note { margin: 26px 0 0; font-size: 14px; color: var(--ink-2); max-width: 70ch; }

/* NFC setup: a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--violet); color: var(--violet); font: 800 19px var(--f); margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; font-size: 20px; font-stretch: 85%; font-weight: 800; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- end ---------- */
.t-end { background: var(--ink); color: var(--bg); padding: 120px 0 112px; }
.t-end h2 { font-size: clamp(52px, 8vw, 112px); line-height: .9; max-width: 14ch; }
.t-end p { color: #BFC6D4; max-width: 46ch; font-size: 19px; margin: 28px 0 0; }
.t-end .t-btn--go { background: var(--stock); color: var(--ink); }
.t-end .t-btn--go:hover { background: #fff; }
.t-end .t-btn--line { border-color: var(--bg); color: var(--bg); }
.t-end .t-btn--line:hover { background: var(--bg); color: var(--ink); }
.t-end :focus-visible { outline-color: var(--stock); }
.t-foot { background: var(--ink); color: #A9B1C1; font-size: 14px; padding: 26px 0 34px; border-top: 1px solid rgb(241 244 238 / .14); }
.t-foot .t-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.t-foot a { color: var(--bg); }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .t-hero .t-wrap { grid-template-columns: 1fr; gap: 56px; }
  .tc { max-width: 600px; }
  .proof { grid-template-columns: 1fr; gap: 56px; }
  .stub { max-width: 440px; }
  .seq, .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
}
@media (max-width: 760px) {
  .t-wrap { padding: 0 16px; }
  .t-top nav { display: none; }
  .t-top .t-btn { margin-left: auto; }
  .t-brand small { display: none; }
  .t-hero { padding: 24px 0 112px; }
  .t-lead { font-size: 17px; }
  .tc { padding: 22px 16px 18px; transform: rotate(-.8deg); }
  .tc-h { flex-direction: column; gap: 2px; }
  .tc-f { flex-wrap: wrap; gap: 2px 16px; padding-right: 100px; }
  .tc-g { grid-template-columns: 52px 1fr 1fr 60px; }
  .tc-g > * { padding: 0 8px; min-height: 46px; }
  .st { font-size: 22px; }
  .tc-g .hr { font-size: 14px; }
  .tap { width: 112px; height: 112px; right: -6px; bottom: -48px; font-size: 13px; }
  .tc-next { left: 16px; bottom: -44px; max-width: 52%; font-size: 14px; }
  .t-sec { padding: 80px 0; }
  .seq, .steps { grid-template-columns: 1fr; }
  .row, .guar li, .law-r { grid-template-columns: 1fr; gap: 8px; }
  .law-r small { text-align: left; }
  .t-end { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tap::before, .tap::after { animation: none; display: none; }
  .land.js .tc .st.ld { opacity: .9; }
  .land.js .tc .st.ld.on { animation: none; }
}
