/* Skipi Vacancy Index — design language inspired by artificialanalysis.ai
   Body: geometric sans (Inter). Headings: editorial serif (Georgia stack).
   White background, black ink, thin borders, colored square accents. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #FFFFFF;
    --ink: #0A0A0A;
    --ink-soft: #404040;
    --gray: #707070;
    --gray-mute: #A0A0A0;
    --rule: #E5E5E5;
    --rule-strong: #1F1F1F;
    --accent-orange: #FF7018;
    --accent-purple: #7F4BF3;
    --accent-yellow: #F5C518;
    --accent-blue: #2243E6;
    --accent-green: #34A853;
    --accent-red: #B83A26;
    --card-radius: 10px;
    --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, ui-sans-serif, system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

a { color: inherit; }

/* ── Top nav */
header.site {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 50;
}
header.site .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo-pill {
    background: var(--ink);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.005em;
}
.logo-pill::before {
    content: '◼';
    color: var(--accent-orange);
    font-size: 12px;
}
header.site nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
header.site nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.12s;
}
header.site nav a:hover { color: var(--ink); }
header.site nav a.external::after { content: ' ↗'; color: var(--gray-mute); }

/* ── Hero */
section.hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--rule);
}
section.hero .grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}
section.hero h1 {
    font-family: Georgia, Cambria, 'Times New Roman', serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1.04;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}
section.hero .tagline {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 560px;
    line-height: 1.5;
}
section.hero .issue-tag {
    display: inline-block;
    margin-top: 22px;
    padding: 5px 12px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink);
}
.hero-card {
    border: 1px solid var(--rule);
    border-radius: var(--card-radius);
    padding: 24px 26px;
    background: #fff;
    position: relative;
    margin-bottom: 16px;
}
.hero-card .kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 10px;
}
.hero-card .title {
    font-size: 17px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}
.hero-card .body {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.55;
}
.hero-card .arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ── Highlights row */
section.highlights {
    padding: 56px 0;
    border-bottom: 1px solid var(--rule);
}
section.highlights .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 22px;
    font-weight: 500;
}
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tier-card {
    border: 1px solid var(--rule);
    border-radius: var(--card-radius);
    padding: 26px 26px 30px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.15s;
}
.tier-card:hover { border-color: var(--ink); }
.tier-card .heading {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tier-card .swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}
.tier-card .heading h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.tier-card .heading h3 a { text-decoration: none; color: inherit; }
.tier-card .heading h3 a:hover { text-decoration: underline; }
.tier-card .sub {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.5;
}
.tier-card .stat-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}
.tier-card .stat-value {
    font-family: Georgia, Cambria, serif;
    font-size: 30px;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.tier-card .stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Section tiers (full chart blocks) */
section.tier {
    padding: 72px 0;
    border-bottom: 1px solid var(--rule);
}
section.tier .tier-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}
section.tier .tier-head .swatch {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-top: 12px;
}
section.tier .tier-head .text h2 {
    font-family: Georgia, Cambria, serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.012em;
}
section.tier .tier-head .text .lead {
    font-size: 16px;
    color: var(--gray);
    max-width: 720px;
    margin-top: 10px;
    line-height: 1.55;
}

img.chart {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--rule);
    border-radius: var(--card-radius);
    margin: 24px 0;
    background: #FAFAF7;
}

.takeaways {
    border: 1px solid var(--rule);
    border-radius: var(--card-radius);
    padding: 22px 26px;
    background: #fff;
    margin-top: 16px;
}
.takeaways h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 12px;
    font-weight: 600;
}
.takeaways ul { list-style: none; padding: 0; }
.takeaways li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.takeaways li strong { color: var(--ink); font-weight: 600; }

/* ── Methodology / generic content */
section.content {
    padding: 72px 0;
    border-bottom: 1px solid var(--rule);
}
section.content h2 {
    font-family: Georgia, Cambria, serif;
    font-weight: 400;
    font-size: 38px;
    color: var(--ink);
    letter-spacing: -0.012em;
    margin-bottom: 24px;
}
section.content h3 {
    font-size: 18px;
    color: var(--ink);
    margin: 28px 0 10px;
    font-weight: 600;
}
section.content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 14px;
    max-width: 760px;
}
section.content p strong { color: var(--ink); font-weight: 600; }

/* ── CTA */
section.cta {
    padding: 88px 0;
    border-bottom: 1px solid var(--rule);
    text-align: center;
}
section.cta h2 {
    font-family: Georgia, Cambria, serif;
    font-weight: 400;
    font-size: 42px;
    color: var(--ink);
    letter-spacing: -0.012em;
    margin-bottom: 14px;
    line-height: 1.1;
}
section.cta p {
    font-size: 16.5px;
    color: var(--gray);
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.005em;
    transition: background 0.15s;
}
.btn:hover { background: #333; }

/* ── Footer */
footer.site {
    padding: 32px 0 40px;
    font-size: 13.5px;
    color: var(--gray);
}
footer.site .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
footer.site a {
    color: var(--ink-soft);
    text-decoration: none;
    margin-right: 18px;
}
footer.site a:hover { color: var(--ink); text-decoration: underline; }

/* ── Archive list */
section.archive-page { padding: 48px 0 96px; }
.archive-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}
.archive-list li {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
}
.archive-list .date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    font-weight: 500;
}
.archive-list .title {
    font-size: 17px;
    color: var(--ink);
    font-weight: 500;
}
.archive-list a { text-decoration: none; color: inherit; }
.archive-list a:hover { text-decoration: underline; }
.archive-list .arrow {
    width: 28px;
    height: 28px;
    background: var(--ink);
    color: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Responsive */
@media (max-width: 960px) {
    section.hero h1 { font-size: 48px; }
    section.hero .grid { grid-template-columns: 1fr; gap: 32px; }
    .tier-grid { grid-template-columns: 1fr; }
    section.tier .tier-head .text h2 { font-size: 30px; }
    section.cta h2 { font-size: 32px; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    header.site nav { gap: 14px; }
    header.site nav a { font-size: 13.5px; }
    section.hero { padding: 48px 0 36px; }
    section.hero h1 { font-size: 38px; }
    section.tier { padding: 48px 0; }
    section.tier .tier-head .text h2 { font-size: 26px; }
    .archive-list li { grid-template-columns: 1fr; gap: 6px; }
}
