/* Public site CSS — cyberpunk hero + clean conversion below.
   Plain CSS, no preprocessor, no build step. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body.public-body {
    background-color: #050510;
    color: #e8e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: #d4a017; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #f5c842; }

p { margin: 0 0 16px; }
strong { color: #fff; }

.muted { color: #8a8aa0; }
.muted.small { font-size: 13px; }

/* ---------- Background grid (subtle) ---------- */

.bg-grid {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 160, 23, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center top, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center top, #000 0%, transparent 75%);
}

/* ---------- Containers ---------- */

.container {
    position: relative; z-index: 1;
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.container-narrow {
    max-width: 720px; margin: 0 auto; padding: 0 24px;
}

/* ---------- Header / nav ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #1f1f3a;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex; align-items: center; gap: 12px;
    color: #e8e8f0; text-decoration: none;
}
.brand-mark {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid #d4a017; background: #0a0a18;
    display: flex; align-items: center; justify-content: center;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-weight: 700; color: #d4a017;
    font-size: 11px; letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
}
.brand-text {
    font-weight: 600; font-size: 15px; color: #e8e8f0;
    letter-spacing: 0.02em;
}
.brand:hover .brand-mark { border-color: #f5c842; box-shadow: 0 0 24px rgba(212, 160, 23, 0.4); }

.site-nav {
    display: flex; align-items: center; gap: 24px;
}
.site-nav a {
    color: #b0b0c0; font-size: 14px; font-weight: 500;
    padding: 6px 0; position: relative;
}
.site-nav a:hover { color: #f5c842; }
.site-nav a.active { color: #d4a017; }
.site-nav a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: #d4a017;
}
.site-nav .nav-cta {
    padding: 8px 16px; border: 1px solid #d4a017; border-radius: 4px;
    color: #d4a017;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: #d4a017; color: #0a0a18; text-decoration: none; }

@media (max-width: 720px) {
    .site-nav { gap: 12px; flex-wrap: wrap; }
    .site-nav a { font-size: 13px; padding: 4px 0; }
    .brand-text { display: none; }
}

/* ---------- Hero (cyberpunk wow) ---------- */

.hero {
    position: relative; z-index: 1;
    padding: 96px 24px 80px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.12), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(180, 80, 220, 0.08), transparent 50%);
    pointer-events: none; z-index: -1;
}

.hero-inner { max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-block;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 11px; font-weight: 600; color: #d4a017;
    text-transform: uppercase; letter-spacing: 0.2em;
    border: 1px solid rgba(212, 160, 23, 0.3);
    padding: 4px 12px; border-radius: 12px;
    background: rgba(212, 160, 23, 0.05);
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1; font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.hero-line {
    background: linear-gradient(135deg, #f5c842 0%, #d4a017 50%, #b88810 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #d4a017;
    text-shadow: 0 0 60px rgba(212, 160, 23, 0.3);
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: #b0b0c0; max-width: 640px; margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4a017 0%, #f5c842 100%);
    color: #0a0a18;
    font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
    border: none; border-radius: 8px;
    cursor: pointer; text-decoration: none;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.25);
}
.btn-hero:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.45);
    color: #0a0a18; text-decoration: none;
    background: linear-gradient(135deg, #e0b020 0%, #ffd060 100%);
}
.btn-hero-ghost {
    background: transparent; color: #d4a017;
    border: 1px solid #d4a017; box-shadow: none;
}
.btn-hero-ghost:hover {
    background: rgba(212, 160, 23, 0.08);
    color: #f5c842;
    box-shadow: none;
}

/* ---------- Page hero (smaller, for inner pages) ---------- */

.page-hero {
    position: relative; z-index: 1;
    padding: 72px 24px 48px;
    text-align: center;
}
.page-title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2; font-weight: 700;
    color: #e8e8f0;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.page-subtitle {
    font-size: 17px; max-width: 560px; margin: 0 auto;
}

/* ---------- Generic section blocks ---------- */

.who-section, .services-section, .packages-section, .work-section,
.process-section, .cta-section, .prose-section, .contact-section {
    padding: 64px 0;
}

