/* Base Styles */
:root {
    --text-color: #0f172a;
    --text-muted: #475569;
    --border-color: #5c6572;
    --primary: #267493;
    /* Deep Clinical Blue Highlight */
    --primary-hover: #1e5b75;
    --bg-white: #f8fafc;
    /* Slightly cool off-white */
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    /* Deep Blueprint Navy */
    --radius-sm: 4px;
    --radius-md: 8px;
    /* Sharper corners */
    --font-mono: 'Space Mono', 'Roboto Mono', Consolas, Monaco, monospace;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    color: #111;
    font-weight: 600;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

/* Typography Utilities */
.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subhead {
    font-size: 1.1rem;
    color: var(--text-muted);
    /* margin-bottom: 3rem; */
}

.team .section-subhead {
    margin-bottom: 2rem;
}

/* Primary Button */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    font-family: inherit;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #0f172a;
}

.btn.sm-btn {
    padding: 7px 16px;
    font-size: 13px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    height: 56px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 17px;
    color: var(--text-color);
}

/* Sections */
section {
    padding: 64px 24px 20px 24px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 480px) {
    section {
        padding: 40px 24px;
    }
}

/* Hero Section */
.hero {
    padding-top: 80px;
    text-align: center;
    max-width: 768px;
    position: relative;
}

/* Background blueprint dot-grid for Hero */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    /* Square badge for scrappy feel */
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    box-shadow: 2px 2px 0px var(--border-color);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    max-width: 560px;
    margin: 0 auto 16px;
}

.hero .subhead {
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto 32px;
    color: var(--text-muted);
}

.phantom-card {
    margin: 0 auto;
    border: 2px solid var(--border-color);
    box-shadow: 8px 8px 0px var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    background-color: var(--bg-white);
}

.phantom-image {
    width: 100%;
    height: auto;
    border: 2px solid var(--text-color);
    border-radius: var(--radius-sm);
    display: block;
}

.phantom-card .caption {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* How It Works */
.how-it-works,
.pricing,
.team {
    max-width: 768px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-white);
    padding: 24px;
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0px var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.step-card .circle {
    width: 32px;
    height: 32px;
    border-radius: 0;
    /* Square for maker aesthetic */
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Funnel Tiers */
.tier-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tier-card {
    border: 2px solid var(--border-color);
    box-shadow: 6px 6px 0px var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* .tier-card:hover:not(.locked) {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--border-color);
} */

.tier-card.locked {
    opacity: 0.4;
    pointer-events: none;
    box-shadow: none;
}

.tier-header {
    padding: 20px 24px;
    /* cursor: pointer; */
}

.tier-card.expanded .tier-header {
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-white);
}

.tier-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tier-title-row h3 {
    font-size: 1.1rem;
}

.price {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: var(--primary);
}

.tier-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tier-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.tier-body {
    padding: 24px;
}

.tier-body.hidden {
    display: none;
}

.tier-card.expanded .tier-body {
    display: block;
}

.tier-card:not(.expanded) .tier-body {
    display: none;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.optional-label {
    color: #888;
    font-weight: 400;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.success-msg {
    margin-top: 16px;
    padding: 12px 16px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.success-msg.hidden {
    display: none;
}

.error-msg {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
}

/* Team Section */
.intro-block {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-left: 6px solid var(--primary);
    box-shadow: 6px 6px 0px var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-color);
}

.intro-block p {
    margin-bottom: 16px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.bio-card {
    font-size: 14px;
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    object-fit: cover;
}

.bio-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.bio-info .title {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.bio-tags {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bio-tags span {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 3px 8px;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.bio-text {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.bio-link {
    font-weight: 500;
    font-size: 13px;
}

.team-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 48px;
    text-align: center;
}

@media (max-width: 560px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 24px;
    text-align: center;
    font-size: 13px;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
}

.footer-logo {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-content p {
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-link {
    color: #38bdf8;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-divider {
    border: none;
    border-top: 1px solid #1e293b;
    margin: 24px auto;
    width: 100%;
    max-width: 400px;
}