/* tpcloud.migueltaibo.com: the download first, then what TPCloud is and how it installs. */
:root { --ink: #000; --bone: #edebe6; --ash: #8c8a85; --line: #262624; --soft: #111110; --signal: #9cc9ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, monospace; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--bone); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; }
.plate { width: 30px; height: 30px; border-radius: 7px; background: var(--bone); display: grid; place-items: center; flex-shrink: 0; }
.plate svg { width: 100%; height: 100%; }

nav.links { display: flex; gap: 22px; font-size: 14px; color: var(--ash); }
nav.links a:hover { color: var(--bone); }

h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.035em; font-weight: 750; }
.lede { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ash); max-width: 560px; }
.lede b { color: var(--bone); font-weight: 500; }

.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--bone); color: #000; border-color: var(--bone); }
.btn.primary small { font-weight: 500; color: #555; font-size: 13px; }
.btn:not(.primary):hover { border-color: var(--ash); }
.other { font-size: 14px; color: var(--ash); }
.other a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; }

.cmd { margin-top: 16px; display: flex; align-items: center; gap: 12px; max-width: 640px; padding: 12px 12px 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-family: var(--mono); font-size: 14.5px; }
.cmd code { flex: 1; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .p { color: var(--signal); margin-right: 8px; user-select: none; }
.copy { flex-shrink: 0; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: #000; color: var(--bone); font: 500 13px var(--font); cursor: pointer; }
.copy:hover { border-color: var(--ash); }
.copy.done { color: #8fd18f; border-color: #2f4f2f; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--ash); }

section.block { padding: 96px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; max-width: 720px; }
section.block p.intro { margin-top: 14px; color: var(--ash); font-size: 18px; line-height: 1.55; max-width: 640px; }
.grid3 { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; }
.card h3 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.card p { margin-top: 10px; color: var(--ash); font-size: 15.5px; line-height: 1.55; }
.card .k { font-family: var(--mono); font-size: 12.5px; color: var(--signal); margin-bottom: 14px; display: block; }
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding-top: 22px; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: block; font-size: 13px; color: var(--signal); font-family: var(--mono); margin-bottom: 12px; }
.step h3 { font-size: 19px; font-weight: 650; }
.step p { margin-top: 8px; color: var(--ash); font-size: 15.5px; line-height: 1.55; }
.step code { font-family: var(--mono); font-size: 13.5px; color: var(--bone); }
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.fact { padding: 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; font-weight: 700; }
.fact span { display: block; margin-top: 6px; color: var(--ash); font-size: 14.5px; line-height: 1.45; }
footer.bottom { padding: 40px 0 90px; border-top: 1px solid var(--line); color: var(--ash); font-size: 14px; display: flex; gap: 22px; flex-wrap: wrap; }

  

@media (max-width: 860px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  nav.links { display: none; }
  section.block { padding: 70px 0; }
  .cmd { font-size: 12.5px; }
}

.mono { font-family: var(--mono); font-size: .9em; color: var(--bone); }
.btn small { white-space: nowrap; }
@media (max-width: 520px) {
  .btn.primary { flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 18px; }
}

/* The hero: the words and the download on the left; on the right, the file opening into what it carries. */
.heroS { padding: 90px 0 120px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.heroS > * { min-width: 0; }
.visual { position: relative; }
.vfile { display: grid; grid-template-columns: 112px 1fr; gap: 26px; align-items: center; }
.doc { position: relative; width: 104px; height: 132px; border: 1.5px solid var(--bone); border-radius: 10px 30px 10px 10px; display: grid; align-content: end; padding: 12px; font-family: var(--mono); transition: transform .4s; }
.doc b { font-size: 13px; font-weight: 600; }
.doc span { font-size: 11px; color: var(--ash); }
.doc.open { transform: scale(.94); }
.stream { font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--ash); height: 136px; overflow: hidden; }
.stream div { white-space: pre; animation: in .3s ease-out; }
.stream b { color: var(--bone); font-weight: 500; }
@keyframes in { from { opacity: 0; transform: translateY(4px) } }
.procs { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.proc { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; font-family: var(--mono); font-size: 12px; color: var(--ash); transition: color .3s, border-color .3s; }
.vdot { width: 8px; height: 8px; border-radius: 50%; background: #333; transition: background .3s; }
.proc.on { color: var(--bone); border-color: #34342f; }
.proc.on .vdot { background: #8fd18f; }
@media (max-width: 860px) {
  .heroS { grid-template-columns: 1fr; padding: 50px 0 90px; gap: 40px; }
  .procs { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .stream div { animation: none; } }
