/* Rainey Day Trucking, Inc. public website styles.
   (c) 2026 SylForge Labs LLC. All rights reserved. Proprietary.
   No external fonts or assets: everything here works under the site CSP. */

:root {
  --bg-top: #1b2a3a;
  --bg-bottom: #0c151f;
  --bg: #0f1b28;
  --card: #16283c;
  --card-2: #1a2f46;
  --card-edge: #24405c;
  --accent: #4a90d9;
  --accent-bright: #63a7ee;
  --ok: #3dbd7d;
  --text: #eef3f8;
  --muted: #9fb2c6;
  --danger: #e46a6a;
  --sunset: #f0a35e;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --maxw: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-bottom);
  background-image: radial-gradient(ellipse 120% 60% at 50% 0%, var(--bg-top), var(--bg-bottom) 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); }
a:hover { color: #8cc0f5; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
#main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- app boot */
.app-boot { display: none; }
html.app-mode .site { display: none !important; }
html.app-mode .app-boot {
  display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.app-boot img { width: 160px; height: auto; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.55)); }
.spinner {
  width: 34px; height: 34px; border: 3px solid rgba(159, 178, 198, 0.25);
  border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 21, 31, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(36, 64, 92, 0.7);
}
.header-row {
  display: flex; align-items: center; gap: 20px; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text);
  flex: 0 1 auto; min-width: 0;
}
.brand:hover { color: var(--text); }
.brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; line-height: 1.1; white-space: nowrap; }
.brand-name small {
  display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a[aria-current="page"] { color: var(--text); background: rgba(74, 144, 217, 0.18); box-shadow: inset 0 0 0 1px rgba(99, 167, 238, 0.35); }
.login-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  color: var(--text); font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  border: 1px solid rgba(159, 178, 198, 0.35); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}
.login-btn:hover { color: var(--text); border-color: var(--accent); background: rgba(74, 144, 217, 0.16); }
.login-btn svg { width: 16px; height: 16px; flex: none; }

/* ---------------------------------------------------------------- views */
.view[hidden] { display: none !important; }
.view { animation: fadeIn 0.35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section + .section-tight { padding-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 680px; }
.page-head { padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(20px, 3vw, 32px); }
.page-head .section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(74, 144, 217, 0.35); }
.btn-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: rgba(12, 21, 31, 0.45); color: var(--text); border-color: rgba(238, 243, 248, 0.35); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); background: rgba(12, 21, 31, 0.65); transform: translateY(-1px); }
.btn-ok { background: var(--ok); color: #06210f; }
.btn-ok:hover { color: #06210f; filter: brightness(1.08); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(82vh, 760px); display: flex; align-items: flex-end;
  background-color: #10202f;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/site/hero.jpg") center 42% / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 24s ease-out both;
}
@keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1.04); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 21, 31, 0.45) 0%, rgba(12, 21, 31, 0) 30%, rgba(12, 21, 31, 0.55) 70%, var(--bg-bottom) 100%),
    linear-gradient(90deg, rgba(12, 21, 31, 0.72) 0%, rgba(12, 21, 31, 0.2) 55%, rgba(12, 21, 31, 0) 100%);
}
.hero-inner { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(48px, 8vh, 88px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(12, 21, 31, 0.55); border: 1px solid rgba(238, 243, 248, 0.22);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sunset); box-shadow: 0 0 12px var(--sunset); flex: none; }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 850; letter-spacing: -0.025em; line-height: 1.02;
  max-width: 1000px; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent { color: var(--sunset); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dbe6f1; max-width: 640px; margin-bottom: 30px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }

/* ------------------------------------------------------------- facts bar */
.facts { position: relative; z-index: 2; margin-top: -1px; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-edge); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 22px 24px; border-left: 1px solid var(--card-edge); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--text); line-height: 1.2; }
.fact span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 4px; }

/* --------------------------------------------------------- hiring strip */
.hiring-strip { margin-top: 28px; }
.hiring-strip a {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 22px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: linear-gradient(90deg, rgba(61, 189, 125, 0.16), rgba(61, 189, 125, 0.04));
  border: 1px solid rgba(61, 189, 125, 0.45);
  transition: border-color 0.2s, background 0.2s;
}
.hiring-strip a:hover { color: var(--text); border-color: var(--ok); background: linear-gradient(90deg, rgba(61, 189, 125, 0.24), rgba(61, 189, 125, 0.06)); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 189, 125, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(61, 189, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 189, 125, 0); }
}
.hiring-strip strong { font-weight: 800; }
.hiring-strip .go { margin-left: auto; font-weight: 700; color: var(--ok); white-space: nowrap; }

