/* tvdrop.org - one stylesheet. Phone first; TVDrop's own colours (night + ember). */
@font-face { font-family: 'Barlow'; src: url('/Barlow-Medium.ttf') format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/Barlow-SemiBold.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/BarlowCondensed-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #080c0f; color: #f3f6f8; font: 17px/1.55 'Barlow', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
a { color: #ff9a5a; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2 { font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif; font-weight: 700; line-height: 1.08; margin: 0 0 12px; }
h1 { font-size: 40px; }
h2 { font-size: 28px; margin-top: 8px; }
.muted { color: #9aa7b0; }
.small { font-size: 14px; }

/* Header */
.top { border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(8,12,15,.92); position: sticky; top: 0; z-index: 5; }
.topin { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 700; font-size: 26px; color: #f3f6f8; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; margin-right: 10px; }
.brand span { color: #fb623f; }
.top nav { display: flex; align-items: center; }
.navlink { color: #f3f6f8; text-decoration: none; margin-right: 14px; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: #fb623f; color: #fff; font: 600 17px 'Barlow', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: #ff7656; }
.btn:focus-visible, input:focus-visible { outline: 3px solid #ffd2c4; outline-offset: 2px; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #f3f6f8; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-wide { width: 100%; margin-top: 8px; }
.btn-danger { background: #d63c3c; }
.row { display: flex; flex-wrap: wrap; margin: 20px -6px 0; }
.row .btn { margin: 6px; }

/* Home */
.hero { display: flex; flex-wrap: wrap; align-items: center; padding: 40px 0 24px; }
.hero-text { flex: 1 1 380px; padding-right: 24px; }
.hero-shot { flex: 1 1 420px; margin-top: 24px; }
.hero-shot img, .split img { border-radius: 16px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.kicker { color: #fb623f; font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 700; letter-spacing: 3px; margin: 0 0 6px; }
.hero h1 { font-size: 52px; }
.lead { font-size: 20px; color: #c9d2d8; margin: 0; }
.block { padding: 32px 0; border-top: 1px solid rgba(255,255,255,.06); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: flex-start; margin: 0 0 16px; }
.steps .n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #fb623f; color: #fff; text-align: center; line-height: 40px; font: 700 22px 'Barlow Condensed', Arial, sans-serif; margin-right: 14px; }
.cards { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.card { flex: 1 1 220px; margin: 8px; padding: 18px; border-radius: 16px; background: #11181d; border: 1px solid rgba(255,255,255,.08); }
.card p { margin: 6px 0 0; color: #9aa7b0; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 34px; margin: 0 0 10px; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: rgba(60,207,145,.16); color: #3ccf91; text-align: center; line-height: 24px; font-size: 14px; font-weight: 700; }
.split { display: flex; flex-wrap: wrap; align-items: center; }
.split > div { flex: 1 1 280px; padding-right: 24px; }
.split > img { flex: 1 1 380px; width: 100%; margin-top: 16px; }

/* Forms and panels */
.panel { max-width: 460px; margin: 40px auto; padding: 28px 22px; border-radius: 20px; background: #11181d; border: 1px solid rgba(255,255,255,.08); }
.panel.wide { max-width: 760px; }
.form { margin-top: 16px; }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; font-size: 14px; color: #9aa7b0; margin-bottom: 6px; }
.field input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: #0b1115; color: #f3f6f8; font: 17px 'Barlow', Arial, sans-serif; }
.check { display: flex; align-items: flex-start; font-size: 15px; color: #c9d2d8; margin: 4px 0 12px; }
.check input { margin: 4px 10px 0 0; width: 18px; height: 18px; }
.cf-turnstile { margin: 4px 0 12px; }
.flash { margin: 20px auto 0; max-width: 760px; padding: 14px 18px; border-radius: 12px; background: rgba(60,207,145,.12); border: 1px solid rgba(60,207,145,.35); }
.flash.bad { background: rgba(255,90,70,.1); border-color: rgba(255,138,122,.45); }
.inline { display: inline-block; margin: 0 8px 8px 0; }
.tvs { list-style: none; padding: 0; margin: 0 0 8px; }
.tv { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.tv span { display: block; }
.prose h2 { font-size: 24px; margin-top: 24px; }
.prose p, .prose li { color: #c9d2d8; }

/* Footer */
.foot { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; color: #5f6b73; }
.foot a { margin-right: 16px; color: #9aa7b0; }
.foot span { display: block; margin-top: 10px; }

@media (max-width: 560px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 42px; }
  .navlink { margin-right: 8px; }
  .hero-text { padding-right: 0; }
}

.tv-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tv-actions .btn { margin: 4px 0 4px 8px; }
.tv-actions .inline { margin: 0; }
.recent { list-style: none; padding: 0; margin: 0; }
.recent li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.recent li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 12px; }
