/* CSS Variables */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-logo: 'Asap', system-ui, sans-serif;

    /* Light theme */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-inset: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --border-highlight: transparent;
    --surface-top-highlight: transparent;
    --logo-sim: #6b7280;
    --logo-prob: #2563eb;
    --btn-primary: #2563eb;
    --btn-primary-hover: #1d4ed8;
    --user-icon-bg: #f1f5f9;
    --user-icon-color: #64748b;
    --card-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.1),
                   0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --card-border: 1px solid transparent;
    --surface-edge-shadow: none;
    --header-edge: 1px solid var(--border-color);
    --border-subtle: #e2e8f0;
    --bg-elevated: #f8fafc;
    --elevation-panel: 0 20px 60px -15px rgba(0, 0, 0, 0.1),
                       0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --elevation-selected: 0 22px 48px -16px rgba(15, 23, 42, 0.38),
                          0 12px 28px -14px rgba(15, 23, 42, 0.24);
    --elevation-selected-inset: inset 0 1px 0 rgba(147, 197, 253, 0.85);
    --elevation-hover: none;
    --form-panel-border: 1px solid transparent;
    --field-border: var(--border-color);
    --field-border-focus: rgba(59, 130, 246, 0.5);
    --field-focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.1);
    --accent-border: #60a5fa;
    --accent-text: #2563eb;
    --link: #2563eb;
    --link-hover: #1d4ed8;
    --product-border: var(--border-color);
    --dot-inactive: #94a3b8;
    --dot-disabled-opacity: 0.5;
}

.dark {
    --bg-body: #020617;
    --bg-surface: #0f172a;
    --bg-inset: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(148, 163, 184, 0.18);
    --surface-top-highlight: rgba(255, 255, 255, 0.07);
    --logo-sim: #9ca3af;
    --logo-prob: #60a5fa;
    --btn-primary: #3b82f6;
    --btn-primary-hover: #2563eb;
    --user-icon-bg: #475569;
    --user-icon-color: #f8fafc;
    --border-subtle: rgba(255, 255, 255, 0.14);
    --bg-elevated: #1e293b;
    --card-shadow: inset 0 1px 0 var(--surface-top-highlight);
    --card-border: 1px solid var(--border-highlight);
    --surface-edge-shadow: inset 0 1px 0 var(--surface-top-highlight);
    --header-edge: 1px solid var(--border-highlight);
    --elevation-panel: 0 20px 60px -15px rgba(147, 197, 253, 0.3),
                       0 10px 25px -5px rgba(191, 219, 254, 0.2);
    --elevation-selected: 0 22px 48px -16px rgba(147, 197, 253, 0.38),
                          0 12px 28px -14px rgba(191, 219, 254, 0.24);
    --elevation-selected-inset: inset 0 1px 0 rgba(191, 219, 254, 0.65);
    --elevation-hover: 0 6px 16px -10px rgba(147, 197, 253, 0.22);
    --form-panel-border: 1px solid rgba(147, 197, 253, 0.3);
    --field-border: rgba(147, 197, 253, 0.22);
    --field-border-focus: #93c5fd;
    --field-focus-ring: 0 0 0 3px rgba(147, 197, 253, 0.35);
    --accent-border: #93c5fd;
    --accent-text: #60a5fa;
    --link: #60a5fa;
    --link-hover: #93c5fd;
    --product-border: rgba(147, 197, 253, 0.18);
    --dot-inactive: #e2e8f0;
    --dot-disabled-opacity: 1;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* 85% Width Container */
.content-container {
    width: 85%;
    margin: 0 auto;
}

/* Header */
header {
    background: var(--bg-surface);
    border-bottom: var(--header-edge);
    box-shadow: var(--surface-edge-shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1% 0;
}

.wordmark {
    font-family: var(--font-logo);
    font-size: 1.625rem;
    letter-spacing: -0.04em;
    user-select: none;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.wordmark:hover {
    opacity: 0.8;
}

.wordmark .sim {
    color: var(--logo-sim);
    font-weight: 400;
}

.wordmark .prob {
    color: var(--logo-prob);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-user-menu {
    position: relative;
}

.header-user-trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.header-welcome {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: min(20rem, 40vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-trigger:hover .header-welcome {
    color: var(--text-primary);
}

.header-logout-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 8rem;
    margin: 0;
    padding: 0.5rem 0 0 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 60;
}

.header-user-menu:hover .header-logout-menu,
.header-user-menu:focus-within .header-logout-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-logout-btn {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    padding: 0.5rem 0.85rem;
    border: var(--card-border);
    border-radius: 0.5rem;
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: color 0.15s, border-color 0.15s;
}

.header-logout-btn:hover {
    color: var(--btn-primary);
    border-color: var(--btn-primary);
}

.signup-btn {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.88), rgba(59, 130, 246, 0.85));
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(147, 197, 253, 0.5);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px -6px rgba(37, 99, 235, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.55);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    white-space: nowrap;
}

.signup-btn:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.92), rgba(37, 99, 235, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 14px 38px -6px rgba(37, 99, 235, 0.6);
}

.user-icon {
    width: clamp(1.875rem, 4vw, 2.125rem);
    height: clamp(1.875rem, 4vw, 2.125rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--user-icon-bg);
    color: var(--user-icon-color);
    border: none;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.user-icon:hover {
    opacity: 0.8;
}

/* Main Content */
main {
    flex: 1 0 auto;
    width: 100%;
}

/* Footer */
footer {
    flex-shrink: 0;
    width: 100%;
    background: var(--bg-surface);
    border-top: var(--header-edge);
    box-shadow: inset 0 1px 0 var(--surface-top-highlight);
    padding: 2.5rem 0 1.75rem;
}

.footer-content {
    width: 85%;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    justify-content: center;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    margin-bottom: 3%;
}

.footer-nav a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.copyright {
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    color: var(--text-secondary);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2%;
    right: 2%;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    color: var(--btn-primary);
    background: none;
    border: none;
    padding: 0.5% 1%;
    z-index: 100;
    user-select: none;
    line-height: 1;
    transition: opacity 0.2s;
}

.theme-toggle:hover {
    opacity: 0.7;
}

/* Homepage Content */
.page-home .home-content {
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
}

.page-home main {
    display: flex;
    flex-direction: column;
}

.page-home .home-hero {
    position: relative;
    width: 100%;
    flex: 1 0 auto;
    padding: 0;
    background-color: #ececec;
    background-image: url('/images/hero.png');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-home .home-hero .home-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 60%;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-home .home-hero .home-title,
.page-home .home-hero .home-subtitle {
    color: #ffffff;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 20px rgba(0, 0, 0, 0.45);
}

.home-inner {
    max-width: 60%;
    margin: 0 auto;
}

.home-title {
    font-size: clamp(2rem, 5vw, 2.85rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 3%;
    color: var(--text-primary);
}

.home-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 80%;
    margin: 0 auto 5%;
    line-height: 1.6;
}

/* Button Styles - Gradient Blue Glass */
.btn {
    font-family: inherit;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(147, 197, 253, 0.5);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.88), rgba(59, 130, 246, 0.85));
    color: white;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px -6px rgba(37, 99, 235, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.55);
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.92), rgba(37, 99, 235, 0.9));
    transform: translateY(-4px);
    box-shadow: 0 14px 38px -6px rgba(37, 99, 235, 0.6);
}

