/* Prooflive.ai marketing site */
:root {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --fg: #15161A;
  --muted: #6B6D76;
  --line: #E4E1D9;
  --accent: #D61F5B;
  --accent-fg: #FFFFFF;
  --invert-bg: #15161A;
  --invert-fg: #F5F3EE;
  --invert-muted: #A7A8AE;
  --invert-line: #2C2D33;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 11vw, 144px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111215;
    --surface: #18191D;
    --fg: #F1EFEA;
    --muted: #9C9DA4;
    --line: #2A2B30;
    --accent: #F0467A;
    --accent-fg: #111215;
    --invert-bg: #F1EFEA;
    --invert-fg: #111215;
    --invert-muted: #5D5F67;
    --invert-line: #D9D6CE;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
code, .mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Type */
.display, h1 {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 10vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
h3 { font: 600 1.0625rem/1.35 var(--sans); letter-spacing: -0.01em; margin-bottom: 0.4em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 34em; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 500 0.9375rem/1 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; border-radius: 3px; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ink:hover { background: color-mix(in srgb, var(--fg) 85%, var(--bg)); }
.btn-line { border-color: var(--fg); color: var(--fg); }
.btn-line:hover { background: var(--fg); color: var(--bg); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-bottom-color: var(--accent); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo span { font: 600 1.25rem/1 var(--sans); letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 0.9375rem; text-decoration: none; color: var(--fg); }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav .sep { width: 1px; height: 20px; background: var(--line); }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; font-size: 0.9375rem; font-weight: 500;
  padding: 8px 0 8px 12px; display: flex; align-items: center; gap: 10px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 16px; height: 9px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.menu[open] summary::after { height: 0; border-bottom: 0; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 72px; z-index: 5;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
}
.menu-panel a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.0625rem; }
.menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel .btn { margin-top: 20px; width: 100%; border-bottom: 0; }
.site-header { position: relative; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Proof frame: crop marks at the four corners */
.frame {
  --cm: clamp(16px, 2.4vw, 28px);
  --t: 1.5px;
  position: relative;
  padding: clamp(36px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(var(--fg), var(--fg)) 0 0 / var(--cm) var(--t),
    linear-gradient(var(--fg), var(--fg)) 0 0 / var(--t) var(--cm),
    linear-gradient(var(--fg), var(--fg)) 100% 0 / var(--cm) var(--t),
    linear-gradient(var(--fg), var(--fg)) 100% 0 / var(--t) var(--cm),
    linear-gradient(var(--fg), var(--fg)) 0 100% / var(--cm) var(--t),
    linear-gradient(var(--fg), var(--fg)) 0 100% / var(--t) var(--cm),
    linear-gradient(var(--fg), var(--fg)) 100% 100% / var(--cm) var(--t),
    linear-gradient(var(--fg), var(--fg)) 100% 100% / var(--t) var(--cm);
  background-repeat: no-repeat;
}
.slug {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font: 400 0.75rem/1.4 var(--mono); color: var(--muted);
  padding-top: 14px;
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--section); }
.hero h1 { max-width: 9ch; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px;
  align-items: end; margin-top: clamp(40px, 6vw, 72px);
}
.hero-foot .actions { justify-content: flex-end; }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .actions { justify-content: flex-start; }
}
.page-hero { padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 7rem); max-width: 15ch; margin-bottom: 0.35em; }

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 112px); }
.split > :first-child h2 { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin: 0; max-width: 14ch; }

/* Three moves */
.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.moves > div { padding: 28px 32px 0 0; }
.moves > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.moves h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 0.6em; }
.moves p { color: var(--muted); }
@media (max-width: 860px) {
  .moves { grid-template-columns: 1fr; }
  .moves > div, .moves > div + div { padding: 28px 0; border-left: 0; }
  .moves > div + div { border-top: 1px solid var(--line); }
}