.section-eyebrow {
    display: block; text-align: center;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px; font-weight: 600; color: #d4a017;
    text-transform: uppercase; letter-spacing: 0.2em;
    margin-bottom: 12px;
}
.section-title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2;
    font-weight: 700; color: #e8e8f0;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.section-lead {
    text-align: center; max-width: 640px; margin: 0 auto 40px;
    font-size: 17px;
}

/* ---------- Who section ---------- */

.who-grid {
    display: grid; gap: 16px; margin-top: 40px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.who-card {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px; padding: 24px;
}
.who-card .who-icon {
    color: #d4a017; font-size: 22px; margin-bottom: 12px;
}
.who-card h3 { font-size: 17px; margin-bottom: 8px; color: #e8e8f0; }
.who-card p { color: #b0b0c0; font-size: 14px; }

/* ---------- Services ---------- */

.services-grid {
    display: grid; gap: 16px; margin-top: 40px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service-card {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px; padding: 24px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: #2a2d35; transform: translateY(-2px); }
.service-card h3 { font-size: 17px; margin-bottom: 8px; color: #d4a017; }
.service-card p { font-size: 14px; }

/* ---------- Packages ---------- */

.packages-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 40px;
}
.package-card {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px; padding: 24px;
}
.package-card.package-highlight {
    border-color: #d4a017;
    box-shadow: 0 0 32px rgba(212, 160, 23, 0.15);
    background: linear-gradient(180deg, #14101a 0%, #0a0a18 100%);
}
.package-name {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px; font-weight: 700; color: #d4a017;
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 8px;
}
.package-price {
    font-size: 28px; font-weight: 700; color: #e8e8f0;
    margin-bottom: 4px;
}
.package-tagline { margin-bottom: 16px; }
.package-list {
    list-style: none; padding: 0; margin: 0;
    border-top: 1px solid #1f1f3a;
}
.package-list li {
    padding: 8px 0;
    font-size: 13px; color: #b0b0c0;
    border-bottom: 1px solid #1f1f3a;
}
.package-list li:last-child { border-bottom: none; }
.package-list li::before { content: '— '; color: #d4a017; margin-right: 4px; }

/* ---------- Selected work ---------- */

.work-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}
.work-card {
    display: block;
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px; padding: 24px;
    text-decoration: none; color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.work-card:hover {
    border-color: #d4a017; transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    text-decoration: none; color: inherit;
}
.work-card .work-name { font-size: 18px; font-weight: 700; color: #d4a017; margin-bottom: 4px; }
.work-card .work-tag { font-size: 14px; color: #e8e8f0; margin-bottom: 8px; }
.work-card .work-meta { font-size: 12px; color: #6a6a80; }
.btn {
    display: inline-block; padding: 10px 20px;
    background: transparent; color: #d4a017;
    border: 1px solid #d4a017; border-radius: 6px;
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn:hover { background: rgba(212,160,23,0.08); color: #f5c842; border-color: #f5c842; }

/* ---------- Process ---------- */

.process-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 40px;
}
.process-step {
    text-align: center; padding: 24px 16px;
}
.process-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: rgba(212, 160, 23, 0.1);
    border: 2px solid #d4a017; color: #d4a017;
    border-radius: 50%;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 22px; font-weight: 700;
    margin-bottom: 16px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; color: #e8e8f0; }

/* ---------- CTA section ---------- */

.cta-section {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 160, 23, 0.04) 50%, transparent 100%);
}
.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700; color: #e8e8f0; margin-bottom: 12px;
}

/* ---------- Prose / about / portfolio body ---------- */

.prose-section { padding: 48px 0 80px; }
.prose-section .lede {
    font-size: 22px; line-height: 1.5; color: #e8e8f0;
    margin-bottom: 28px; font-weight: 500;
}
.prose-section h2 {
    font-size: 22px; font-weight: 700; color: #d4a017;
    margin: 36px 0 12px;
}
.prose-section p { color: #c0c0d0; line-height: 1.7; }
.prose-section ul {
    margin: 0 0 16px; padding-left: 0; list-style: none;
}
.prose-section li {
    padding: 6px 0; padding-left: 16px; position: relative;
    color: #c0c0d0;
}
.prose-section li::before {
    content: '—'; color: #d4a017;
    position: absolute; left: 0;
}
.prose-cta {
    margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- Contact form ---------- */

.contact-section { padding-bottom: 80px; }

.contact-form {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px; padding: 32px;
    margin-top: 16px;
}

.form-label {
    display: block; margin-bottom: 16px;
}
.form-label > span {
    display: block; margin-bottom: 6px;
    font-size: 11px; font-weight: 600; color: #d4a017;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.form-label input,
.form-label textarea,
.form-label select {
    width: 100%; padding: 10px 12px;
    background: #050510; border: 1px solid #1f1f3a;
    border-radius: 6px;
    font-size: 15px; font-family: inherit;
    color: #e8e8f0;
}
.form-label input:focus,
.form-label textarea:focus,
.form-label select:focus {
    outline: none; border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}
.form-label input::placeholder, .form-label textarea::placeholder { color: #5a5d68; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > * { flex: 1; min-width: 200px; }
textarea { min-height: 100px; resize: vertical; }

.alert {
    padding: 12px 16px; border-radius: 6px; margin-bottom: 16px;
    font-size: 14px; border: 1px solid;
}
.alert-success {
    background: rgba(64, 200, 128, 0.08);
    color: #6fdba0; border-color: rgba(64, 200, 128, 0.3);
}
.alert-error {
    background: rgba(180, 80, 80, 0.08);
    color: #ec8888; border-color: rgba(180, 80, 80, 0.3);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid #1f1f3a;
    margin-top: 64px;
    padding: 48px 24px 24px;
    background: #050510;
    position: relative; z-index: 1;
}
.footer-inner {
    max-width: 1180px; margin: 0 auto;
    display: grid; gap: 40px;
    grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
    font-size: 16px; font-weight: 700; color: #e8e8f0;
    margin-bottom: 8px;
}
.footer-heading {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 11px; font-weight: 600; color: #d4a017;
    text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #b0b0c0; font-size: 14px; }
.footer-links a:hover { color: #d4a017; }

.footer-bottom {
    max-width: 1180px; margin: 32px auto 0;
    padding-top: 24px; border-top: 1px solid #1f1f3a;
    text-align: center; font-size: 12px;
}

/* ---------- Onboarding form ---------- */

.onboarding-body { background: #050510; }

.onboarding-header {
    border-bottom: 1px solid #1f1f3a;
    padding: 16px 24px;
    background: #050510;
}
.onboarding-header-inner {
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
}

.onboarding-main {
    padding: 48px 0 96px;
    position: relative; z-index: 1;
}
.onboarding-title {
    font-size: 28px; font-weight: 700; color: #e8e8f0;
    margin-bottom: 12px; letter-spacing: -0.01em;
}

.onboarding-form { margin-top: 32px; }

.onb-section {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px;
    padding: 28px; margin-bottom: 16px;
}
.onb-section h2 {
    font-size: 17px; font-weight: 700; color: #d4a017;
    margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 1px solid #1f1f3a;
}

.checkgrid {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.checkpill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: #050510; border: 1px solid #1f1f3a;
    border-radius: 16px;
    font-size: 13px; cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.checkpill:hover { border-color: #d4a017; }
.checkpill input { width: auto; }
.checkpill input:checked + * { color: #d4a017; }

.onb-submit {
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 8px;
    padding: 24px; margin-top: 16px;
    text-align: center;
}

/* ---------- Onboarding status pages ---------- */

.onboarding-status {
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.status-card {
    max-width: 460px; width: 100%;
    background: #0a0a18; border: 1px solid #1f1f3a;
    border-radius: 12px; padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.status-card h1 { font-size: 22px; margin-bottom: 12px; color: #e8e8f0; }
.status-card .status-icon {
    width: 64px; height: 64px; border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700;
    background: rgba(64, 200, 128, 0.15);
    color: #50d090;
    box-shadow: 0 0 32px rgba(64, 200, 128, 0.3);
}

/* ---------- Misc ---------- */

::selection { background: rgba(212, 160, 23, 0.4); color: #fff; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #050510; }
::-webkit-scrollbar-thumb { background: #1f1f3a; border-radius: 6px; border: 3px solid #050510; }
::-webkit-scrollbar-thumb:hover { background: #2a2d4a; }
