@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Claude dark palette ── */
:root {
    --bg: #1F1E1B;
    --bg-2: #25241F;
    --surface: #2A2825;
    --surface-2: #34322D;
    --border: #3A3833;
    --border-strong: #4A4842;
    --text: #F0EBE0;
    --muted: #A09B91;
    --muted-2: #7A7670;
    --accent: #D97757;
    --accent-hover: #C96442;
    --accent-soft: rgba(217, 119, 87, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11";
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 85% 0%, rgba(217, 119, 87, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(217, 119, 87, 0.04), transparent 60%);
    z-index: 0;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 32px 80px;
    position: relative;
    z-index: 1;
}

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3 { color: var(--text); margin: 0; }

/* ── Topbar ── */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.topbar-brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.topbar-brand-mark {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
}

.topbar-brand-text em {
    color: var(--accent);
    font-style: normal;
}

.topbar-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.topbar-nav a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
    font-size: 13.5px;
}

.topbar-nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
    padding: 88px 0 72px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 72px;
    animation: rise 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--accent);
    padding: 6px 14px;
    background: var(--accent-soft);
    border-radius: 999px;
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(46px, 7.5vw, 80px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 0 0 32px;
    font-feature-settings: "ss01";
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.hero-sub {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--muted);
    line-height: 1.55;
    font-weight: 300;
    margin: 0 0 40px;
    max-width: 640px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.18s, transform 0.18s;
}

.btn-primary:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    transition: border-color 0.18s, background 0.18s;
}

.btn-secondary:hover {
    border-color: var(--text);
    background: var(--surface);
    text-decoration: none;
}

/* ── Section ── */
.section {
    margin-bottom: 80px;
}

.section:nth-of-type(1) { animation: rise 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) both; }
.section:nth-of-type(2) { animation: rise 0.7s 0.18s cubic-bezier(0.16,1,0.3,1) both; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.015em;
    font-feature-settings: "ss01";
}

.section-meta {
    font-size: 13px;
    color: var(--muted);
}

/* ── Operator cards ── */
.op-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.op-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    display: block;
    position: relative;
    color: var(--text);
}

.op-card:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    transform: translateY(-2px);
    text-decoration: none;
}

.op-callsign {
    font-family: "JetBrains Mono", monospace;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}

.op-card:hover .op-callsign { color: var(--accent); }

.op-name {
    font-size: 13px;
    color: var(--muted);
}

.op-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    color: var(--border-strong);
    transition: color 0.2s, transform 0.2s;
    font-size: 13px;
}

.op-card:hover .op-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* ── Info panels ── */
.panel-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    margin: 0;
}

.panel h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 16px;
    letter-spacing: -0.005em;
}

.panel p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 12px;
}

.panel p:last-child { margin-bottom: 0; }

.panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.panel li:first-child { padding-top: 0; }
.panel li:last-child { border-bottom: none; padding-bottom: 0; }

.panel li span:first-child { color: var(--muted); }

.panel a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.panel a:hover {
    color: var(--accent);
    text-decoration: none;
}

.panel code {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    background: var(--bg-2);
    color: var(--accent);
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* ── Footer ── */
footer {
    margin-top: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

footer a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

footer a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ── Animations ── */
@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .container { padding: 0 20px 60px; }
    .topbar { padding: 18px 0; }
    .topbar-nav { gap: 18px; }
    .hero { padding: 56px 0 48px; margin-bottom: 56px; }
    .section { margin-bottom: 56px; }
    .section-title { font-size: 24px; }
    .panel { padding: 24px; }
    .hero-actions { width: 100%; }
    .btn-primary, .btn-secondary { flex: 1; justify-content: center; }
}
