:root {
  --bg: #0b0f1a;
  --bg-deep: #0f172a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: rgba(15, 23, 40, 0.88);
  --surface-soft: rgba(17, 24, 39, 0.52);
  --primary: #4f7cff;
  --primary-strong: #4169eb;
  --accent: #7c5cff;
  --teal: #2dd4bf;
  --amber: #fbbf24;
  --rose: #fb7185;
  --success: #34d399;
  --text: #f9fafb;
  --muted: #9ca3af;
  --muted-strong: #cbd5e1;
  --border: rgba(148, 163, 184, 0.1);
  --border-strong: rgba(79, 124, 255, 0.22);
  --shadow: 0 20px 48px rgba(2, 6, 23, 0.22);
  --shadow-soft: 0 10px 24px rgba(2, 6, 23, 0.12);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --header-height: 82px;
  --transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(79, 124, 255, 0.12), transparent 34%),
    radial-gradient(circle at 75% 12%, rgba(124, 92, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #0b0f1a 0%, #0c1220 48%, #0b0f1a 100%);
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(79, 124, 255, 0.08), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(124, 92, 255, 0.05), transparent 18%);
  animation: backdropDrift 22s ease-in-out infinite alternate;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 26, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-block;
  filter: drop-shadow(0 10px 18px rgba(3, 7, 18, 0.24));
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  padding: 0.2rem;
  gap: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.07);
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover,
.btn:hover,
.job-card:hover,
.stat-card:hover,
.result-pill:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.72);
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
  border-color: var(--border-strong);
}

.auth-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.site-main {
  padding-bottom: 6rem;
}

.view {
  display: none;
  padding-top: 1.1rem;
}

.view.is-active {
  display: block;
  animation: viewIn 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-band {
  display: block;
  padding: clamp(4rem, 10vh, 7.25rem) 0 0;
}

.hero-copy {
  max-width: 980px;
  padding: 0;
}

.eyebrow,
.section-kicker,
.surface-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-copy h1,
.page-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-text,
.page-copy,
.section-copy,
.surface-copy,
.empty-state p,
.auth-guard p {
  margin: 1.1rem 0 0;
  max-width: 64ch;
  color: var(--muted-strong);
  line-height: 1.75;
}

.hero-search,
.filters-band,
.surface,
.job-card,
.empty-state,
.auth-guard,
.application-item,
.stat-card,
.mini-surface,
.results-bar,
.cta-band,
.detail-main,
.detail-side-card,
.dashboard-banner {
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.08);
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.11);
}

.hero-search,
.filters-band,
.surface,
.job-card,
.empty-state,
.auth-guard,
.application-item,
.stat-card,
.mini-surface,
.results-bar,
.cta-band,
.detail-main,
.detail-side-card,
.dashboard-banner,
.modal-panel {
  border-radius: var(--radius-lg);
}

.hero-search {
  margin-top: 2rem;
  max-width: 920px;
  padding: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.9fr) auto;
  gap: 0.8rem;
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(148, 163, 184, 0.08);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.16);
}

.surface {
  padding: 1.2rem;
}

.hero-trust-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust-row span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  color: rgba(156, 163, 175, 0.45);
}

.hero-trust-row strong {
  color: var(--text);
  font-weight: 700;
}

.hero-proof-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 980px;
}

.hero-proof-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
}

.hero-proof-card strong {
  display: block;
  font-size: 0.96rem;
}

