:root {
  --gradient-start: #b5ffc4;
  --gradient-mid: rgba(181, 255, 196, 0.9);
  --gradient-mid-2: rgba(129, 175, 237, 0.85);
  --gradient-end: #6e7de7;

  --text-strong: #0d1421;
  --text-body: #2f3545;
  --text-body-soft: rgba(13, 20, 33, 0.72);

  --surface-page: #ffffff;
  --footer-background: var(--surface-page);

  --header-gradient: linear-gradient(120deg, rgba(181, 255, 196, 0.82) 0%, rgba(152, 200, 234, 0.75) 48%, rgba(110, 125, 231, 0.82) 100%);
  --header-border: rgba(110, 125, 231, 0.32);
  --header-shadow: 0 10px 34px rgba(16, 32, 60, 0.15);
  --header-fog-left: rgba(181, 255, 196, 0.22);
  --header-fog-right: rgba(110, 125, 231, 0.24);

  --glass-fill: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.46);
  --glass-shadow: 0 10px 26px rgba(16, 32, 60, 0.12);
  --glass-highlight: linear-gradient(120deg, rgba(196, 218, 255, 0.24), rgba(255, 255, 255, 0));
  --glass-bottom-glow: linear-gradient(90deg, rgba(181, 255, 196, 0.4), rgba(255, 255, 255, 0));

  --brand-shadow: 0 6px 16px rgba(19, 31, 58, 0.1);
  --outline-border: rgba(13, 20, 33, 0.48);
  --outline-hover: rgba(13, 20, 33, 0.08);
  --toggle-bg: rgba(255, 255, 255, 0.68);
  --toggle-border: rgba(13, 20, 33, 0.18);
  --toggle-hover: rgba(13, 20, 33, 0.08);

  --shadow-soft: 0 18px 32px rgba(13, 20, 33, 0.12);
  --header-scroll: 0px;
}

.interview-shell {
  background: radial-gradient(circle at top right, rgba(110, 125, 231, 0.14), rgba(255, 255, 255, 0))
      , linear-gradient(160deg, rgba(247, 250, 255, 0.9) 0%, rgba(232, 240, 255, 0.76) 60%, rgba(181, 255, 196, 0.4) 100%);
  padding: clamp(3.2rem, 9vw, 5rem) 0 clamp(3rem, 8vw, 4.6rem);
}

.interview-shell__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 2.8rem);
}

.interview-shell__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.interview-shell__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.7rem;
  color: rgba(13, 20, 33, 0.56);
}

.interview-shell__meta h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 2.4rem);
  color: var(--text-strong);
}

.interview-shell__subtitle {
  margin: 0;
  color: var(--text-body-soft);
  max-width: 540px;
}

.interview-shell__session {
  display: grid;
  gap: 0.6rem;
  justify-items: flex-end;
}

.session-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  border: 1px solid rgba(13, 20, 33, 0.1);
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: 0 16px 32px rgba(18, 34, 68, 0.12);
  transition: background 0.2s ease;
}

.session-chip[data-state='recording'] {
  background: rgba(255, 96, 109, 0.16);
  color: #ff1e56;
  border-color: rgba(255, 30, 86, 0.32);
}

.session-chip__meta {
  font-weight: 500;
  opacity: 0.7;
}

.session-user {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(13, 20, 33, 0.86);
  color: #f5f7ff;
  border-radius: 999px;
  padding: 0.5rem 0.95rem 0.5rem 0.5rem;
  box-shadow: 0 20px 32px rgba(13, 20, 33, 0.28);
}

.session-user__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.session-user__copy {
  display: grid;
  font-size: 0.85rem;
}

.session-user__name {
  font-weight: 600;
}

.session-user__email {
  opacity: 0.7;
}

.interview-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: clamp(2rem, 4.8vw, 3rem);
  box-shadow: 0 28px 64px rgba(18, 34, 68, 0.18);
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.interview-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.interview-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(13, 20, 33, 0.54);
  margin: 0 0 0.4rem;
}

