@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url(../fonts/public-sans.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  /* brand values are injected per site; these are fallbacks */
  --brand: #0b1f3a; --brand-deep: #071428; --brand-tint: #eaf2fe; --brand-soft: #cfe2fd;
  --accent: #1a8cff; --accent-ink: #ffffff; --danger: #c0262d; --danger-tint: #fdeced;
  --ink: #16191d; --ink-2: #4b525a; --ink-3: #79818a; --paper: #fff; --mist: #f1f3f5; --line: #dde1e5;
  --display: 'Archivo', 'Arial Narrow', sans-serif; --text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

/* top bar sits on the brand color */
.top { background: var(--brand); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand img { display: block; height: 46px; width: auto; max-width: 230px; object-fit: contain; object-position: left center; }
.top-call { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 16px var(--text); padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); white-space: nowrap; }
.top-call:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.top-call svg { width: 18px; height: 18px; fill: currentColor; }

/* hero: the one loud thing on the page */
.hero { background: var(--brand); color: #fff; padding: 34px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: var(--paper); clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; position: relative; z-index: 1; }
.hero h1 { font-weight: 900; font-stretch: 74%; font-size: clamp(42px, 5.6vw, 78px); line-height: .98; letter-spacing: -.01em; margin-top: 10px; text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.55; max-width: 34em; margin: 28px 0 0; color: rgba(255,255,255,.88); }
.facts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid rgba(255,255,255,.28); }
.facts li { padding: 14px 18px 0 0; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.82); }
.facts b { display: block; font: 800 19px/1.2 var(--display); font-stretch: 85%; color: #fff; margin-bottom: 2px; }

.form-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 30px 28px 24px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); scroll-margin-top: 20px; }
.form-card h2 { font-size: 27px; font-weight: 850; font-stretch: 88%; line-height: 1.1; }
.form-sub { margin: 8px 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f span { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.f i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.f input, .f select, .f textarea { font: 400 16px var(--text); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: 11px 12px; width: 100%; min-width: 0; }
.f textarea { resize: vertical; min-height: 52px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.btn-go { display: inline-flex; justify-content: center; align-items: center; width: 100%; margin-top: 16px; font: 850 19px var(--display); font-stretch: 90%; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 10px; padding: 17px 20px; cursor: pointer; text-decoration: none; transition: transform .12s, filter .12s; }
.btn-go:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-go:active { transform: none; }
.btn-go[disabled] { opacity: .65; cursor: wait; transform: none; }
.btn-go.sm { width: auto; font-size: 16px; padding: 12px 20px; margin-top: 18px; }
.btn-go.alt { background: var(--brand); color: #fff; }
.form-err { color: #b42318; font-size: 14px; font-weight: 600; margin: 10px 0 0; min-height: 0; }
.form-err:empty { display: none; }
.fine { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.fine a { color: var(--ink-2); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* how it works */
.how { padding: 72px 0 96px; }
.how-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px 80px; align-items: center; }
.how-head h2 { margin-bottom: 22px; }
.how-head h2, .get h2, .faq h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 850; font-stretch: 80%; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.how-head p { color: var(--ink-2); font-size: 18px; max-width: 40em; margin: 16px 0 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 22px 0; border-top: 1.5px solid var(--line); }
.steps li:last-child { border-bottom: 1.5px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font: 900 54px/0.9 var(--display); font-stretch: 70%; color: var(--brand); }
.steps h3 { font-size: 22px; font-weight: 800; font-stretch: 92%; line-height: 1.2; }
.steps p { margin: 6px 0 0; color: var(--ink-2); max-width: 36em; }

.notice { position: sticky; top: 24px; align-self: center; margin: 8px 0 0; }
.paper { background: #fffefb; border: 1px solid #e7e3d8; border-radius: 3px; padding: 30px 26px 22px; box-shadow: 0 1px 0 #ece8dd, 0 22px 40px -18px rgba(20,25,30,.28); transform: rotate(-1.4deg); font-family: Georgia, 'Times New Roman', serif; color: #222; }
.n-title { font: 700 15px/1.25 Georgia, serif; text-transform: uppercase; text-align: center; letter-spacing: .02em; margin: 0 0 16px; }
.n-line { font-size: 13.5px; margin: 0 0 6px; }
.n-body { margin: 12px 0; display: grid; gap: 7px; }
.n-body i { display: block; height: 6px; border-radius: 3px; background: #e9e6de; }
.n-body i.short { width: 62%; }
.n-date { display: inline-block; margin: 4px 0 2px; padding: 4px 10px; background: var(--brand-tint); border: 1.5px dashed var(--brand); border-radius: 4px; font: 700 15px Georgia, serif; color: var(--brand-deep); }
.n-sig { width: 150px; height: 42px; display: block; margin-top: 12px; fill: none; stroke: #1d3a8a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.n-small { font-size: 11px; color: #777; border-top: 1px solid #bbb; width: 180px; padding-top: 3px; margin: 0; }
.tape { position: absolute; z-index: 2; width: 92px; height: 26px; background: rgba(240, 232, 200, .78); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tape.t1 { top: -10px; left: 22px; transform: rotate(-8deg); }
.tape.t2 { top: -8px; right: 26px; transform: rotate(6deg); }
.stamp { position: absolute; right: -10px; bottom: 40px; transform: rotate(-12deg); border: 3px solid var(--brand); color: var(--brand); border-radius: 10px; padding: 6px 14px 7px; text-align: center; background: rgba(255,255,255,.7); font-family: var(--display); line-height: 1.05; }
.stamp span { display: block; font-weight: 900; font-stretch: 75%; font-size: 30px; text-transform: uppercase; letter-spacing: .04em; }
.stamp b { font-size: 13px; font-weight: 700; }
.notice figcaption { margin: 22px 6px 0; color: var(--ink-3); font-size: 14px; line-height: 1.5; }

/* faq */
.faq { padding: 88px 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 80px; align-items: start; }
.qa-list details { border-top: 1.5px solid var(--line); }
.qa-list details:last-child { border-bottom: 1.5px solid var(--line); }
.qa-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 750 20px/1.3 var(--display); font-stretch: 92%; }
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 11px; height: 11px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.qa-list details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.qa-list p { margin: -6px 0 22px; color: var(--ink-2); max-width: 40em; }

/* closing band */
.close { background: var(--brand-deep); color: #fff; padding: 72px 0; }
.close-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.close h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 900; font-stretch: 74%; line-height: 1; max-width: 13em; }
.close-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.close-cta .btn-go { width: auto; margin: 0; }
.btn-line { display: inline-flex; align-items: center; font: 800 18px var(--display); font-stretch: 90%; color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 10px; padding: 15px 20px; text-decoration: none; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.foot { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 18px 30px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.foot-in img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.foot-in p { margin: 0; flex: 1; min-width: 260px; }
.foot-in nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-in nav a { color: var(--ink-2); }
.callbar { display: none; }

/* legal pages */
.legal-page .top { padding: 0; }
.legal { max-width: 760px; padding: 50px 0 80px; }
.legal h1 { font-size: 46px; font-weight: 900; font-stretch: 78%; line-height: 1; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 32px 0 8px; }
.legal .meta { color: var(--ink-3); }
.legal li { margin-bottom: 6px; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .how-in { grid-template-columns: 1fr; }
  .notice { position: relative; top: 0; max-width: 420px; margin: 30px auto 0; }
  .faq-in { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { width: calc(100% - 32px); }
  .top-call span { display: none; }
  .top-call { padding: 10px; }
  .brand img { height: 34px; max-width: 200px; }
  .hero { padding: 16px 0 70px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .lede { font-size: 17.5px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .form-card { padding: 24px 18px 20px; margin: 0 -4px; }
  .f-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 46px 1fr; column-gap: 12px; }
  .steps li::before { font-size: 42px; }
  .stamp { right: -4px; }
  .close-cta, .close-cta a { width: 100%; justify-content: center; }
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; text-align: center; padding: 15px 16px calc(15px + env(safe-area-inset-bottom)); background: var(--accent); color: var(--accent-ink); font: 850 18px var(--display); font-stretch: 90%; text-decoration: none; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .callbar.hide { display: none; }
}

/* Eviction Defender: header language switch and kicker */
.top-right { display: flex; align-items: center; gap: 10px; }
.lang { font: 700 15px var(--text); color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.lang:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.kicker { display: inline-block; margin: 0; font: 800 14px var(--text); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* one question at a time */
.steps-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.steps-top .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.steps-top .bar i { display: block; height: 100%; width: 8%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.qs { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.qs.on { display: block; animation: qin .25s ease-out; }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qs legend { padding: 0; font: 850 26px/1.15 var(--display); font-stretch: 88%; color: var(--ink); outline: none; }
.hint { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.pick { font: 800 20px var(--display); font-stretch: 92%; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 18px 16px; cursor: pointer; transition: border-color .12s, background .12s, transform .12s; }
.pick:hover { border-color: var(--accent); background: var(--brand-tint); }
.pick:active { transform: scale(.99); }
.pick.sel { border-color: var(--accent); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.pick.opt { text-align: left; font: 650 17px/1.35 var(--text); padding: 15px 16px; }
.qs .f { margin-top: 18px; }
.qs .f select { font-size: 18px; padding: 14px 12px; }
.court-date { margin-top: 6px; }
.back { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-2); font: 600 15px var(--text); text-decoration: underline; cursor: pointer; padding: 6px; }

/* not a fit */
.dq { outline: none; }
.dq h2 { font-size: 26px; margin-bottom: 10px; }
.dq p { color: var(--ink-2); margin: 0 0 12px; }
.dq h3 { font-size: 18px; margin: 18px 0 8px; }
.dq .small { font-size: 14px; }
.help-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.help-list li { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; line-height: 1.4; }
.help-list b { display: block; }
.help-list a { color: var(--brand); font-weight: 700; }

/* features */
.get { background: var(--mist); padding: 88px 0; }
.sec-sub { color: var(--ink-2); font-size: 18px; max-width: 42em; margin: 16px 0 0; }
.cards { margin-top: 38px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 14px; padding: 22px 20px 20px; border: 1px solid var(--line); }
.card b { display: block; font: 800 20px/1.2 var(--display); font-stretch: 90%; color: var(--brand); margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.n-kind { font: 700 11px Georgia, serif; text-transform: uppercase; letter-spacing: .14em; text-align: center; color: #9a3412; margin: 0 0 4px; }
.how .stamp { border-color: #15803d; color: #15803d; }

/* urgency band */
.urgent { background: var(--danger); color: #fff; padding: 56px 0; }
.urgent-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) auto; gap: 20px 40px; align-items: center; }
.urgent h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; font-stretch: 76%; line-height: 1; }
.urgent p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.93); }
.urgent .btn-go { width: auto; margin: 0; background: #fff; color: var(--danger); white-space: nowrap; }

/* thank-you page */
body:has(.ty:not([hidden])) .hero, body:has(.ty:not([hidden])) .get { display: none; }
.ty { background: var(--brand); color: #fff; padding: 36px 0 70px; outline: none; }
.ty-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px 56px; align-items: center; }
.ty-copy h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 900; font-stretch: 74%; line-height: 1; margin-top: 12px; text-wrap: balance; }
.ty-copy .kicker { background: #16a34a; }
.ty-phone { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; background: #fff; color: var(--ink); border-radius: 14px; padding: 18px 20px; font-size: 17px; line-height: 1.5; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); animation: ring 1.2s ease-in-out 2.6s 2; }
.ty-phone svg { width: 34px; height: 34px; flex: none; fill: #16a34a; }
.ty-phone b { font-size: 19px; }
.ty-phone a { color: var(--brand); font-weight: 800; white-space: nowrap; }
@keyframes ring { 0%, 100% { transform: none; } 20%, 60% { transform: rotate(-1.2deg); } 40%, 80% { transform: rotate(1.2deg); } }
.ty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.ty-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 22px 18px; }
.ty-card h2 { font-size: 22px; font-weight: 850; font-stretch: 90%; margin-bottom: 10px; }
.ty-card p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.ty-card.hot { background: var(--danger-tint); border: 2px solid var(--danger); }
.ty-card.hot h2 { color: var(--danger); }
.ty-card.hot p { color: #5c1013; }
.ty-price { font: 850 22px/1.25 var(--display) !important; font-stretch: 90%; color: var(--brand) !important; }
.ty-plan { background: var(--brand-tint); border-radius: 10px; padding: 10px 12px; }
.ty-state { border-top: 1px solid rgba(192,38,45,.25); padding-top: 10px; }
.ty-list { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.ty-list li { margin-bottom: 6px; }
.ty-fine { margin: 26px 0 0; font-size: 13.5px; color: rgba(255,255,255,.72); }

/* the eviction notice, ripped to pieces */
.rip-stage { position: relative; width: 260px; height: 320px; margin: 0 auto; }
.rip-doc, .piece .rip-doc { position: absolute; inset: 0; background: #fffefb; border-radius: 3px; padding: 26px 22px; font-family: Georgia, 'Times New Roman', serif; color: #222; box-shadow: 0 20px 40px -16px rgba(0,0,0,.55); }
.rip-doc .n-title { font-size: 17px; color: #b91c1c; }
.rip-doc .n-date { background: #fde8e8; border-color: #b91c1c; color: #7f1d1d; }
.n-stamp { position: absolute; right: 14px; bottom: 22px; transform: rotate(-14deg); border: 3px solid #b91c1c; color: #b91c1c; border-radius: 6px; padding: 3px 10px; font: 900 18px var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .05em; }
.rip-stage > .rip-doc { animation: shake .55s ease-in-out .35s 1 both; }
.rip-stage.go > .rip-doc { animation: shake .55s ease-in-out .35s 1 both, vanish 0s linear .95s forwards; }
.piece { position: absolute; inset: 0; opacity: 0; will-change: transform; }
.rip-stage.go .piece { animation: tear 1.6s cubic-bezier(.2,.7,.4,1) .95s forwards; }
.piece.p1 { clip-path: polygon(0 0, 50% 0, 46% 8%, 53% 16%, 47% 25%, 54% 33%, 48% 42%, 52% 50%, 42% 48%, 33% 54%, 25% 47%, 16% 53%, 8% 46%, 0 50%); --tx: -70px; --ty: -40px; --rot: -28deg; }
.piece.p2 { clip-path: polygon(50% 0, 100% 0, 100% 52%, 92% 48%, 84% 54%, 76% 47%, 68% 53%, 60% 46%, 52% 50%, 48% 42%, 54% 33%, 47% 25%, 53% 16%, 46% 8%); --tx: 76px; --ty: -52px; --rot: 32deg; }
.piece.p3 { clip-path: polygon(0 50%, 8% 46%, 16% 53%, 25% 47%, 33% 54%, 42% 48%, 52% 50%, 47% 58%, 54% 66%, 48% 75%, 53% 83%, 46% 92%, 50% 100%, 0 100%); --tx: -84px; --ty: 70px; --rot: -40deg; }
.piece.p4 { clip-path: polygon(52% 50%, 60% 46%, 68% 53%, 76% 47%, 84% 54%, 92% 48%, 100% 52%, 100% 100%, 50% 100%, 46% 92%, 53% 83%, 48% 75%, 54% 66%, 47% 58%); --tx: 80px; --ty: 84px; --rot: 36deg; }
.bit { position: absolute; left: 50%; top: 45%; width: 14px; height: 10px; background: #fffefb; border: 1px solid #e7e3d8; opacity: 0; }
.bit:nth-child(3n) { width: 9px; height: 13px; }
.bit:nth-child(4n) { background: #fde8e8; }
.rip-stage.go .bit { animation: bit 1.3s cubic-bezier(.15,.7,.4,1) calc(1s + var(--d)) forwards; }
.rip-win { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; opacity: 0; transform: scale(.4); }
.rip-win svg { width: 100%; height: 100%; }
.rip-win path:first-child { fill: #16a34a; }
.rip-win .ck { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.rip-stage.go .rip-win { animation: win .5s cubic-bezier(.3,1.6,.5,1) 1.9s forwards; }
.rip-stage.go .rip-win .ck { animation: draw .45s ease-out 2.25s forwards; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: rotate(-2deg) scale(1.02); } 40% { transform: rotate(2deg) scale(1.03); } 60% { transform: rotate(-2.5deg) scale(1.04); } 80% { transform: rotate(2.5deg) scale(1.05); } }
@keyframes vanish { to { visibility: hidden; } }
@keyframes tear {
  0% { opacity: 1; transform: none; }
  25% { opacity: 1; transform: translate(calc(var(--tx) * .45), calc(var(--ty) * .45)) rotate(calc(var(--rot) * .4)); }
  100% { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 260px)) rotate(calc(var(--rot) * 2.4)); }
}
@keyframes bit { 0% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 140px)) rotate(var(--r)); } }
@keyframes win { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rip-stage > .rip-doc, .piece, .bit { display: none; }
  .rip-win { opacity: 1; transform: none; }
  .rip-win .ck { stroke-dashoffset: 0; }
}

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .urgent-in { grid-template-columns: 1fr; }
  .ty-in { grid-template-columns: 1fr; text-align: center; }
  .ty-phone { text-align: left; }
  .ty-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lang { padding: 9px 11px; font-size: 14px; }
  .cards { grid-template-columns: 1fr; }
  .qs legend { font-size: 23px; }
  .pick { font-size: 19px; padding: 17px 12px; }
  .rip-stage { width: 210px; height: 260px; }
  .rip-doc, .piece .rip-doc { padding: 20px 16px; }
  .urgent .btn-go { width: 100%; }
  .ty { padding-top: 24px; }
}
@media (max-width: 620px) {
  .hero .facts { display: none; }
  .lede { margin-top: 16px; }
  .hero-in { gap: 24px; }
}

/* feature video (main site only) */
.tour { padding: 80px 0 20px; }
.tour-in { text-align: center; }
.tour h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 850; font-stretch: 80%; line-height: 1; }
.tour .sec-sub { margin: 14px auto 0; }
.tour-video { display: block; width: 100%; max-width: 1040px; margin: 34px auto 0; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--brand); box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); }
@media (max-width: 620px) { .tour { padding: 56px 0 10px; } .tour-video { border-radius: 10px; margin-top: 22px; } }
