/* fab.services - Light Mode CSS */

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --color-primary: #000000;
    --color-primary-dark: #1a1a1a;
    --color-secondary: #666666;
    --color-success: #22c55e;
    --color-warning: #eab308;
    --color-error: #dc2626;
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f5;
    --color-text: #000000;
    --color-text-muted: #666666;
    --color-border: #e5e5e5;
    --color-border-dark: #cccccc;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-lg: 0 2px 4px rgba(0,0,0,0.1);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem;
}

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

a:hover {
    color: var(--color-text-muted);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    filter: invert(1);
}

.logo:hover {
    text-decoration: none;
}

.site-name {
    margin-left: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    text-decoration: none;
}

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

.logout-form {
    display: inline;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: var(--color-text);
}

.user-link {
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
}

.user-link:hover {
    color: var(--color-text-muted);
}

/* Main */
.main {
    min-height: calc(100vh - 140px);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: var(--color-text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn {
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-border-dark);
}

.btn-secondary:hover {
    background: var(--color-bg-secondary);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-muted);
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--color-bg-secondary);
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    text-align: center;
    background: var(--color-bg-secondary);
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--color-text-muted);
    margin: 0;
}

.page-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header-inline h1 {
    margin: 0;
}

/* Pricing Tiers */
.pricing-tiers {
    padding: 4rem 0;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tier {
    padding: 2rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.tier-featured {
    border-color: var(--color-text);
    box-shadow: var(--shadow-lg);
}

.tier h3 {
    margin-bottom: 0.5rem;
}

.tier-lead-time {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.tier-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.tier-features li:last-child {
    border-bottom: none;
}

/* Forms */
.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius);
    background: var(--color-bg);
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Quote Section */
.quote-section {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

.quote-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 800px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
}

.quote-main {
    min-height: 400px;
}

.quote-sidebar {
    background: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.quote-sidebar .form-group {
    margin-bottom: 1rem;
}

.quote-sidebar .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.upload-area {
    position: relative;
    border: 2px dashed var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area.drag-over {
    border-color: var(--color-text);
    background: var(--color-bg-secondary);
}

.upload-area.has-file {
    border-style: solid;
    background: var(--color-bg-secondary);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    color: var(--color-text-muted);
    line-height: 1;
}

.upload-text {
    font-weight: 500;
    font-size: 1.125rem;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

#quote-result:empty {
    display: none;
}

#quote-result {
    margin-top: 2rem;
}

/* Auth Pages */
.auth-page {
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.auth-container {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.auth-form {
    text-align: left;
    margin-bottom: 1.5rem;
}

.auth-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.success-icon.large {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
}

/* Dashboard */
.dashboard {
    padding: 3rem 0;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    margin-bottom: 0.25rem;
}

.dashboard-header p {
    color: var(--color-text-muted);
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.stat-link {
    font-size: 0.875rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.data-table th {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tbody tr:hover {
    background: var(--color-bg-secondary);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: var(--color-bg-secondary);
    color: var(--color-text-muted);
}

.status-badge.status-large {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.status-pending_payment,
.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-active,
.status-paid,
.status-complete {
    background: #dcfce7;
    color: #166534;
}

.status-submitted,
.status-processing,
.status-parsing {
    background: #dbeafe;
    color: #1e40af;
}

.status-in_production {
    background: #e0e7ff;
    color: #3730a3;
}

.status-shipped {
    background: #f3e8ff;
    color: #6b21a8;
}

.status-delivered,
.status-succeeded {
    background: #dcfce7;
    color: #166534;
}

.status-cancelled,
.status-failed,
.status-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
}

.empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* Order Detail */
.order-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-header h1 {
    margin: 0;
}

.order-tracking {
    padding: 2rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.order-tracking h3 {
    margin-bottom: 1rem;
}

.tracking-placeholder {
    color: var(--color-text-muted);
    font-style: italic;
}

.order-actions {
    display: flex;
    gap: 1rem;
}

/* Checkout */
.checkout {
    padding: 3rem 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-form {
    background: var(--color-bg);
}

.checkout-summary {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1rem 0;
}

.summary-total {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.payment-option:hover {
    border-color: var(--color-text);
}

.payment-option input[type="radio"] {
    margin-top: 0.25rem;
}

.payment-option-label {
    display: flex;
    flex-direction: column;
}

.payment-option-label strong {
    margin-bottom: 0.25rem;
}

.payment-option-label small {
    color: var(--color-text-muted);
}

.card-element {
    padding: 1rem;
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius);
    background: var(--color-bg);
}

.card-errors {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Confirmation */
.confirmation {
    padding: 5rem 1.5rem;
}

.confirmation-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-content h1 {
    margin-bottom: 0.5rem;
}

.order-number {
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.confirmation-details {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.confirmation-message {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Settings */
.settings-form {
    max-width: 600px;
}

/* Error Pages */
.error-section {
    padding: 6rem 1.5rem;
}

.error-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.error-container h1 {
    font-size: 8rem;
    line-height: 1;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.error-container h2 {
    margin-bottom: 1rem;
}

.error-container p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Quote Result Card */
.quote-result-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.quote-result-card h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.quote-details {
    margin-bottom: 1.5rem;
}

.quote-pricing {
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.pricing-row.total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
    font-size: 1.25rem;
}

.quote-expiry {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.login-prompt {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
}

.login-prompt p {
    margin-bottom: 1rem;
}

/* Auth Section */
.auth-section {
    padding: 4rem 1.5rem;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-description {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-block {
    display: block;
    width: 100%;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Optional label */
.optional {
    color: var(--color-text-muted);
    font-weight: normal;
    font-size: 0.875rem;
}

/* Docs Page - Full height sidebar layout */
.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.docs-page {
    display: flex;
    min-height: calc(100vh - 61px);
}

.docs-sidebar {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid var(--color-border);
    background: var(--color-bg);
    position: sticky;
    top: 61px;
    height: calc(100vh - 61px);
    overflow-y: auto;
}

.docs-nav {
    padding: 1.5rem;
}

.nav-section {
    margin-bottom: 0.5rem;
}

.nav-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
    background: none;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
}

.nav-section-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-text-muted);
    transition: transform 0.2s ease;
}

.nav-section-toggle.active::after {
    transform: rotate(180deg);
}

.nav-section-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    padding-left: 0.5rem;
}

.nav-section-items.show {
    display: block;
}

.nav-section-items li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
}

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

.nav-link.active {
    color: var(--color-text);
    border-left-color: var(--color-text);
    background: var(--color-bg-secondary);
}

.docs-main {
    flex: 1;
    min-width: 0;
    padding: 2rem 3rem 4rem;
    overflow-y: auto;
}

.docs-content {
    max-width: 800px;
}

.docs-content h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.docs-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.docs-section:last-child {
    border-bottom: none;
}

.docs-content h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.docs-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.docs-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.docs-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

/* Docs table */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9375rem;
}

.docs-table th,
.docs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.docs-table th {
    font-weight: 600;
    background: var(--color-bg-secondary);
}

.docs-table td:first-child {
    font-weight: 500;
}

/* Callout box */
.callout {
    background: var(--color-bg-secondary);
    border-left: 3px solid var(--color-text);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.callout-title {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.callout ul {
    margin: 0;
    padding-left: 1.25rem;
}

.callout li {
    margin-bottom: 0.375rem;
}

/* Specs grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-card {
    background: var(--color-bg-secondary);
    padding: 1.25rem;
    text-align: center;
    border-radius: var(--radius);
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stackup diagram */
.stackup-diagram {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 1rem 0;
    max-width: 400px;
}

.layer {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-family: var(--font-mono);
}

.layer.copper {
    background: #d97706;
    color: white;
}

.layer.core {
    background: #a3a3a3;
    color: white;
}

.layer.prepreg {
    background: #e5e5e5;
    color: var(--color-text);
}

/* Format cards */
.format-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.format-card {
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: var(--radius);
}

.format-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.format-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.format-card code {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

/* Responsive docs */
@media (max-width: 900px) {
    .docs-container {
        padding: 0;
    }

    .docs-page {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .docs-nav {
        padding: 1rem;
    }

    .docs-main {
        padding: 1.5rem;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-actions,
    .confirmation-actions {
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
    }
}
