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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 16px;
    z-index: 100;
}

.skip-link:focus {
    left: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

/* ---------- Header ---------- */

header {
    background-color: #2563eb;
    color: white;
    padding: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo img {
    border-radius: 6px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    font-size: 15px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

nav a:first-child {
    margin-left: 0;
}

nav a:hover,
nav a.active {
    opacity: 1;
    text-decoration: underline;
}

/* ---------- Main ---------- */

main {
    padding: 40px 0;
    min-height: calc(100vh - 160px);
}

section {
    margin-bottom: 56px;
}

h1,
h2,
h3 {
    line-height: 1.25;
}

h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #1a1a1a;
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.answer {
    font-size: 17px;
    color: #444;
    margin-bottom: 24px;
    max-width: 68ch;
}

.note {
    font-size: 15px;
    color: #555;
}

/* ---------- Hero ---------- */

.hero {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 300px);
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.lede {
    font-size: 18px;
    color: #444;
    margin-bottom: 24px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-ghost:hover {
    background-color: rgba(37, 99, 235, 0.08);
}

.meta-line {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.hero-shot {
    margin: 0;
}

.hero-shot img,
.shot img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ---------- Cards ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card p {
    margin-bottom: 0;
    font-size: 15px;
    color: #555;
}

.shot {
    margin: 0 auto;
    max-width: 320px;
    text-align: center;
}

.shot figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

/* ---------- Tool list ---------- */

.tool-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.tool-group {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tool-group h3 {
    color: #2563eb;
    font-size: 16px;
}

.tool-group ul {
    list-style: none;
}

.tool-group li {
    font-size: 15px;
    color: #555;
    padding: 4px 0 4px 18px;
    position: relative;
}

.tool-group li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

/* ---------- Steps ---------- */

.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 16px;
    max-width: 68ch;
}

.steps li {
    counter-increment: step;
    background: #fff;
    border-radius: 8px;
    padding: 20px 22px 20px 62px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* ---------- Table ---------- */

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 18px;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 560px;
}

th,
td {
    text-align: left;
    padding: 13px 18px;
    font-size: 15px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

th {
    background: #f9fafb;
    color: #1a1a1a;
    font-weight: 600;
}

tbody tr:last-child td {
    border-bottom: none;
}

td:last-child {
    color: #555;
    white-space: nowrap;
}

/* ---------- FAQ ---------- */

#faq h3 {
    margin-top: 24px;
}

#faq p {
    max-width: 68ch;
    color: #555;
}

/* ---------- Get it ---------- */

.get-it {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.get-it h2 {
    margin-bottom: 10px;
}

.get-it .cta-row {
    justify-content: center;
    margin-bottom: 0;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    display: block;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- Legal pages ---------- */

.policy-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.policy-content .answer {
    margin-bottom: 30px;
}

.last-updated {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.policy-content h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2563eb;
}

.policy-content h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 15px;
    margin-left: 25px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: #2563eb;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */

footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

footer p {
    font-size: 14px;
}

footer nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

footer nav a:first-child {
    margin-left: 0;
}

footer nav a:hover {
    color: white;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-shot {
        max-width: 280px;
        margin: 0 auto;
    }

    section {
        margin-bottom: 44px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        justify-content: center;
    }

    nav a {
        margin-left: 14px;
        font-size: 14px;
    }

    main {
        padding: 28px 0;
    }

    h2 {
        font-size: 23px;
    }

    .policy-content {
        padding: 25px;
    }

    .get-it {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
