:root {
  --ink: #16312f;
  --ink-soft: #35514e;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --sand: #d8c7a5;
  --gold: #c7a96b;
  --line: #d9ddd6;
  --success: #266a56;
  --error: #a93e38;
  --warning: #9a6d22;
  --focus: #1f6f68;
  --shadow: 0 28px 72px rgba(22, 49, 47, .14);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { background: #eef1eb; }
body { margin: 0; color: var(--ink); background: #eef1eb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 3; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.experience-shell { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; padding: 1rem; overflow: hidden; background: radial-gradient(ellipse 65% 46% at 0% 0%, rgba(199,169,107,.12), transparent 72%), radial-gradient(ellipse 58% 42% at 100% 100%, rgba(38,106,86,.08), transparent 74%), linear-gradient(135deg, #faf9f4 0%, #f0f3ed 52%, #faf7ef 100%); }
.experience-shell::before, .experience-shell::after { position: absolute; z-index: -1; width: 34rem; height: 34rem; border: 1px solid rgba(199,169,107,.12); border-radius: 50%; content: ""; }
.experience-shell::before { top: -25rem; right: -15rem; }
.experience-shell::after { bottom: -27rem; left: -17rem; border-color: rgba(22,49,47,.1); }
.experience-card { width: min(100%, 700px); overflow: hidden; border: 1px solid rgba(22,49,47,.1); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.brand-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 116px; padding: .8rem 1.4rem; background: #fbf8f0; box-shadow: inset 0 -1px rgba(22,49,47,.08); }
.brand-logo { display: block; object-fit: contain; flex: 0 0 auto; }
.brand-logo--jac { width: min(23vw, 96px); height: auto; }
.brand-logo--health { width: clamp(96px, 26vw, 116px); height: auto; }
.brand-jac-frame { display: grid; place-items: center; min-width: 116px; min-height: 52px; padding: .8rem .8rem; border-radius: 9px; background: var(--ink); box-shadow: 0 5px 12px rgba(22,49,47,.12); }
.brand-divider { width: 1px; height: 48px; background: rgba(199,169,107,.72); }
.stage { padding: clamp(1.9rem, 5vw, 3.25rem); }
.stage[hidden] { display: none; }
.stage--centered { min-height: 420px; display: grid; align-content: center; justify-items: center; text-align: center; }
.eyebrow { margin: 0 0 .55rem; color: var(--ink-soft); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(2rem, 7.5vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: -.025em; }
.intro { margin: 1.35rem 0 0; color: var(--ink); font-size: 1.03rem; }
.intro--secondary { margin-top: .65rem; color: var(--ink-soft); }
form { display: grid; gap: 1rem; margin-top: 2rem; }
.field-group { display: grid; gap: .45rem; }
label { font-size: .9rem; font-weight: 700; }
input[type="text"], input[type="tel"] { width: 100%; min-height: 54px; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; outline: none; box-shadow: inset 0 1px 0 rgba(22,49,47,.02); transition: border-color .18s ease, box-shadow .18s ease; }
input::placeholder { color: #7e8d89; }
input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(31,111,104,.16); }
input[aria-invalid="true"] { border-color: var(--error); }
.field-help, .field-error { margin: 0; font-size: .78rem; }
.field-help { color: var(--ink-soft); }
.field-error { min-height: 1.2em; color: var(--error); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; margin-top: .2rem; color: var(--ink-soft); font-size: .84rem; font-weight: 500; }
.consent input { width: 18px; height: 18px; margin-top: .18rem; accent-color: var(--ink); }
.consent a, .legal-footer a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 11px; text-decoration: none; text-align: center; cursor: pointer; font-size: .84rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .demo-actions button:focus-visible { outline: 3px solid rgba(31,111,104,.35); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button--primary { min-height: 60px; margin-top: .55rem; color: white; background: linear-gradient(135deg, #102d2b, #215149); box-shadow: 0 12px 20px rgba(22,49,47,.2); }
.button--primary:hover { background: #224744; box-shadow: 0 14px 24px rgba(22,49,47,.24); }
.button--whatsapp { min-height: 60px; margin-top: 1.15rem; color: white; background: #276b58; box-shadow: 0 10px 18px rgba(38,106,86,.19); }
.button--whatsapp:hover { background: #1e5a49; }
.button--quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.single-use, .availability { margin: 1.4rem 0 0; color: var(--ink-soft); font-size: .82rem; text-align: center; }
.loader { width: 46px; height: 46px; margin-bottom: 1.3rem; border: 4px solid rgba(22,49,47,.13); border-top-color: var(--ink); border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-progress { width: min(100%, 240px); height: 3px; margin-top: 1.5rem; overflow: hidden; border-radius: 99px; background: rgba(22,49,47,.12); }
.loading-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--gold); animation: progress-slide 1.45s ease-in-out infinite; }
@keyframes progress-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(350%); } }
.result-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.25rem; border-radius: 50%; color: white; background: var(--success); box-shadow: 0 10px 20px rgba(38,106,86,.17); font-size: 1.45rem; font-weight: 800; }
.result-icon--success { animation: confirmation-in 250ms cubic-bezier(.18,.8,.32,1.25) both; }
@keyframes confirmation-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
.result-icon--error { background: var(--warning); }
.success-name { margin: 1.25rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 600; }
.code-card { position: relative; display: grid; gap: .7rem; margin: 2rem 0; padding: 1.7rem 1.35rem 1.35rem; overflow: hidden; border: 1px solid rgba(199,169,107,.76); border-radius: 16px; background: linear-gradient(135deg, #fffdf7, #f7f0df); box-shadow: 0 14px 26px rgba(103,84,45,.12); text-align: center; }
.code-card::before { position: absolute; top: 0; right: 14%; left: 14%; height: 3px; border-radius: 0 0 99px 99px; background: var(--gold); content: ""; }
.code-card span { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.code-card strong { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: clamp(1.4rem, 5.5vw, 1.95rem); letter-spacing: .1em; }
.code-card .button { margin-top: .55rem; background: rgba(255,255,255,.58); }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-panel { display: grid; gap: 1rem; padding: 1.15rem clamp(1.25rem, 5vw, 2.5rem); border-top: 1px dashed var(--line); background: #f4f2ec; }
.demo-panel p { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.demo-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-actions button { padding: .5rem .65rem; border: 1px solid #bdc8c0; border-radius: 7px; color: var(--ink); background: white; cursor: pointer; font-size: .72rem; font-weight: 700; }
.legal-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.25rem, 5vw, 2.5rem); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; }
@media (min-width: 760px) { .experience-shell { padding: 3rem; } .experience-card { width: min(100%, 760px); } .brand-bar { min-height: 136px; } .brand-logo--health { width: 126px; } .brand-jac-frame { min-width: 134px; min-height: 58px; } .brand-logo--jac { width: 104px; } .stage { padding: 3.5rem 4.25rem; } form { grid-template-columns: 1fr 1fr; } .field-group:first-child, .consent, #privacy-error, .button--primary { grid-column: 1 / -1; } .demo-panel { grid-template-columns: 1fr auto; align-items: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