/* Audience list */
.audience { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.audience li { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.audience li.aside { font-family: var(--sans); font-size: 1rem; color: var(--muted); }

/* Spec list (features) */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin: 0; }
.spec > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 24px; }
.spec dt { font-weight: 600; letter-spacing: -0.01em; }
.spec dd { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .spec { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .spec > div { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.125rem; margin: 0; }
.plan .for { color: var(--muted); margin: 6px 0 28px; min-height: 3.2em; }
.price { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 4.75rem); line-height: 0.9; letter-spacing: -0.02em; }
.price small { font-family: var(--sans); font-size: 0.9375rem; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.annual { margin: 14px 0 24px; font-size: 0.9375rem; }
.plan ul { list-style: none; padding: 20px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.plan li + li { margin-top: 8px; }
.plan .note { font-size: 0.8125rem; color: var(--muted); margin: 0 0 18px; }
.plan-rows { border-top: 1px solid var(--fg); }
.plan-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.plan-row strong { font-weight: 600; }
.plan-row .p { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1; white-space: nowrap; }
.plan-row .p small { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin-left: 4px; }
.plan-row span { color: var(--muted); }
.plan-row span.p { color: var(--fg); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }
@media (max-width: 600px) { .plan-row { grid-template-columns: 1fr auto; } .plan-row span:not(.p) { grid-column: 1 / -1; grid-row: 2; } }

/* Inverted block */
.invert { background: var(--invert-bg); color: var(--invert-fg); }
.invert .muted, .invert p { color: var(--invert-muted); }
.invert h2, .invert h3, .invert strong { color: var(--invert-fg); }
.invert .btn-line { border-color: var(--invert-fg); color: var(--invert-fg); }
.invert .btn-line:hover { background: var(--invert-fg); color: var(--invert-bg); }
.invert :focus-visible { outline-color: var(--invert-fg); }
.partner { padding: var(--section) 0; }
.partner .split > :first-child h2 { margin-bottom: 0.5em; }
.rates { width: 100%; border-collapse: collapse; margin: 0 0 32px; }
.rates th, .rates td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--invert-line); vertical-align: baseline; font-weight: 400; }
.rates thead th { font-size: 0.8125rem; color: var(--invert-muted); padding-top: 0; }
.rates tbody th { font-weight: 600; color: var(--invert-fg); }
.rates td { color: var(--invert-muted); }
.rates td.pct { text-align: right; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--invert-fg); }
.rates thead th:last-child { text-align: right; }
.section .rates th, .section .rates td { border-bottom-color: var(--line); }
.section .rates thead th, .section .rates td { color: var(--muted); }
.section .rates tbody th, .section .rates td.pct { color: var(--fg); }

/* FAQ */
.faq { border-top: 1px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 1.5px; background: currentColor;
}
.faq summary::after { transform: rotate(90deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Steps (How it works) */
.steps { list-style: none; padding: 0; margin: 0; }
.steps > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 7vw, 112px); padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; }
.steps h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); margin: 0; }
.steps .body { max-width: 38em; }
.steps .body > p:first-child { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: var(--fg); }
.steps .body p { color: var(--muted); }
@media (max-width: 860px) { .steps > li { grid-template-columns: 1fr; } }
.prompt {
  margin: 28px 0 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  font: 400 0.8125rem/1.75 var(--mono); color: var(--fg); overflow-x: auto; white-space: pre;
}
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; color: var(--fg); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 1.5px; background: var(--fg); }

/* Closing */
.closing { padding: var(--section) 0; border-top: 1px solid var(--line); }
.closing .display { font-size: clamp(3rem, 8vw, 7rem); max-width: 11ch; margin-bottom: 0.45em; }
.closing .actions { gap: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid h2 { font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0; margin: 0 0 14px; }
.foot-tag { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; margin-top: 20px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* 404 */
.notfound { padding: clamp(56px, 10vw, 140px) 0 var(--section); }
.notfound .frame h1 { font-size: clamp(3rem, 9vw, 7.5rem); max-width: 10ch; margin-bottom: 0.4em; }
