/* === Skip to Content === */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 0;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 3.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fff;
    max-width: 100%;
    overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3, h4 {
    line-height: 1.3;
    color: #0a0a0a;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e0e0e0;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

p {
    margin-bottom: 0.75rem;
}

a {
    color: #1a6be0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible, button:focus-visible, summary:focus-visible, details:focus-visible {
    outline: 2px solid #1a6be0;
    outline-offset: 2px;
}

ul, ol {
    margin: 0.5rem 0 1rem 1.5rem;
}

li {
    margin-bottom: 0.25rem;
}

strong {
    font-weight: 600;
}

code {
    font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
    background: #f5f5f5;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* === Layout === */
.section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.subpage-hero {
    padding-top: 5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: #444;
}

.hero-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
}

/* === Navigation === */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a0a0a;
    white-space: nowrap;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.875rem;
}

.nav-links a {
    color: #555;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #1a6be0;
    text-decoration: none;
}

.nav-cta {
    background: #1a1a1a;
    color: #fff !important;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #333;
    text-decoration: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* === Table === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

th, td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
    background: #f9f9f9;
    border-bottom: 2px solid #ccc;
}

tr:last-child td {
    border-bottom: none;
}

/* === FAQ Details === */
details {
    border-bottom: 1px solid #e8e8e8;
    padding: 0.75rem 0;
}

details:last-of-type {
    border-bottom: none;
}

summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "+ ";
    font-weight: 400;
    color: #888;
}

details[open] summary::before {
    content: "- ";
}

details p {
    margin-top: 0.5rem;
    color: #444;
    font-size: 0.95rem;
}

/* === Buy Section === */
.buy-options {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.buy-option {
    flex: 1;
    border: 1px solid #e0e0e0;
    padding: 1.25rem;
    border-radius: 4px;
}

.buy-option h3 {
    margin-top: 0;
    font-size: 1rem;
}

.buy-button {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.buy-button:hover {
    background: #333;
    text-decoration: none;
    color: #fff;
}

.buy-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.75rem;
}

/* === Footer === */
footer {
    border-top: 1px solid #e0e0e0;
    margin-top: 2rem;
    background: #fafafa;
}

footer .section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

footer h2 {
    border-bottom-color: #d0d0d0;
}

footer p, footer li {
    font-size: 0.9rem;
    color: #444;
}

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #888;
    font-size: 0.8rem;
}

/* === Tablet (iPad) === */
@media (max-width: 1024px) {
    .section {
        max-width: 100%;
        padding: 2rem 2rem;
    }

    .nav-inner {
        max-width: 100%;
        padding: 0.5rem 2rem;
    }

    .footer-bottom {
        max-width: 100%;
        padding: 1rem 2rem;
    }
}

/* === Mobile === */
@media (max-width: 600px) {
    h1 {
        font-size: 1.35rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .section {
        padding: 1.5rem 1rem;
    }

    .nav-inner {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .buy-options {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem 1rem;
    }

    table {
        font-size: 0.75rem;
    }

    th, td {
        padding: 0.35rem 0.4rem;
    }
}

/* === Print === */
@media print {
    #nav, .nav-toggle, .buy-button {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section {
        max-width: 100%;
        padding: 1rem 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