.interview-card__question {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(13, 20, 33, 0.7);
}

.interview-card__prompt {
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem);
  background: rgba(247, 250, 255, 0.78);
  border-radius: 24px;
  border: 1px solid rgba(110, 125, 231, 0.14);
  position: relative;
}

.interview-card__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(13, 20, 33, 0.52);
  margin: 0 0 0.8rem;
}

.interview-card__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--text-strong);
}

.interview-card__hint {
  margin: 0.8rem 0 0;
  color: var(--text-body-soft);
  font-size: 1rem;
}

.interview-card__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.interview-card__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 16px;
  background: rgba(13, 20, 33, 0.08);
  color: var(--text-strong);
  min-width: 100px;
  justify-content: center;
}

.timer-icon {
  font-size: 1rem;
}

.recording-preview {
  background: rgba(247, 250, 255, 0.7);
  border-radius: 20px;
  border: 1px solid rgba(13, 20, 33, 0.1);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.recording-preview__title {
  margin: 0 0 0.6rem;
  font-weight: 600;
  color: var(--text-strong);
}

.recording-preview audio {
  width: 100%;
}

.interview-card__footnote {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(13, 20, 33, 0.54);
}

.interview-summary {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 56px rgba(18, 34, 68, 0.14);
  padding: clamp(2rem, 5vw, 2.8rem);
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.interview-summary__header h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--text-strong);
}

.interview-summary__header p {
  margin: 0;
  color: var(--text-body-soft);
}

.interview-summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1rem, 3vw, 1.4rem);
}

.interview-summary__item {
  background: rgba(247, 250, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(110, 125, 231, 0.1);
  padding: clamp(1.2rem, 3.4vw, 1.6rem);
  display: grid;
  gap: 0.6rem;
}

.interview-summary__item h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.interview-summary__meta {
  margin: 0;
  color: rgba(13, 20, 33, 0.6);
  font-size: 0.9rem;
}

.interview-summary__item audio {
  width: 100%;
}

.interview-summary__actions {
  display: flex;
  justify-content: flex-end;
}

.session-user__cta {
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}


.session-cta {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.65);
  padding: 1rem;
  border-radius: 1rem;
  margin-top: 0.75rem;
  box-shadow: 0 12px 25px rgba(15, 22, 38, 0.08);
}

.session-cta__prompt {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(13, 20, 33, 0.65);
  text-align: right;
}

.session-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  align-items: stretch;
}

.session-cta__manual {
  border: 1px solid rgba(13, 20, 33, 0.25);
  background: #ffffff;
  color: #0d1421;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.session-cta__manual:hover,
.session-cta__manual:focus {
  background: #0d1421;
  color: #ffffff;
}

.session-user__reset {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #5a6473;
  padding: 0;
  border: none;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}

.session-user__reset:hover,
.session-user__reset:focus {
  color: #2d3643;
}

.btn-link {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.session-google {
  display: inline-flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 220px;
}

.session-user__banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 96, 109, 0.15);
  color: #ff1e56;
  font-weight: 600;
  font-size: 0.85rem;
}

.session-user__badge-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 720px) {
  .interview-shell__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .interview-shell__session {
    justify-items: flex-start;
  }

  .interview-card__controls {
    flex-direction: column;
  }

  .interview-summary__actions {
    justify-content: center;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 20, 33, 0.46);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

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

.auth-modal__dialog {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 2.8rem);
  width: min(440px, 92vw);
  box-shadow: 0 32px 62px rgba(18, 34, 68, 0.24);
  position: relative;
  display: grid;
  gap: 1.4rem;
}

.auth-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(13, 20, 33, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  cursor: pointer;
}

.auth-modal__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.auth-modal__icon {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: rgba(110, 125, 231, 0.16);
}

.auth-modal__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(13, 20, 33, 0.55);
}

.auth-modal__title {
  margin: 0.35rem 0 0;
  font-size: 1.62rem;
  color: var(--text-strong);
}

