:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --accent: #f59e0b;
    --background: #f0fdfa;
    --surface: #ffffff;
    --text: #134e4a;
    --text-muted: #5b7c7a;
    --border: #99f6e4;
    --shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--background);
    background-image: linear-gradient(160deg, #ecfdf5 0%, #f0fdfa 40%, #fffbeb 100%);
    color: var(--text);
    min-height: 100vh;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.1rem;
}

.trust-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.container {
    max-width: 520px;
    width: 92%;
    margin: 0 auto 2rem;
    flex: 1;
}

.card {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem;
    text-align: left;
}

.hero h1 {
    margin: 0.25rem 0 0.75rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
}

.highlight {
    color: var(--primary);
}

.eyebrow {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.hero-lead {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: 1rem;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.terms-grid li {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #ecfdf5;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.term-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.term-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    font-weight: 500;
}

.rate-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rate-box p {
    margin: 0;
    color: var(--text);
}

.fine-print {
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

.benefits {
    margin: 0 0 1.75rem;
    padding: 0 0 0 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.cta-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.btn {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 15px 24px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.flow-card h2 {
    margin-top: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.flow-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 1.75rem;
}

.wizard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1fae5;
    border: 2px solid var(--border);
}

.wizard-dot.active,
.wizard-dot.done {
    background: var(--primary);
    border-color: var(--primary);
}

.wizard-line {
    width: 40px;
    height: 2px;
    background: var(--border);
}

.step-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.wizard-step h2 {
    font-size: 1.25rem;
}

.fresh-notice {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.5;
}

.ghost-btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

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

.file-picker {
    position: relative;
    display: block;
    margin-top: 1rem;
    padding: 1.15rem 1.25rem;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    cursor: pointer;
    background: #ecfdf5;
}

.file-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-picker-label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    word-break: break-all;
}

.file-hint {
    min-height: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.65rem 0 0;
}

.android-callout {
    margin: 1rem 0 0;
    padding: 0.9rem 1rem 0.9rem 1.75rem;
    background: #ecfdf5;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text);
}

.android-callout li {
    margin-bottom: 0.45rem;
}

.success-panel {
    text-align: center;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #d1fae5;
    color: var(--primary-dark);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 56px;
}

.success-panel h2 {
    text-align: center;
}

.success-panel p {
    text-align: center;
}

.site-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.site-footer p {
    margin: 0;
}

@media (min-width: 480px) {
    .hero h1 {
        font-size: 2.35rem;
    }
}
