:root {
    --bg: #fff9f9;
    --text: #2d1a1a;
    --muted: #7a5151;
    --primary: #DFA4A4;
    --primary-dark: #966D5C;
    --accent: #f4d4d4;
    --border: #f5e4e4;
    --celhaeder: #f7d7d7;
    --card: #ffffff;
    --shadow: 0 15px 40px rgba(42, 23, 23, 0.08);
    font-family: 'Noto Sans KR', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 90vw);
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background:  var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
    border: none;
}

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

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
   
}

.btn.outline {
    border: 1px solid var(--border);
    margin-top: 10px;
    width: 100%;
}

.btn.text {
    background: none;
    border: none;
    margin-top: 10px;
    color: var(--primary);
    padding: 0rem 0.8rem;
    opacity: 0.7;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(245, 246, 250, 0.9);
    z-index: 10;
    border-bottom: 1px solid rgba(226, 230, 240, 0.6);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    gap: 0.5rem;
    color: var(--primary-dark);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}


.header-phone svg {
    width: 40px;
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
}

.nav-cta {
    padding: 0.45rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 999px;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: #06132a;
    color: #fff;
    overflow: hidden;
    height: 600px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(92, 53, 16, 0.9), rgba(31, 22, 3, 0.5), rgba(92, 50, 16, 0.9));
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.06);
    transform-origin: 50% 50%;
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    animation: hero-kenburns 6s ease-in-out both;
}

/* Keep zoom motion playing on the outgoing slide during crossfade */
.hero-bg-slide.leaving {
    animation: hero-kenburns 6s ease-in-out both;
}

@keyframes hero-kenburns {
    0% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide { animation: none !important; transform: none !important; }
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
}

.hero-slogan {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffebe0;
    margin-bottom: 0.85rem;
}

.hero-benefits {
    list-style: none;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.4rem;
}