.auth-modal__copy {
  margin: 0;
  color: var(--text-body);
  font-size: 1rem;
}

.auth-modal__form {
  display: grid;
  gap: 1rem;
}

.auth-modal__field {
  display: grid;
  gap: 0.4rem;
}

.auth-modal__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(13, 20, 33, 0.72);
}

.auth-modal__input {
  border: 1px solid rgba(13, 20, 33, 0.14);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-modal__input:focus {
  outline: none;
  border-color: rgba(110, 125, 231, 0.6);
  box-shadow: 0 0 0 3px rgba(110, 125, 231, 0.15);
}

.auth-modal__error {
  margin: 0;
  font-size: 0.8rem;
  color: #ff1e56;
}

.auth-modal__submit {
  padding: 0.85rem 1.6rem;
  border-radius: 18px;
  font-size: 1rem;
}

.auth-modal__note {
  margin: -0.4rem 0 0;
  font-size: 0.78rem;
  color: rgba(13, 20, 33, 0.55);
}

.toast {
  position: fixed;
  bottom: clamp(1.4rem, 4vw, 2.2rem);
  right: clamp(1.4rem, 4vw, 2.2rem);
  background: rgba(13, 20, 33, 0.9);
  color: #f5f7ff;
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 210;
  pointer-events: none;
}

.toast.is-active {
  opacity: 1;
  transform: translateY(0);
}
[data-theme="dark"] {
  --gradient-start: #1a3156;
  --gradient-mid: rgba(60, 132, 188, 0.52);
  --gradient-mid-2: rgba(86, 112, 202, 0.58);
  --gradient-end: #3b5bdb;

  --text-strong: #f4f7ff;
  --text-body: #d6ddf5;
  --text-body-soft: rgba(214, 221, 245, 0.78);

  --surface-page: #0f1626;
  --footer-background: #0f1626;

  --header-gradient: linear-gradient(125deg, rgba(26, 49, 86, 0.95) 0%, rgba(38, 60, 118, 0.9) 48%, rgba(59, 91, 219, 0.85) 100%);
  --header-border: rgba(118, 145, 225, 0.4);
  --header-shadow: 0 20px 44px rgba(4, 8, 20, 0.7);
  --header-fog-left: rgba(78, 156, 205, 0.18);
  --header-fog-right: rgba(94, 124, 232, 0.24);

  --glass-fill: rgba(22, 35, 60, 0.6);
  --glass-border: rgba(111, 137, 201, 0.34);
  --glass-shadow: 0 16px 36px rgba(3, 7, 18, 0.65);
  --glass-highlight: linear-gradient(120deg, rgba(118, 145, 225, 0.32), rgba(255, 255, 255, 0));
  --glass-bottom-glow: linear-gradient(90deg, rgba(118, 210, 196, 0.3), rgba(255, 255, 255, 0));

  --brand-shadow: 0 8px 20px rgba(3, 7, 18, 0.6);
  --outline-border: rgba(214, 221, 245, 0.48);
  --outline-hover: rgba(214, 221, 245, 0.14);
  --toggle-bg: rgba(32, 47, 78, 0.6);
  --toggle-border: rgba(150, 170, 230, 0.4);
  --toggle-hover: rgba(98, 130, 220, 0.25);

  --shadow-soft: 0 20px 32px rgba(2, 6, 16, 0.6);
}

* {
  box-sizing: border-box;
}

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

body {
  line-height: 1.6;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: clamp(0.7rem, 2.6vw, 1rem) 0 clamp(0.38rem, 2vw, 0.7rem);
  background: var(--header-gradient);
}


.site-header::before,
.site-header::after {
  display: none;
}

.header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(0.9rem, 3.2vw, 1.6rem);
}

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

.brand__logo {
  width: min(176px, 26vw);
  height: auto;
  display: block;
  filter: drop-shadow(var(--brand-shadow));
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-solid {
  background: #000000;
  color: #f5f7ff;
  box-shadow: var(--shadow-soft);
}

.btn-solid:hover,
.btn-solid:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(13, 20, 33, 0.18);
}

