/* Self-hosted fonts (SIL OFL), subset latin + latin-ext */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/space-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/*
 * Purl & Row — pre-launch marketing & legal pages
 * Warm craft palette: soft cream background with muted teal accent and warm terracotta,
 * inspired by yarn and natural fibers. Structural classes use the pr- prefix.
 */

:root {
    --pr-cream: #FAF7F3;
    --pr-cream-surface: #F2EDE7;
    --pr-cream-raised: #E8DFD5;
    --pr-teal: #4A9B8E;
    --pr-teal-dark: #3A7A70;
    --pr-terracotta: #C97B63;
    --pr-charcoal: #2D2D2D;
    --pr-charcoal-soft: #4A4A4A;
    --pr-text-muted: #6B6B6B;
    --pr-border: rgba(74, 155, 142, 0.20);

    --pr-max-width: 1120px;
    --pr-reading-width: 720px;
    --pr-radius: 16px;

    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--pr-cream);
    color: var(--pr-charcoal);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 720px) {
    body { font-size: 16px; }
}

a {
    color: var(--pr-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover, a:focus {
    color: var(--pr-teal-dark);
}

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--pr-charcoal);
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(36px, 7vw, 72px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 2em; }
h3 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.5em; }
h4 { font-size: clamp(18px, 2vw, 22px); margin-top: 1.25em; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

code, pre {
    font-family: ui-monospace, 'SF Mono', Consolas, 'Liberation Mono', monospace;
    background: var(--pr-cream-raised);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 0.9em;
}

hr {
    border: 0;
    border-top: 1px solid var(--pr-border);
    margin: 2em 0;
}

.pr-skip {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pr-skip:focus {
    position: static;
    width: auto;
    height: auto;
}

.pr-shell {
    max-width: var(--pr-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 720px) {
    .pr-shell { padding: 0 16px; }
}

.pr-topbar {
    background: var(--pr-cream-surface);
    border-bottom: 1px solid var(--pr-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pr-topbar .pr-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pr-brand {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--pr-charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pr-brand:hover {
    color: var(--pr-teal);
}

.pr-brand-mark {
    border-radius: 8px;
}

.pr-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pr-nav a {
    color: var(--pr-charcoal-soft);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.pr-nav a:hover, .pr-nav a:focus, .pr-nav a[aria-current="page"] {
    color: var(--pr-teal);
}

.pr-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--pr-cream) 0%, var(--pr-cream-surface) 100%);
    border-bottom: 1px solid var(--pr-border);
}

@media (max-width: 720px) {
    .pr-hero { padding: 60px 0 40px; }
}

.pr-hero h1 {
    margin-bottom: 0.25em;
}

.pr-hero-lead {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--pr-charcoal-soft);
    margin: 0 0 1.5em;
    max-width: 720px;
}

.pr-hero-cta {
    display: inline-block;
    background: var(--pr-teal);
    color: white;
    padding: 16px 32px;
    border-radius: var(--pr-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.2s ease;
}

.pr-hero-cta:hover, .pr-hero-cta:focus {
    background: var(--pr-teal-dark);
    color: white;
}

.pr-badge {
    display: inline-block;
    background: var(--pr-terracotta);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pr-page-hero {
    padding: 60px 0 40px;
    background: var(--pr-cream-surface);
    border-bottom: 1px solid var(--pr-border);
}

@media (max-width: 720px) {
    .pr-page-hero { padding: 40px 0 32px; }
}

.pr-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pr-teal);
    margin: 0 0 8px;
}

.pr-meta {
    color: var(--pr-text-muted);
    font-size: 16px;
}

.pr-prose {
    max-width: var(--pr-reading-width);
    margin: 0 auto;
    padding: 64px 24px;
}

@media (max-width: 720px) {
    .pr-prose { padding: 48px 16px; }
}

.pr-prose h2:first-child,
.pr-prose h3:first-child {
    margin-top: 0;
}

.pr-toc {
    background: var(--pr-cream-surface);
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius);
    padding: 24px;
    margin: 0 0 2em;
}

.pr-toc strong {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--pr-charcoal);
}

.pr-toc ol, .pr-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pr-toc li {
    margin-bottom: 8px;
}

.pr-toc a {
    color: var(--pr-teal);
    text-decoration: none;
}

.pr-toc a:hover {
    text-decoration: underline;
}

.pr-footer {
    background: var(--pr-cream-surface);
    border-top: 1px solid var(--pr-border);
    padding: 48px 0;
    margin-top: 80px;
}

.pr-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.pr-footer h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--pr-charcoal);
}

.pr-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pr-footer li {
    margin-bottom: 12px;
}

.pr-footer a {
    color: var(--pr-charcoal-soft);
    text-decoration: none;
}

.pr-footer a:hover {
    color: var(--pr-teal);
}

.pr-footer-legal {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--pr-border);
    color: var(--pr-text-muted);
    font-size: 14px;
}

.pr-section {
    padding: 64px 0;
}

.pr-section-alt {
    background: var(--pr-cream-surface);
}

.pr-section h2 {
    text-align: center;
    margin-bottom: 48px;
}

.pr-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pr-card {
    background: white;
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius);
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 155, 142, 0.15);
}

.pr-card h3 {
    margin-top: 0;
    color: var(--pr-teal);
}

.pr-faq dt {
    font-weight: 700;
    font-size: 20px;
    margin-top: 2em;
    color: var(--pr-charcoal);
}

.pr-faq dt:first-child {
    margin-top: 0;
}

.pr-faq dd {
    margin: 0.5em 0 0 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--pr-border);
}

th {
    font-weight: 700;
    color: var(--pr-charcoal);
    background: var(--pr-cream-surface);
}

tr:hover {
    background: var(--pr-cream-surface);
}

.pr-coming-soon {
    font-style: italic;
    color: var(--pr-text-muted);
}