/* Button Sizes */
.btn-small {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
}

.btn-small:hover {
    transform: translateY(-2px);
}

.btn-normal {
    font-size: 1.05rem;
    padding: 0.75rem 1.75rem;
}

.btn-large {
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding: 3% 6%;
}

.cta-btn {
    font-family: inherit;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    padding: 3% 6%;
    border-radius: 9999px;
    border: 1px solid rgba(147, 197, 253, 0.5);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.88), rgba(59, 130, 246, 0.85));
    color: white;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px -6px rgba(37, 99, 235, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.55);
    display: inline-block;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cta-btn:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.92), rgba(37, 99, 235, 0.9));
    transform: translateY(-4px);
    box-shadow: 0 14px 38px -6px rgba(37, 99, 235, 0.6);
}

/* Card form — login, contact, portal sign-in, etc. */
.card-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.card-form {
    background: var(--bg-surface);
    border-radius: 1rem;
    padding: 3rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: var(--elevation-panel);
    border: var(--form-panel-border);
}

.card-form-head {
    text-align: center;
    margin-bottom: 2rem;
}

.card-form-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.card-form-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-form-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--field-border);
    background: var(--bg-inset);
    color: var(--text-primary);
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--field-border-focus);
    box-shadow: var(--field-focus-ring);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-footer {
    text-align: right;
}

.form-link {
    font-size: 0.875rem;
    color: var(--link);
    font-weight: 500;
    transition: color 0.2s;
}

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

