@font-face {
  font-family: "Morasturi Bodoni";
  src: url("assets/BodoniModa.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #e9efeb;
  --paper-2: #dfe7e2;
  --raised: #f5f8f6;
  --ink: #12271f;
  --ink-2: #2b463b;
  --muted: #4f675d;
  --on-ink: #e9efeb;
  --on-ink-muted: #a9c2b6;
  --serial: #c8102e;
  --focus: #1f5fa8;
  --select: #d5e3f3;
  --rule: #a9b8af;
  --body: -apple-system, "SF Pro Text", system-ui, sans-serif;
  --display: "Morasturi Bodoni", "Didot", serif;
  --small: 0.875rem;
  --reading: 1.0625rem;
  --intro: clamp(1.25rem, 2.2vw, 1.5rem);
  --heading: clamp(2.25rem, 4.4vw, 3.75rem);
  --hero: clamp(2.75rem, 6.6vw, 5.5rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--ink); color: var(--on-ink); font: var(--reading)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--select); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: opacity 140ms ease; }
a:hover { text-decoration-thickness: 2px; }
a:active { opacity: .75; }
a, button, select { -webkit-tap-highlight-color: var(--select); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.site-header :focus-visible, .site-footer :focus-visible, .multicam :focus-visible { outline-color: var(--on-ink-muted); }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
p { text-wrap: pretty; }
p + p { margin-top: 1rem; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--heading); }
h3 { font-size: var(--intro); line-height: 1.25; font-weight: 600; text-wrap: balance; }
h3 + p { margin-top: .875rem; }
section { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.wordmark { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; text-decoration: none; line-height: 1; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 5; padding: .75rem 1rem; background: var(--raised); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.site-header .wordmark { font-size: 1.25rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-header nav a { font-size: var(--small); padding-block: .7rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { padding-top: .5rem; padding-bottom: 2.25rem; }
.certificate { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--paper); color: var(--ink); padding: 2.25rem 1.5rem 1.5rem; border: 2px solid var(--rule); }
.certificate::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--muted); pointer-events: none; }
.seal { position: relative; width: 100px; height: 100px; margin-bottom: 1.75rem; }
.seal img { width: 100%; height: 100%; }
.seal span { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 4px; color: var(--paper); font: 800 2rem/1 var(--display); }
h1 { font-size: var(--hero); max-width: 13ch; }
.hero-description { font-size: var(--intro); max-width: 30ch; margin-top: 1.25rem; line-height: 1.4; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .875rem; min-height: 54px; padding: .8rem 1.6rem; background: var(--ink); color: var(--raised); text-decoration: none; font-weight: 600; line-height: 1.3; border: 0; border-radius: 4px; transition: background-color 140ms ease, transform 140ms ease; }
.button:hover { background: var(--ink-2); }
.button:active { transform: translateY(1px); opacity: 1; }
.certificate .button { margin-top: 1.75rem; }
.download-spec { margin-top: 1.125rem; font-size: var(--small); max-width: 40ch; }
.download-meta { font-size: var(--small); color: var(--muted); margin-top: .5rem; font-variant-numeric: tabular-nums; }
.download-meta a { display: inline-block; margin-left: .5rem; padding-block: .25rem; }
.certificate-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; width: 100%; gap: .5rem 1rem; margin-top: 2.5rem; padding: 1.25rem .25rem 0; font-size: var(--small); }
.certificate-bottom > :last-child { display: none; }
.serial { color: var(--serial); font-family: var(--display); font-size: var(--intro); font-weight: 700; font-variant-numeric: tabular-nums; }
.download-status { font-size: var(--small); color: var(--on-ink-muted); background: var(--ink); text-align: center; max-width: 75ch; margin: 1.25rem auto 0; }
.paper-section { background: var(--paper); color: var(--ink); padding-block: var(--section); }
.editing-heading, .editing-details { display: grid; gap: 1.5rem; }
.editing-heading > p { max-width: 40ch; font-size: var(--intro); line-height: 1.45; }
.editing-details { margin-top: 2rem; }
.editing-details p { max-width: 60ch; }
.editing-details p + p { margin-top: 0; }
.capture { margin-top: 3rem; }
.capture-space { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 2rem 1.25rem; min-height: 280px; background: var(--paper-2); text-align: center; }
.capture-space img { width: 100px; }
.capture-space p { font-family: var(--display); font-size: var(--intro); }
.capture-space span, figcaption { font-size: var(--small); color: var(--muted); }
figcaption { margin-top: .75rem; }
.capture > img { width: 100%; }
.outputs { background: var(--paper-2); }
.outputs-layout { display: grid; gap: 2.5rem; }
.pinned-heading > p { margin-top: 1.25rem; max-width: 28ch; }
.output-sheets { display: grid; gap: 1rem; }
.output-sheets article { padding: 1.75rem; background: var(--paper); }
.output-sheets article:nth-child(even) { background: var(--raised); }
.output-sheets p { max-width: 55ch; }
.multicam { padding-block: var(--section); }
.multicam-layout { display: grid; gap: 2.5rem; }
.statement { font-size: var(--intro); margin-top: 1.25rem; max-width: 24ch; line-height: 1.45; }
.multicam-layout > div:last-child { max-width: 60ch; }
.instagram-note { color: var(--on-ink-muted); background: var(--ink); }
.privacy { background: var(--raised); }
.privacy-heading { display: grid; gap: 1.5rem; }
.privacy-heading > p { font-size: var(--intro); max-width: 40ch; line-height: 1.45; }
.model-layout { display: grid; gap: 1.5rem; margin-top: 3rem; }
.model-intro { max-width: 55ch; }
.model-intro p:last-child { font-size: var(--small); color: var(--muted); }
.model-explainer { padding: 1.5rem; background: var(--paper-2); }
.model-explainer label { display: block; font-size: var(--small); margin-bottom: .625rem; }
select { width: 100%; min-height: 52px; border: 1px solid var(--muted); border-radius: 4px; background: var(--raised); color: var(--ink); font: inherit; padding: .65rem 2.25rem .65rem .875rem; cursor: pointer; caret-color: var(--ink); }
#model-result { margin-top: 1.75rem; }
.data-path { font-size: var(--small); font-weight: 600; margin-top: 1.5rem; }
.privacy-note { max-width: 90ch; color: var(--muted); margin-top: 2rem; font-size: var(--small); }
.agents { background: var(--paper-2); }
.agents h2 { max-width: 25ch; font-size: clamp(1.875rem, 3.6vw, 3.75rem); }
.agents-intro { max-width: 72ch; margin-top: 1.5rem; }
.agent-example { display: grid; gap: 2rem; margin-top: 2.5rem; }
.agent-example > div { min-width: 0; }
blockquote { margin: 1rem 0 0; font-size: var(--intro); line-height: 1.5; }
.agent-note, .small-note { color: var(--muted); font-size: var(--small); }
.mcp-setup { margin-top: 2.5rem; padding: 1.25rem; background: var(--paper); }
summary { cursor: pointer; min-height: 44px; padding-block: .5rem; font-weight: 600; }
.mcp-setup p { max-width: 75ch; margin-top: 1rem; }
.mcp-setup pre { margin: 1.5rem 0; padding: 1rem; background: var(--raised); overflow-x: auto; font-size: var(--small); line-height: 1.6; tab-size: 2; }
.pricing { background: var(--raised); }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3rem; }
.pricing-heading label { display: block; font-size: var(--small); margin-bottom: .5rem; }
.pricing-promise { max-width: 42ch; margin-top: 2rem; font-size: var(--intro); line-height: 1.45; }
.pricing-context { max-width: 75ch; }
#currency-status { margin-top: 1.5rem; }
#plan-prices { margin-top: 2.5rem; }
.plan-row { display: grid; gap: 1.5rem; padding-block: 2rem; }
.plan-row + .plan-row { margin-top: 1rem; }
.pro-plan { background: var(--paper); padding: 1.5rem; }
.price { font-family: var(--display); font-size: var(--heading); font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; margin-top: .75rem; }
.price-period { font: 400 var(--reading)/1.6 var(--body); }
.plan-value > p:last-child { font-size: var(--small); }
.plan-features { margin: 0; padding-left: 1.25rem; }
.plan-features li + li { margin-top: .5rem; }
.plan-actions { display: flex; flex-direction: column; align-items: start; gap: .75rem; }
.plan-actions .button { max-width: 100%; text-align: center; }
.plan-year { display: inline-block; padding-block: .5rem; font-size: var(--small); }
.founder-plan { display: grid; gap: 2rem; margin-top: 2rem; padding: 1.5rem; background: var(--paper-2); }
.founder-plan p { max-width: 58ch; }
.founder-plan .button { margin-top: 1.5rem; }
.founder-issue { align-self: center; }
.founder-issue img { width: 96px; margin-bottom: 1rem; }
.founder-issue p:last-child { font-size: var(--small); color: var(--muted); margin-top: .5rem; }
.waitlist { background: var(--paper-2); }
.waitlist-layout { display: grid; gap: 2.5rem; }
.waitlist-layout > div { min-width: 0; }
.waitlist-intro { font-size: var(--intro); line-height: 1.45; margin-top: 1.5rem; }
.waitlist-layout p { max-width: 60ch; }
.form-status { padding: 1.25rem; background: var(--raised); color: var(--ink); font-weight: 500; }
.form-status[data-state="error"] { border: 1px solid var(--serial); }
#waitlist-contact { margin-block: .75rem 1.5rem; overflow-wrap: anywhere; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; margin-bottom: .5rem; }
input { font: inherit; color: var(--ink); background: var(--raised); caret-color: var(--ink); accent-color: var(--ink); }
.form-field input { width: 100%; min-height: 52px; padding: .65rem .875rem; border: 1px solid var(--muted); border-radius: 4px; }
.consent { display: flex; align-items: start; gap: .875rem; cursor: pointer; margin-block: 1.5rem; }
.consent input { flex-shrink: 0; width: 24px; height: 24px; margin: .2rem 0 0; }
.consent span { font-size: var(--small); }
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button { font: inherit; cursor: pointer; }
.button:disabled { background: var(--paper); color: var(--muted); cursor: not-allowed; transform: none; }
.origin { display: grid; gap: 2rem; padding: 3rem 1.5rem; margin-block: var(--section); background: var(--paper-2); color: var(--ink); }
.origin > img { width: 120px; }
.origin h2 { margin-bottom: 1.5rem; }
.origin p { max-width: 50ch; }
.requirements-layout { display: grid; gap: 3.5rem; }
.requirements-list { margin-block: 2rem; }
.requirements-list div + div { margin-top: 1.25rem; }
.requirements-list dt { font-size: var(--small); color: var(--muted); }
.requirements-list dd { margin-top: .25rem; font-weight: 500; }
.faq h3 { font-size: var(--reading); }
.faq h3:not(:first-child) { margin-top: 2rem; }
.faq h3 + p, .faq h3 + div > p:first-child { margin-top: .5rem; }
.faq p { max-width: 65ch; }
.site-footer { padding-block: 3.5rem 2rem; }
.footer-wordmark { font-size: clamp(1.9rem, 9.5vw, 7.8rem); letter-spacing: .1em; }
.footer-row { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; font-size: var(--small); }
.footer-row p { color: var(--on-ink-muted); background: var(--ink); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-row a { padding-block: .75rem; }

/* As páginas de leitura usam o mesmo papel e a mesma marca do certificado. */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-page .site-header { background: var(--ink); color: var(--on-ink); width: 100%; max-width: none; padding-inline: var(--gutter); }
.legal-content { width: min(100% - var(--gutter) * 2, 780px); margin: 0 auto; padding-block: var(--section); overflow-wrap: anywhere; }
.legal-content h1 { font-size: var(--heading); max-width: none; margin-bottom: 2rem; }
.legal-content h2 { font-family: var(--body); font-size: var(--intro); font-weight: 600; letter-spacing: 0; margin-block: 2.5rem 1rem; line-height: 1.3; }
.legal-content p { margin-block: 1rem; }
.legal-content .draft { background: var(--paper-2); padding: 1.5rem; }
.legal-content pre { white-space: pre-wrap; font: inherit; }
.legal-page .site-footer { width: 100%; max-width: none; padding-inline: var(--gutter); background: var(--ink); color: var(--on-ink); }

@media (min-width: 700px) {
  .site-header { padding-block: 2rem; }
  .site-header .wordmark { font-size: 1.5rem; }
  .site-header nav a { font-size: 1rem; }
  .certificate { padding: 2.75rem 3rem 1.75rem; }
  .seal { width: 128px; height: 128px; }
  .seal span { font-size: 2.5rem; }
  h1 { max-width: none; }
  .hero-description { max-width: none; }
  .certificate-bottom { margin-top: 2.75rem; }
  .certificate-bottom > :last-child { display: initial; }
  .editing-heading, .privacy-heading { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .editing-details { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .capture-space { min-height: 320px; }
  .outputs-layout { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .pinned-heading { position: sticky; top: 2rem; align-self: start; }
  .output-sheets article { padding: 2.25rem; }
  .multicam-layout { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .model-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .model-explainer { padding: 2rem; }
  .origin { grid-template-columns: 1fr 2fr; align-items: center; padding: 3rem; }
  .origin > img { width: 176px; justify-self: center; }
  .requirements-layout { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .agent-example, .waitlist-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .mcp-setup { padding: 2rem; }
  .plan-row { grid-template-columns: .7fr 1.3fr; gap: 2rem 3rem; }
  .plan-actions { grid-column: 2; }
  .pro-plan { padding: 2.5rem; }
  .founder-plan { grid-template-columns: 1.3fr .7fr; padding: 2.5rem; gap: 3rem; }
  .founder-issue { justify-self: center; }
  .footer-row { flex-direction: row; justify-content: space-between; align-items: start; }
}

@media (min-width: 1100px) {
  .plan-row { grid-template-columns: .7fr 1.3fr 1fr; }
  .plan-actions { grid-column: auto; align-self: center; justify-self: end; }
}

@media (max-width: 380px) {
  .site-header { flex-direction: column; align-items: start; gap: .5rem; }
  .site-header nav { justify-content: space-between; width: 100%; gap: .5rem; }
  .certificate { padding-inline: 1.125rem; }
  h1 { font-size: 2.5rem; }
  .certificate-bottom { justify-content: center; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pinned-heading { position: static; }
}

@media print {
  body { background: var(--raised); color: var(--ink); }
  .site-header, .skip-link, .button, .site-footer { display: none; }
  .paper-section, .multicam, .origin { padding-block: 2rem; margin-block: 0; color: var(--ink); background: var(--raised); }
  .pinned-heading { position: static; }
  .download-status, .instagram-note { color: var(--ink); background: var(--raised); }
  a { text-decoration: underline; }
}

/* The language choice stays visible without scripting; suggestions never redirect. */
.language-switch { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: var(--small); }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem; text-decoration: none; }
.language-switch a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.language-switch a:hover { text-decoration: underline; }
.language-suggestion { margin-block: 0 1rem; font-size: var(--small); }
.language-suggestion a { display: inline-block; padding-block: .75rem; }
.site-footer > .language-switch { margin-top: 1.5rem; }

.edit-sample { margin-block: 3rem 0; border-block: 3px double currentColor; padding-block: 1.25rem 2rem; }
.edit-sample figcaption { font-weight: 650; }
.edit-sample div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 17rem),1fr)); gap: 2rem; }
.edit-sample p { font-family: 'Bodoni Moda', Georgia, serif; font-size: clamp(1.45rem,3vw,2.6rem); line-height: 1.22; margin-bottom: 0; }
.edit-sample small { display: block; margin-bottom: .75rem; color: #4f675d; font: 600 .85rem system-ui,sans-serif; }
.edit-sample del { color: #a01028; }
@media (max-width: 319px) {
  :root { --gutter: .625rem; }
  body { overflow-wrap: anywhere; }
  .certificate, .plan, .founder-plan, .waitlist-form { padding-inline: .625rem; }
  .wrap * { min-width: 0; }
  .site-header, .site-header nav, .footer-row, .language-switch { flex-wrap: wrap; }
  .certificate h1 { font-size: 2rem; }
  .button, input, select, pre, .mcp-setup { max-width: 100%; }
}
