/* ============================================================
   style.css – Subscription Portal Styles
   Version: 1.0
   Adapted for Clarentis
   ============================================================ */

/* ----- 1. Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ----- 2. CSS Variables (Theme) ----- */
:root {
    /* Colours */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --bg-body: var(--gray-50);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --border-color: var(--gray-200);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: 0.2s ease-in-out;
    --max-width: 1200px;
    --header-height: 70px;
}

/* ----- 3. Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}
h2 {
    font-size: 2rem;
    letter-spacing: -0.025em;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.25rem;
}
h5 {
    font-size: 1.125rem;
}
h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

ul,
ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ----- 4. Layout Utilities ----- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-content {
    padding: 2rem 0;
    flex: 1;
}

/* ----- 5. Header & Navigation ----- */
.app-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary);
    line-height: 0;
}
.logo i {
    font-size: 1.5rem;
}

.logo-image {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 18px rgba(2, 20, 39, 0.14));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}
.main-nav a {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.auth-buttons .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.auth-buttons .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}
.auth-buttons .user-email {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.25rem;
}

/* ----- 6. Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
    background: var(--gray-100);
    color: var(--gray-700);
}
.btn:hover {
    background: var(--gray-200);
}
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}
.btn-success:hover {
    background: #16a34a;
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover {
    background: #dc2626;
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}
.btn-warning:hover {
    background: #ca8a04;
    color: white;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}
.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ----- 7. Cards ----- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: box-shadow var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0;
}
.card-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ----- 8. Forms ----- */
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-control.is-invalid {
    border-color: var(--danger);
}
.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}
.invalid-feedback {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 0.25rem;
    display: none;
}
.invalid-feedback.show {
    display: block;
}

/* ----- 9. Alerts / Toast ----- */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gray-400);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.toast-success {
    border-left-color: var(--success);
}
.toast.toast-error {
    border-left-color: var(--danger);
}
.toast.toast-warning {
    border-left-color: var(--warning);
}
.toast.toast-info {
    border-left-color: var(--secondary);
}
.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.toast-body {
    flex: 1;
    font-size: 0.875rem;
}
.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1rem;
    padding: 0 0 0 0.5rem;
    align-self: flex-start;
}
.toast-close:hover {
    color: var(--gray-600);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.toast.fade-out {
    opacity: 0;
    transform: translateX(20px);
}

/* ----- 10. Subscription & Plan Cards ----- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.plan-card.popular {
    border-color: var(--primary);
    position: relative;
}
.plan-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.5rem;
}
.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}
.plan-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}
.plan-audience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    width: 100%;
}
.plan-features li {
    padding: 0.25rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}
.plan-features li i {
    color: var(--success);
    width: 1.25rem;
}
.plan-card .btn {
    margin-top: auto;
    width: 100%;
}
.plan-checkout-form {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    margin-top: auto;
}
.plan-checkout-form input {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    font: inherit;
}
.plan-checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* ----- 11. Subscription Status ----- */
.subscription-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-badge.active {
    background: #dcfce7;
    color: #166534;
}
.status-badge.expired {
    background: #fee2e2;
    color: #991b1b;
}
.status-badge.pending {
    background: #fef9c3;
    color: #854d0e;
}
.download-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px dashed var(--gray-300);
    text-align: center;
}
.download-section .btn {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
}

.auth-shell {
    display: grid;
    place-items: center;
    padding: 3rem 0;
}
.auth-card {
    width: min(100%, 720px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.auth-card h1 {
    margin: 0.5rem 0 1rem;
}
.auth-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.auth-form label {
    font-weight: 700;
    color: var(--gray-900);
}
.auth-form input {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}
.field-error,
.form-alert {
    color: var(--danger);
    font-size: 0.875rem;
}
.success-card {
    text-align: center;
}
.account-email-pill {
    display: inline-flex;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-900);
    font-weight: 800;
}
.auth-switch {
    margin-top: 1rem;
    color: var(--gray-500);
}
.auth-switch a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.account-summary-grid span {
    background: var(--gray-50);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--gray-500);
    padding: 1rem;
}
.account-summary-grid strong {
    color: var(--gray-900);
    display: block;
    font-size: 1.5rem;
}