/* -------------------------------------------------------------- features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature {
  position: relative; padding: 30px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(26, 47, 70, 0.9), rgba(22, 40, 60, 0.9));
  border: 1px solid var(--card-edge);
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(99, 167, 238, 0.55); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(74, 144, 217, 0.16); color: var(--accent-bright); border: 1px solid rgba(99, 167, 238, 0.3);
}
.icon svg { width: 26px; height: 26px; }
.icon.ok { background: rgba(61, 189, 125, 0.14); color: var(--ok); border-color: rgba(61, 189, 125, 0.32); }
.icon.warm { background: rgba(240, 163, 94, 0.14); color: var(--sunset); border-color: rgba(240, 163, 94, 0.32); }
.feature h3 { font-size: 1.25rem; font-weight: 800; }
.feature p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- split blocks */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--card-edge); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split-media.portrait img { aspect-ratio: 4 / 4.4; object-position: center 30%; }
.media-tag {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 10px;
  background: rgba(12, 21, 31, 0.82); border: 1px solid var(--card-edge);
  font-size: 0.82rem; font-weight: 700; color: var(--text);
}

.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: #d5e1ec; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(61, 189, 125, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233dbd7d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(61, 189, 125, 0.4);
}
.dot-list { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #d5e1ec; }
.dot-list li::marker { color: var(--accent-bright); }

/* ---------------------------------------------------------- run cards */
.runs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.run {
  padding: 30px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--card-edge);
  display: flex; flex-direction: column;
}
.run-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.run h3 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.run .pay { font-size: 1.6rem; font-weight: 850; color: var(--text); margin: 10px 0 2px; }
.run .pay small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.run p { color: var(--muted); }

/* ----------------------------------------------------------------- tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  background: rgba(159, 178, 198, 0.12); color: #c9d6e3; border: 1px solid rgba(159, 178, 198, 0.25);
}
.tag-open { background: rgba(61, 189, 125, 0.15); color: #6fe0a6; border-color: rgba(61, 189, 125, 0.45); }
.tag-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.tag-interest { background: rgba(74, 144, 217, 0.16); color: #a9cff7; border-color: rgba(99, 167, 238, 0.45); }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); border: 1px solid var(--card-edge);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(240, 163, 94, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 120% at 0% 100%, rgba(74, 144, 217, 0.25), transparent 60%),
    var(--card);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 850; }
.cta-band p { color: var(--muted); margin: 0; max-width: 560px; }

/* ----------------------------------------------------------------- jobs */
.jobs-list { display: grid; gap: 18px; }
.job-card {
  padding: 26px 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--card-edge);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  transition: border-color 0.2s, transform 0.2s;
}
.job-card:hover { border-color: rgba(99, 167, 238, 0.55); transform: translateY(-2px); }
.job-card h2 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 800; margin: 10px 0 8px; }
.job-card h2 a { color: var(--text); text-decoration: none; }
.job-card h2 a:hover { color: var(--accent-bright); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
.job-meta span { display: inline-flex; align-items: center; gap: 7px; }
.job-meta svg { width: 16px; height: 16px; color: var(--accent-bright); flex: none; }
.job-meta .pay-line { color: var(--text); font-weight: 700; }
.job-card p { color: #c7d4e1; margin: 0; }
.job-card .btn { white-space: nowrap; }

.state-box {
  padding: 34px 28px; border-radius: var(--radius-lg); border: 1px dashed var(--card-edge);
  background: rgba(22, 40, 60, 0.55); text-align: center; color: var(--muted);
}
.state-box h2, .state-box h3 { color: var(--text); font-size: 1.3rem; }
.state-box.error { border-style: solid; border-color: rgba(228, 106, 106, 0.5); background: rgba(228, 106, 106, 0.08); }
.state-box .spinner { margin: 0 auto 14px; }
.skeleton {
  height: 150px; border-radius: var(--radius-lg); border: 1px solid var(--card-edge);
  background: linear-gradient(100deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }

/* ----------------------------------------------------------- job detail */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--muted);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 18px; height: 18px; }
.job-detail-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 850; margin: 14px 0 18px; }
.pay-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  padding: 20px 24px; border-radius: var(--radius); margin-bottom: 30px;
  background: linear-gradient(90deg, rgba(74, 144, 217, 0.22), rgba(74, 144, 217, 0.06));
  border: 1px solid rgba(99, 167, 238, 0.45);
}
.pay-banner .pay-amt { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 850; }
.pay-banner .pay-label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); font-weight: 800; }
.pay-banner .meta { color: #d5e1ec; display: inline-flex; align-items: center; gap: 8px; }
.pay-banner svg { width: 18px; height: 18px; color: var(--accent-bright); flex: none; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 4vw, 48px); align-items: start; }
.detail-body { min-width: 0; }
.detail-body h2 { font-size: 1.25rem; font-weight: 800; margin-top: 30px; }
.detail-body .desc p { color: #d5e1ec; }
.apply-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--card-edge); box-shadow: var(--shadow);
}
.apply-card h2 { font-size: 1.35rem; font-weight: 850; margin-bottom: 4px; }
.apply-card > p { color: var(--muted); font-size: 0.94rem; }