.card-form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.card-form-foot {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.dark .card-form-foot {
    border-color: #334155;
}

.card-form-foot-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Password strength meter */
.password-strength {
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 0.375rem;
    background: var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 9999px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.password-strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.password-strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.password-strength-fill.good {
    width: 75%;
    background: #3b82f6;
}

.password-strength-fill.strong {
    width: 100%;
    background: #10b981;
}

.password-strength-label {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    min-height: 1.25rem;
}

.password-strength-label.weak { color: #ef4444; }
.password-strength-label.fair { color: #d97706; }
.password-strength-label.good { color: #2563eb; }
.password-strength-label.strong { color: #10b981; }

.dark .password-strength-label.fair { color: #f59e0b; }
.dark .password-strength-label.good { color: #60a5fa; }

.signup-alert {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
}

.signup-alert[hidden] {
    display: none;
}

.signup-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.dark .signup-alert-error {
    background: #450a0a;
    border-color: #7f1d1d;
    color: #fecaca;
}

.signup-alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.dark .signup-alert-info {
    background: #172554;
    border-color: #1d4ed8;
    color: #bfdbfe;
}

.signup-alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.dark .signup-alert-success {
    background: #052e16;
    border-color: #166534;
    color: #bbf7d0;
}

/* Signup Wizard */
.signup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.signup-card {
    background: var(--bg-surface);
    border-radius: 1rem;
    padding: 3rem;
    width: 100%;
    max-width: 36rem;
    box-shadow: var(--elevation-panel);
    border: var(--form-panel-border);
}

.signup-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--dot-inactive);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--accent-text);
    transform: scale(1.25);
}

.dot.completed {
    background: #10b981;
}

.dot:disabled {
    cursor: not-allowed;
    opacity: var(--dot-disabled-opacity);
}

.signup-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
    text-align: center;
    color: var(--text-primary);
}

.step-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin: -0.5rem 0 0 0;
}

/* Terms Scroll */
.terms-scroll {
    max-height: 20rem;
    overflow-y: auto;
    border: 1px solid var(--field-border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-inset);
}

.terms-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--text-primary);
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.checkbox-label:has(input[type="checkbox"]:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label:has(input[type="checkbox"]:disabled) span {
    color: var(--text-secondary);
}

.checkbox-label span {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

/* Code Input */
.code-instruction {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.code-instruction span {
    font-weight: 600;
    color: var(--text-primary);
}

.code-input-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.code-box {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--field-border);
    border-radius: 0.5rem;
    background: var(--bg-inset);
    color: var(--text-primary);
    transition: all 0.2s;
    outline: none;
}

.code-box:focus {
    border-color: var(--field-border-focus);
    box-shadow: var(--field-focus-ring);
}

.code-gap {
    width: 1rem;
}

/* Product Cards */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    border: 2px solid var(--product-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-inset);
}

.product-featured {
    transform: scale(1.08);
}

.product-card:not(.is-selected):not(.product-featured):hover {
    border-color: var(--btn-primary);
    transform: translateY(-2px);
}

.product-featured:not(.is-selected):hover {
    border-color: var(--btn-primary);
    transform: scale(1.08) translateY(-2px);
}

.product-card:not(.is-selected):hover {
    box-shadow: var(--elevation-hover);
}

.product-card input[type="radio"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.product-card.is-selected,
.product-card:has(input[type="radio"]:checked) {
    border-color: var(--accent-border);
    box-shadow: var(--elevation-selected), var(--elevation-selected-inset);
}

.product-card.is-selected:not(.product-featured),
.product-card:not(.product-featured):has(input[type="radio"]:checked) {
    transform: translateY(-3px);
}

.product-featured.is-selected,
.product-featured:has(input[type="radio"]:checked) {
    transform: scale(1.08) translateY(-3px);
}

.product-card.is-selected .product-content,
.product-card input[type="radio"]:checked ~ .product-content {
    color: var(--accent-text);
}

.product-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(59, 130, 246, 0.95));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.product-discount {
    font-size: 0.875rem;
    font-weight: 500;
    color: #10b981;
}

.signup-step button {
    display: block;
    margin: 2rem auto 0 auto;
}

/* Static & account pages */
.static-page {
    padding: 2.5rem 0 4rem;
}

.static-page-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    text-align: center;
}

.page-contact .page-contact-card.card-form-wrap {
    padding-top: 0;
}

.static-page-content {
    max-width: 42rem;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

.static-page-content p {
    margin: 0 0 1rem 0;
}

.static-page-content h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem 0;
}

.static-page-content h2:first-of-type {
    margin-top: 1.5rem;
}

.static-page-content a {
    color: var(--link-color, #2563eb);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 32rem;
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

.contact-banner {
    max-width: 32rem;
    margin: 0 0 1.25rem 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
}

.contact-banner-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.dark .contact-banner-success {
    background: #052e16;
    color: #6ee7b7;
    border-color: #065f46;
}

.contact-banner-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.dark .contact-banner-error {
    background: #450a0a;
    color: #fca5a5;
    border-color: #7f1d1d;
}

.account-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    text-align: center;
}

.account-section .account-calls-grid,
.account-section .datagrid {
    text-align: left;
}

/* Mobile-First Responsive */
@media (max-width: 640px) {
    .card-form, .signup-card {
        padding: 2rem 1.5rem;
    }

    .home-inner {
        max-width: 90%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 4%;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .product-featured {
        transform: scale(1);
    }

    .product-featured.is-selected,
    .product-featured:has(input[type="radio"]:checked) {
        transform: translateY(-3px);
    }

    .code-box {
        width: 2.5rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}
