/* Schibsted Grotesk, the front page's typeface, served from /fonts (Latin subset, OFL). */
@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/schibsted-grotesk-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/schibsted-grotesk-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/schibsted-grotesk-latin-700-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/schibsted-grotesk-latin-800-normal.woff2') format('woff2');
}
:root {
    --ink: #17213a;
    --muted: #52617a;
    --line: #e1e6ef;
    /* The logo's blue and the front page's navy. */
    --blue: #1455f5;
    --navy: #111a33;
}
* {
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: var(--ink);
    font:
        16px/1.65 'Schibsted Grotesk',
        system-ui,
        -apple-system,
        'Segoe UI',
        sans-serif;
}
a {
    color: var(--blue);
}
a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    padding: 12px;
    background: #fff;
}
.skip-link:focus {
    top: 12px;
}
.site-header,
.site-main,
.site-footer {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    padding-inline: 24px;
}
/* Navy edge to edge, as on the front page. */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
    background: var(--navy);
    box-shadow: 0 0 0 100vmax var(--navy);
    clip-path: inset(0 -100vmax);
}
.site-header a:focus-visible {
    outline-color: #fff;
}
.brand {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}
.brand img {
    display: block;
    width: auto;
    height: 32px;
}
.login-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.login-link:hover {
    color: #cfe0ff;
}
.site-main {
    flex: 1;
    padding-block: 48px 72px;
}
h1 {
    margin: 8px 0 20px;
    font-size: clamp(34px, 6vw, 52px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
}
h2 {
    margin: 40px 0 8px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}
p,
ul {
    margin: 0 0 14px;
}
ul {
    padding-left: 20px;
}
code {
    font-size: 0.9em;
    overflow-wrap: anywhere;
}
/* Readable measure and no lonely last words. */
.site-main p,
.site-main li {
    max-width: 65ch;
    text-wrap: pretty;
}
h1,
h2,
h3 {
    text-wrap: balance;
}
.crumb {
    margin-bottom: 12px;
    font-size: 15px;
}
.eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lead {
    color: var(--muted);
    font-size: 19px;
}
.updated {
    color: var(--muted);
    font-size: 14px;
}
.draft-note {
    padding: 12px 14px;
    border: 1px solid #f0c36d;
    border-radius: 6px;
    background: #fff8e6;
    font-size: 15px;
}
mark.missing {
    padding: 0 3px;
    border-radius: 3px;
    background: #ffe08a;
    color: inherit;
}
.table-wrap {
    margin-bottom: 14px;
    overflow-x: auto;
}
table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
}
th,
td {
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.facts {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 8px 16px;
    margin: 24px 0;
}
.facts dt {
    color: var(--muted);
}
.facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.error-page {
    padding-block: 40px;
}
.button {
    display: inline-flex;
    gap: 12px;
    padding: 13px 24px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}
.button:hover {
    background: #0f45cf;
}
.button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}
.site-footer {
    padding-block: 28px;
    border-top: 1px solid var(--line);
}
.footer-columns {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 28px;
}
.footer-columns p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}
.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.site-footer nav h2 {
    margin: 0 0 4px;
    font-size: 14px;
}
.site-footer a {
    color: var(--muted);
    font-size: 14px;
}
.site-footer .brand img {
    height: 28px;
}
.company-line {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.button.compact {
    padding: 9px 16px;
    font-size: 15px;
}
.button.secondary {
    border: 1px solid #c9d2df;
    background: #fff;
    color: var(--ink);
}
.button.secondary:hover {
    background: #f3f5f9;
}

/* Wider marketing pages */
.site-header.wide,
.site-main.wide,
.site-footer {
    max-width: 1080px;
}
.site-main section + section {
    margin-top: 64px;
}
.intro-block h1 {
    max-width: 760px;
}
.fine-print {
    color: var(--muted);
    font-size: 14px;
}
.numbered {
    margin: 16px 0;
    padding-left: 24px;
}
.numbered li {
    margin-bottom: 12px;
}
.checks,
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}
.checks li::before {
    content: '✓ ';
    color: var(--blue);
    font-weight: 700;
}
.checks li {
    flex-basis: calc(50% - 10px);
}
.chips li {
    padding: 6px 14px;
    border-radius: 999px;
    background: #edf3ff;
    font-size: 15px;
}
.tip {
    padding: 14px 16px;
    border-radius: 12px;
    background: #edf3ff;
}
details {
    border-bottom: 1px solid var(--line);
}
summary {
    padding: 16px 0;
    font-weight: 650;
    cursor: pointer;
}
details p {
    color: var(--muted);
}

/* Pricing and closing */
.plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}
.plan {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
}
/* The main plan in navy, as on the front page. */
.plan.featured {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
    box-shadow: 0 24px 60px rgb(17 26 51 / 22%);
}
.plan.featured .price,
.plan.featured p {
    color: #c4cde0;
}
.plan.featured .price strong {
    color: #fff;
}
.plan.featured .button:focus-visible {
    outline-color: #fff;
}
.plan h3 {
    margin: 0;
    font-size: 20px;
}
.price {
    margin: 8px 0;
    color: var(--muted);
    font-size: 15px;
}
.price strong {
    color: var(--ink);
    font-size: 34px;
}
.plan ul {
    flex: 1;
}
.plan .button {
    align-self: flex-start;
}
.closing {
    padding: 48px 28px;
    border-radius: 28px;
    background: var(--navy);
    color: #fff;
    text-align: center;
}
.closing h2 {
    margin-top: 0;
    color: #fff;
    font-size: 28px;
}
.closing p {
    color: #c4cde0;
}

/* Guides */
.guide-list {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}
.guide-list a {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
}
.guide-list a:hover {
    border-color: var(--blue);
}
.guide-list span:last-child {
    color: var(--muted);
}
.help-line {
    margin-top: 48px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
    .footer-columns > div {
        grid-column: 1 / -1;
    }
    .plans {
        grid-template-columns: 1fr;
    }
    .checks li {
        flex-basis: 100%;
    }
}
@media (max-width: 480px) {
    .header-actions .button {
        display: none;
    }
}

/* A guide's author and the day it was last checked. */
.guide-meta {
    margin: -8px 0 28px;
    font-size: 14px;
    color: var(--muted);
}
