/* counterperk.com v0.2.1 */
:root { --ink:#10213A; --ink-2:#3A4A61; --bg:#FFFFFF; --soft:#F5F6F8; --line:#D9DEE5; --accent:#C2410C; --accent-d:#9A3412; --ok:#1D4ED8; --warn:#B45309; --tint:#FFF4EC; --peach:#FDBA74; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Archivo, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); } a:hover { color: var(--accent-d); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
header.site { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
header.site .container { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.logo span.p { color: var(--accent); }
nav.main { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-weight: 600; }
nav.main a { color: var(--ink); text-decoration: none; }
.btn { display: inline-block; font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 14px 22px; font-size: 17px; cursor: pointer; text-decoration: none; text-align: center; }
.btn-accent { background: var(--accent); color: #fff !important; }
.btn-accent:hover { background: var(--accent-d); }
.btn-outline { border: 2px solid #5B6B85; color: #fff !important; background: transparent; }
.btn:disabled { opacity: .6; cursor: wait; }
section { padding: 72px 0; }
.dark { background: var(--ink); color: #fff; }
.soft { background: var(--soft); }
.tint { background: var(--tint); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow { color: var(--peach); }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; font-weight: 900; letter-spacing: -1.5px; margin: 14px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin: 0 0 12px; line-height: 1.1; }
h3 { font-size: 22px; margin: 0 0 6px; }
.lead { font-size: 20px; color: #D6DEEA; max-width: 560px; }
.muted { color: var(--ink-2); }
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero > div:first-child { flex: 999 1 520px; min-width: 0; }
.hero > div:last-child { flex: 1 1 300px; display: flex; justify-content: center; }
.phone-card { width: 300px; background: #fff; color: var(--ink); border-radius: 28px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.prize { border-radius: 18px; background: var(--tint); border: 2px dashed var(--accent); padding: 26px 14px; text-align: center; margin: 12px 0; }
.prize .big { font-size: 34px; font-weight: 900; line-height: 1.1; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.soft .card, .tint .card { border: 0; }
.stat .num { font-size: 46px; font-weight: 900; letter-spacing: -1px; }
.stat.darkcard { background: var(--ink); color: #fff; }
.stat.darkcard .muted { color: #D6DEEA; }
.slider { width: 100%; accent-color: var(--accent); height: 28px; }
.fine { font-size: 13px; color: var(--ink-2); }
.dark .fine { color: #B8C4D6; }
.price { font-size: 64px; font-weight: 900; letter-spacing: -2px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.check-list li::before { content: "✓ "; font-weight: 900; }
form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
label.f input, label.f select { font: inherit; font-weight: 400; font-size: 17px; padding: 13px 14px; border: 1.5px solid #9AA6B8; border-radius: 10px; background: #fff; color: var(--ink); }
label.box { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
label.box input { width: 24px; height: 24px; flex: 0 0 auto; accent-color: var(--ink); margin-top: 2px; }
.summary { border: 2px solid var(--ink); border-radius: 12px; background: #fff; padding: 14px 16px; }
.notice { border: 3px dashed var(--warn); border-radius: 12px; padding: 14px; font-weight: 700; }
.success { border: 3px solid var(--ok); border-radius: 12px; padding: 16px; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
footer.site { background: var(--ink); color: #B8C4D6; padding: 32px 0; font-size: 14px; }
footer.site a { color: #B8C4D6; }
footer.site .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.chip { font-size: 12px; border: 1px solid #5B6B85; border-radius: 99px; padding: 2px 8px; }
/* "How it works" animations: each step plays in order. The base style is the END state; .run plays it. */
.step { border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: border-color .2s; }
.step.on { border: 3px solid var(--accent); padding: 18px; }
.anim { position: relative; height: 210px; border-radius: 14px; background: var(--soft); overflow: hidden; }
.bar { height: 6px; border-radius: 9px; background: #E5E9EF; overflow: hidden; margin: 10px 0; }
.bar i { display: block; height: 6px; width: 0; background: var(--accent); }
.run .bar i, .bar.run i { animation: bar 4.5s linear forwards; }
@keyframes bar { to { width: 100%; } }
.a-qr { position: absolute; left: calc(50% + 34px); top: 40px; width: 100px; height: 100px; border: 6px solid var(--ink); border-radius: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0/18px 18px; }
.a-sign { position: absolute; left: calc(50% + 14px); top: 148px; width: 140px; text-align: center; font-size: 12px; font-weight: 800; }
.a-phone { position: absolute; left: calc(50% - 110px); top: 24px; width: 96px; height: 160px; border-radius: 16px; background: var(--ink); padding: 8px; }
.a-screen { position: relative; width: 100%; height: 100%; border-radius: 10px; background: #fff; overflow: hidden; }
.a-line { position: absolute; left: 6px; right: 6px; top: 92px; height: 3px; background: var(--accent); opacity: 0; }
.a-open { position: absolute; left: 4px; right: 4px; top: 26px; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.5; }
.run .a-phone { animation: phoneIn 4.5s ease-in-out forwards; }
.run .a-line { animation: scan 4.5s linear forwards; }
.run .a-open { animation: openIn 4.5s ease-in-out forwards; }
@keyframes phoneIn { 0%, 8% { transform: translateX(-130px) rotate(-8deg); } 35%, 100% { transform: none; } }
@keyframes scan { 0%, 35% { top: 18px; opacity: 0; } 40% { opacity: 1; } 60% { top: 92px; opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes openIn { 0%, 62% { opacity: 0; } 72%, 100% { opacity: 1; } }
.a-card { position: absolute; left: 50%; top: 50%; width: 220px; height: 124px; margin: -62px 0 0 -110px; border-radius: 14px; background: var(--tint); border: 2px dashed var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.a-cover { position: absolute; left: 50%; top: 50%; width: 220px; height: 124px; margin: -62px 0 0 -110px; border-radius: 14px; background: repeating-linear-gradient(135deg, #9AA6B8 0 10px, #B8C4D6 10px 20px); display: flex; align-items: center; justify-content: center; font-weight: 800; clip-path: inset(0 0 0 100%); }
.a-finger { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 99px; background: var(--ink); border: 3px solid #fff; opacity: 0; }
.run .a-cover { animation: wipe 4.5s ease-in-out forwards; }
.run .a-finger { animation: finger 4.5s ease-in-out forwards; }
@keyframes wipe { 0%, 12% { clip-path: inset(0 0 0 0); } 70%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes finger { 0%,10% { opacity: 1; transform: translate(-80px,10px); } 25% { transform: translate(80px,-10px); } 38% { transform: translate(-70px,20px); } 52% { transform: translate(80px,0); } 68% { opacity: 1; transform: translate(70px,30px); } 78%,100% { opacity: 0; } }
.a-live { position: absolute; left: calc(50% - 140px); top: 16px; width: 116px; height: 178px; border-radius: 16px; background: var(--ink); padding: 7px; }
.a-live-in { position: relative; width: 100%; height: 100%; border-radius: 10px; background: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 6px; font-size: 10px; font-weight: 800; text-align: center; }
.a-stripe { width: 84%; height: 6px; border-radius: 9px; background-image: repeating-linear-gradient(45deg, var(--ink) 0 10px, var(--accent) 10px 20px); background-size: 40px 40px; animation: stripe .8s linear infinite; }
@keyframes stripe { to { background-position: 40px 0; } }
.a-valid { color: #fff; background: var(--ok); border-radius: 6px; padding: 3px 8px; font-size: 12px; }
.a-reg { position: absolute; left: calc(50% + 6px); top: 30px; width: 140px; border-radius: 12px; background: #3A4A61; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.a-reg b { grid-column: 1/-1; font-size: 10px; color: #fff; text-align: center; letter-spacing: 1px; }
.a-reg i { height: 20px; border-radius: 5px; background: #D9DEE5; }
.a-key { grid-column: 1/-1; padding: 8px 0; border-radius: 7px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; text-align: center; box-shadow: 0 4px 0 #7C2D12; }
.a-done { position: absolute; left: calc(50% + 120px); top: 150px; width: 36px; height: 36px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.run .a-key { animation: press 4.5s ease-in-out forwards; }
.run .a-done { animation: doneIn 4.5s ease-in-out forwards; }
@keyframes press { 0%,58% { transform: none; } 64% { transform: translateY(4px); box-shadow: none; } 70%,100% { transform: none; } }
@keyframes doneIn { 0%,70% { opacity: 0; transform: scale(.4); } 80%,100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anim *, .bar i { animation: none !important; } .bar i { width: 100%; } }
.legal-page h1 { font-size: 40px; }
.legal-page h2 { font-size: 24px; margin-top: 34px; }
.legal-page h3 { font-size: 18px; margin-top: 20px; }
.legal-page p, .legal-page li { font-size: 16px; }
.legal-page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-page td, .legal-page th { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.draftbar { background: var(--tint); border: 2px solid var(--warn); border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.toc { columns: 2 260px; font-size: 15px; }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
