/* pages.css — static page stylesheet for qr.seun.app
   Mirrors the app's design system without Tailwind or any build step. */

*, *::before, *::after { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    background: #f3f1eb;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    overflow-x: hidden;
}

/* ── Page shell ─────────────────────────────────────────────────────────────── */

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Nav ────────────────────────────────────────────────────────────────────── */

.nav {
    padding: 1.25rem 1rem;
}

.nav-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #000;
    text-decoration: none;
}

.nav-logo:hover { color: #706b64; }

.nav-action {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #706b64;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid #ddd8cf;
    border-radius: 14px;
    background: #f7f6f2;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.nav-action:hover {
    border-color: #161616;
    color: #000;
    background: #efebe4;
}

/* ── Main ───────────────────────────────────────────────────────────────────── */

main {
    flex: 1;
    padding: 1.5rem 1rem 4rem;
}

/* ── Card ───────────────────────────────────────────────────────────────────── */

.card {
    background: #f7f6f2;
    border: 1px solid #ddd8cf;
    border-radius: 30px;
    padding: 2rem 1.5rem;
}

/* ── Typography ─────────────────────────────────────────────────────────────── */

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #7c776f;
    margin-bottom: 1.25rem;
}

h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.96;
    color: #000;
    margin: 0 0 1.75rem;
}

h2 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #000;
    margin: 2.25rem 0 0.5rem;
}

h2:first-of-type { margin-top: 0; }

p {
    font-size: 15px;
    line-height: 1.8;
    color: #706b64;
    margin: 0 0 0.75rem;
}

p:last-child { margin-bottom: 0; }

a {
    color: #000;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover { color: #706b64; }

ul, ol {
    padding-left: 1.25rem;
    margin: 0 0 0.75rem;
}

li {
    font-size: 15px;
    line-height: 1.8;
    color: #706b64;
    margin-bottom: 0.15rem;
}

li:last-child { margin-bottom: 0; }

hr {
    border: none;
    border-top: 1px solid #ece8e1;
    margin: 2rem 0;
}

/* ── Contact form ───────────────────────────────────────────────────────────── */

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid #ddd8cf;
    border-radius: 16px;
    background: #fff;
    margin-top: 1.25rem;
    transition: border-color 0.15s, background 0.15s;
}

.contact-email:hover {
    border-color: #161616;
    background: #f7f6f2;
    color: #000;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.footer {
    padding: 1.25rem 1rem;
    border-top: 1px solid #ece8e1;
}

.footer-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 12px;
    color: #9f988f;
    margin: 0;
    line-height: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    font-size: 12px;
    color: #9f988f;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
    color: #000;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (min-width: 640px) {
    .nav { padding: 1.5rem 1.5rem; }
    main { padding: 2.5rem 1.5rem 5rem; }

    .card { padding: 3rem 3.5rem; }

    h1 { font-size: 46px; }
}

/* ── Focus ──────────────────────────────────────────────────────────────────── */

:focus-visible {
    outline: 2px solid #161616;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Reduced motion ─────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
