:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --page: #ffffff;
  --soft: #f8fafc;
  --teal: #13a6b5;
  --teal-dark: #0f8794;
  --blue: #2563eb;
  --green: #16a34a;
  --orange: #ea580c;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  max-width: 1120px;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
  color: #fff;
}

.desktop-nav {
  display: none;
  gap: 22px;
}

.desktop-nav a,
.mobile-nav a {
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--teal-dark);
}

.desktop-nav a.active,
.mobile-nav a.active {
  color: var(--teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color: #9ca3af;
  font-size: 12px;
}

.search-box input {
  width: 128px;
  border: 0;
  outline: 0;
}

.menu-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--teal-dark);
  padding: 8px 10px;
  font-weight: 900;
}

.mobile-nav {
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding: 8px 16px 12px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  border-radius: 9px;
  padding: 10px;
  background: #f0fdfa;
}

.mobile-nav a.active {
  background: #ccfbf1;
}

.crumbs {
  display: flex;
  max-width: 900px;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 13px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
  color: #6b7280;
  font-size: 13px;
  overflow: hidden;
}

.crumbs a {
  color: var(--teal-dark);
  white-space: nowrap;
}

.crumbs strong {
  min-width: 0;
  overflow: hidden;
  color: #374151;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home,
.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 16px 36px;
}

.home-hero {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 22px 0 10px;
}

.home-hero h1,
.listing-head h1,
.article-head h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-head h1 {
  font-size: clamp(24px, 6vw, 42px);
}

.home-hero p,
.listing-head p,
.article-head p,
.article-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.category-pill {
  display: inline-flex;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--teal-dark);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 11px 16px;
  font-weight: 900;
}

.primary-link {
  background: var(--teal);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  box-shadow: var(--shadow);
}

.screen-card {
  position: absolute;
  left: 26px;
  top: 42px;
  width: 58%;
  min-height: 132px;
  border-radius: 18px;
  background: #0f172a;
  padding: 18px;
}

.screen-card > span {
  display: block;
  height: 12px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: #5eead4;
}

.screen-card > span:nth-child(2) {
  width: 78%;
  background: #38bdf8;
}

.screen-card > span:nth-child(3) {
  width: 54%;
  background: #a7f3d0;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 46px;
  margin-top: 14px;
}

.bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: #14b8a6;
}

.bars i:nth-child(1) { height: 42%; }
.bars i:nth-child(2) { height: 76%; }
.bars i:nth-child(3) { height: 54%; }
.bars i:nth-child(4) { height: 92%; }

.person-card {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: grid;
  width: 112px;
  height: 132px;
  place-items: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.person-card b {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fdba74;
}

.person-card i {
  width: 74px;
  height: 44px;
  border-radius: 24px 24px 10px 10px;
  background: #0f766e;
}

.badge {
  position: absolute;
  right: 24px;
  top: 24px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 20px 0;
  color: #6b7280;
  text-align: center;
}

.ad-label {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 400;
  text-align: center;
}

.ad-unit {
  display: flex;
  justify-content: center;
  flex: none;
  width: 300px;
  height: 250px;
}

@media (max-width: 319px) {
  .ad-slot {
    display: none;
  }
}

.cta-stack {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.cta-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 15px;
  background: #4ab3c8;
  color: #fff;
  padding: 15px 18px;
  box-shadow: 0 6px 14px rgba(19, 166, 181, 0.18);
  font-weight: 900;
}

.cta-button b {
  font-size: 28px;
  line-height: 1;
}

.cta-stack p {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  text-align: center;
}

.article {
  max-width: 780px;
  margin: 0 auto;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.article-section {
  margin: 34px 0;
}

.article-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.22;
}

.article-section ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 15px;
}

.icon-mark {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
}

.section-title,
.listing-head {
  margin: 30px 0 18px;
}

.section-title h2,
.listing-head h1 {
  margin: 0 0 8px;
}

.category-grid {
  display: grid;
  gap: 14px;
}

.category-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.category-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
}

.category-card.teal span { background: var(--teal); }
.category-card.blue span { background: var(--blue); }
.category-card.orange span { background: var(--orange); }
.category-card.green span { background: var(--green); }

.category-card h2 {
  margin: 0;
  font-size: 20px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.category-card b {
  color: var(--teal-dark);
}

.related-links {
  display: grid;
  gap: 14px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafc;
  padding: 18px;
}

.related-links h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.related-links p {
  margin: 0;
  color: var(--muted);
}

.related-grid {
  display: grid;
  gap: 8px;
}

.related-grid a {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  color: #0f766e;
  font-size: 14px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.contact-form p {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #e5e7eb;
}

.footer-inner {
  display: grid;
  max-width: 1120px;
  gap: 18px;
  margin: 0 auto;
  padding: 26px 16px;
}

.footer p {
  margin: 8px 0 0;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.job-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.job-modal-overlay.hidden {
  display: none;
}

.job-modal-card {
  position: relative;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  max-width: 100%;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}

.job-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 91;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.job-modal-progress {
  height: 4px;
  background: #e8efed;
}

.job-modal-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #0d9b8c;
  transition: width 0.2s ease;
}

.job-modal-progress[aria-valuenow="1"] span { width: 50%; }
.job-modal-progress[aria-valuenow="2"] span { width: 100%; }

.job-modal-status {
  margin: 0;
  color: #66737b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.job-modal-status:empty { display: none; }
.job-choice-stack button:disabled { opacity: 0.6; cursor: wait; }
.job-choice-stack .job-choice-secondary { background: #edf6f4; color: #27665d; }
.job-choice-stack .job-choice-secondary:hover { background: #e0efeb; }

.job-modal-body {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 42px 26px 18px;
}

.job-modal-body h2 {
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.job-choice-stack {
  display: grid;
  gap: 14px;
}

.job-choice-stack button {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #0d9b8c;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.job-choice-stack button:hover {
  background: #0b887b;
}

.job-choice-stack button:focus-visible {
  outline: 3px solid rgba(13, 155, 140, 0.24);
  outline-offset: 3px;
}

.job-modal-footer {
  align-self: end;
  padding: 14px 24px 16px;
  color: #8a8f98;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.job-modal-footer p {
  margin: 4px 0;
}

.job-modal-footer a {
  color: #6b7280;
  text-decoration: underline;
}

body:has(.job-modal-overlay:not(.hidden)) .site-header,
body:has(.job-modal-overlay:not(.hidden)) .home,
body:has(.job-modal-overlay:not(.hidden)) .article-shell,
body:has(.job-modal-overlay:not(.hidden)) .crumbs,
body:has(.job-modal-overlay:not(.hidden)) .footer {
  filter: blur(5px);
}

@supports not selector(:has(*)) {
  .job-modal-overlay {
    background: rgba(255, 255, 255, 0.82);
  }
}

@media (min-width: 760px) {
  .desktop-nav,
  .search-box {
    display: flex;
  }

  .menu-button {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr 360px;
    padding-top: 42px;
  }

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

  .related-links {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .job-modal-card {
    min-height: 360px;
    width: min(360px, calc(100vw - 28px));
  }

  .job-modal-close {
    top: 16px;
    right: 18px;
    left: auto;
    color: #9ca3af;
  }

  .job-modal-body {
    padding-inline: 18px;
  }

  .job-modal-footer {
    padding-inline: 18px;
    font-size: 12px;
  }
}