.hero-benefits li::before {
    content: '✔';
    margin-right: 0.6rem;
    color: var(--accent);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-badges span {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.hero-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    margin-bottom: 0.5rem;
}

.hero-card ul {
    list-style: none;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.5rem;
}

.hero-card ul li::before {
    content: '•';
    color: var(--accent);
    margin-right: 0.5rem;
}

.price-tag {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

section {
    padding: 4rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.trust-grid article {
    background: var(--card);
    border-radius: 20px;
    padding: 1.75rem;
}

.plans {
    background: #fff;
}

.plan-cards {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.plan-row {
    display: grid;
    gap: 1.5rem;
}

.plan-row--three {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.plan-row--two {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-content: center;
}

.plan-row--two .plan-card {
    justify-self: center;
    width: 100%;
}

.plan-card {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}

.plan-card h3 {
    font-size: 1.5rem;
}

.plan-card.vip {
    border: 2px solid var(--primary);
}

.plan-actions {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: 700;
}

.plan-card ul {
    list-style: none;
    display: grid;

    color: var(--muted);
}

.process {
    background: var(--bg);
}

.process-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem;
}

.process-steps li {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}



.process-steps span {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.cta {
    background: #563a2d;
    color: #fff;
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

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

.faq-grid article {
    background: var(--card);
    padding: 1.6rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.contact {
    background: linear-gradient(120deg, rgba(223, 164, 164, 0.5), rgba(223, 164, 164, 0.5)), url("assets/images/contact-bg.jpg") center/cover no-repeat;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.contact-info {
    list-style: none;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.4rem;
}

.contact-info li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.4rem;
 
}

.contact-form {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.3rem;
    color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    font: inherit;
    background: #fff;
}

.contact-form button {
    width: 100%;
}

.checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.privacy-block {
    gap: 0.6rem;
    flex-wrap: wrap;
}

.privacy-detail-toggle {
    border: none;
    background: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    
}

.privacy-detail {
    font-size: 0.85rem;
    color: var(--muted);
    background: rgba(37, 99, 235, 0.06);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    max-height: 150px;
    overflow-y: auto;
    
}

.plan-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.plan-modal.open {
    display: flex;
}
.compare-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.compare-modal.open {
    display: flex;
}

.compare-modal.open .compare-panel {
    opacity: 1;
    transform: translateY(0);
}

.compare-panel {
    position: relative;
    background: var(--card);
    width: min(900px, 96vw);
    max-height: 70vh;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.35s ease;
}

.compare-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compare-selects {
    display: none;
}

.compare-selects select {
    display: none;
}

.compare-table-wrapper {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow-x: auto;

    background: var(--bg);
}

/* Compare: Selected anchor card */
.compare-anchor {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    background: var(--bg);
}

.compare-anchor h4 {
    margin: 0 0 0.25rem 0;
}

.compare-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.compare-card-list-toggle {
    display: none;
    align-self: flex-end;
}

.compare-mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.compare-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.compare-mini-card h5 {
    font-size: 1rem;
    margin: 0;
}

.compare-mini-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.compare-table th,
.compare-table td {
    border: 1px solid var(--border);
    padding: 0.9rem 1rem;
    vertical-align: top;
}

.compare-table thead th {
    background: var(--card);
    font-size: 1rem;
}

.compare-table td .modal-feature-table-wrapper {
    background: #fff;
}

.compare-table td .modal-feature-table {
    min-width: 520px;
}

.compare-table td .section-divider th {
    border-top: 2px solid var(--border);
}

/* Embedded plan tables inside compare cells */
.compare-table td .modal-feature-table-wrapper {
    background: #fff;
}

.compare-table td .modal-feature-table {
    min-width: 520px;
}

.compare-table tbody th {
    width: 120px;
    text-align: left;
    background: rgba(37, 99, 235, 0.06);
    font-weight: 600;
}

.compare-table td ul {
    list-style: disc;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
}

.compare-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 13, 33, 0.65);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.plan-modal.open .modal-overlay,
.compare-modal.open .modal-overlay {
    opacity: 1;
}

.modal-panel {
    position: relative;
    width: min(900px, 92vw);
    max-height: 70vh;
    background: var(--card);
    border-radius: 24px;
    padding:  3.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    z-index: 1;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s ease;
    opacity: 0;
    transform: translateY(60px);
}

.plan-modal.open .modal-panel {
    opacity: 1;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
}

.modal-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    gap: 1.5rem;
    flex: 1;
    min-height: 0;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.modal-header {
    position: relative; /* outside scroll area, stays fixed as content scrolls */
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 0 0.25rem 0.75rem;
    z-index: 2;
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-hero {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.modal-hero img {
    width: 42%;
    border-radius: 18px;
    object-fit: cover;
}

.modal-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.3rem 0;
}

.modal-feature-list {
    list-style: disc inside;
    display: grid;
    gap: 0.4rem;
    color: var(--muted);
}

/* Excel-like feature table in modal */
.modal-feature-table-wrapper {
    border: 1px solid var(--border);
    background: var(--bg);
    overflow-x: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
}

.modal-feature-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.modal-feature-table th,
.modal-feature-table td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    text-align: center;
    line-height: 1.2;
    
}


.modal-feature-table thead th {
    background: var(--celhaeder);
    font-weight: 700;
    text-align: center;
}

.modal-feature-table .section-divider th {
    background: rgba(37, 99, 235, 0.08);
    text-align: left;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    color: var(--text);
}


.modal-feature-table col:nth-child(1) { width: 100px; }
.modal-feature-table col:nth-child(2) { width: auto; }
.modal-feature-table col:nth-child(3) { width: 48%; }

.modal-feature-table tbody th[scope="rowgroup"] {
    background: var(--celhaeder);
    font-weight: 700;
    vertical-align: center;
}

.modal-feature-table .note {
    font-size: 0.75em;
    color: var(--muted);
    white-space: nowrap;
}

.modal-form-wrapper form {
    display: grid;
    gap: 0.8rem;
}

.modal-form-wrapper input,
.modal-form-wrapper textarea {
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.modal-action-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.modal-notes {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.05);
    border-radius:  0px 0px 12px 12px ;
    padding: 0.9rem 1rem;
}

.modal-notes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0. nine rem;
}

.modal-notes h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #646464;
}

.modal-notes ul {
    list-style: disc;
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
}

.mobile-action-bar {
    display: none;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.action-btn svg {
    width: 22px;
    height: 22px;
}

.action-btn.bubble {
    background: #ffffff;
     color: var(--primary);
    border: 2px solid var(--primary);
    width: 56px;
    height: 56px;
    box-shadow: var(--shadow);
}

.action-btn.dial {
    background: var(--primary);
    padding: 0 1.3rem;
    height: 56px;
    box-shadow: var(--shadow);
    justify-content: flex-start;
}

.action-btn.dial span {
    flex: 1;
}

.site-footer {
    background: #0b1120;
    color: rgba(255, 255, 255, 0.75);
    padding: 2.5rem 0rem 6.5rem 0rem ;
}

.footer-grid {
    display: grid;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-info p {
    margin-bottom: 0.25rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    font-size:2rem;
    margin-bottom: 0.8rem !important;
    padding: 0.5rem 0;
    margin-left: auto;
}

.footer-phone svg {
    color: var(--primary);
}

.footer-phone strong {
    color: var(--primary);
    font-weight: 700;
}

.footer-phone a {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    transition: color 0.2s ease;
}

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

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: #fff;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-naver {
    background: #03C75A;
}

.social-naver:hover {
    background: #02b350;
}

.social-kakao {
    background: #FEE500;
    color: #000;
}

.social-kakao:hover {
    background: #f5dc00;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.site-footer .logo {
    color: #fff;
}

@media (max-width: 1024px) {
    .plan-row--three,
    .plan-row--two {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .plan-row--two {
        justify-content: stretch;
    }

    .plan-row--two .plan-card {
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    .hero
    {
        height: auto;
        padding: 4rem 0 3rem;
    }

    .footer-phone {
        margin-left: 0;
    }
    .site-footer {
        text-align: center;
    }

    .hero-badges{
        font-size: 0.8rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }

    .header-phone {
        display: none;
    }
    .footer-brand {
        justify-content: center;
    }
    .footer-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .site-footer {
        font-size: 0.8rem;
    }

    .compare-panel {
        max-height: 98vh;
    }

    .compare-panel.card-list-hidden .compare-card-list {
        display: none;
    }

    .compare-panel.card-list-hidden .compare-card-list-toggle {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }
    
    .modal-notes li {
        font-size: 0.7rem;
    }


    .modal-action-bar {
        display: flex;
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    .logo img {
        height: 36px;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        position: absolute;
        right: 0rem;
        top: 4.5rem;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .main-nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        background: none;
        border: 1px solid var(--border);
        padding: 0.4rem 0.9rem;
        border-radius: 999px;
        font-weight: 600;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-card {
        display: none;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0.5rem;
        padding: 0 1.25rem;
        display: grid;
        grid-template-columns: auto 1fr;
        z-index: 20;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .mobile-action-bar .action-btn {
        pointer-events: auto;
    }

    .mobile-action-bar.is-hidden {
        opacity: 0;
        visibility: hidden;
    }

    .modal-panel {
        width: 100vw;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        height: auto;
        align-self: flex-end;
        transform: translateY(100%);
        padding: 3rem 1rem 1rem 1rem;
      
    }

    .modal-header {
        padding: 0 0.25rem 0.5rem;
    }

    .modal-hero {
        flex-direction: column;
    }

    .modal-hero img {
        width: 100%;
    }

    /* Ensure feature table wrapper scrolls horizontally on small screens */
    .modal-feature-table-wrapper {
        overflow-x: auto;


    }

    .modal-feature-table {
        min-width: 560px; /* slightly wider for readability */
    }

    .modal-feature-table th,
    .modal-feature-table td {
        padding: 0.6rem 0.65rem;
        font-size: 0.9rem;
        min-height: 60px;
    }

    .modal-feature-table col:nth-child(1) { width: 80px; }
    .modal-feature-table col:nth-child(2) { width: 30%; }
    .modal-feature-table col:nth-child(3) { width: 40%; }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
    }
}

/* Thin, brand-colored scrollbars */
html {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.45) transparent;
}

*::-webkit-scrollbar {
    width: 1px;  /* Chrome, Edge, Safari */
    height: 1px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    border: 1px solid transparent; /* creates thin thumb illusion */
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Extra-thin scrollbars inside modals */
.plan-modal .modal-scroll {
    scrollbar-width: thin; /* Firefox can't go thinner than 'thin' */
}

.plan-modal .modal-scroll::-webkit-scrollbar {
    width: 4px;
}

.plan-modal .modal-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(37, 99, 235, 0.45);
    border-radius: 999px;
}

/* Horizontal scrollers in modal: feature table */
.plan-modal .modal-feature-table-wrapper::-webkit-scrollbar {
    height: 4px;
}

.plan-modal .modal-feature-table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(37, 99, 235, 0.45);
    border-radius: 999px;
}

/* Compare modal table wrapper horizontal scrollbar */
.compare-panel .compare-table-wrapper::-webkit-scrollbar {
    height: 4px;
}

.compare-panel .compare-table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(37, 99, 235, 0.45);
    border-radius: 999px;
}