/* ----- 12. About Page ----- */
.about-hero {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}
.about-hero h1 {
    color: white;
}

.about-hero h2 {
    color: white;
}

.about-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.about-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.team-member {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.team-member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-200);
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.team-member h4 {
    margin-bottom: 0.25rem;
}
.team-member p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ----- 13. Loading Spinner ----- */
.loading-spinner {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray-500);
}
.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ----- 14. Footer ----- */
.app-footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: auto;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-500);
}
.footer-links a:hover {
    color: var(--primary);
}

/* ----- 15. Responsive ----- */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 1.5rem;
        box-shadow: var(--shadow);
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .auth-buttons {
        gap: 0.5rem;
    }
    .auth-buttons .user-email {
        display: none;
    }

    .plan-grid {
        grid-template-columns: 1fr;
    }
    .about-team {
        grid-template-columns: 1fr 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .toast-container {
        max-width: 90%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: nowrap;
    }
    .auth-buttons .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    .plan-card {
        padding: 1rem;
    }
    .about-team {
        grid-template-columns: 1fr;
    }
}

/* ----- 16. Miscellaneous Helpers ----- */
.text-center {
    text-align: center;
}
.text-muted {
    color: var(--gray-500);
}
.mt-1 {
    margin-top: 0.5rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}
.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.d-flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-1 {
    gap: 0.5rem;
}
.gap-2 {
    gap: 1rem;
}
.flex-wrap {
    flex-wrap: wrap;
}
.hidden {
    display: none !important;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Scrollbar styling (optional) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ----- 17. Clarentis Portal Additions ----- */
.logo {
    text-decoration: none;
}

.eyebrow {
    color: var(--primary);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.justify-center {
    justify-content: center;
}

.clarentis-hero {
    align-items: center;
    background:
        radial-gradient(circle at 88% 10%, rgba(79, 70, 229, 0.16), transparent 22rem),
        linear-gradient(135deg, var(--white), #f7fbff);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    margin-bottom: 2rem;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
}

.clarentis-hero h1 {
    font-size: clamp(2.6rem, 5vw, 5.3rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    max-width: 760px;
}

.clarentis-hero p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 680px;
}

.clarentis-preview-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-xl);
    padding: 1rem;
}

.preview-window {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.preview-bar {
    background: var(--gray-100);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
}

.preview-bar span {
    background: var(--gray-300);
    border-radius: 50%;
    height: 0.65rem;
    width: 0.65rem;
}

.preview-body {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.preview-screen,
.answer-card {
    background: var(--gray-50);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
}

.preview-screen .line {
    background: var(--gray-200);
    border-radius: 999px;
    display: block;
    height: 0.75rem;
    margin-bottom: 0.75rem;
    width: 72%;
}

.preview-screen .line.wide {
    width: 92%;
}

.lesson-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.answer-card p,
.lesson-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.card-grid-3 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.card-icon {
    align-items: center;
    background: #eef2ff;
    border-radius: 1rem;
    color: var(--primary);
    display: inline-flex;
    font-size: 1.25rem;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 2.75rem;
}

.clarentis-download-panel {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
}

.checksum {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    padding: 0.85rem;
}

.qr-placeholder {
    background:
        linear-gradient(90deg, var(--gray-900) 8px, transparent 8px) 0 0 / 24px 24px,
        linear-gradient(var(--gray-900) 8px, transparent 8px) 0 0 / 24px 24px,
        var(--white);
    border: 10px solid var(--white);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px var(--border-color), var(--shadow);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 150px;
    padding: 12px;
    width: 150px;
}

.qr-placeholder span {
    background: var(--white);
    border: 7px solid var(--gray-900);
    height: 26px;
    width: 26px;
}

@media (max-width: 900px) {
    .clarentis-hero,
    .clarentis-download-panel,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .clarentis-hero {
        padding: 1.5rem;
    }

    .clarentis-hero h1 {
        font-size: 2.5rem;
    }
}
