/* TestHut marketing site. Archivo throughout; Plex Mono only for panel printout text. */
body.site { background: #fff; color: var(--ink); font-size: 17px; line-height: 1.55; }
.site h1, .site h2, .site h3 { color: var(--ink); }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(440px, 100% - 48px); }
.site p { margin: 0 0 16px; max-width: 62ch; }
.site a { color: var(--ink); text-underline-offset: 3px; }
.site a:focus-visible, .site button:focus-visible, .site input:focus-visible, .site textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.site .btn { background: var(--ink); color: #fff; border-radius: 4px; padding: 13px 20px; font-weight: 650; text-decoration: none; }
.site .btn.orange { background: var(--orange); color: #fff; }
.site .btn.ghost { background: transparent; color: var(--ink); border: 0; box-shadow: inset 0 0 0 2px var(--ink); }

.stage { background: var(--ink); color: #fff; font-size: 13px; padding: 7px 24px; text-align: center; }
.hd { background: #fff; border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.hd-in { width: min(1120px, 100% - 48px); margin: 0 auto; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hd .th-logo { font-size: 23px; } .hd .th-logo i { width: 28px; height: 28px; }
.hd-nav { display: flex; align-items: center; gap: 26px; font-size: 15.5px; font-weight: 550; }
.hd-nav a { text-decoration: none; }
.hd-nav a:not(.btn):hover, .hd-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hd-nav .signin { margin-left: 10px; color: var(--slate); }
.hd-nav .btn { padding: 9px 16px; min-height: 40px; }
.hd-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 11px 9px; }
.hd-burger span { display: block; height: 2.5px; background: var(--ink); margin: 4px 0; }

/* hero */
.hero { background: var(--orange); border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding: 76px 0 84px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 86px); font-weight: 820; font-stretch: 118%; letter-spacing: -0.035em; line-height: 0.96; margin-bottom: 26px; text-wrap: balance; }
.hero p { font-size: 20px; line-height: 1.45; max-width: 31em; margin-bottom: 30px; font-weight: 450; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; } .acts.end { justify-content: flex-end; align-self: center; }

/* the tape: a panel printout being counted */
.tape { background: #fff; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(1.4deg); font-family: "Plex Mono", ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.35; }
.tape-head { padding: 9px 14px; border-bottom: 2px dashed var(--ink); font-family: Archivo, sans-serif; font-size: 12.5px; font-weight: 600; color: var(--slate); }
.tape ol { list-style: none; margin: 0; padding: 6px 0; }
.tape li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--tint); opacity: 0; animation: print 0.01s linear forwards; animation-delay: calc(0.5s + var(--i) * 0.9s); }
.tape .t { color: var(--muted); } .tape .e { font-weight: 500; } .tape .w { font-weight: 400; color: var(--slate); }
.tape .ok { font-family: Archivo, sans-serif; font-weight: 700; font-size: 12px; color: var(--green); border: 2px solid var(--green); border-radius: 3px; padding: 2px 7px; transform: rotate(-4deg) scale(1.6); opacity: 0; animation: stamp 0.22s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; animation-delay: calc(0.95s + var(--i) * 0.9s); }
.tape-foot { padding: 12px 14px 14px; border-top: 2px solid var(--ink); font-family: Archivo, sans-serif; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; }
.tape-foot .bar { grid-column: 1 / -1; height: 10px; border-radius: 0; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tape-foot .bar > i { border-radius: 0; background: var(--green); }
@keyframes print { to { opacity: 1; } }
@keyframes stamp { to { opacity: 1; transform: rotate(-4deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .tape li, .tape .ok { animation: none; opacity: 1; } .tape .ok { transform: rotate(-4deg); } }

/* sections */
.top { padding: 64px 0 44px; border-bottom: 2px solid var(--ink); background: var(--tint); }
.top h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; font-stretch: 114%; letter-spacing: -0.03em; line-height: 1; margin-bottom: 18px; max-width: 18ch; }
.lead { font-size: 19.5px; line-height: 1.45; max-width: 44em; }
.band { padding: 84px 0; }
.band.tint { background: var(--tint); }
.band.ink { background: var(--ink); color: #fff; padding: 64px 0; }
.band.ink h2, .band.ink p { color: #fff; }
.band.ink .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.band h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 760; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 18px; max-width: 20ch; text-wrap: balance; }
.band h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 6px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.two.rev > :first-child { order: 0; }
.fine { font-size: 14.5px; color: var(--muted); }

.swap { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); }
.swap li { padding: 22px 24px; display: grid; gap: 2px; }
.swap li + li { border-top: 2px solid var(--ink); }
.swap span { font-size: 14.5px; color: var(--slate); font-weight: 550; }
.swap strong { font-size: clamp(22px, 2.6vw, 30px); font-weight: 760; font-stretch: 108%; letter-spacing: -0.02em; }
.swap li:first-child strong { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--slate); }
.swap li.on { background: var(--orange); }
.swap li.on span { color: var(--ink); }

.steps { list-style: none; counter-reset: s; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 76px minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(s); font-size: 44px; font-weight: 820; font-stretch: 118%; line-height: 0.9; }
.steps h3 { font-size: 21px; margin: 0; } .steps p { margin: 0; }

.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.phone { width: min(46%, 250px); height: auto; } .phone + .phone { margin-top: 44px; }
.shot { width: 100%; height: auto; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }

.rules, .reft { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 16px; }
.rules th, .rules td, .reft th, .reft td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.rules tr:first-child th, .rules tr:first-child td { border-top: 2px solid var(--ink); }
.rules th { font-weight: 700; width: 38%; }
.reft tr:first-child th { border-bottom: 2px solid var(--ink); font-size: 14px; color: var(--slate); font-weight: 600; }
.reft th { font-weight: 700; } .reft .ref { color: var(--slate); font-size: 14.5px; white-space: nowrap; }
.reft.price td:last-child { font-weight: 760; font-size: 20px; }
.scroll-x { overflow-x: auto; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 26px; }
.grid3 > div { border-top: 2px solid var(--ink); padding: 18px 0 22px; }
.grid3 p { margin: 0; font-size: 16px; }
.ticks { list-style: none; margin: 4px 0 22px; padding: 0; }
.ticks li { padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 13px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.spec { border: 2px solid var(--ink); padding: 26px 28px; background: #fff; }
.spec dl { margin: 12px 0 0; display: grid; gap: 0; }
.spec dt { font-size: 14px; color: var(--slate); padding-top: 12px; }
.spec dd { margin: 0; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec .big { font-size: 46px; font-weight: 820; font-stretch: 116%; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 14px; }
.spec .big span { font-size: 15px; font-weight: 500; letter-spacing: 0; font-stretch: 100%; color: var(--slate); }
.spec h3 + p { margin-top: 6px; } .spec p + h3 { margin-top: 22px; }

.door { border: 2px solid var(--ink); padding: 28px; background: #fff; }
.try { margin: 18px 0 0; padding-left: 22px; } .try li { padding: 5px 0; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--ink); background: #fff; margin-top: 26px; }
.calc-in { padding: 26px 28px; display: grid; gap: 14px; align-content: start; border-right: 2px solid var(--ink); }
.calc label, .form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.calc input, .form input, .form textarea { border: 2px solid var(--ink); border-radius: 3px; padding: 11px 12px; font-size: 17px; background: #fff; width: 100%; }
.form input:disabled { border-color: var(--line); background: var(--tint); }
.calc-out { padding: 26px 28px; }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0; }
.calc-out dt, .calc-out dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
.calc-out dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.keep { background: var(--orange); margin: 18px -28px 16px; padding: 18px 28px; display: grid; gap: 2px; max-width: none !important; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.keep span { font-weight: 600; font-size: 15px; }
.keep strong { font-size: 46px; font-weight: 820; font-stretch: 116%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 16px; }
.form.card { border: 2px solid var(--ink); padding: 30px; background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.form.card h1 { font-size: 32px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.form .btn { justify-self: start; } .form.card .btn { justify-self: stretch; }
.form-msg { font-weight: 600; min-height: 1.5em; margin: 0; }
.signin-page { background: var(--tint); min-height: 60vh; }

.ft { background: var(--ink); color: #fff; margin-top: 0; }
.ft-in { width: min(1120px, 100% - 48px); margin: 0 auto; padding: 56px 0 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ft .th-logo { font-size: 23px; color: #fff; } .ft p { color: #c2c9c4; font-size: 15px; margin-top: 14px; max-width: 30ch; }
.ft nav { display: grid; gap: 9px; align-content: start; font-size: 15px; }
.ft nav strong { font-size: 14px; color: #a3aca7; font-weight: 600; margin-bottom: 4px; }
.ft nav a { color: #fff; text-decoration: none; } .ft nav a:hover { text-decoration: underline; }
.ft-base { width: min(1120px, 100% - 48px); margin: 0 auto; padding: 20px 0 40px; border-top: 1px solid #3d4543; font-size: 13.5px; color: #a3aca7; }

@media (max-width: 900px) {
  .hd-burger { display: block; }
  .hd-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .hd-nav.open { display: flex; }
  .hd-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
  .hd-nav .signin { margin-left: 0; } .hd-nav .btn { margin-top: 16px; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 64px; }
  .hero p { font-size: 18px; }
  .tape { transform: none; box-shadow: 6px 6px 0 var(--ink); font-size: 12px; }
  .tape li { gap: 8px; padding: 8px 10px; }
  .band { padding: 56px 0; } .top { padding: 44px 0 32px; }
  .two { grid-template-columns: 1fr; gap: 36px; }
  .two.rev > .phones { order: 2; }
  .steps li { grid-template-columns: 48px 1fr; gap: 4px 14px; }
  .steps li::before { font-size: 34px; grid-row: 1 / 3; }
  .steps p { grid-column: 2; }
  .grid3 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 2px solid var(--ink); }
  .ft-in { grid-template-columns: 1fr 1fr; } .ft-in > div { grid-column: 1 / -1; }
  .acts.end { justify-content: flex-start; }
  .reft .ref { white-space: normal; }
  .shot { box-shadow: 5px 5px 0 var(--ink); }
}

/* blue accent: light text on accent fields */
.hero, .hero h1, .hero p { color: #fff; }
.hero .btn { background: #fff; color: var(--ink); } .hero .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.tape { color: var(--ink); }
.swap li.on, .swap li.on span, .swap li.on strong, .keep, .keep span, .keep strong { color: #fff; }