.btn-outline {
  border-color: var(--outline-border);
  color: var(--text-strong);
}

.btn-outline:hover,
.btn-outline:focus {
  transform: translateY(-1px);
  background: var(--outline-hover);
}

.btn-next {
  background: rgba(13, 20, 33, 0.08);
  color: var(--text-strong);
  padding-inline: clamp(1.6rem, 4vw, 2.2rem);
  border-radius: 16px;
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-record {
  position: relative;
  padding-inline: clamp(1.8rem, 5vw, 2.6rem);
  background: linear-gradient(145deg, #ff5f6d 0%, #ff1e56 100%);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 32px rgba(204, 36, 36, 0.35);
}

.btn-record__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 0.65rem;
  transition: transform 0.2s ease;
}

.btn-record.is-recording {
  background: linear-gradient(145deg, #262626 0%, #0d1421 100%);
  box-shadow: 0 20px 30px rgba(13, 20, 33, 0.26);
}

.btn-record.is-recording .btn-record__dot {
  background: #ff4d4f;
  animation: blink 1.1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.btn-record:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.hero {
  background: linear-gradient(120deg, var(--gradient-start) 0%, var(--gradient-mid) 28%, var(--gradient-mid-2) 62%, var(--gradient-end) 100%);
  padding: clamp(3.4rem, 11vw, 5.6rem) 0 clamp(3.6rem, 10vw, 5.4rem);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(320px, 64vh, 480px);
}

.hero__copy {
  max-width: clamp(540px, 65vw, 720px);
}

.hero__panel {
  margin-top: clamp(2rem, 6vw, 4rem);
}

.hero__card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 48px rgba(13, 20, 33, 0.16);
  padding: clamp(1.8rem, 5.6vw, 2.6rem);
  display: grid;
  gap: clamp(1rem, 3vw, 1.6rem);
  max-width: 420px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.78rem;
  color: rgba(13, 20, 33, 0.6);
  margin: 0;
}

.hero__card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2rem);
  color: var(--text-strong);
}

.hero__question-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-body);
}

.hero__question-list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero__question-list span {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(13, 20, 33, 0.08);
  color: var(--text-strong);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.hero__footnote {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(13, 20, 33, 0.62);
}

.hero--hidden {
  display: none;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  line-height: 1.08;
  color: var(--text-strong);
  margin: 0 0 1.5rem;
}

.hero p {
  margin: 0 0 0.9rem;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-body-soft);
}

.hero__actions {
  display: inline-flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.jobs-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(247, 250, 255, 0.65) 45%, rgba(233, 240, 255, 0.6) 100%);
  padding: clamp(3rem, 10vw, 4.6rem) 0 clamp(2.6rem, 8vw, 4rem);
}

.jobs-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.4rem, 5vw, 3.2rem);
}

.jobs-hero__heading {
  max-width: clamp(480px, 60vw, 640px);
}

.jobs-hero__eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: rgba(13, 20, 33, 0.58);
}

.jobs-hero__heading h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  color: var(--text-strong);
}

.jobs-hero__heading p {
  margin: 0;
  color: var(--text-body-soft);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
}

.jobs-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 8px 22px rgba(18, 34, 68, 0.12);
  color: var(--text-body);
}

.jobs-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.jobs-hero__breadcrumb a:hover,
.jobs-hero__breadcrumb a:focus {
  text-decoration: underline;
}

.jobs-board {
  padding: clamp(2.6rem, 8vw, 4.8rem) 0 clamp(2.4rem, 8vw, 4.6rem);
  background: linear-gradient(165deg, rgba(247, 250, 255, 0.85) 0%, rgba(238, 245, 255, 0.8) 50%, rgba(181, 255, 196, 0.2) 100%);
}

.jobs-board__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3.6vw, 2.4rem);
}

.job-card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 48px rgba(18, 34, 68, 0.14);
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 8% 8% auto;
  height: 45%;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(152, 200, 234, 0.25), rgba(181, 255, 196, 0));
  opacity: 0.4;
  pointer-events: none;
}

