/* Support page: same visual system as the purchase and access pages. */
:root {
  color-scheme: light;
  --ink: #172522;
  --muted: #53665f;
  --accent: #087c70;
  --accent-hover: #06675d;
  --accent-active: #05584f;
  --accent-soft: #edf6f4;
  --accent-line: #b6d9d4;
  --border: #dce5e1;
  --border-strong: #81958b;
  --soft: #f4f7f6;
  --surface: #ffffff;
  --brand-ink: #091421;
  --error: #ad2537;
  --error-soft: #fbeef0;
  --error-line: #e2aeb5;
  --radius-card: 20px;
  --radius-pill: 980px;
  --shadow: 0 1px 2px rgba(23, 37, 34, 0.04), 0 12px 32px rgba(23, 37, 34, 0.05);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1040px;
  --gutter: 20px;

  /* Icons (24px grid, round caps), drawn with mask + currentColor */
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M12 11v5.25M12 7.6h.01'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M12 7.5v5.25M12 16.4h.01'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='m8.25 12.25 2.5 2.5 5-5.25'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.25 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13.5 6.5 19 12l-5.5 5.5'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.75' y='5.75' width='16.5' height='12.5' rx='2'/%3E%3Cpath d='m4.75 7.25 7.25 5.75 7.25-5.75'/%3E%3C/svg%3E");
  --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.9 7l-4.1 1 1.1-3.9A8 8 0 1 1 20 11.5z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--soft); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.skip { position: absolute; z-index: 10; top: 8px; left: 16px; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--brand-ink); color: #ffffff; font-weight: 600; text-decoration: none; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); color: #ffffff; }

/* header / footer */
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 12px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 8px; color: var(--brand-ink); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; text-decoration: none; }
.brand:hover { color: var(--brand-ink); }
.brand img { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--accent); font-size: 0.875rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease); }
.back > span[aria-hidden="true"] { display: none; }
.back::after { content: ""; flex: 0 0 16px; width: 16px; height: 16px; background-color: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.back:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-hover); }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 24px; margin-top: 56px; padding: 20px var(--gutter) 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8125rem; line-height: 1.6; text-align: center; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* layout */
main { flex: 1 0 auto; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.intro { max-width: 760px; padding: 48px 0 32px; }
.eyebrow { display: block; margin: 0 0 10px; color: var(--accent); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: lowercase; }
.eyebrow::first-letter { text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: clamp(2.125rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -0.04em; }
h2 { margin: 0 0 6px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.03em; }
h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.015em; }
.intro > p { max-width: 640px; color: var(--muted); font-size: 1.0625rem; }
.shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.shortcuts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--accent); font-size: 0.9375rem; font-weight: 600; line-height: 1.25; text-decoration: none; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease); }
.shortcuts a:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-hover); }

