.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--white);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 40px 36px;
    transition: background var(--transition);
    position: relative;
    cursor: default;
}

.service-card:hover {
    background: var(--paper);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.service-name {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 9px;
    border-radius: 100px;
}

.service-tag.paid {
    color: var(--muted);
    background: var(--paper);
}

.pricing-wrapper {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pricing-header {
    padding: 32px 40px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pricing-header-note {
    font-size: 13px;
    color: var(--muted);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.pricing-toggle input[type="checkbox"] {
    appearance: none;
    width: 36px;
    height: 20px;
    background: var(--rule);
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--transition);
    position: relative;
}

.pricing-toggle input[type="checkbox"]:checked {
    background: var(--accent);
}

.pricing-toggle input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition);
}

.pricing-toggle input[type="checkbox"]:checked::after {
    transform: translateX(16px);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.plan {
    padding: 44px 40px;
    border-right: 1px solid var(--rule);
    position: relative;
    transition: background var(--transition);
}

.plan:last-child {
    border-right: none;
}

.plan.featured {
    background: var(--ink);
    color: var(--paper);
}

.plan-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.plan.featured .plan-name {
    color: rgba(255,255,255,.45);
}

.plan-price {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.plan-price sup {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    vertical-align: super;
    line-height: 0;
    margin-right: 2px;
}

.plan-period {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 32px;
}

.plan.featured .plan-period {
    color: rgba(255,255,255,.4);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.plan-features li {
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan.featured .plan-features li {
    color: rgba(255,255,255,.65);
}

.plan-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}

.plan.featured .plan-features li::before {
    background: rgba(255,255,255,.4);
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'Sora', sans-serif;
    transition: all .2s;
    cursor: pointer;
    border: none;
}

.plan-btn-outline {
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
}

.plan-btn-outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.plan-btn-solid {
    background: var(--paper);
    color: var(--ink);
}

.plan-btn-solid:hover {
    background: var(--accent);
    color: var(--paper);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--paper);
    padding: 3px 9px;
    border-radius: 100px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-num {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--rule);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    padding-top: 2px;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.why-visual {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.metric-large {
    padding: 28px 32px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    background: var(--paper);
    margin-bottom: 20px;
}

.metric-large-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.metric-large-value {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.metric-large-value span {
    font-size: 20px;
    color: var(--muted);
    font-family: 'Sora', sans-serif;
    font-weight: 300;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--rule);
}

.metric-cell {
    padding: 24px 28px;
    background: var(--paper);
}

.metric-cell-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.metric-cell-value {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.metric-cell-value.accent {
    color: var(--accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--ink);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 13.5px;
    font-weight: 500;
}

.testimonial-role {
    font-size: 12px;
    color: var(--muted);
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
    font-size: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 500;
    user-select: none;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--paper);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-answer-inner {
    padding: 0 32px 24px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.cta-section {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    margin: 0 0 80px;
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42,107,79,.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text h2 {
    color: var(--paper);
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 15px;
    color: rgba(247,245,240,.45);
    max-width: 380px;
    line-height: 1.65;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    flex-shrink: 0;
}

.btn-light {
    background: var(--paper);
    color: var(--ink);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s, transform .15s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-light:hover {
    background: var(--accent);
    color: var(--paper);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 12px;
    color: rgba(247,245,240,.3);
    text-align: right;
}

.page-hero {
    padding: 140px 0 80px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
}

.page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.page-hero h1 {
    font-size: clamp(36px, 4vw, 64px);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 17px;
    color: var(--muted);
    font-weight: 300;
    max-width: 540px;
    line-height: 1.7;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
}

.status-operational {
    background: var(--accent-light);
    color: var(--accent);
}

.status-operational::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

.status-degraded {
    background: #fff3cd;
    color: #a07000;
}

.status-outage {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .plan {
        border-right: none;
        border-bottom: 1px solid var(--rule);
    }

    .plan:last-child {
        border-bottom: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-section {
        padding: 48px 32px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        align-items: flex-start;
    }

    .cta-note {
        text-align: left;
    }
}

.legal-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 96px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    padding: 24px;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.legal-toc-list {
    list-style: decimal;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc-list a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
}

.legal-toc-list a:hover {
    color: var(--accent);
}

.legal-body {
    max-width: 680px;
}

.legal-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--rule);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    margin-bottom: 16px;
    margin-top: 0;
}

.legal-section h3 {
    font-size: 17px;
    margin-top: 28px;
    margin-bottom: 10px;
}

.legal-section p {
    font-size: 15px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.legal-section a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-light);
    transition: border-color var(--transition);
}

.legal-section a:hover {
    border-color: var(--accent);
}

.legal-section code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 1px 6px;
    border-radius: 4px;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
}

.legal-list li {
    font-size: 14.5px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.legal-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 400;
}

.legal-list-prohibited li::before {
    content: '✕';
    font-size: 11px;
    color: #ef4444;
    top: 2px;
}

.legal-list-ordered {
    list-style: none;
    counter-reset: legal-counter;
}

.legal-list-ordered li {
    counter-increment: legal-counter;
}

.legal-list-ordered li::before {
    content: counter(legal-counter) '.';
    font-weight: 500;
    color: var(--accent);
    font-size: 13px;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.legal-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.legal-table td {
    padding: 12px 16px;
    font-size: 13.5px;
    color: var(--muted);
    border-bottom: 1px solid var(--rule);
    line-height: 1.5;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.legal-highlight {
    background: var(--white);
    padding: 32px 28px;
    text-align: center;
}

.legal-highlight-value {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.legal-highlight-label {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .legal-container {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-highlight-grid {
        grid-template-columns: 1fr;
    }
}
