/* Alfabet Print — styled to match the Need Flyers family of sites */
:root {
  --bg: #f4f5f6; --soft: #eaecee; --card: #ffffff;
  --ink: #101315; --ink-2: #4c5359; --muted: #7d848a; --line: #dde1e4;
  --night: #0c1013; --night-2: #1b2125;
  --magenta: #d4109f; --plum: #1f5fd0; --cyan: #24c3d0; --orange: #ff8a3d; --yellow: #ffc83d; --green: #18a866; --red: #e0283c;
  --grad: linear-gradient(100deg, #e8353b 0%, #d4109f 24%, #7a28c4 50%, #1f5fd0 74%, #2fc7d2 100%);
  --body: "Barlow", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --mono: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wrap: 76rem; --r: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 26px -14px rgba(0,0,0,.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--magenta); }
h1, h2, h3, h4 { line-height: 1.02; margin: 0 0 .5em; letter-spacing: .005em; font-weight: 800; font-family: var(--display); text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Top strip */
.strip { background: var(--night); color: #e6e6e9; font-size: .77rem; font-weight: 600; }
.strip .wrap { display: flex; gap: 1.6rem; justify-content: center; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
.strip { background: #000; } .strip span::before { content: "•"; color: var(--cyan); margin-right: .45rem; }
.strip span:first-child::before { content: "★"; color: #ff5fc8; }
@media (max-width: 700px) { .strip span:nth-child(n+3) { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(16,20,23,.94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 76px; }
.site-header .logo { flex-shrink: 0; }
.site-header .logo-img { height: 56px; width: auto; max-width: none; }
.logo-img { height: 60px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.site-footer .logo-img { height: 92px; margin: 0 0 1rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.logo-mark { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.logo-mark i { border-radius: 50%; }
.logo-mark i:nth-child(1) { background: #e0109f; } .logo-mark i:nth-child(2) { background: #00b4d0; }
.logo-mark i:nth-child(3) { background: #00c2d8; } .logo-mark i:nth-child(4) { background: #0057c0; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.nav a { color: #e9edf0; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; padding: .45rem .55rem; border-radius: 4px; white-space: nowrap; }
.nav a:hover { color: #ff5fc8; }
.nav a[aria-current="page"] { color: #ff5fc8; box-shadow: inset 0 -2px 0 #ff5fc8; border-radius: 0; }
.nav .nav-new { position: relative; }
.nav .nav-new::after { content: "NEW"; font: 600 .55rem/1 var(--mono); background: var(--grad); color: #fff; padding: 2px 4px; border-radius: 4px; position: absolute; top: 0; right: -6px; }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 1200px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); border-bottom-color: rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .5rem; font-size: 1rem; }
  .header-cta .btn-track { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1.02rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: .9rem 1.45rem; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 22px -8px rgba(212,16,159,.75); background-size: 140% 100%; background-position: 0 0; transition: transform .15s, background-position .3s; }
.btn-primary:hover { background-position: 100% 0; }
.btn-dark { background: var(--night-2); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: .6rem .95rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; color: var(--red); border-color: #f3c5ca; }
.btn-green { background: var(--green); color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, rgba(12,16,19,.94) 0%, rgba(12,16,19,.7) 40%, rgba(12,16,19,.12) 85%, rgba(12,16,19,0) 100%), url(/assets/img/hero-splash.jpg) center bottom / cover no-repeat, var(--night); color: #fff; padding: 4rem 0 11rem; text-align: center; position: relative; }
.hero h1, .hero p.lead { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero .grad-text { text-shadow: none; filter: drop-shadow(0 3px 14px rgba(0,0,0,.65)); }
.hero .hero-logo { display: block; width: min(420px, 78vw); height: auto; margin: 0 auto 1.2rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.lead { color: #e2e6ea; max-width: 42rem; margin: 0 auto 2rem; font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .95rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #d4d4d8; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); padding: .5rem .9rem; border-radius: 3px; margin-bottom: 1.5rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(36,195,208,.25); }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero.small { padding: 4rem 0 5.5rem; background: linear-gradient(180deg, rgba(12,16,19,.97) 0%, rgba(12,16,19,.85) 50%, rgba(12,16,19,.45) 100%), url(/assets/img/hero-splash.jpg) center 85% / cover no-repeat, var(--night); }
.hero.small h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
/* paint drips along the bottom of dark bands */
.drips { position: relative; }
.hero { overflow: visible; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 60px; background: var(--grad); -webkit-mask: url(/assets/img/drips.svg) top left / 900px 60px repeat-x; mask: url(/assets/img/drips.svg) top left / 900px 60px repeat-x; pointer-events: none; z-index: 1; }

/* Stats band */
.stats { margin-top: -3.6rem; position: relative; z-index: 2; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stats .grid > div { padding: 1.5rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stats .grid > div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1.1; font-weight: 800; letter-spacing: .01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font: 600 .85rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .stats .grid { grid-template-columns: 1fr 1fr; } .stats .grid > div:nth-child(2) { border-right: 0; } .stats .grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sections */
.section { padding: 5.5rem 0; }
.section.soft { background: var(--soft); }
.section.night { background: linear-gradient(90deg, rgba(12,16,19,.97) 0%, rgba(12,16,19,.9) 45%, rgba(12,16,19,.55) 100%), url(/assets/img/hero-splash.jpg) center 70% / cover no-repeat, var(--night); color: #fff; }
.section.night h2 { color: #fff; }
.section.night p { color: #c4c4c8; }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker, .section-head .kicker, .prose .kicker { font: 700 .98rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); margin-bottom: .8rem; }
.section.night .kicker { color: var(--cyan); }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; background: #e6e6ea; overflow: hidden; }
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: .85rem; bottom: .85rem; font: 700 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--grad); color: #fff; padding: .4rem .55rem; border-radius: 5px; }
.card-body { padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card-body h3 { margin: 0 0 .25rem; }
.card-body p { color: var(--ink-2); font-size: .95rem; margin: 0 0 .5rem; }
.card-spec { margin-top: auto; font: 600 .9rem/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.card.feature { background: var(--night); color: #fff; justify-content: center; padding: 2rem; }
.card.feature p { color: #c4c4c8; }
.card.feature .card-spec { color: #ff5fc8; font-weight: 600; }
.card.pad { padding: 1.5rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 800 2rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .1em; color: var(--magenta); display: block; margin-bottom: 1rem; }
.steps .ico { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: var(--soft); margin-bottom: 1rem; color: var(--plum); }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Promo band (gang sheet) */
.promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 2rem; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center/contain no-repeat; }
.section.night .ticks li { color: #e3dfea; }

/* Info tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.tile .big { font-family: var(--display); font-size: 2.2rem; font-weight: 800; min-width: 4.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; line-height: 1.1; }
.tile h3 { margin-bottom: .3rem; }
.tile p { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* Areas chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 4px; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1rem !important; padding: .45rem .95rem; font-weight: 600; font-size: .9rem; }

/* CTA band */
.cta-band { background: var(--grad); border-radius: var(--r); padding: 3rem; color: #fff; background: linear-gradient(100deg, rgba(0,0,0,.15), rgba(0,0,0,0)), var(--grad); display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-light { background: #fff; color: var(--ink); }

/* Split / prose */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 1.4em; } .prose h3 { margin-top: 1.4em; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; font-weight: 700; color: var(--ink); background: #fafafa; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: .6rem; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--magenta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--ink-2); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label, .label { font-weight: 700; font-size: .88rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .row, .row.three { grid-template-columns: 1fr; } }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], input[type=search], input[type=url], select, textarea {
  font: inherit; font-size: .97rem; width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(0,87,192,.16); }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; }
.check-pill span { display: inline-block; border: 1px solid var(--line); border-radius: 4px; padding: .5rem .9rem; font-weight: 600; font-size: .88rem; cursor: pointer; background: #fff; user-select: none; }
.check-pill input:checked + span { background: var(--night); color: #fff; border-color: var(--night); box-shadow: inset 0 -3px 0 var(--magenta); }
.check-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,87,192,.3); }
.dropzone { border: 2px dashed #d0d0d6; border-radius: 6px; padding: 2rem 1rem; text-align: center; background: #fafafa; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.drag { border-color: var(--plum); background: #e4f7fb; }
.dropzone strong { display: block; margin-bottom: .25rem; }
.dropzone small { color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .4rem; }
.file-list li { display: flex; align-items: center; gap: .6rem; background: var(--soft); border-radius: 8px; padding: .5rem .75rem; font-size: .88rem; }
.file-list li .n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.progress { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; margin-top: .75rem; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.alert { padding: .9rem 1.1rem; border-radius: 5px; font-size: .93rem; margin-bottom: 1rem; }
.alert.error { background: #fdecef; color: #9b1c2b; border: 1px solid #f6c7ce; }
.alert.ok { background: #e8f8f0; color: #11663e; border: 1px solid #bfe9d3; }
.alert.info { background: #eaf7fb; color: #0a5a72; border: 1px solid #cfe9f2; }
.hp { position: absolute; left: -5000px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: .5rem; }
.size-grid label { display: flex; flex-direction: column; gap: .25rem; font: 600 .72rem/1 var(--mono); color: var(--muted); }
.size-grid input { padding: .55rem; text-align: center; }

/* Footer */
.site-footer { background: #07090b; color: #c4c4c8; font-size: .95rem; padding: 4rem 0 2rem; margin-top: 0; }
.site-footer a { color: #e6e6e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; font-family: var(--mono); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer table { border-collapse: collapse; margin-top: .75rem; }
.site-footer td { padding: .15rem 1rem .15rem 0; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .82rem; color: #85858c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Portal (customer job page) */
.badge { display: inline-flex; align-items: center; gap: .35rem; font: 700 .82rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 6px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge.pink { background: #fde7f1; color: #b0145c; } .badge.green { background: #e3f6ec; color: #11663e; } .badge.amber { background: #fff3dc; color: #8a5300; }
.badge.blue { background: #e3effc; color: #1f4fc4; } .badge.purple { background: #dff5f9; color: #00728a; } .badge.grey { background: #ececee; color: #55555c; } .badge.red { background: #fdecef; color: #9b1c2b; }
.stage-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin: 1.5rem 0 .5rem; }
.stage-bar div { text-align: center; font: 700 .85rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stage-bar div::before { content: ""; display: block; height: 7px; border-radius: 99px; background: var(--line); margin-bottom: .55rem; }
.stage-bar div.done::before { background: var(--grad); }
.stage-bar div.now { color: var(--ink); }
.stage-bar div.now::before { background: var(--grad); box-shadow: 0 0 0 3px rgba(160,30,192,.18); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.file-tile { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; }
.file-tile .thumb { aspect-ratio: 1; background: repeating-conic-gradient(#eeeef0 0% 25%, #fff 0% 50%) 50% / 16px 16px; display: grid; place-items: center; overflow: hidden; }
.file-tile .thumb img { width: 100%; height: 100%; object-fit: contain; }
.file-tile .thumb .ext { font: 800 1.15rem/1 var(--mono); color: var(--plum); background: #dff5f9; padding: .7rem .8rem; border-radius: 8px; text-transform: uppercase; }
.file-tile .meta { padding: .55rem .65rem; font-size: .78rem; }
.file-tile .meta .n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.file-tile .meta .s { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.1rem 2.75rem; }
.timeline .dot { position: absolute; left: 6px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: .6rem; }
.timeline li.status .dot { border-color: var(--plum); background: var(--plum); }
.timeline li.message .dot { border-color: var(--cyan); }
.timeline li.customer .dot { border-color: var(--magenta); }
.timeline li.proof .dot { border-color: var(--orange); background: var(--orange); }
.timeline li.approved .dot { border-color: var(--green); background: var(--green); }
.timeline li.internal { opacity: .85; }
.timeline li.internal .bubble { background: #fff8e6; border-color: #f4e2b0; }
.timeline .when { font-size: .75rem; color: var(--muted); }
.timeline .who { font-weight: 700; font-size: .88rem; }
.timeline .bubble { margin-top: .3rem; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: .6rem .8rem; font-size: .92rem; white-space: pre-wrap; word-break: break-word; }
.timeline li.customer .bubble { background: #fff0f7; border-color: #f8d3e5; }
.proof-card { border: 2px solid var(--orange); border-radius: var(--r); padding: 1.25rem; background: #fffaf5; }
.proof-card.approved { border-color: var(--green); background: #f3fbf7; }
.proof-card.changes { border-color: var(--line); background: #fff; }
.portal-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .93rem; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.lightbox { position: fixed; inset: 0; background: rgba(20,20,22,.88); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; background: repeating-conic-gradient(#ddd 0% 25%, #fff 0% 50%) 50% / 20px 20px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 1.3rem; cursor: pointer; }
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; padding: .8rem 1.2rem; border-radius: 5px; font-weight: 600; font-size: .9rem; z-index: 300; box-shadow: var(--shadow); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.spinner.dark { border-color: var(--line); border-top-color: var(--plum); }
@keyframes spin { to { transform: rotate(360deg); } }
.center-box { max-width: 30rem; margin: 0 auto; }
.proof-card h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .5rem; }
