/* Texas Tax Appeal — Clean, simple styling */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Nav bar */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.nav-brand {
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-brand:hover {
    color: #2b6cb0;
}

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

.nav-links a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-user {
    color: #4a5568;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: #666;
    font-size: 1rem;
}

.subtitle a {
    color: #2b6cb0;
    text-decoration: none;
}

.subtitle a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Instructions */
.instructions ol,
.instructions ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.instructions li {
    margin-bottom: 0.5rem;
}

.info-box {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.info-box.deadline {
    background: #fffff0;
    border-left-color: #d69e2e;
}

.info-box h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #2c5282;
}

.info-box.deadline h3 {
    color: #975a16;
}

.info-box p {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

/* Lookup form */
.lookup-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.lookup-form input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.lookup-form input[type="text"]:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.lookup-form button {
    display: inline-block;
    background: #2b6cb0;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.lookup-form button:hover {
    background: #2c5282;
}

.alt-action {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.alt-action a {
    color: #2b6cb0;
}

/* Auth forms (login / register) */
.auth-card {
    max-width: 420px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
    text-align: center;
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.auth-card .auth-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

.auth-card label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.3rem;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-card input[type="text"]:focus,
.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.auth-card button[type="submit"] {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.25rem;
    transition: opacity 0.15s;
}

.auth-card button[type="submit"]:hover {
    opacity: 0.9;
}

.auth-card .alt-action {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.auth-card .auth-benefits {
    background: #f7fafc;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.6;
}

.auth-card .auth-benefits strong {
    color: #1a365d;
}

/* Error */
.error {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0 4px 4px 0;
    color: #c53030;
}

.success {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0 4px 4px 0;
    color: #276749;
}

/* Form fields */
fieldset {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a365d;
    padding: 0 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group.wide {
    flex: 100%;
}

.form-group.small {
    flex: 0 0 120px;
    min-width: 100px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #4a5568;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.15);
}

.help-text {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.3rem;
    width: 100%;
}

/* Radio buttons */
.radio-section {
    align-items: flex-start;
}

.radio-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.4rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.2rem 0;
}

.radio-option input[type="radio"] {
    flex-shrink: 0;
}

/* Submit */
.submit-section {
    text-align: center;
    margin: 2rem 0;
}

.btn-generate {
    display: inline-block;
    background: #276749;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-generate:hover {
    background: #22543d;
}

.btn-link {
    display: inline-block;
    background: #2b6cb0;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn-link:hover {
    background: #2c5282;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #718096;
    border-top: 1px solid #e2e8f0;
}

footer a {
    color: #2b6cb0;
}

.version-tag {
    position: fixed;
    bottom: 8px;
    right: 12px;
    font-size: 0.7rem;
    color: #a0aec0;
    font-family: monospace;
    pointer-events: none;
    z-index: 10;
}

/* Hero section — homepage */
.hero {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero .lookup-form {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .lookup-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero .lookup-form input[type="text"] {
    flex: 1;
    margin-bottom: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.hero .lookup-form input[type="text"]:focus {
    border-color: #63b3ed;
    background: white;
}

.hero .lookup-form button {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    background: #dd6b20;
    border-radius: 8px;
    white-space: nowrap;
}

.hero .lookup-form button:hover {
    background: #c05621;
}

.hero .lookup-form label {
    display: none;
}

.hero .error {
    background: rgba(255, 245, 245, 0.95);
    margin-bottom: 0.75rem;
}

.hero .alt-action {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin-top: 0.75rem;
}

.hero .alt-action a {
    color: rgba(255, 255, 255, 0.9);
}

/* Social proof stat bar */
.stat-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    background: white;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-bar-item {
    padding: 0.25rem;
}

.stat-bar-item .stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #276749;
    display: block;
}

.stat-bar-item .stat-desc {
    font-size: 0.82rem;
    color: #4a5568;
    line-height: 1.3;
}

/* Step cards */
.step-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ebf8ff;
    color: #2b6cb0;
    font-weight: 800;
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 0.4rem;
}

.step-card p {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.4;
}

/* Educational "Why Protest" section */
.why-section {
    background: white;
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.why-section h2 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.why-section p {
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.why-section .highlight {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 0.6rem 1rem;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    color: #276749;
    margin: 0.75rem 0;
    font-size: 0.92rem;
}

.why-section .deadline-note {
    font-size: 0.88rem;
    color: #975a16;
    background: #fffff0;
    border-left: 4px solid #d69e2e;
    padding: 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
    margin-top: 0.75rem;
}

/* Results page — bill hero */
.bill-hero {
    text-align: center;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.bill-hero .bill-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.bill-hero .bill-amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.bill-hero .bill-amount span {
    font-size: 1.8rem;
}

.bill-hero .bill-address {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.bill-hero .bill-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.82rem;
    opacity: 0.75;
}

/* Verdict box — savings available */
.verdict-box {
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.verdict-box h2 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    border: none;
    padding-bottom: 0;
}

.verdict-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.verdict-box.savings {
    background: #f0fff4;
    border: 2px solid #38a169;
    color: #22543d;
}

.verdict-box.savings h2 {
    color: #276749;
}

.verdict-box.savings .savings-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #276749;
    display: block;
    margin: 0.25rem 0;
}

.verdict-box.great-rate {
    background: #f0fff4;
    border: 2px solid #38a169;
    color: #22543d;
}

.verdict-box.great-rate h2 {
    color: #276749;
}

/* Verdict — savings breakdown lines */
.verdict-box .savings-breakdown {
    font-size: 0.9rem;
    margin: -0.25rem 0 0.75rem;
    opacity: 0.85;
}

.verdict-box .savings-combined {
    border-top: 2px solid #38a169;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.verdict-box .savings-combined-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #276749;
}

/* Homestead exemption alert card */
.homestead-alert {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.homestead-alert h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 1rem;
}

.homestead-points {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.homestead-point {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 1rem;
}

.homestead-point-heading {
    font-weight: 700;
    color: #92400e;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.homestead-point p {
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.5;
}

.homestead-cta {
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 600;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
}

.homestead-cta a {
    color: #2b6cb0;
}

@media (max-width: 600px) {
    .homestead-points {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .verdict-box .savings-combined-amount {
        font-size: 1.3rem;
    }
}

/* Section intro text for educational framing */
.section-intro {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* How We Calculated This */
.methodology-section {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.methodology-section h3 {
    font-size: 1.05rem;
    color: #2c5282;
    margin-bottom: 0.5rem;
}

.methodology-section p {
    font-size: 0.9rem;
    color: #2d3748;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Pricing page */
.pricing-hero {
    text-align: center;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-hero-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.75;
    margin-bottom: 0.25rem;
}

.pricing-hero-address {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-hero-details {
    font-size: 0.95rem;
    opacity: 0.9;
}

.pricing-top-cta {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-top-cta .pricing-cta-sub {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #718096;
}

.pricing-section-title {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.pricing-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-card {
    display: flex;
    gap: 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pricing-card-bonus {
    border-color: #f59e0b;
    background: #fffbeb;
}

.pricing-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ebf8ff;
    color: #2b6cb0;
    font-weight: 800;
    border-radius: 50%;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.pricing-card-bonus .pricing-card-icon {
    background: #fef3c7;
    color: #92400e;
}

.pricing-card-body h3 {
    font-size: 0.95rem;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.pricing-card-body p {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.pricing-compare {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pricing-compare h2 {
    font-size: 1.15rem;
    color: #1a365d;
    margin-bottom: 1rem;
    border: none;
    padding-bottom: 0;
}

.pricing-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-compare-them,
.pricing-compare-us {
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.pricing-compare-them {
    background: #fff5f5;
    border: 1px solid #fed7d7;
}

.pricing-compare-them h3 {
    color: #c53030;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.pricing-compare-us {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}

.pricing-compare-us h3 {
    color: #276749;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.pricing-compare-them ul,
.pricing-compare-us ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-compare-them li,
.pricing-compare-us li {
    font-size: 0.9rem;
    padding: 0.25rem 0;
    color: #2d3748;
    line-height: 1.5;
}

.pricing-compare-note {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
    font-style: italic;
}

.pricing-cta {
    text-align: center;
    background: linear-gradient(135deg, #f0fff4 0%, #ebf8ff 100%);
    border: 2px solid #9ae6b4;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.pricing-cta-price {
    margin-bottom: 0.25rem;
}

.pricing-cta-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #276749;
}

.pricing-cta-period {
    font-size: 1rem;
    color: #4a5568;
    display: block;
    margin-top: -0.25rem;
}

.pricing-cta-promo {
    font-size: 0.9rem;
    color: #975a16;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-cta-lock {
    font-size: 0.95rem;
    color: #276749;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pricing-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6b21a8 0%, #4c1d95 100%);
    color: white;
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.pricing-cta-button:hover {
    opacity: 0.92;
}

.pricing-cta-sub {
    font-size: 0.82rem;
    color: #718096;
    margin-top: 0.75rem;
}

@media (max-width: 600px) {
    .pricing-includes {
        grid-template-columns: 1fr;
    }
    .pricing-compare-grid {
        grid-template-columns: 1fr;
    }
    .pricing-hero-address {
        font-size: 1.2rem;
    }
    .pricing-cta-amount {
        font-size: 2.5rem;
    }
    .pricing-cta-button {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Download page — post-payment */
.download-success {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #22543d;
}

.download-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #38a169;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.download-success strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.download-success p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.85;
}

.download-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    background: white;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.download-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.download-summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #718096;
    font-weight: 600;
}

.download-summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
}

.download-primary {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.download-primary h2 {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 1.25rem;
}

.download-primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6b21a8 0%, #4c1d95 100%);
    color: white;
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.download-primary-btn:hover {
    opacity: 0.92;
}

.download-primary-sub {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.75rem;
}

.download-secondary {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.download-secondary h3 {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.download-secondary-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.download-secondary-row form {
    margin: 0;
}

.download-secondary-btn {
    display: inline-block;
    background: #2b6cb0;
    color: white;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.download-secondary-btn:hover {
    background: #2c5282;
}

.download-steps {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.download-steps h3 {
    font-size: 1.15rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.download-steps ol {
    margin: 0 0 0 1.5rem;
    padding: 0;
}

.download-steps li {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.5;
}

.download-steps-bonus {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #92400e;
    line-height: 1.5;
}

.download-steps-bonus a {
    color: #2b6cb0;
}

.download-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-footer-links a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.download-footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .download-summary {
        flex-direction: column;
        gap: 0.75rem;
    }
    .download-secondary-row {
        flex-direction: column;
    }
    .download-secondary-btn {
        text-align: center;
        width: 100%;
    }
    .download-primary-btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* ============================================================
   Interior pages: hero, footer, FAQ, legal, guide, county
   ============================================================ */

/* Page hero — lighter interior variant */
.page-hero {
    text-align: center;
    padding: 2rem 1.5rem 1.75rem;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
}

/* Nav page links */
.nav-page-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-page-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.nav-page-links a:hover {
    color: #2b6cb0;
}

.nav-separator {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
}

/* Footer — 3-column link grid */
.site-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.75rem 0 1rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: #2b6cb0;
    text-decoration: none;
    padding: 0.2rem 0;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: #718096;
    line-height: 1.5;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    text-align: center;
}

.footer-disclaimer a {
    color: #2b6cb0;
}

/* FAQ accordion */
.faq-category {
    margin-bottom: 1.75rem;
}

.faq-category h2 {
    font-size: 1.15rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e2e8f0;
}

details.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

details.faq-item summary {
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a365d;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 700;
    color: #a0aec0;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s;
}

details.faq-item[open] summary::after {
    content: '\2212';
    color: #2b6cb0;
}

details.faq-item .faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.65;
}

details.faq-item .faq-answer p {
    margin-bottom: 0.5rem;
}

details.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* Legal pages (terms, privacy) */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
}

.legal-page .legal-updated {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.legal-section h2 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.6rem;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section p,
.legal-section li {
    font-size: 0.92rem;
    color: #2d3748;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.legal-section ul {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Guide page */
.guide-toc {
    background: white;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guide-toc h2 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.guide-toc ol {
    margin: 0 0 0 1.25rem;
    padding: 0;
}

.guide-toc li {
    padding: 0.25rem 0;
    font-size: 0.92rem;
}

.guide-toc a {
    color: #2b6cb0;
    text-decoration: none;
}

.guide-toc a:hover {
    text-decoration: underline;
}

.guide-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guide-section h2 {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e2e8f0;
}

.guide-section p,
.guide-section li {
    font-size: 0.92rem;
    color: #2d3748;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.guide-section ul,
.guide-section ol {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-section strong {
    color: #1a365d;
}

/* Protest timeline */
.protest-timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    overflow-x: auto;
}

.timeline-step {
    text-align: center;
    flex: 1;
    min-width: 100px;
    position: relative;
}

.timeline-step::after {
    content: '\2192';
    position: absolute;
    right: -0.75rem;
    top: 0.25rem;
    color: #a0aec0;
    font-size: 1.2rem;
}

.timeline-step:last-child::after {
    display: none;
}

.timeline-month {
    display: block;
    font-weight: 700;
    color: #2b6cb0;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.timeline-desc {
    font-size: 0.78rem;
    color: #4a5568;
    line-height: 1.3;
}

/* Myth cards */
.myth-card {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    border-radius: 0 8px 8px 0;
    padding: 0.85rem 1.25rem;
    margin-bottom: 0.75rem;
}

.myth-card .myth-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c53030;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.myth-card .myth-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.myth-card .fact-text {
    font-size: 0.88rem;
    color: #276749;
    font-weight: 600;
}

/* Montgomery County page */
.county-contact-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.county-contact-card h3 {
    font-size: 1.05rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.county-contact-card p {
    font-size: 0.92rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.county-contact-card a {
    color: #2b6cb0;
}

.tax-rate-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.tax-rate-table th,
.tax-rate-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.tax-rate-table th {
    background: #f7fafc;
    font-weight: 700;
    color: #1a365d;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tax-rate-table td {
    color: #2d3748;
}

.tax-rate-table tr:last-child td {
    border-bottom: none;
    font-weight: 700;
}

/* CTA section for interior pages */
.page-cta {
    text-align: center;
    background: linear-gradient(135deg, #f0fff4 0%, #ebf8ff 100%);
    border: 2px solid #9ae6b4;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin: 1.5rem 0;
}

.page-cta h2 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    border: none;
    padding-bottom: 0;
}

.page-cta p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.page-cta .btn-link {
    font-size: 1.05rem;
    padding: 0.85rem 2.5rem;
}

/* Deadline countdown */
.deadline-countdown {
    text-align: center;
    background: #fffff0;
    border: 1px solid #ecc94b;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #975a16;
    font-weight: 600;
}

.deadline-countdown .countdown-days {
    color: #c05621;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Comparison table (How It Works) */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
    padding: 0.6rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table th {
    background: #f7fafc;
    font-weight: 700;
    color: #1a365d;
    font-size: 0.85rem;
}

.compare-table td {
    color: #2d3748;
}

.compare-table .highlight-col {
    background: #f0fff4;
    font-weight: 600;
}

/* "What You Get" cards on How It Works */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
    font-size: 0.95rem;
    color: #1a365d;
    margin-bottom: 0.3rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Responsive — new page styles */
@media (max-width: 600px) {
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: 0.92rem; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .protest-timeline {
        flex-direction: column;
        gap: 0.75rem;
    }
    .timeline-step::after { display: none; }

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

    .nav-page-links { display: none; }
}

/* Print */
@media print {
    body { background: white; }
    .container { max-width: 100%; padding: 0; }
    .submit-section, footer { display: none; }
    fieldset { page-break-inside: avoid; }
}

/* Mobile */
@media (max-width: 600px) {
    .container { padding: 1rem; }
    header h1 { font-size: 1.4rem; }
    .form-row { flex-direction: column; gap: 0.75rem; }
    .form-group.small { flex: 1; }

    /* Hero responsive */
    .hero { padding: 1.75rem 1rem 1.5rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero .subtitle { font-size: 0.95rem; }
    .hero .lookup-form form {
        flex-direction: column;
    }
    .hero .lookup-form button {
        width: 100%;
    }

    /* Stat bar responsive */
    .stat-bar {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }
    .stat-bar-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
    }
    .stat-bar-item .stat-number {
        font-size: 1.1rem;
        min-width: 3rem;
    }

    /* Step cards responsive */
    .step-cards {
        grid-template-columns: 1fr;
    }
    .step-card {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
        padding: 1rem;
    }
    .step-card .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Bill hero responsive */
    .bill-hero { padding: 1.5rem 1rem; }
    .bill-hero .bill-amount { font-size: 2.2rem; }
    .bill-hero .bill-amount span { font-size: 1.4rem; }
    .bill-hero .bill-details { flex-direction: column; gap: 0.2rem; }

    /* Verdict responsive */
    .verdict-box .savings-amount { font-size: 1.6rem; }
}
