/* AI Training Careers — aitrainingcareers.com
   One stylesheet for the whole site.
   Palette: a green-to-blue duotone. Green leads (action, growth),
   blue supports (calm, trust). Both themes are token-driven. */

:root {
  --paper:      #F4F8F8;
  --raised:     #FFFFFF;
  --sunk:       #E7F1F0;
  --ink:        #0E1F24;
  --ink-soft:   #37515A;
  --muted:      #62808A;
  --line:       #D7E5E4;
  --line-firm:  #B4CBCA;

  /* green — primary action */
  --accent:     #0C7A62;
  --accent-ink: #085C4A;
  --accent-bg:  #DBEFE8;
  --accent-on:  #FFFFFF;

  /* blue — support, links, secondary emphasis */
  --blue:       #1A6BA6;
  --blue-ink:   #12507E;
  --blue-bg:    #DCEAF5;

  --duo:        linear-gradient(100deg, #0C7A62 0%, #12717F 48%, #1A6BA6 100%);
  --on-duo:     #FFFFFF;

  --warn:       #9C4518;
  --warn-bg:    #F8E7DB;

  --shadow:     0 1px 2px rgba(14, 31, 36, .05), 0 10px 28px -14px rgba(14, 31, 36, .22);
  --shadow-lg:  0 2px 4px rgba(14, 31, 36, .06), 0 22px 48px -20px rgba(12, 122, 98, .30);

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body:    "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --col:  66ch;
  --wide: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #0A1417;
    --raised:     #122026;
    --sunk:       #061014;
    --ink:        #E2EDEC;
    --ink-soft:   #B3C7C9;
    --muted:      #7C979C;
    --line:       #23363B;
    --line-firm:  #375056;

    --accent:     #45C4A2;
    --accent-ink: #7ADCC0;
    --accent-bg:  #0F302A;
    --accent-on:  #04120E;

    --blue:       #5CB2E8;
    --blue-ink:   #8FCCF2;
    --blue-bg:    #0D2A3D;

    --duo:        linear-gradient(100deg, #45C4A2 0%, #4FBBC7 48%, #5CB2E8 100%);
    --on-duo:     #04120E;

    --warn:       #E09163;
    --warn-bg:    #2D1D13;

    --shadow:     0 1px 2px rgba(0,0,0,.45), 0 10px 28px -14px rgba(0,0,0,.75);
    --shadow-lg:  0 2px 4px rgba(0,0,0,.5), 0 22px 48px -20px rgba(0,0,0,.85);
  }
}

:root[data-theme="dark"] {
  --paper:      #0A1417;
  --raised:     #122026;
  --sunk:       #061014;
  --ink:        #E2EDEC;
  --ink-soft:   #B3C7C9;
  --muted:      #7C979C;
  --line:       #23363B;
  --line-firm:  #375056;

  --accent:     #45C4A2;
  --accent-ink: #7ADCC0;
  --accent-bg:  #0F302A;
  --accent-on:  #04120E;

  --blue:       #5CB2E8;
  --blue-ink:   #8FCCF2;
  --blue-bg:    #0D2A3D;

  --duo:        linear-gradient(100deg, #45C4A2 0%, #4FBBC7 48%, #5CB2E8 100%);
  --on-duo:     #04120E;

  --warn:       #E09163;
  --warn-bg:    #2D1D13;

  --shadow:     0 1px 2px rgba(0,0,0,.45), 0 10px 28px -14px rgba(0,0,0,.75);
  --shadow-lg:  0 2px 4px rgba(0,0,0,.5), 0 22px 48px -20px rgba(0,0,0,.85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(25px, 3.2vw, 34px); line-height: 1.18; }
h3 { font-size: 20px; line-height: 1.32; }
p  { margin: 0; }
strong { font-weight: 700; }

.shell { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.col   { max-width: var(--col); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.eyebrow.blue { color: var(--blue); }

/* a hairline that carries the duotone — used under section heads */
.duo-rule { height: 3px; width: 74px; border-radius: 3px; background: var(--duo); flex: none; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .mark {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--duo);
  color: var(--on-duo);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  display: grid;
  place-items: center;
  flex: none;
}

.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .site-nav .hide-sm { display: none; }
  .brand { font-size: 16.5px; white-space: nowrap; }
  .brand .mark { width: 25px; height: 25px; font-size: 12px; }
  .site-head .shell { gap: 12px; }
}

@media (max-width: 380px) {
  .brand { font-size: 15px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}

.btn-primary { background: var(--duo); color: var(--on-duo); box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.08); color: var(--on-duo); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-firm); }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent); }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; filter: none; }

/* ---------- sections ---------- */

.band { padding: 78px 0; border-bottom: 1px solid var(--line); }
.band.tight { padding: 54px 0; }
.band.sunk  { background: var(--sunk); }
.band > .shell { display: flex; flex-direction: column; gap: 28px; }

.stack   { display: flex; flex-direction: column; gap: 16px; }
.stack-l { display: flex; flex-direction: column; gap: 30px; }