/* cards */
.panel { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.section-heading h2 { margin-top: 2px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.step { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); color: var(--accent); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.help { margin-bottom: 20px; }

/* questions (native details/summary: Enter and Space toggle) */
.help details { border-top: 1px solid var(--border); }
.help details:last-of-type { border-bottom: 1px solid var(--border); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 4px; border-radius: 10px; list-style: none; cursor: pointer; font-weight: 600; line-height: 1.4; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 20px; width: 20px; height: 20px; background-color: var(--accent); -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat; transition: transform 0.2s var(--ease); }
summary:hover { color: var(--accent-hover); }
details[open] > summary { color: var(--accent); }
details[open] > summary::after { transform: rotate(180deg); }
.answer { max-width: 760px; padding: 0 4px 20px; color: var(--muted); overflow-wrap: anywhere; }
/* Leitura das orientações de acesso. */
#acesso-kiwify > p { max-width: 760px; }
.answer strong { color: var(--ink); font-weight: 600; }
.answer ol, .answer ul { margin: 0 0 14px; padding-left: 22px; }
.answer li + li { margin-top: 8px; }
.answer li::marker { color: var(--accent); font-weight: 700; }

/* forms (labels stay visible above each field) */
.forms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
.form-note { color: var(--muted); font-size: 0.9375rem; }
label { display: block; margin: 18px 0 6px; font-size: 0.9375rem; font-weight: 600; }
input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--soft); color: var(--ink); outline: none; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease); }
input:hover { border-color: var(--muted); }
input:focus { border-color: var(--accent); background: var(--surface); outline: 2px solid var(--accent); outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
input[aria-invalid="true"]:focus { outline-color: var(--error); }
.field-note { margin: 10px 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 48px; padding: 12px 22px; border: 1px solid var(--accent); border-radius: var(--radius-pill); background: var(--surface); color: var(--accent); font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; text-align: center; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease); }
.button:hover { border-color: var(--accent-hover); background: var(--accent-soft); color: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button.primary { border-color: var(--accent); background: var(--accent); color: #ffffff; }
.button.primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: #ffffff; }
.button.primary:active { background: var(--accent-active); }
form .button { width: 100%; margin-top: 22px; }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
form[aria-busy="true"] .button:disabled { opacity: 1; cursor: progress; }
form[aria-busy="true"] .button.primary::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* answers from the order service: icon + tinted box + text, never color alone */
.result, .panel.result { position: relative; margin-top: 20px; padding: 16px 18px 16px 50px; border: 1px solid var(--accent-line); border-radius: 14px; background: var(--accent-soft); color: var(--ink); overflow-wrap: anywhere; box-shadow: none; }
.result::before { content: ""; position: absolute; top: 17px; left: 17px; width: 20px; height: 20px; background-color: var(--accent); -webkit-mask: var(--i-info) center / contain no-repeat; mask: var(--i-info) center / contain no-repeat; }
.result:has(> .button:not([hidden]))::before { -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.result h3 { margin: 0 0 4px; color: var(--accent-hover); font-size: 1rem; line-height: 1.4; letter-spacing: -0.01em; }
.result p { margin: 0; font-size: 0.9375rem; }
.result .button { margin-top: 14px; }
.result[data-tone="error"] { border-color: var(--error-line); background: var(--error-soft); }
.result[data-tone="error"]::before { background-color: var(--error); -webkit-mask-image: var(--i-alert); mask-image: var(--i-alert); }
.result[data-tone="error"] h3 { color: var(--error); }
.small { margin: 18px 0 0; font-size: 0.9375rem; }

/* human contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; border-color: var(--accent-line); background: var(--accent-soft); box-shadow: none; }
.contact h2 { margin: 0 0 8px; }
.contact p { max-width: 620px; color: var(--muted); font-size: 0.9375rem; }
.contact-links { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; max-width: 340px; }
.contact-links .button { background: var(--surface); }
.contact-links .button:hover { background: var(--accent-soft); }
#support-email::before, #support-whatsapp::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: var(--i-mail) center / contain no-repeat; mask: var(--i-mail) center / contain no-repeat; }
#support-whatsapp::before { -webkit-mask-image: var(--i-chat); mask-image: var(--i-chat); }

@media (max-width: 879px) {
  .forms-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-links { max-width: none; align-items: flex-start; }
}
@media (max-width: 560px) {
  .header { min-height: 64px; padding-block: 10px; gap: 8px 12px; flex-wrap: wrap; }
  .brand { font-size: 1.0625rem; }
  .intro { padding: 32px 0 24px; }
  .intro > p { font-size: 1rem; }
  .panel { padding: 22px; }
  h2 { font-size: 1.375rem; }
  .shortcuts { gap: 8px; }
  .shortcuts a { padding: 8px 14px; font-size: 0.875rem; }
  .button { padding-inline: 16px; font-size: 0.9375rem; }
  .contact-links { align-items: stretch; }
  footer { margin-top: 44px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand img { flex-basis: 28px; width: 28px; height: 28px; }
  .back { padding-inline: 12px; font-size: 0.8125rem; }
  .back::after { display: none; }
  .panel { padding: 20px 18px; }
  .section-heading { gap: 12px; }
  .step { flex-basis: 32px; height: 32px; }
  #support-email { font-size: 0.875rem; }
}
/* Without JavaScript these forms would send the order key in the address bar: hide them; the <noscript> note explains. */
@media (scripting: none) {
  #status-form, #recovery-form { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
