/* Base */

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    color: #1a1a1a;
    background: #ffffff;
}

/* Navigation */

nav {
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
    background: #ffffff;
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 600;
    font-size: 1rem;
    color: #111;
}

.nav-links a {
    margin-left: 28px;
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Layout */

.container {
    max-width: 760px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Typography */

h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 12px;
    font-weight: 600;
}

.lead {
    font-size: 1.1rem;
    color: #222;
}

p {
    margin-bottom: 18px;
    color: #333;
}

ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* Divider */

hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 36px 0;
}

/* Footer */

footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 80px;
    padding: 30px 0;
    background: #fafafa;
}

.footer-note {
    font-size: 0.85rem;
    color: #666;
}

.brand-link {
    color: inherit;
    text-decoration: none;
}

.brand-link:hover {
    text-decoration: underline;
}

.hero-illustration {
    margin: 40px 0;
    text-align: center;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.old-sign-illustration {
    margin: 40px 0;
    text-align: center;
}

.old-sign-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ReturnTimers.com. Minimal authority styling. System font stack. */

:root {
    --bg: #ffffff;
    --ink: #0b1220;
    --muted: #5b6472;
    --line: #e6e8ee;
    --card: #f7f8fb;
    --good: #0f766e;
    --bad: #b42318;
    --max: 980px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 18px;
    top: 18px;
    width: auto;
    height: auto;
    padding: 10px 12px;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    z-index: 999;
}

/* Header */


.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
    /* Needed so the mobile nav dropdown positions relative to the header */
    position: sticky;
}




.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* Use padding shorthand so horizontal padding (from .container) isn't overridden */
    padding: 14px 18px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 240px;
}

.brand-link {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-tag {
    font-size: 13px;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 10px;
}

.nav a:hover {
    background: var(--card);
    text-decoration: none;
}

.nav a.active {
    color: var(--ink);
    background: var(--card);
    font-weight: 600;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding: 18px 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-right a {
    color: var(--muted);
}

/* Spec styling */
.spec {
    padding: 26px 0 10px;
}

.spec-head h1 {
    font-size: 44px;
    letter-spacing: -0.5px;
    margin: 10px 0 8px;
}

.spec-subtitle {
    margin: 0 0 18px;
    color: var(--muted);
}

.spec-meta {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 14px 14px;
    margin: 18px 0 24px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    color: var(--muted);
    font-size: 13px;
}

.meta-value {
    font-weight: 600;
    font-size: 13px;
}

.spec-toc {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    padding: 18px 18px;
    margin: 0 0 26px;
}

.spec-toc h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.spec-toc ol {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.spec-toc a {
    color: var(--muted);
}

.spec-toc a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.spec h2 {
    margin: 34px 0 10px;
    font-size: 20px;
}

.spec h3 {
    margin: 18px 0 8px;
    font-size: 16px;
}

.spec p {
    margin: 10px 0;
    color: var(--ink);
}

.spec ul,
.spec ol {
    margin: 10px 0 10px 22px;
}

.spec li {
    margin: 6px 0;
}

.callout {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 14px;
    color: var(--muted);
}

.defs {
    margin: 12px 0 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.defs dt {
    font-weight: 700;
    padding: 12px 14px 0;
}

.defs dd {
    margin: 0;
    padding: 6px 14px 12px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.defs dd:last-child {
    border-bottom: none;
}

.clause {
    border-left: 3px solid var(--line);
    padding-left: 14px;
    margin: 14px 0 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 12px 12px;
}

.panel h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.panel.good h4 {
    color: var(--good);
}

.panel.bad h4 {
    color: var(--bad);
}

.quote-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 16px 16px;
    font-weight: 700;
    text-align: center;
    margin: 12px 0;
}

.fineprint {
    color: var(--muted);
    font-size: 13px;
}

.spec-foot {
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.btn-download:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    text-decoration: none;
}


/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: var(--card);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Animated X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile */
@media (max-width: 720px) {
    .site-header {
        position: sticky;
        /* ensure positioned ancestor for nav dropdown */
    }

    .header-inner {
        align-items: center;
        padding: 12px 18px;
    }

    .brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        min-width: auto;
    }

    .nav-toggle {
        display: flex !important;
    }

    /* Nav becomes a full-width dropdown below the sticky header */
    .nav {
        display: none;
        position: fixed;
        top: var(--nav-top, 57px);
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        z-index: 100;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a:hover,
    .nav a.active {
        background: var(--card);
    }

    .spec-head h1 {
        font-size: 34px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}