/* ExpireFile SEO pages proposal. Matches the live palette (tailwind.config.js)
   and self-hosted fonts; editorial layout, hairline rules, no cards or pills. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #0a0a0f; --bg2: #12121a; --rule: rgba(255,255,255,.09); --rule2: rgba(255,255,255,.16);
  --text: #e7e7ec; --muted: #9b9bab; --faint: #6b6b7b; --accent: #818cf8; --accent-strong: #6366f1;
  --display: "Space Grotesk", Inter, system-ui, sans-serif; --sans: Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #a5b4fc; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }

header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
header.site .brand { color: #fff; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
/* Lock mark, matching the app pages' nav (render/layout.ts, brand:nav-lock). */
header.site .brand { display: inline-flex; align-items: center; gap: .5rem; }
header.site .brand svg { color: var(--accent-strong); flex: none; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: .9rem; margin-left: 1.25rem; }
header.site nav a:hover { color: #fff; }
/* Manage is outlined, matching the app pages' nav (render/layout.ts). */
header.site nav a[href="/manage"] { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: .375rem .75rem; }
header.site nav a[href="/manage"]:hover { background: rgba(255,255,255,.05); }
@media (max-width: 480px) { header.site nav a.hide-sm { display: none; } }

main { padding: 2.5rem 0 4rem; }
.crumbs { font-size: .82rem; color: var(--faint); margin-bottom: 1.5rem; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--muted); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; color: #fff; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin: 0 0 1.25rem; max-width: 22ch; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 3rem 0 .9rem; padding-top: 2.25rem; border-top: 1px solid var(--rule); }
h3 { font-size: 1.08rem; margin: 1.75rem 0 .4rem; }
/* No lone last words: balance short blocks, pretty-wrap running text. */
h1, h2, h3, .cta .note, .small, .price-line, .link-list span, .crumbs { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
td { text-wrap: balance; }
p, li { color: #c9c9d3; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }
.prose { max-width: 68ch; }
.prose li { margin: .35rem 0; }
.small { font-size: .88rem; color: var(--faint); }
.mono { font-family: var(--mono); font-size: .9em; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin: 1.75rem 0 0; }
.btn { display: inline-block; background: var(--accent-strong); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; padding: .85rem 1.6rem; border-radius: 8px; }
.btn:hover { background: #4f46e5; color: #fff; }
.cta .note { font-size: .85rem; color: var(--faint); }

/* Full-width tables, hairline rules only. */
.table-scroll { width: 100%; overflow-x: auto; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 500; color: #fff; border-bottom-color: var(--rule2); }
td { color: #c9c9d3; }
td.num, th.num { font-family: var(--mono); font-size: .88rem; white-space: nowrap; }
.verify { color: #d4b06a; font-size: .8em; white-space: nowrap; }

/* Two-column text block, not cards. */
.cols { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 800px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols > div > h3:first-child { margin-top: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; max-width: 68ch; }
.steps li { counter-increment: s; position: relative; padding-left: 2.4rem; margin: 1rem 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .05rem; font-family: var(--mono); font-size: .85rem; color: var(--muted); width: 1.6rem; height: 1.6rem; border: 1px solid var(--rule2); border-radius: 50%; display: grid; place-items: center; }

dl.faq { max-width: 68ch; margin: 0; }
dl.faq dt { font-weight: 600; color: #fff; margin-top: 1.4rem; }
dl.faq dd { margin: .35rem 0 0; color: #c9c9d3; }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--rule); padding: .9rem 0; }
.link-list a { font-weight: 500; text-decoration: none; }
.link-list span { display: block; font-size: .92rem; color: var(--muted); margin-top: .15rem; }

.hero { display: grid; gap: 2.5rem; align-items: end; padding: 1.5rem 0 3rem; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.3fr .7fr; gap: 4.5rem; padding: 3rem 0 4.5rem; } }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.03; max-width: 17ch; letter-spacing: -.025em; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c9c9d3; }
.hero-aside .facts th { width: 52%; }
.price-line { font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.3; color: #fff; max-width: 34ch; margin: 1.5rem 0 0; }
.closing { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.closing h2 { border-top: 0; padding-top: 0; margin-top: 0; font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.08; max-width: 20ch; letter-spacing: -.02em; }
.closing p { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.facts { width: 100%; }
/* One rule per break: the hero's last table row drops its rule, the next section's top rule stays. */
.hero .facts tr:last-child > * { border-bottom: 0; }
.hero + h2 { margin-top: 0; }
.facts th { width: 46%; color: var(--muted); font-weight: 400; border-bottom-color: var(--rule); }
.facts td { color: #fff; font-family: var(--mono); font-size: .9rem; }

footer.site { border-top: 1px solid var(--rule); padding: 1.75rem 0 2.5rem; font-size: .85rem; color: var(--faint); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
footer.site .wrap > div:first-child { display: flex; flex-wrap: wrap; row-gap: .5rem; }
footer.site a { color: var(--faint); text-decoration: none; margin-right: 1rem; }
footer.site a:hover { color: var(--muted); }

/* Homepage only: use the full width on desktop. Inner pages keep the 68ch reading measure. */
@media (min-width: 960px) {
  .home .prose { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
  .home .prose > p { margin-top: 0; }
  .home .steps { max-width: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .home .steps li { margin: 0; }
  .home dl.faq { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
  .home .price-line { max-width: 48ch; }
}

/* Homepage create-share UI (moved verbatim from the inline <style> in render/seo-home.ts, E1 R2a) */
#ef-turnstile{position:fixed;left:50%;top:38%;transform:translateX(-50%);z-index:50}
#ef-turnstile:empty{display:none}
a.btn[disabled]{opacity:.6;pointer-events:none}
#ef-toast{position:fixed;left:50%;bottom:1.5rem;transform:translateX(-50%);background:#1f2937;color:#fff;padding:.75rem 1.1rem;border-radius:8px;font-size:.9rem;z-index:60;max-width:90vw}
/* E6b: inline Turnstile slot under the CTA. Takes no space until Cloudflare needs a tick (interaction-only). */
.ef-verify{margin-top:1rem;max-width:100%}
.ef-verify-hint{margin:0;font-size:.85rem;color:var(--muted)}
.ef-verify-hint:not(:empty){margin-bottom:.6rem}
.ef-verify-widget{max-width:100%;overflow-x:auto}
/* E6b v5 slot classes (the .ef-verify* rules above were never used live; delete them in R2b). No space until something shows. */
.ef-tsbox{max-width:100%}
.ef-tsbox-hint{margin:0;font-size:.85rem;color:var(--muted)}
.ef-tsbox-hint:not(:empty){margin:1rem 0 .6rem}
.ef-tsbox-widget{max-width:100%}

/* Announcement bar (site/data/announcement.json; dismiss: assets/js/announce.v1.js). Slim, above the header. */
.ef-ann { background: linear-gradient(90deg, rgba(99,102,241,.16), rgba(129,140,248,.08) 60%, rgba(99,102,241,.16)); border-bottom: 1px solid rgba(129,140,248,.22); font-size: .88rem; }
.ef-ann-in { display: flex; align-items: center; justify-content: center; min-height: 2.5rem; }
.ef-ann-text { margin: 0; padding: .1rem 0; color: #e7e7ec; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: .25rem; text-align: center; }
.ef-ann-link { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(129,140,248,.6); text-underline-offset: 3px; white-space: nowrap; }
.ef-ann-link:hover { text-decoration-color: #fff; }
.ef-ann-x { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.ef-ann-x:hover { color: #fff; background: rgba(255,255,255,.07); }
.ef-ann-link:focus-visible, .ef-ann-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ef-ann-off .ef-ann { display: none; }
@media (max-width: 480px) { .ef-ann-in { justify-content: flex-start; } .ef-ann-text { justify-content: flex-start; text-align: left; } }

/* Blog (site/data/blog.json): index list and post pages. */
.blog-list { list-style: none; padding: 0; margin: 0; max-width: 68ch; border-top: 1px solid var(--rule); }
.blog-item { display: grid; gap: .3rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .blog-item { grid-template-columns: 10rem 1fr; } }
.blog-date { font-family: var(--mono); font-size: .82rem; color: var(--faint); padding-top: .2rem; }
.blog-title { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.blog-title:hover { color: var(--accent); }
.blog-sum { margin: .35rem 0 0; color: var(--muted); }
.blog-empty { max-width: 68ch; margin: 0; padding: 1.4rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--muted); }
.blog-meta { margin: 0 0 .75rem; font-family: var(--mono); font-size: .82rem; color: var(--faint); }
.blog-back { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .92rem; }
.blog-back-link { color: var(--muted); text-decoration: none; }
.blog-back-link:hover { color: #fff; }
