/* Global */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --text: #000000;
    --accent: #111111;
    --accent-soft: #f4f4f4;
    --border: #e0e0e0;
    --radius-lg: 14px;
    --radius-sm: 8px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
}

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

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--accent-soft);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

h2 {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
}

h3 {
    font-size: 1.1rem;
}

/* Header & Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #000000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--text);
    font-size: 0.8rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    position: relative;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.2s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 2.5rem;
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 0.98rem;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.3rem;
}

.hero-updated {
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.hero-aside {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.4rem;
    background: #ffffff;
}

.hero-card h2 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

.hero-card ul {
    padding-left: 1.2rem;
    margin: 0 0 0.9rem;
}

.hero-card li {
    font-size: 0.9rem;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid #f7583e;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.primary-btn {
    background: #f7583e;
    color: var(--bg);
}

.secondary-btn {
    background: #fef3c5;
}

/* Grid helpers */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards & Plans */

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.2rem 1.3rem;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card h3 {
    margin-bottom: 0.6rem;
}

.card p:last-child {
    margin-bottom: 0;
}

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

.plan-card {
    position: relative;
}

.plan-highlight {
    border-width: 2px;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.plan-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0 0 0.7rem;
}

.plan-note {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Scenarios */

.scenarios-grid .scenario-card ul {
    padding-left: 1.1rem;
    margin-bottom: 0.7rem;
}

/* Tips */

.tips-list {
    counter-reset: tip-counter;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

.tips-list li {
    counter-increment: tip-counter;
    margin-bottom: 0.75rem;
    padding-left: 1.8rem;
    position: relative;
}

.tips-list li::before {
    content: counter(tip-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
}

/* FAQ */

.faq {
    max-width: 720px;
}

.faq-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 0.6rem;
    overflow: hidden;
    background: #ffffff;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.9rem;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    cursor: pointer;
}

.faq-icon {
    margin-left: 0.8rem;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 0.9rem;
    font-size: 0.9rem;
    transition: max-height 0.2s ease, padding-bottom 0.2s ease;
}

.faq-item.open .faq-answer {
    max-height: 180px;
    padding-bottom: 0.75rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* CTA section */

.section-cta {
    background: var(--accent-soft);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 2rem;
    font-size: 0.85rem;
}

.footer-inner {
    text-align: center;
}

.footer-note {
    max-width: 640px;
    margin: 0.5rem auto 0;
    opacity: 0.8;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-aside {
        justify-content: flex-start;
    }

    .plans-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .site-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0.75rem;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-card {
        max-width: 100%;
    }
}
