/* framesay.com — one stylesheet for the home page, the download page and the long-form pages.
 *
 * PART 1 is the approved design (Main.dc.html) moved out of its inline style
 * attributes: one rule per distinct inline style, declarations unchanged. The
 * pages carry no style attribute and no <style> element, so the site's
 * Content-Security-Policy needs no 'unsafe-inline'.
 * PART 2 is what the design did not have: narrow screens, the download page, and
 * the long-form "prose" block of the Privacy and Terms pages.
 */

/* ---- the design's own base rules ------------------------------------------
 * :where() keeps these at zero specificity, so a class colour beats the hover
 * colour exactly as an inline style did in the design. */
body { margin: 0; background: #0D0E0F; }
:where(a) { color: #F2F0EB; }
:where(a:hover) { color: #FFB224; }
input::placeholder { color: #8B8E92; }
:focus-visible { outline: 2px solid #FFB224; outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---- PART 1: the design ---------------------------------------------------- */
.page { background: #0D0E0F; color: #F2F0EB; font-family: 'Geist', system-ui, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.site-header { border-bottom: 1px solid #23262A; }
.wrap.header-row { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; min-height: 44px; }
.brand-dot { fill: #FFB224; stroke: none; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; }
.nav-current { text-decoration: none; padding: 12px 0; font-weight: 500; }
.nav-link.nav-with-tag { text-decoration: none; padding: 12px 0; color: #A7A9AC; display: flex; align-items: center; gap: 8px; }
.tag { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid #3A3E43; border-radius: 4px; padding: 2px 6px; }
.nav-link { text-decoration: none; padding: 12px 0; color: #A7A9AC; }
.btn-nav { text-decoration: none; color: #0D0E0F; font-weight: 600; padding: 11px 18px; border-radius: 8px; background: #FFB224; }
.band { border-top: 1px solid #23262A; }
.wrap.section-pad { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.h-section.mw-22 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; max-width: 22ch; }
.lede.lede-62 { margin: 20px 0 0; color: #C9CACC; max-width: 62ch; }
.card-grid { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 320px; min-width: 0; background: #131517; border: 1px solid #2A2D30; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-title { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.body-sm { margin: 0; color: #B9BBBE; font-size: 16px; }
.band.band-alt { border-top: 1px solid #23262A; background: #101113; }
.h-section.mw-20 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; max-width: 20ch; }
.steps { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px 0; }
.step.step-first { flex: 1 1 300px; min-width: 0; padding: 0 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step-label { font-family: 'Geist Mono', monospace; font-size: 13px; color: #FFB224; }
.step-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step.step-mid { flex: 1 1 300px; min-width: 0; padding: 0 28px; border-left: 1px solid #2A2D30; display: flex; flex-direction: column; gap: 12px; }
.step.step-last { flex: 1 1 300px; min-width: 0; padding: 0 0 0 28px; border-left: 1px solid #2A2D30; display: flex; flex-direction: column; gap: 12px; }
.wrap.section-pad.safety-grid { max-width: 1200px; margin: 0 auto; padding: 96px 32px; display: flex; flex-wrap: wrap; gap: 48px 64px; }
.safety-intro { flex: 1 1 340px; min-width: 0; }
.h-section { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.lede { margin: 20px 0 0; color: #C9CACC; }
.rules { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; }
.rule { padding: 22px 0; border-top: 1px solid #2A2D30; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.rule-title { margin: 0; flex: 0 0 220px; font-size: 17px; font-weight: 600; }
.rule-text { margin: 0; flex: 1 1 280px; color: #B9BBBE; font-size: 16px; }
.rule.rule-last { padding: 22px 0; border-top: 1px solid #2A2D30; border-bottom: 1px solid #2A2D30; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.eyebrow { font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #A7A9AC; }
.h-section.mw-24.mt-16 { margin: 16px 0 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; max-width: 24ch; }
.cols { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.col { flex: 1 1 300px; min-width: 0; }
.col-title { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.wrap.section-pad-sm { max-width: 1200px; margin: 0 auto; padding: 72px 32px; }
.soon-box { border: 1px dashed #4A4F55; border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.soon-text { flex: 1 1 420px; min-width: 0; }
.soon-title { margin: 12px 0 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; font-weight: 600; }
.soon-desc { margin: 12px 0 0; color: #C9CACC; max-width: 52ch; }
.btn-ghost { text-decoration: none; font-weight: 500; padding: 14px 24px; border-radius: 10px; border: 1px solid #3A3E43; }
.wrap.section-pad.pricing-grid { max-width: 1200px; margin: 0 auto; padding: 96px 32px; display: flex; flex-wrap: wrap; gap: 24px; }
.panel.panel-fill { flex: 1 1 400px; min-width: 0; background: #131517; border: 1px solid #2A2D30; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.panel-title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.price { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.btn-primary.btn-card { align-self: flex-start; margin-top: 8px; text-decoration: none; color: #0D0E0F; font-weight: 600; padding: 14px 24px; border-radius: 10px; background: #FFB224; }
.panel { flex: 1 1 400px; min-width: 0; border: 1px solid #2A2D30; border-radius: 16px; padding: 40px; }
.panel-title.panel-title-gap { margin: 0 0 20px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.spec-list { margin: 0; display: flex; flex-direction: column; font-size: 16px; }
.spec { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-top: 1px solid #2A2D30; }
.spec-key { flex: 0 0 140px; color: #A7A9AC; }
.spec-val { margin: 0; flex: 1 1 200px; }
.wrap.access-wrap { max-width: 760px; margin: 0 auto; padding: 104px 32px; text-align: center; }
.h-closing { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.lede.lede-center { margin: 20px auto 0; color: #C9CACC; max-width: 48ch; }
.access-form { margin: 36px auto 0; max-width: 520px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.field-label { font-size: 14px; color: #C9CACC; }
.field { box-sizing: border-box; width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid #4A4F55; background: #0D0E0F; color: #F2F0EB; font: inherit; }
.btn-submit { margin-top: 8px; height: 54px; border: 0; border-radius: 10px; font: inherit; font-weight: 600; color: #0D0E0F; cursor: pointer; background: #FFB224; }
.wrap.footer-row { max-width: 1200px; margin: 0 auto; padding: 40px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: #A7A9AC; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-link { color: #A7A9AC; padding: 12px 0; }
.wrap.footer-note { max-width: 1200px; margin: 0 auto; padding: 0 32px 40px; font-size: 13px; color: #8B8E92; }

/* ---- PART 2a: narrow screens (not in the design, which is drawn at 1440) ---- */
/* The three "how it works" columns wrap below about 1080px; side rules and side
 * padding only make sense while they sit in one row. */
@media (max-width: 1080px) {
  .steps { gap: 36px 0 !important; }
  .step { flex-basis: 100% !important; padding: 0 !important; border-left: 0 !important; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px !important; padding-right: 16px !important; }
  .wrap.section-pad, .wrap.section-pad-sm, .wrap.access-wrap, .wrap.dl-wrap { padding-top: 64px !important; padding-bottom: 64px !important; }
  .main-nav { gap: 0 20px !important; }
  .soon-box, .panel { padding: 24px !important; }
  .card { padding: 22px !important; }
  .rule-title { flex-basis: 100% !important; }
}

/* ---- PART 2b: the download page (same tokens as the design) ----------------- */
.band-alt { background: #101113; }
.dl-page { min-height: 100vh; display: flex; flex-direction: column; }
.dl-main { flex: 1 0 auto; }
.wrap.dl-wrap { max-width: 640px; margin: 0 auto; padding: 88px 32px 96px; }
.dl-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dl-staging { font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: #0D0E0F; background: #FF6B4A; border-radius: 4px; padding: 3px 8px; }
.dl-title { margin-top: 16px; }
.dl-card { margin-top: 36px; background: #131517; border: 1px solid #2A2D30; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.dl-form { display: flex; flex-direction: column; gap: 10px; }
.dl-form .field-label { margin-top: 4px; }
.dl-btn { box-sizing: border-box; width: 100%; min-height: 54px; padding: 0 24px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.dl-btn-primary { border: 0; color: #0D0E0F; background: #FFB224; }
.dl-form .dl-btn-primary { margin-top: 10px; }
.dl-btn-ghost { border: 1px solid #4A4F55; color: #F2F0EB; background: transparent; font-weight: 500; }
.dl-btn-ghost:hover { border-color: #FFB224; }
.dl-btn:disabled, .dl-link:disabled { opacity: 0.55; cursor: default; }
.dl-or { display: flex; align-items: center; gap: 14px; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #A7A9AC; }
.dl-or::before, .dl-or::after { content: ""; flex: 1; border-top: 1px solid #2A2D30; }
.dl-link { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: #F2F0EB; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dl-link:hover { color: #FFB224; }
.dl-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; font-size: 16px; color: #C9CACC; }
.dl-account strong { color: #F2F0EB; font-weight: 600; overflow-wrap: anywhere; }
.dl-account .dl-link { align-self: center; }
.dl-status { margin: 0; font-size: 16px; color: #F2F0EB; overflow-wrap: anywhere; }
.dl-status:empty { display: none; }
.dl-status[data-kind="error"] { border-left: 3px solid #FF6B4A; padding-left: 12px; }
.dl-status[data-kind="ok"] { border-left: 3px solid #5FD08A; padding-left: 12px; }
.dl-banner { margin: 28px 0 0; padding: 14px 16px; border: 1px solid #FF6B4A; border-radius: 10px; background: #1A1C1F; font-size: 16px; color: #F2F0EB; overflow-wrap: anywhere; }
.dl-muted { margin: 28px 0 0; color: #A7A9AC; }
.dl-small { font-size: 15px; }
.dl-card .dl-small { margin: 0; }
.dl-details { margin-top: 4px; }
.dl-details .spec-key { flex-basis: 100px; }
.dl-mono { font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }
.dl-select { user-select: all; -webkit-user-select: all; }
@media (max-width: 600px) {
  .dl-card { padding: 22px; }
}

/* ---- PART 2c: long-form pages, Privacy and Terms (same tokens as the design) ---- */
/* The wrap is wider than the text: paragraphs and lists hold a readable measure of
 * about 68 characters, and only the table uses the full width. */
.wrap.prose-wrap { max-width: 880px; margin: 0 auto; padding: 88px 32px 96px; }
.prose-meta { margin: 20px 0 0; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: 0.02em; color: #A7A9AC; }
.prose-summary { margin: 36px 0 0; max-width: 68ch; box-sizing: border-box; background: #131517; border: 1px solid #2A2D30; border-left: 3px solid #FFB224; border-radius: 12px; padding: 24px 28px; }
.prose-summary-title { margin: 0 0 12px; font-size: 13px; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #A7A9AC; }
.prose-summary ul { margin: 0; padding-left: 20px; color: #F2F0EB; }
.prose-summary li { margin: 8px 0 0; }
.prose-summary li:first-child { margin-top: 0; }
.prose { margin-top: 24px; color: #C9CACC; }
.prose h2 { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid #2A2D30; max-width: none; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: #F2F0EB; }
.prose h3 { margin: 32px 0 0; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; color: #F2F0EB; }
.prose p, .prose ul, .prose ol { max-width: 68ch; }
.prose p { margin: 16px 0 0; }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 22px; }
.prose li { margin: 8px 0 0; }
.prose li::marker { color: #6B7076; }
.prose strong { color: #F2F0EB; font-weight: 600; }
.prose a, .prose-summary a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 0.88em; background: #1A1C1F; border: 1px solid #2A2D30; border-radius: 5px; padding: 1px 6px; overflow-wrap: anywhere; }
.prose-note { font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 13px; color: #FFB224; }
.prose-table-wrap { margin: 24px 0 0; border: 1px solid #2A2D30; border-radius: 12px; overflow: hidden; background: #131517; }
.prose-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.5; }
.prose-table th { text-align: left; vertical-align: bottom; padding: 12px 16px; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #A7A9AC; background: #101113; border-bottom: 1px solid #2A2D30; }
.prose-table td { vertical-align: top; padding: 16px; border-top: 1px solid #2A2D30; overflow-wrap: break-word; }
.prose-table tbody tr:first-child td { border-top: 0; }
.prose-table th:nth-child(1) { width: 37%; }
.prose-table th:nth-child(2) { width: 21%; }
.prose-table th:nth-child(3) { width: 21%; }
.prose-table th:nth-child(4) { width: 21%; }
/* Below about 760px four columns are too narrow to read: each row becomes a
 * block and each cell is labelled from its data-label attribute. */
@media (max-width: 760px) {
  .prose-table, .prose-table tbody, .prose-table tr, .prose-table td { display: block; width: auto; }
  .prose-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prose-table tr { padding: 16px; border-top: 1px solid #2A2D30; }
  .prose-table tbody tr:first-child { border-top: 0; }
  .prose-table td { padding: 0; border: 0; margin-top: 12px; }
  .prose-table td:first-child { margin-top: 0; }
  .prose-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #A7A9AC; }
  .prose-table td:first-child::before { content: none; }
}
@media (max-width: 600px) {
  .wrap.prose-wrap { padding-top: 64px !important; padding-bottom: 64px !important; }
  .prose-summary { padding: 20px; }
  .prose h2 { margin-top: 44px; font-size: 23px; }
}

/* The access form on the home page: the honeypot a person never sees, the
   status line and the privacy note. */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit:disabled { opacity: 0.6; cursor: default; }
.access-note { margin: 0; font-size: 13px; color: #8E9197; }
.access-link { color: #C9CACC; text-decoration: underline; }
