/* AtomicCTF — shared marketing styles (Slice 10A).
   Extracted poster-theme tokens + components used by the public surface
   (index.html and the new ground-zero / about / careers / shop / core13 /
   contact pages). index.html keeps its own inline copy for now to avoid
   refactoring the existing landing; new pages link this stylesheet. */

:root {
    --teal: #3cb4a0;
    --teal-bright: #4dd9c0;
    --teal-deep: #1a8a78;
    --teal-bg: #d9f5ef;
    --cream: #fdf6ec;
    --cream-warm: #f9eed8;
    --orange: #e85d04;
    --orange-glow: rgba(232, 93, 4, 0.35);
    --red: #c9402a;
    --navy: #1c2e4a;
    --text: #2a3a3a;
    --text-light: #5e7572;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    color: var(--text);
    background: var(--teal-bg);
    overflow-x: hidden;
    min-height: 100vh;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
.starburst { display: inline-block; width: 18px; height: 18px; background: var(--orange); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); flex-shrink: 0; }
.starburst-sm { width: 12px; height: 12px; }
.starburst-cream { background: var(--cream); }

/* NAV */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 32px; height: 56px;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--teal-deep);
    border-bottom: 3px solid var(--cream-warm);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; border-radius: 4px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.nav-cta { background: var(--orange) !important; color: #fff !important; padding: 7px 14px !important; border-radius: 20px; transition: background 0.2s, transform 0.15s !important; box-shadow: 0 2px 8px var(--orange-glow); }
.nav-cta:hover { background: #ff7020 !important; transform: translateY(-1px); }

/* PAGE HERO (slim banner used by sub-pages, not the homepage rocket banner) */
.page-hero {
    padding: 96px 24px 40px;
    background: var(--teal-deep);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 30%, #fff 1px, transparent 1px), radial-gradient(circle at 50% 80%, #fff 1.5px, transparent 1.5px);
    pointer-events: none;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono, 'Space Mono', monospace); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cream-warm); margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-display, 'Righteous', cursive); font-size: clamp(28px, 5vw, 46px); color: #fff; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.page-hero p { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* RETRO DIVIDER */
.retro-divider { height: 8px; background: repeating-linear-gradient(90deg, var(--teal) 0px, var(--teal) 20px, var(--cream) 20px, var(--cream) 24px, var(--orange) 24px, var(--orange) 44px, var(--cream) 44px, var(--cream) 48px); }

/* SECTION */
.section { padding: 64px 28px; }
.section-inner { max-width: 920px; margin: 0 auto; }
.section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.section-label { font-family: var(--font-mono, 'Space Mono', monospace); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--orange); }
.section-rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
.section-title { font-family: var(--font-display, 'Righteous', cursive); font-size: clamp(24px, 3.5vw, 34px); color: var(--navy); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-light); line-height: 1.65; max-width: 640px; }

.section-cream { background: var(--cream); }
.section-teal { background: var(--teal-bg); }
.section-deep { background: var(--teal-deep); color: #fff; }
.section-deep .section-title { color: #fff; }
.section-deep .section-desc { color: rgba(255,255,255,0.85); }
.section-deep .section-label { color: var(--cream-warm); }

/* PROSE — readable text inside content sections */
.prose { font-size: 16px; line-height: 1.7; color: var(--text); }
.prose p { margin: 12px 0; max-width: 700px; }
.prose ul { margin: 14px 0 14px 22px; padding: 0; }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose strong { color: var(--navy); }
.prose code { font-family: var(--font-mono, 'Space Mono', monospace); background: var(--cream); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; color: var(--navy); }
.prose h2 { font-family: var(--font-display, 'Righteous', cursive); font-size: 22px; color: var(--navy); margin-top: 28px; margin-bottom: 8px; }
.prose h3 { font-family: var(--font-display, 'Righteous', cursive); font-size: 18px; color: var(--navy); margin-top: 22px; margin-bottom: 6px; }

/* CARD GRIDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: var(--white); border: 2px solid var(--teal); border-radius: 12px; padding: 22px; position: relative; transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(60,180,160,0.12); }
.card .card-num { font-family: var(--font-display, 'Righteous', cursive); font-size: 36px; color: var(--teal-bg); position: absolute; top: 8px; right: 14px; line-height: 1; }
.card h3 { font-family: var(--font-display, 'Righteous', cursive); font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--text-light); line-height: 1.55; }
.card.accent-orange { border-color: var(--orange); }
.card.accent-navy { border-color: var(--navy); }
.card.accent-red { border-color: var(--red); }
.card-tag { display: inline-block; font-family: var(--font-mono, 'Space Mono', monospace); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; border-radius: 8px; margin-bottom: 8px; color: #fff; background: var(--teal-deep); }
.card.accent-orange .card-tag { background: var(--orange); }
.card.accent-navy .card-tag { background: var(--navy); }
.card.accent-red .card-tag { background: var(--red); }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: #fff; padding: 13px 30px; border-radius: 28px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 16px var(--orange-glow); border: 2px solid var(--orange); cursor: pointer; }
.btn-primary:hover { background: #ff7020; transform: translateY(-2px); box-shadow: 0 6px 24px var(--orange-glow); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--teal-deep); padding: 13px 30px; border-radius: 28px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--teal); transition: all 0.2s; cursor: pointer; }
.btn-ghost:hover { background: var(--teal-bg); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #fff; padding: 13px 30px; border-radius: 28px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid rgba(255,255,255,0.5); transition: all 0.2s; cursor: pointer; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* CALLOUT */
.callout { background: var(--cream); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 8px; margin: 24px 0; font-size: 15px; line-height: 1.6; color: var(--navy); }
.callout strong { color: var(--orange); }

/* BADGE / PILL */
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-deep); color: #fff; font-family: var(--font-mono, 'Space Mono', monospace); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px; border-radius: 16px; }
.pill.orange { background: var(--orange); }
.pill.cream { background: var(--cream-warm); color: var(--navy); }
.pill-pulse { animation: badge-pulse 2.5s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(60,180,160,0.35); } 50% { box-shadow: 0 0 0 6px rgba(60,180,160,0); } }

/* CONCEPT LIST (Ground Zero "what you'll learn") */
.concept-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.concept-item { background: var(--white); border: 2px dashed var(--teal); border-radius: 10px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.concept-item .concept-num { font-family: var(--font-mono, 'Space Mono', monospace); font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; flex-shrink: 0; padding-top: 2px; }
.concept-item .concept-body h4 { font-family: var(--font-display, 'Righteous', cursive); font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.concept-item .concept-body p { font-size: 13px; color: var(--text-light); line-height: 1.5; margin: 0; }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 36px 32px 24px; font-size: 13px; }
footer a { color: var(--teal-bright); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 { font-family: var(--font-display, 'Righteous', cursive); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col p { color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 280px; }
.footer-bottom { max-width: 1100px; margin: 16px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 28px; width: auto; opacity: 0.8; }

/* RESPONSIVE */
@media (max-width: 768px) {
    nav { padding: 0 16px; gap: 8px; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.nav-cta):not(.always-visible) { display: none; }
    .section { padding: 44px 18px; }
    .page-hero { padding: 80px 18px 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
