/* ==========================================================
   TRAFWISE — Traffic control operations platform
   Palette: asphalt, safety yellow, hi-vis orange, reflective white
   ========================================================== */
:root {
  --asphalt: #15171b;
  --asphalt-2: #1d2026;
  --asphalt-3: #272b33;
  --concrete: #eef0f2;
  --concrete-2: #dde1e6;
  --steel: #6b7280;
  --ink: #16181d;
  --white: #ffffff;
  --yellow: #ffc20e;
  --yellow-2: #ffd54f;
  --orange: #ff6a00;
  --orange-2: #ff8a33;
  --lime: #c6ff00;
  --red: #e5322d;
  --green: #22c55e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 17, 21, .12);
  --shadow-lg: 0 30px 60px rgba(15, 17, 21, .25);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: .2px; }
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.6rem; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--orange); border-radius: 2px; }
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }
.hl { color: var(--yellow); }
.hl-o { color: var(--orange); }

/* Hazard stripes */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--asphalt) 18px 36px);
}
.hazard.thin { height: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--yellow); color: var(--asphalt); box-shadow: 0 8px 0 -2px #c99400; }
.btn-primary:hover { background: var(--yellow-2); box-shadow: 0 10px 0 -2px #c99400; }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 8px 0 -2px #b84b00; }
.btn-orange:hover { background: var(--orange-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--asphalt); color: var(--white); }
.btn-dark:hover { background: var(--asphalt-3); }
.btn-outline { border-color: var(--asphalt); color: var(--asphalt); }
.btn-outline:hover { background: var(--asphalt); color: var(--white); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ================= Announcement ================= */
.announce {
  background: var(--asphalt); color: #d9dde3; font-size: .86rem; text-align: center;
  padding: 9px 16px;
}
.announce a { color: var(--yellow); font-weight: 700; margin-left: 6px; }
.announce .pill {
  background: var(--orange); color: var(--white); font-weight: 800; font-size: .7rem;
  padding: 3px 8px; border-radius: 99px; margin-right: 8px; letter-spacing: .08em;
}

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 23, 27, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.logo-text span { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #cfd3da; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .login { color: var(--white); font-weight: 600; padding: 10px 14px; }
.nav-cta .login:hover { color: var(--yellow); }
.menu-toggle {
  display: none; background: transparent; border: 0; color: var(--white); padding: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; }
.mobile-menu {
  display: none; background: var(--asphalt); border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 20px 22px;
}
.mobile-menu a { display: block; color: #e5e7eb; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu .btn { margin-top: 14px; width: 100%; }
.mobile-menu.open { display: block; }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--asphalt);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("https://images.unsplash.com/photo-1762247019055-f0170f1c7245?w=2000&q=70&auto=format&fit=crop") center/cover no-repeat;
  filter: grayscale(.35) contrast(1.05);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(21,23,27,.97) 0%, rgba(21,23,27,.9) 42%, rgba(21,23,27,.55) 70%, rgba(21,23,27,.35) 100%),
    radial-gradient(circle at 80% 20%, rgba(255,106,0,.25), transparent 50%);
}
/* road lane markings at bottom of hero */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 38px; height: 6px; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 60px, transparent 60px 110px);
  opacity: .35;
  animation: lane 3s linear infinite;
}
@keyframes lane { to { background-position: 110px 0; } }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 96px 0 120px;
}
.hero h1 { margin: 18px 0 22px; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.hero-lead { font-size: 1.18rem; color: #cfd3da; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: #aeb4bd; font-size: .9rem; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--asphalt); margin-left: -10px;
}
.hero-trust .avatars img:first-child { margin-left: 0; }
.stars { color: var(--yellow); letter-spacing: 2px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: #d7dbe1; font-size: .92rem; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--yellow); }

.hero-visual { position: relative; min-height: 540px; }
.hero-photo {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { right: 0; top: 0; width: 78%; height: 440px; }
.hero-photo.small { left: 0; bottom: 0; width: 46%; height: 250px; border-color: var(--yellow); }
.hero-photo .tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(21,23,27,.85); color: var(--white);
  font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.float-card {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 16px 18px; z-index: 2;
  animation: bob 5s ease-in-out infinite;
}
.float-card.alloc { right: -10px; bottom: 36px; width: 290px; }
.float-card.fstat { left: 18%; top: 22px; animation-delay: -2s; display: flex; gap: 12px; align-items: center; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float-card h5 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); display: flex; justify-content: space-between; }
.alloc-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--concrete-2); font-size: .86rem; }
.alloc-row:first-of-type { border-top: 0; }
.alloc-row img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.alloc-row .who { font-weight: 700; line-height: 1.2; }
.alloc-row .who small { display: block; font-weight: 500; color: var(--steel); font-size: .74rem; }
.badge { margin-left: auto; font-size: .7rem; font-weight: 800; padding: 4px 8px; border-radius: 6px; letter-spacing: .04em; }
.badge.ok { background: #dcfce7; color: #166534; }
.badge.wait { background: #fff3cd; color: #8a5a00; }
.badge.go { background: #ffe4d1; color: #b84b00; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; }
.stat-icon svg { width: 24px; height: 24px; color: var(--asphalt); }
.float-card.fstat strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; display: block; }
.float-card.fstat span { font-size: .78rem; color: var(--steel); }

/* ================= Marquee (regions) ================= */
.marquee { background: var(--yellow); color: var(--asphalt); overflow: hidden; border-block: 3px solid var(--asphalt); }
.marquee-track { display: flex; gap: 48px; padding: 16px 0; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "◆"; font-size: .9rem; color: var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ================= Sections ================= */
section { position: relative; }
.section { padding: 110px 0; }
.section-dark { background: var(--asphalt); color: var(--white); }
.section-concrete { background: var(--concrete); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 14px 0 18px; }
.section-head p { color: var(--steel); font-size: 1.1rem; }
.section-dark .section-head p { color: #aeb4bd; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--asphalt-2); border-radius: var(--radius-lg); overflow: hidden; margin-top: -60px; position: relative; z-index: 3; box-shadow: var(--shadow-lg); }
.stat { padding: 34px 28px; color: var(--white); border-right: 1px solid rgba(255,255,255,.07); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--yellow); }
.stat .num small { font-size: 1.8rem; }
.stat p { color: #aeb4bd; margin-top: 8px; font-size: .95rem; }

/* Problem vs solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pain, .gain { border-radius: var(--radius-lg); padding: 38px; }
.pain { background: var(--white); border: 2px dashed #cfd4da; }
.gain { background: var(--asphalt); color: var(--white); position: relative; overflow: hidden; }
.gain::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--asphalt) 12px 24px); }
.pain h3, .gain h3 { margin-bottom: 20px; font-size: 1.9rem; text-transform: uppercase; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.pain .list svg { color: var(--red); }
.gain .list svg { color: var(--yellow); }
.pain .list li { color: #4b5563; }

/* Day timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 30px, transparent 30px 50px);
}
.t-step { position: relative; }
.t-time {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--asphalt); font-family: var(--display); font-weight: 800;
  font-size: 1.35rem; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; box-shadow: 0 6px 0 -1px #c99400;
}
.t-card { background: var(--asphalt-2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06); height: calc(100% - 78px); transition: transform .25s, border-color .25s; }
.t-card:hover { transform: translateY(-6px); border-color: var(--yellow); }
.t-card img { height: 150px; width: 100%; object-fit: cover; }
.t-card div { padding: 18px; }
.t-card h4 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 8px; }
.t-card p { color: #aeb4bd; font-size: .92rem; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--concrete-2);
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 0; background: var(--orange); transition: width .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { width: 100%; }
.f-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--asphalt); color: var(--yellow); margin-bottom: 20px; }
.f-icon svg { width: 28px; height: 28px; }
.feature:nth-child(3n+2) .f-icon { background: var(--yellow); color: var(--asphalt); }
.feature:nth-child(3n) .f-icon { background: var(--orange); color: var(--white); }
.feature h3 { font-size: 1.45rem; text-transform: uppercase; margin-bottom: 10px; }
.feature p { color: var(--steel); font-size: .95rem; }
.feature a { display: inline-flex; margin-top: 16px; font-weight: 700; color: var(--orange); font-size: .9rem; gap: 6px; }

/* Product tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab {
  background: var(--asphalt-2); color: #cfd3da; border: 1px solid rgba(255,255,255,.1);
  padding: 12px 20px; border-radius: 99px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center;
}
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--yellow); color: var(--asphalt); border-color: var(--yellow); }
.app-frame {
  background: #0f1114; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px rgba(0,0,0,.5);
  overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #1a1d22; border-bottom: 1px solid rgba(255,255,255,.06); }
.app-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.app-bar i:nth-child(2) { background: #febc2e; }
.app-bar i:nth-child(3) { background: #28c840; }
.app-bar .url { margin-left: 14px; background: #0f1114; color: #8b929c; font-size: .8rem; padding: 6px 14px; border-radius: 8px; flex: 1; max-width: 360px; }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.app-side { background: #15181c; border-right: 1px solid rgba(255,255,255,.06); padding: 18px 12px; }
.app-side .logo-text { font-size: 1.4rem; padding: 0 8px 18px; display: block; color: var(--white); }
.app-side a { display: flex; align-items: center; gap: 10px; color: #9aa1ab; font-size: .88rem; padding: 10px; border-radius: 8px; font-weight: 600; }
.app-side a svg { width: 18px; height: 18px; }
.app-side a.active { background: rgba(255,194,14,.12); color: var(--yellow); }
.app-main { padding: 22px; color: #e5e7eb; }
.panel { display: none; }
.panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.app-top h4 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; }
.app-top small { color: #8b929c; display: block; font-weight: 500; font-size: .8rem; }
.chip { font-size: .75rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #22262d; color: #cfd3da; }
.chip.y { background: var(--yellow); color: var(--asphalt); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.col { background: #181b20; border-radius: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.05); }
.col h6 { margin: 0 0 12px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8b929c; display: flex; justify-content: space-between; }
.job { background: #21252c; border-radius: 10px; padding: 12px; margin-bottom: 10px; border-left: 4px solid var(--yellow); font-size: .82rem; }
.job.o { border-left-color: var(--orange); }
.job.g { border-left-color: var(--green); }
.job strong { display: block; color: var(--white); font-size: .88rem; margin-bottom: 4px; }
.job .meta { color: #8b929c; display: flex; gap: 10px; flex-wrap: wrap; }
.job .crew { display: flex; margin-top: 10px; }
.job .crew img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #21252c; margin-left: -6px; object-fit: cover; }
.job .crew img:first-child { margin-left: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.table th { text-align: left; color: #8b929c; font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.table td img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 8px; }
.pill-s { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.pill-s.ok { background: rgba(34,197,94,.15); color: #4ade80; }
.pill-s.warn { background: rgba(255,194,14,.15); color: var(--yellow); }
.pill-s.bad { background: rgba(229,50,45,.18); color: #ff7a75; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #181b20; border-radius: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.05); }
.kpi small { color: #8b929c; font-size: .74rem; }
.kpi b { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--white); }
.kpi em { font-style: normal; font-size: .74rem; color: #4ade80; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; background: #181b20; border-radius: 12px; padding: 16px; border: 1px solid rgba(255,255,255,.05); }
.bars div { flex: 1; background: linear-gradient(to top, var(--orange), var(--yellow)); border-radius: 6px 6px 2px 2px; position: relative; }
.bars div span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: #8b929c; }

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; color: var(--white); display: flex; align-items: flex-end; }
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.aud-card:hover img { transform: scale(1.07); }
.aud-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,17,20,.95) 5%, rgba(15,17,20,.2) 60%, transparent); }
.aud-card .inner { position: relative; z-index: 1; padding: 24px; }
.aud-card .role { display: inline-block; background: var(--yellow); color: var(--asphalt); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; }
.aud-card h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 8px; }
.aud-card p { color: #d1d5db; font-size: .92rem; }

/* Mobile app section */
.app-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-bg { position: absolute; inset: 8% 4%; border-radius: 30px; overflow: hidden; }
.phone-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.phone {
  position: relative; width: 300px; background: #0f1114; border-radius: 44px; padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px #2a2e35; margin: 40px 0;
}
.phone-screen { background: var(--concrete); border-radius: 32px; overflow: hidden; min-height: 560px; }
.phone-notch { width: 110px; height: 26px; background: #0f1114; border-radius: 0 0 16px 16px; margin: 0 auto; }
.phone-head { background: var(--asphalt); color: var(--white); padding: 12px 18px 20px; }
.phone-head small { color: #9aa1ab; }
.phone-head h5 { margin: 4px 0 0; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; }
.shift { background: var(--white); margin: -10px 14px 12px; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); position: relative; }
.shift .time { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; }
.shift .loc { font-weight: 700; margin: 6px 0 2px; font-size: .95rem; }
.shift .sub { color: var(--steel); font-size: .8rem; }
.shift .gear { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.shift .gear span { background: var(--concrete); font-size: .72rem; font-weight: 700; padding: 5px 8px; border-radius: 6px; }
.shift .actions { display: flex; gap: 8px; }
.shift .actions button { flex: 1; border: 0; padding: 11px; border-radius: 10px; font-weight: 800; font-size: .85rem; }
.shift .accept { background: var(--yellow); color: var(--asphalt); }
.shift .decline { background: var(--concrete); color: var(--ink); }
.mini { margin: 0 14px 10px; background: var(--white); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.mini .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--asphalt); color: var(--yellow); flex: none; }
.mini .ic svg { width: 20px; height: 20px; }
.mini b { display: block; }
.mini small { color: var(--steel); }
.mini .badge { margin-left: auto; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--asphalt); color: var(--white); padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .66rem; color: #aeb4bd; line-height: 1; }
.store b { font-size: 1.05rem; line-height: 1.1; }
.app-points { display: grid; gap: 18px; margin-top: 28px; }
.app-point { display: flex; gap: 14px; }
.app-point .n { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--yellow); color: var(--asphalt); font-family: var(--display); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.app-point b { display: block; font-size: 1.05rem; }
.app-point p { color: var(--steel); font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; gap: 14px; }
.g { border-radius: var(--radius); overflow: hidden; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; }
.g:hover img { transform: scale(1.06); }
.g figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(21,23,27,.82); color: var(--white); font-size: .75rem; font-weight: 700; padding: 5px 9px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: .3s; }
.g:hover figcaption { opacity: 1; transform: none; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; }
.g5 { grid-column: span 3; grid-row: span 2; }
.g6 { grid-column: span 3; }
.g7 { grid-column: span 3; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--concrete-2); display: flex; flex-direction: column; gap: 20px; position: relative; }
.quote::before { content: "“"; position: absolute; right: 22px; top: -6px; font-family: Georgia, serif; font-size: 7rem; color: var(--yellow); line-height: 1; }
.quote p { font-size: 1.04rem; color: #374151; flex: 1; }
.quote .person { display: flex; align-items: center; gap: 12px; }
.quote .person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.quote .person b { display: block; }
.quote .person small { color: var(--steel); }
.quote.featured { background: var(--asphalt); color: var(--white); border-color: var(--asphalt); }
.quote.featured p { color: #e5e7eb; }
.quote.featured .person small { color: #aeb4bd; }

/* Integrations */
.integrations { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.integration { display: inline-flex; align-items: center; gap: 10px; background: var(--asphalt-2); border: 1px solid rgba(255,255,255,.08); color: var(--white); border-radius: 12px; padding: 14px 20px; font-weight: 700; }
.integration i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; color: var(--asphalt); }

/* Pricing */
.pricing-toggle { display: inline-flex; background: var(--concrete-2); border-radius: 99px; padding: 5px; margin-top: 22px; }
.pricing-toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 99px; font-weight: 700; color: var(--steel); }
.pricing-toggle button.active { background: var(--asphalt); color: var(--white); }
.pricing-toggle .save { background: var(--yellow); color: var(--asphalt); font-size: .7rem; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border: 2px solid var(--concrete-2); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; }
.plan h3 { text-transform: uppercase; font-size: 1.8rem; }
.plan .desc { color: var(--steel); margin: 8px 0 20px; font-size: .95rem; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--steel); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; }
.plan li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.plan.popular { background: var(--asphalt); color: var(--white); border-color: var(--yellow); position: relative; transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.plan.popular .desc, .plan.popular .price small { color: #aeb4bd; }
.plan.popular li svg { color: var(--yellow); }
.plan .flag { position: absolute; top: -15px; left: 34px; background: var(--orange); color: var(--white); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-side img { border-radius: var(--radius-lg); height: 380px; width: 100%; object-fit: cover; margin-top: 28px; }
.faq details { border-bottom: 2px solid var(--concrete-2); padding: 22px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--yellow); color: var(--asphalt); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--white); }
.faq details p { color: var(--steel); margin-top: 12px; max-width: 640px; }

/* Final CTA */
.cta-band { position: relative; overflow: hidden; color: var(--white); isolation: isolate; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background: url("https://images.unsplash.com/photo-1646011674845-f5c6e2cf50a4?w=1800&q=70&auto=format&fit=crop") center 35%/cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(255,106,0,.95), rgba(255,106,0,.78) 45%, rgba(21,23,27,.45)); }
.cta-inner { padding: 100px 0; }
.cta-inner > * { max-width: 720px; }
.cta-inner h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 14px 0 18px; }
.cta-inner p { font-size: 1.15rem; color: #fff3ea; margin-bottom: 30px; }
.cta-inner .eyebrow { color: var(--asphalt); }
.cta-inner .eyebrow::before { background: var(--asphalt); }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.cta-form input { flex: 1; min-width: 220px; padding: 16px 18px; border-radius: 10px; border: 2px solid transparent; font: inherit; }
.cta-form input:focus { outline: none; border-color: var(--asphalt); }
.cta-note { font-size: .85rem; color: #ffe6d4; margin-top: 14px; }

/* ================= Footer ================= */
.site-footer { background: #0f1114; color: #aeb4bd; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding: 80px 0 50px; }
.footer-brand p { margin: 18px 0 22px; font-size: .95rem; max-width: 320px; }
.newsletter { display: flex; background: var(--asphalt-2); border-radius: 12px; padding: 5px; border: 1px solid rgba(255,255,255,.08); max-width: 360px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); padding: 10px 12px; font: inherit; }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; background: var(--yellow); color: var(--asphalt); font-weight: 800; border-radius: 9px; padding: 10px 16px; }
.footer-col h4 { font-family: var(--body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.07); }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--asphalt-2); display: grid; place-items: center; color: var(--yellow); flex: none; }
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-item b { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0 34px; border-top: 1px solid rgba(255,255,255,.07); font-size: .88rem; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom .legal a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--asphalt-2); display: grid; place-items: center; color: #d1d5db; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--yellow); color: var(--asphalt); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-ack { font-size: .85rem; color: #8b929c; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; gap: 14px; align-items: flex-start; }
.footer-ack .flags { display: flex; gap: 4px; flex: none; margin-top: 3px; }
.footer-ack .flags svg { width: 24px; height: 16px; border-radius: 2px; display: block; }
.footer-giant { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,194,14,.32); text-align: center; letter-spacing: .02em; user-select: none; padding-bottom: 10px; overflow: hidden; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 16px;
  border: 0; background: var(--yellow); color: var(--asphalt); display: grid; place-items: center;
  box-shadow: 0 8px 0 -2px #c99400, var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: var(--white); box-shadow: 0 8px 0 -2px #b84b00, var(--shadow); }
.to-top svg { width: 26px; height: 26px; }
.to-top .ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.to-top .ring rect { fill: none; stroke: var(--asphalt); stroke-width: 3; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--asphalt); color: var(--white); padding: 14px 20px; border-radius: 12px; border-left: 5px solid var(--yellow); box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; transition: .3s; font-weight: 600; max-width: calc(100% - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Auth pages ================= */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.auth-visual { position: relative; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 40px; overflow: hidden; isolation: isolate; }
.auth-visual .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.auth-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,23,27,.55), rgba(21,23,27,.92)); }
.auth-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--asphalt) 18px 36px); }
.auth-quote { max-width: 480px; }
.auth-quote h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin-bottom: 16px; }
.auth-quote p { color: #d1d5db; font-size: 1.05rem; }
.auth-points { display: grid; gap: 12px; margin-top: 26px; }
.auth-points span { display: flex; gap: 10px; align-items: center; color: #e5e7eb; }
.auth-points svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
.auth-form-wrap { display: flex; flex-direction: column; justify-content: center; padding: 50px clamp(24px, 7vw, 110px); }
.auth-form-wrap .back { display: inline-flex; align-items: center; gap: 6px; color: var(--steel); font-weight: 600; font-size: .9rem; margin-bottom: 36px; }
.auth-form-wrap .back:hover { color: var(--orange); }
.auth-form-wrap h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 8px; }
.auth-form-wrap .sub { color: var(--steel); margin-bottom: 30px; }
.auth-form-wrap .sub a, .auth-alt a, .form-row a { color: var(--orange); font-weight: 700; }
.sso { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 22px; }
.sso button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border-radius: 10px; border: 2px solid var(--concrete-2); background: var(--white); font-weight: 700; transition: border-color .2s; }
.sso button:hover { border-color: var(--asphalt); }
.sso svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--steel); font-size: .85rem; margin-bottom: 22px; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--concrete-2); flex: 1; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--concrete-2); font: inherit; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,14,.25); }
.field.error input, .field.error select { border-color: var(--red); }
.field .err { color: var(--red); font-size: .8rem; margin-top: 6px; display: none; }
.field.error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pw { position: relative; }
.pw button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--steel); font-weight: 700; font-size: .8rem; }
.form-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 24px; font-size: .9rem; gap: 10px; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--steel); }
.strength { height: 6px; border-radius: 3px; background: var(--concrete-2); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s, background .3s; }
.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-pick label { border: 2px solid var(--concrete-2); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; font-weight: 700; font-size: .85rem; transition: .2s; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.role-pick input { display: none; }
.role-pick svg { width: 24px; height: 24px; }
.role-pick input:checked + label { border-color: var(--orange); background: #fff4ec; color: var(--orange); }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .nav-links, .nav-cta .login, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding: 70px 0 110px; }
  .hero-visual { min-height: 480px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .split, .app-section, .faq-wrap, .testimonials, .plans { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g { grid-column: span 1; grid-row: span 1; }
  .gallery .g1, .gallery .g5 { grid-column: span 2; grid-row: span 2; }
  .board, .kpis { grid-template-columns: 1fr 1fr; }
  .board .col:last-child { display: none; }
  .footer-contact { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { min-height: 320px; }
}
@media (max-width: 560px) {
  .features, .timeline, .audience, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hero-visual { min-height: 400px; }
  .hero-photo.main { width: 100%; height: 320px; }
  .hero-photo.small { width: 55%; height: 170px; }
  .float-card.alloc { width: 250px; right: 0; bottom: 0; }
  .float-card.fstat { left: 8px; top: 8px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .board, .kpis { grid-template-columns: 1fr; }
  .field-row, .sso { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Log in as: Operator / Allocator */
.login-as { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; padding: 5px; border: 2px solid var(--concrete-2); border-radius: 14px; background: #f7f7f8; }
.login-as button { border: 0; border-radius: 10px; padding: 10px 12px; background: transparent; text-align: left; cursor: pointer; }
.login-as button b { display: block; font-size: .95rem; }
.login-as button small { display: block; color: #6b7280; font-size: .76rem; }
.login-as button.on { background: var(--white); box-shadow: 0 2px 10px rgba(16,24,40,.08); }
.login-as button.on b { color: var(--brand); }
.staff-note { font-size: .84rem; color: #4b5563; background: #fffaf3; border: 1px solid #ffe2c7; border-radius: 12px; padding: 12px 14px; margin: -6px 0 18px; line-height: 1.5; }
.hint-small { font-size: .8rem; color: #6b7280; margin: 10px 0 0; text-align: center; }

/* ---------- Sign-up code pop-up (same card on desktop and mobile) ---------- */
.pin-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,.55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pin-overlay[hidden] { display: none; }
.pin-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(15,23,42,.35); padding: 18px 28px 22px; text-align: center; font-family: var(--body); color: #15171B; }
.pin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pin-back, .pin-x { background: none; border: 0; cursor: pointer; color: #64748B; font: 700 .78rem/1 var(--body); letter-spacing: .08em; padding: 6px 4px; }
.pin-x { font-size: 1.6rem; font-weight: 400; letter-spacing: 0; }
.pin-back:hover, .pin-x:hover { color: #15171B; }
.pin-brand { display: inline-flex; align-items: center; gap: 10px; }
.pin-badge { background: #15171B; color: #FFC20E; border-radius: 8px; padding: 7px 10px; font-weight: 700; font-size: .95rem; letter-spacing: .06em; line-height: 1; }
.pin-name { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.pin-name b { color: #FF6A00; font-weight: 700; }
.pin-portal { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #FF6A00; }
.pin-portal::before, .pin-portal::after { content: ""; width: 20px; height: 1px; background: #CBD5E1; }
.pin-shield { width: 48px; height: 48px; margin: 18px auto 10px; border-radius: 50%; background: #F1F5F9; display: grid; place-items: center; color: #15171B; }
.pin-shield svg { width: 22px; height: 22px; }
.pin-title { font-family: var(--body); text-transform: none; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.pin-text { margin: 0 0 16px; font-size: .84rem; line-height: 1.55; color: #64748B; }
.pin-text b { color: #15171B; word-break: break-all; }
.pin-error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: 10px; padding: 10px 12px; font-size: .84rem; margin: 0 0 12px; text-align: left; }
.pin-note { color: #1D4ED8; font-size: .8rem; margin: 0 0 12px; }
.pin-input { display: block; width: 100%; box-sizing: border-box; height: 64px; border: 2px solid #15171B; border-radius: 12px; background: #F8FAFC; text-align: center; font: 700 1.9rem/1 var(--body); letter-spacing: .5em; padding-left: .5em; color: #15171B; outline: none; }
.pin-input::placeholder { color: #CBD5E1; }
.pin-input:focus { box-shadow: 0 0 0 4px rgba(255,194,14,.35); }
.pin-verify { display: block; width: 100%; margin-top: 12px; height: 46px; border: 0; border-radius: 12px; background: #15171B; color: #FFC20E; font: 800 .88rem/1 var(--body); letter-spacing: .12em; cursor: pointer; }
.pin-verify:disabled { background: linear-gradient(90deg,#64748B,#8B9BB4); color: #fff; cursor: not-allowed; }
.pin-resend { margin: 16px auto 0; display: block; background: none; border: 0; font: 700 .8rem/1 var(--body); color: #FF6A00; cursor: pointer; }
.pin-resend:disabled { color: #94A3B8; cursor: default; }
.pin-junk { margin: 16px 0 0; font-size: .76rem; color: #B45309; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pin-junk svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 480px) { .pin-card { padding: 16px 18px 20px; } .pin-input { font-size: 1.6rem; letter-spacing: .4em; } }
body.pin-open { overflow: hidden; }

/* Sign-up password rules */
.pw-rules { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.pw-rules li { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--red); }
.pw-rules li::after { content: "\2715"; font-size: .8rem; font-weight: 700; }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.ok::after { content: "\2713"; font-size: .9rem; }