/* ----------------------------------------------------------------- form */
.app-form { display: grid; gap: 16px; margin-top: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.field .req { color: var(--sunset); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--text);
  background: #0f1d2c; border: 1px solid var(--card-edge); border-radius: 10px;
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb2c6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select option { background: #0f1d2c; color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(99, 167, 238, 0.25);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: #ff9a9a; font-size: 0.85rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px; border-radius: 10px; background: rgba(15, 29, 44, 0.7); border: 1px solid var(--card-edge);
  font-size: 0.85rem; color: var(--muted); line-height: 1.5; cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-submit { width: 100%; padding: 16px 24px; font-size: 1.05rem; }

.result-panel { padding: 26px; border-radius: var(--radius); text-align: left; }
.result-panel h3 { font-size: 1.3rem; font-weight: 850; display: flex; align-items: center; gap: 10px; }
.result-panel h3 svg { width: 26px; height: 26px; flex: none; }
.result-panel p { margin: 0; color: #d5e1ec; }
.result-ok { background: rgba(61, 189, 125, 0.12); border: 1px solid rgba(61, 189, 125, 0.5); }
.result-ok h3 { color: #7ee6b0; }
.result-err { background: rgba(228, 106, 106, 0.1); border: 1px solid rgba(228, 106, 106, 0.5); margin-bottom: 4px; }
.result-err h3 { color: #ff9a9a; font-size: 1.1rem; }

.general-form { max-width: 620px; margin: 26px auto 0; text-align: left; }

/* -------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  padding: 30px 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--card-edge);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-card h2 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.contact-card p { color: var(--muted); margin: 0 0 12px; }
.contact-card .big { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 850; color: var(--text); text-decoration: none; margin: 2px 0 10px; }
.contact-card .big:hover { color: var(--accent-bright); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card.primary { border-color: rgba(99, 167, 238, 0.5); background: linear-gradient(180deg, rgba(74, 144, 217, 0.16), var(--card) 70%); }
.promise {
  margin-top: 24px; display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-radius: var(--radius-lg);
  background: rgba(61, 189, 125, 0.08); border: 1px solid rgba(61, 189, 125, 0.35);
}
.promise p { margin: 0; color: #d5e1ec; }
.promise strong { color: var(--text); }

.not-found { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }

/* --------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--card-edge); background: rgba(8, 14, 21, 0.6); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 4px 0 0; }
.footer-col h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-col p { color: var(--muted); margin: 0 0 6px; font-size: 0.92rem; }
.disclaimer { font-size: 0.8rem; color: #8196ab; line-height: 1.55; padding: 22px 0; border-top: 1px solid rgba(36, 64, 92, 0.6); margin: 0; }
.copyright { font-size: 0.82rem; color: var(--muted); padding: 0 0 32px; }
.copyright span { display: block; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--card-edge); }
  .features { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .header-row { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-top: 9px; }
  .brand { flex: 1 1 auto; }
  .brand img { width: 38px; height: 38px; }
  .main-nav {
    order: 3; flex: 1 0 100%; justify-content: flex-start;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { gap: 4px; }
  .main-nav a { padding: 7px 14px; font-size: 0.92rem; }
  .login-btn { padding: 8px 13px; font-size: 0.84rem; }
  .runs { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .job-card .btn { justify-self: start; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 120px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .brand-name { font-size: 0.98rem; }
  .brand-name small { letter-spacing: 0.16em; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .apply-card { padding: 22px 18px; }
  .job-card { padding: 22px 20px; }
  .run, .feature, .contact-card { padding: 24px 20px; }
  .hiring-strip .go { margin-left: 0; }
}
@media (max-width: 370px) {
  .brand-name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-bg { animation: none; transform: none; }
}