.job-card__heading h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  color: var(--text-strong);
}

.job-card__heading p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.55;
}

.job-card__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.job-card__details {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-strong);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 20, 33, 0.12);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card__details:hover,
.job-card__details:focus {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(13, 20, 33, 0.24);
  box-shadow: 0 12px 32px rgba(18, 34, 68, 0.14);
}

@media (min-width: 768px) {
  .jobs-board__grid {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(1.8rem, 3vw, 2.6rem);
  }

  .jobs-board__grid .job-card {
    flex: 1 1 calc(33.333% - clamp(1.8rem, 3vw, 2.6rem));
    min-width: 280px;
    display: flex;
    flex-direction: column;
  }

  .job-card__heading {
    display: grid;
    gap: clamp(0.8rem, 1.4vw, 1rem);
  }

  .job-card__actions {
    margin-top: auto;
    flex-direction: row;
    justify-content: flex-start;
  }

  .job-card__details {
    width: auto;
    text-align: left;
  }
}

@media (max-width: 960px) {
  .jobs-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .jobs-hero__breadcrumb {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .jobs-hero {
    text-align: center;
  }

  .jobs-hero__inner {
    align-items: center;
  }

  .jobs-hero__breadcrumb {
    align-self: center;
  }

  .job-card {
    padding: clamp(1.4rem, 6vw, 2rem);
  }

  .job-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .job-card__details {
    text-align: center;
  }
}

.job-detail {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 255, 0.78) 52%, rgba(181, 255, 196, 0.35) 100%);
  padding: clamp(3.2rem, 11vw, 5rem) 0 clamp(3rem, 9vw, 4.4rem);
}

.job-detail__inner {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 58px rgba(18, 34, 68, 0.16);
  padding: clamp(2rem, 6vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.job-detail__eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(13, 20, 33, 0.55);
}

.job-detail__title {
  margin: 0;
  font-size: clamp(2rem, 5.6vw, 2.8rem);
  color: var(--text-strong);
}

.job-detail__description {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.7;
}

.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  font-size: 0.93rem;
  color: var(--text-body-soft);
}

.job-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-detail__cta {
  padding-inline: clamp(1.8rem, 4vw, 2.4rem);
  flex: none;
}

.job-detail__back {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-strong);
  align-self: center;
}

.job-detail__back:hover,
.job-detail__back:focus {
  text-decoration: underline;
}

.job-detail--missing {
  border: 1px solid rgba(232, 60, 60, 0.22);
  background: rgba(255, 248, 249, 0.9);
}

.job-detail--missing .job-detail__title {
  color: #c62828;
}

.job-detail--missing .job-detail__description {
  color: rgba(198, 40, 40, 0.82);
}

.job-detail--missing .job-detail__meta span {
  background: rgba(198, 40, 40, 0.08);
  color: rgba(198, 40, 40, 0.85);
}

.job-detail--missing .job-detail__cta {
  background: #c62828;
  box-shadow: 0 18px 30px rgba(198, 40, 40, 0.3);
}

.job-detail--missing .job-detail__actions {
  justify-content: center;
}

@media (max-width: 640px) {
  .job-detail__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .job-detail__cta {
    width: 100%;
    text-align: center;
  }

  .job-detail__back {
    width: 100%;
    text-align: center;
  }
}

.site-footer {
  padding: 2.8rem 0 2.4rem;
  background: var(--footer-background);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-strong);
}

.footer__meta {
  font-size: 0.95rem;
  color: var(--text-body-soft);
}

.footer__contact {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-strong);
  text-align: right;
}

@media (max-width: 720px) {
  .header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .brand {
    justify-content: center;
  }

  .brand__logo {
    width: min(156px, 52vw);
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__actions {
    width: 100%;
    justify-content: center;
  }

  .btn {
    width: min(240px, 100%);
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__contact {
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .hero__copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  .hero p {
    font-size: 1rem;
  }
}