.hero-proof-card p,
.hero-footnote,
.home-proof-item p,
.footer-note,
.footer-list {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-footnote {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.surface-header,
.section-head,
.page-banner,
.detail-header,
.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head-tight {
  margin-bottom: 1rem;
}

.section-head h2,
.surface-header h2,
.detail-main h2,
.detail-side-card h3,
.dashboard-banner h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.15;
}

.surface-chip,
.meta-pill,
.result-pill,
.status-pill,
.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.surface-chip {
  color: var(--text);
  background: rgba(79, 124, 255, 0.14);
}

.supporting-text {
  color: var(--muted);
}

.home-proof-band {
  margin-top: 3rem;
  padding-top: 2.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-proof-item {
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.home-proof-label {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.cta-band {
  margin-top: 3rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band-home {
  margin-top: 4rem;
}

.cta-actions {
  display: inline-flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-grow {
  min-width: 0;
}

.field-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  padding: 0.92rem 1rem;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: rgba(156, 163, 175, 0.72);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(79, 124, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.96), rgba(92, 112, 255, 0.94));
  box-shadow: 0 8px 18px rgba(79, 124, 255, 0.16);
}

.btn-primary:hover {
  box-shadow: 0 12px 22px rgba(79, 124, 255, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(148, 163, 184, 0.1);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  color: var(--muted-strong);
  background: transparent;
  border-color: rgba(148, 163, 184, 0.1);
}

.btn-full,
.btn-hero {
  width: 100%;
}

.btn-inline {
  width: auto;
}

.auth-controls .btn {
  padding: 0.72rem 0.95rem;
}

.auth-controls .btn-primary {
  box-shadow: none;
}

.page-banner {
  padding: 1.25rem 0 1.45rem;
}

.page-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-banner-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.page-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.62rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
}

.page-banner-pill strong {
  color: var(--text);
}

.mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.mobile-filter-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.filters-band {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(5, minmax(150px, 1fr));
  gap: 0.85rem;
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 0.8rem);
  z-index: 15;
  backdrop-filter: blur(14px);
}

.results-bar {
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
}

.results-summary {
  margin: 0;
  font-size: 1rem;
  color: var(--muted-strong);
}

.pill-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.result-pill {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
}

.result-pill button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.95rem;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.1rem;
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.job-card::before {
  display: none;
}

.job-card:hover {
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.14);
}

.job-card-top,
.job-card-footer,
.detail-meta,
.detail-actions,
.application-meta,
.dashboard-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.job-card-top {
  align-items: flex-start;
}

.job-card-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.company-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(124, 92, 255, 0.18));
  border: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.job-card-copy {
  min-width: 0;
}

.company-name {
  color: var(--muted);
  font-size: 0.9rem;
}

.job-title {
  margin: 0.25rem 0 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.job-title a {
  display: inline-block;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-pill {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.028);
}

.score-pill {
  color: #dbeafe;
  background: rgba(79, 124, 255, 0.1);
}

.job-summary {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
  flex: 1;
}

.job-card-footer {
  align-items: flex-end;
}

.job-salary {
  font-weight: 700;
  font-size: 1rem;
}

.job-action-row {
  display: inline-flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.save-button,
.ghost-button,
.pill-button {
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  padding: 0.72rem 0.88rem;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.save-button:hover,
.ghost-button:hover,
.pill-button:hover {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.save-button.is-saved {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.2);
  background: rgba(124, 92, 255, 0.08);
}

.dashboard-banner h1 {
  display: block;
}

.dashboard-subtle,
.mini-surface p,
.detail-side-card p {
  margin-top: 0.45rem;
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.empty-state,
.auth-guard,
.dashboard-banner {
  padding: 1.4rem;
}

.empty-state h2,
.auth-guard h2,
.dashboard-banner h1 {
  margin: 0;
}

.empty-state-actions,
.auth-guard-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.detail-shell {
  display: grid;
  gap: 1rem;
  padding-top: 0.6rem;
}

.back-link {
  margin-top: 0.2rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted-strong);
  font-weight: 700;
}

.back-link:hover {
  color: var(--text);
}

.detail-header {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.detail-lead {
  margin: 0.85rem 0 0;
  max-width: 68ch;
  line-height: 1.7;
  color: var(--muted-strong);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.78fr);
  gap: 1rem;
}

.detail-main,
.detail-side-card {
  padding: 1.2rem;
}

.detail-stack {
  display: grid;
  gap: 1rem;
}

.detail-block + .detail-block {
  margin-top: 1.35rem;
}

.detail-block h2 {
  margin-bottom: 0.65rem;
}

.detail-block p,
.detail-block li,
.detail-side-card li,
.application-item p {
  color: var(--muted-strong);
  line-height: 1.7;
}

.detail-list,
.detail-side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
}

.info-list {
  display: grid;
  gap: 0.75rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.info-row span:first-child {
  color: var(--muted);
}

.status-pill {
  width: fit-content;
}

.status-applied {
  color: #c7d2fe;
  background: rgba(79, 124, 255, 0.14);
}

.status-viewed {
  color: #a7f3d0;
  background: rgba(45, 212, 191, 0.14);
}

.status-interview {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
}

.status-rejected {
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.14);
}

.application-list,
.mini-grid,
.dashboard-grid,
.dashboard-columns {
  display: grid;
  gap: 1rem;
}

.application-item {
  padding: 1.1rem;
}

.application-item h3,
.mini-surface h3,
.stat-card strong {
  margin: 0;
}

.application-item p {
  margin: 0.7rem 0 0;
}

.application-meta {
  flex-wrap: wrap;
}

.dashboard-banner {
  margin-top: 1rem;
}

.dashboard-banner p {
  margin-top: 0.8rem;
  color: var(--muted-strong);
}

.dashboard-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1.1rem;
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  border-color: rgba(79, 124, 255, 0.28);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-value {
  display: block;
  margin-top: 0.65rem;
  font-size: 2rem;
  font-weight: 800;
}

.dashboard-columns {
  margin-top: 1rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-surface {
  padding: 1.1rem;
}

.dashboard-list {
  display: grid;
  gap: 0.75rem;
}

.dashboard-list-row {
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.dashboard-list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-list-row:last-child {
  padding-bottom: 0;
}

.dashboard-list-copy strong {
  display: block;
}

.dashboard-list-copy span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 7, 18, 0.76);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  z-index: 80;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  width: min(100%, 560px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  position: relative;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.application-modal-panel {
  width: min(100%, 720px);
}

.google-modal-panel {
  width: min(100%, 620px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 700;
}

.auth-panel-heading {
  margin-bottom: 1rem;
}

.auth-panel-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.auth-oauth {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.oauth-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.92rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.oauth-button:hover {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.12);
}

.oauth-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.oauth-google {
  background:
    conic-gradient(
      from 220deg,
      #4285f4 0deg 90deg,
      #34a853 90deg 180deg,
      #fbbc05 180deg 270deg,
      #ea4335 270deg 360deg
    );
  color: #ffffff;
}

.oauth-mark-lg {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.oauth-divider {
  position: relative;
  text-align: center;
}

.oauth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.oauth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  color: var(--muted);
  font-size: 0.84rem;
}

.oauth-divider-spacious {
  margin: 1.1rem 0;
}

.tab-row {
  display: inline-flex;
  padding: 0.35rem;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1rem;
}

.tab-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.tab-button.is-active {
  color: var(--text);
  background: rgba(79, 124, 255, 0.18);
}

.auth-form,
.application-form,
.google-account-form {
  display: grid;
  gap: 0.95rem;
}

.google-modal-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.google-modal-heading h2 {
  margin: 0;
  font-size: 1.7rem;
}

.google-account-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.google-account-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.google-account-item:hover {
  border-color: rgba(79, 124, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.12);
}

.google-account-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.google-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.92), rgba(124, 92, 255, 0.92));
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
}

.google-account-copy {
  min-width: 0;
}

.google-account-copy strong,
.google-account-copy span {
  display: block;
}

.google-account-copy strong {
  font-size: 0.96rem;
}

.google-account-copy span,
.google-account-meta {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.google-account-meta {
  flex: 0 0 auto;
  text-align: right;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.application-job-brief {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.brief-company {
  color: var(--muted);
  font-size: 0.9rem;
}

.brief-title {
  margin: 0.4rem 0 0;
  font-size: 1.2rem;
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.7rem;
}

.toast {
  min-width: 280px;
  max-width: 360px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: var(--shadow-soft);
  animation: toastIn 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast-success {
  border-color: rgba(52, 211, 153, 0.28);
}

.toast-error {
  border-color: rgba(251, 113, 133, 0.28);
}

.user-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(79, 124, 255, 0.96), rgba(45, 212, 191, 0.8));
  font-weight: 700;
}

.user-text {
  display: flex;
  flex-direction: column;
}

.user-text strong {
  font-size: 0.92rem;
}

.user-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0 2.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand-block {
  max-width: 500px;
}

.footer-contact {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand-copy strong {
  display: block;
}

.footer-brand-copy span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-column {
  display: grid;
  gap: 0.75rem;
}

.footer-heading {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
}

.footer-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0;
  border-radius: 0;
  transition: color var(--transition), background var(--transition);
}

.footer-link:hover {
  color: var(--text);
  background: transparent;
}

.footer-email {
  color: var(--muted-strong);
  transition: color var(--transition);
}

.footer-email:hover {
  color: var(--text);
}

.footer-list {
  padding-left: 1rem;
}

.footer-list li + li {
  margin-top: 0.35rem;
}

@keyframes backdropDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .job-grid,
  .dashboard-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof-grid,
  .home-proof-grid,
  .dashboard-columns,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
    animation: viewIn 300ms ease;
  }

  .nav-link {
    text-align: left;
  }

  .auth-controls {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
  }

  .page-banner,
  .page-banner-actions,
  .page-banner-meta,
  .hero-search,
  .hero-proof-grid,
  .home-proof-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .page-banner-actions,
  .page-banner-meta {
    justify-content: flex-start;
  }

  .mobile-filter-bar {
    display: flex;
  }

  .filters-band {
    display: none;
    position: static;
    top: auto;
  }

  .filters-band.is-open {
    display: grid;
  }

  .hero-band {
    padding-top: 3.4rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .site-main {
    padding-bottom: 4rem;
  }

  .job-grid,
  .filters-band,
  .mini-grid,
  .dashboard-columns,
  .dashboard-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .section-head,
  .page-banner,
  .page-banner-actions,
  .detail-header,
  .job-card-footer,
  .job-card-top,
  .dashboard-list-row,
  .footer-inner,
  .footer-brand,
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner,
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .hero-trust-row {
    gap: 0.65rem;
    font-size: 0.92rem;
  }

  .hero-trust-row span:not(:last-child)::after {
    display: none;
  }

  .mobile-filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-banner-pill {
    width: fit-content;
  }

  .modal {
    padding: 0.7rem;
  }

  .modal-panel {
    padding: 1rem;
  }

  .google-modal-heading,
  .google-account-item,
  .google-account-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .google-account-meta {
    text-align: left;
  }

  .toast-stack {
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}
