/* Job Tracker site in the app's Clarity look (ADR-010). Values mirror ui/designsystem/Color.kt. No external
   fonts, scripts or analytics: the pages must not send visitors anywhere. */
@font-face {
  font-family: "Onest";
  src: url("onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --primary: #2E55F5; --on-primary: #FFFFFF;
  --primary-container: #EEF2FF; --on-primary-container: #2440C4;
  --page: #F4F5F8; --card: #FFFFFF; --outline: #E3E6ED; --field-outline: #7A8091;
  --text: #0F1222; --muted: #5B6172;
  --attention: #FFF4DE; --on-attention: #271800; --attention-outline: #F1D9A6;
  --radius-sm: 12px; --radius-md: 18px; --radius-lg: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #8FA5FF; --on-primary: #0E1A52;
    --primary-container: #1D2748; --on-primary-container: #C9D4FF;
    --page: #0F1115; --card: #181B22; --outline: #2B303B; --field-outline: #7D8494;
    --text: #E8EAF0; --muted: #9AA1B0;
    --attention: #2A2214; --on-attention: #FFDEA6; --attention-outline: #4A3B1D;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 16px/1.55 Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
a { color: var(--primary); }
code { font-size: 0.92em; }

header .wrap { display: flex; align-items: center; gap: 14px; padding-top: 24px; padding-bottom: 8px; }
header svg { width: 44px; height: 44px; border-radius: 12px; flex: none; }
header .name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
header nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; font-weight: 600; }
header nav a { text-decoration: none; }

main { padding: 24px 0 56px; }
h1 { font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; margin: 36px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.muted { color: var(--muted); }
ul { padding-left: 20px; margin: 8px 0; }
li { margin: 6px 0; }

.card {
  background: var(--card); border: 1px solid var(--outline); border-radius: var(--radius-md);
  padding: 16px 18px;
}
.card.attention { background: var(--attention); border-color: var(--attention-outline); color: var(--on-attention); }
.card.attention a { color: inherit; }
.draft { margin-bottom: 24px; font-size: 14px; }

.button {
  display: inline-block; background: var(--primary); color: var(--on-primary); text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 999px;
}
.button.tonal { background: var(--primary-container); color: var(--on-primary-container); }

.hero { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.shot {
  width: 100%; height: auto; border-radius: 28px; border: 8px solid #1B222C; display: block;
  box-shadow: 0 18px 40px rgba(15, 18, 34, 0.18);
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.features .card p { margin: 0; color: var(--muted); font-size: 15px; }
.tile {
  width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 10px;
  background: var(--primary-container); color: var(--on-primary-container);
}

.flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px;
  text-align: center; margin: 8px 0;
}
.flow .step b { display: block; font-weight: 600; margin-top: 8px; }
.flow .step span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.flow .icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--outline); color: var(--text);
}
.flow .icon.phone { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.flow .icon.none { background: transparent; border: 2px solid var(--field-outline); color: var(--muted); }
.flow .arrow { align-self: center; color: var(--muted); padding-bottom: 36px; }

.faq { padding: 0 18px; }
.faq div { padding: 14px 0; border-bottom: 1px solid var(--outline); }
.faq div:last-child { border-bottom: 0; }
.faq b { font-weight: 600; display: block; }

.table-wrap { overflow-x: auto; padding: 4px 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--outline); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--muted); font-size: 13px; }

footer { color: var(--muted); font-size: 14px; border-top: 1px solid var(--outline); padding: 20px 0 40px; }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero .shot-wrap { max-width: 260px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
}
@media (max-width: 420px) {
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { padding: 0; transform: rotate(90deg); }
  header nav { gap: 12px; }
}