.lede { font-size: 19px; color: var(--ink-soft); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 68px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* soft duotone wash, kept faint so type stays the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 45% auto -15%;
  height: 130%;
  background: var(--duo);
  opacity: .07;
  filter: blur(70px);
  pointer-events: none;
}

.hero > .shell { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: 54px;
  align-items: start;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
}

.hero h1 { margin-top: 16px; }
.hero .lede { margin-top: 18px; max-width: 54ch; }

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-points li { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; }
.hero-points li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 2px solid var(--accent);
}
.hero-points li:nth-child(even)::before { background: var(--blue-bg); border-color: var(--blue); }

/* ---------- cards & forms ---------- */

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h2, .card h3 { font-size: 22px; }

.field { display: flex; flex-direction: column; gap: 7px; }

.field label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-soft);
}

.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-firm);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease;
}

.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { cursor: pointer; }

.form-note { font-size: 13.5px; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { font-size: 15px; padding: 12px 15px; border-radius: var(--r-sm); display: none; }
.form-msg.show { display: block; }
.form-msg.ok   { background: var(--accent-bg); color: var(--accent-ink); }
.form-msg.bad  { background: var(--warn-bg);   color: var(--warn); }

/* ---------- grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.panel {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}

.panel:hover { border-color: var(--line-firm); transform: translateY(-2px); }
.panel p { font-size: 15.5px; color: var(--ink-soft); }

/* small round icon-ish tile at the top of a panel */
.panel .tile {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.panel:nth-child(even) .tile { background: var(--blue-bg); color: var(--blue-ink); }

/* ---------- inclusion list ---------- */

.included { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.included li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.included li::before {
  content: "";
  width: 19px; height: 19px;
  margin-top: 5px;
  border-radius: 6px;
  background: var(--duo);
  opacity: .85;
}
.included b { font-weight: 700; }
.included span { color: var(--ink-soft); }

/* ---------- pricing ---------- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 22px; align-items: start; }

.tier {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.tier.featured { border-color: transparent; box-shadow: var(--shadow-lg); }
.tier.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 2px;
  background: var(--duo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.tier .flag {
  position: absolute;
  top: -12px; left: 26px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--duo);
  color: var(--on-duo);
  padding: 4px 11px;
  border-radius: 20px;
}

.tier .tname { font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.tier .tprice {
  font-family: var(--f-mono);
  font-size: 31px;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.tier .tprice small { display: block; font-size: 12px; letter-spacing: .05em; color: var(--muted); margin-top: 6px; }
.tier .tfor { font-size: 14.5px; color: var(--muted); }
.tier ul { margin: 0; padding-left: 19px; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--ink-soft); }
.tier .btn { margin-top: auto; }

/* ---------- trust ---------- */

.trust {
  border-left: 3px solid transparent;
  border-image: var(--duo) 1;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: var(--col);
}

.callout {
  background: var(--warn-bg);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: 15.5px;
  color: var(--warn);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--col);
}
.callout b { color: var(--warn); }

/* a friendlier, on-brand version of the callout */
.note-blue {
  background: var(--blue-bg);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: 15.5px;
  color: var(--blue-ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--col);
}

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; max-width: var(--col); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; color: var(--blue); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); font-size: 16px; }

/* ---------- steps ---------- */

.steps { display: flex; flex-direction: column; max-width: var(--col); }

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }

.step .n {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--blue);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.step .sbody { display: flex; flex-direction: column; gap: 8px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* numbered step cards, for a friendlier three-across layout */
.stepcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: sc; }

.stepcard {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  counter-increment: sc;
}

.stepcard::before {
  content: counter(sc);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--duo);
  color: var(--on-duo);
  font-family: var(--f-mono);
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.stepcard h3 { font-size: 19px; }
.stepcard p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- prose ---------- */

.prose { max-width: var(--col); display: flex; flex-direction: column; gap: 18px; padding: 56px 0 78px; }
.prose h2 { font-size: 24px; margin-top: 20px; }
.prose h3 { font-size: 18px; margin-top: 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 9px; }
.prose .updated { font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--sunk);
  border-top: 1px solid var(--line);
  padding: 50px 0 62px;
  font-size: 14.5px;
  color: var(--muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  margin-bottom: 34px;
}

.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col .ftitle {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--accent); }

.foot-legal {
  border-top: 1px solid var(--line-firm);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.62;
}

/* ---------- admin ---------- */

.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 80px; display: flex; flex-direction: column; gap: 22px; }

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 17px 19px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--f-display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--raised); }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

.pill {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--blue-bg);
  color: var(--blue-ink);
  white-space: nowrap;
}
.pill.grey { background: var(--sunk); color: var(--muted); }

.login-box { max-width: 390px; margin: 90px auto; }

.empty { padding: 42px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- cookie consent ---------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--raised);
  border: 1px solid var(--line-firm);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  animation: consent-in .25s ease both;
}

@keyframes consent-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.consent-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.consent-inner p { font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { padding: 9px 20px; font-size: 14.5px; }

@media (max-width: 560px) {
  .consent-inner { justify-content: stretch; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
