@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("./assets/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0f0f0f;
  --text: #d9d9d9;
  --white: #fff;
  --red: #b00;
  --panel: #272a2fba;
  --theme-shade: #67000080;
  --system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--background);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible, summary:focus-visible {
  outline: 2px solid #ffed88;
  outline-offset: 4px;
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1280px, calc(100% - 40px));
}

.wrap-extra-wide {
  width: min(1428px, 100%);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 66vh;
  padding-block: 120px;
  background: var(--background) url("./assets/hero-desktop.webp") no-repeat top center / cover;
  border: 1px solid;
  border-image: linear-gradient(to right, transparent, #fff, transparent) 1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.brand-logo {
  width: 16%;
}

.hero h1 {
  max-width: 50%;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 600;
}

.hero h1 span {
  color: #f00;
}

.hero p {
  max-width: 49%;
  color: var(--text);
  font-size: 18px;
  margin-bottom: .9rem;
}

.cta {
  display: inline-block;
  border-radius: 999px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  font: 500 15px/1 Roboto, Arial, sans-serif;
}

.cta:hover, .cta:focus-visible {
  background: #a00;
}

.hero-cta {
  margin-top: 56px;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  padding: 16px 0;
  background: var(--red);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: .25rem;
  line-height: 1;
  font-weight: 600;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-900px); }
}

.section-pad {
  padding-block: 80px;
}

.shade-down {
  background: linear-gradient(to top, var(--theme-shade), transparent);
}

.shade-up {
  background: linear-gradient(to bottom, var(--theme-shade), transparent);
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
}

.centered-intro {
  width: 70%;
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 auto 20px;
  text-align: center;
}

.centered-intro p, .ai-copy p {
  color: var(--text);
  font-size: 17px;
  margin-bottom: .9rem;
}

.red-rule {
  display: block;
  width: min(104px, 16%);
  height: 3.4px;
  margin-block: 8px;
  background: var(--red);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-section .card-grid {
  padding: 10px;
}

.feature-card {
  min-width: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--panel);
}

.feature-card h3 {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.feature-card:not(.benefit-card) h3::after {
  content: "";
  display: block;
  width: 16%;
  height: 3.4px;
  margin-block: 12px;
  background: var(--red);
}

.feature-card p {
  font-size: 14px;
  color: var(--text);
}

.feature-card:not(.benefit-card) p {
  margin-bottom: .9rem;
}

.section-action {
  margin-top: 76px;
  text-align: center;
}

.short-action {
  margin-top: 44px;
}

.platform-image {
  width: 100%;
  margin: -36px auto 20px;
}

.benefit-section .centered-intro {
  padding: 0 21px;
  margin-bottom: 20px;
}

.benefit-section .card-grid {
  grid-template-columns: repeat(4, minmax(0, 24%));
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.benefit-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.benefit-card h3 {
  margin-block: 8px 16px;
  font-size: 28px;
}

.benefit-card p {
  color: #cfcfcf;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.ai-grid > img {
  width: calc(100% - 20px);
  margin: 10px;
}

.ai-copy {
  padding: 10px;
}

.ai-copy h2, .ai-copy p {
  max-width: 88%;
}

.ai-copy h2 {
  max-width: 82%;
}

.ai-copy .red-rule {
  width: 8%;
}

.faq-heading {
  position: relative;
  width: max-content;
  max-width: 100%;
  text-align: center;
  margin: 0 auto 20px;
  padding-block: 8px 16px;
}

.faq-heading span {
  display: block;
  color: transparent;
  background: linear-gradient(to top, transparent 3%, var(--red));
  background-clip: text;
  opacity: .7;
  font-size: clamp(104px, 17vw, 200px);
  font-weight: 600;
  line-height: 1.2;
}

.faq-heading h2 {
  position: absolute;
  inset-inline: 0;
  top: 47%;
  font-size: clamp(21px, 3.4vw, 33px);
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.accordion {
  display: grid;
  gap: 5px;
  max-width: 90%;
  margin-inline: auto;
}

.accordion-item {
  min-width: 0;
}

.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  background: #d900005e;
  color: var(--white);
  font-family: var(--system-font);
  line-height: 1.5;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+" / "";
  font: 700 20px/1 Roboto, Arial, sans-serif;
}

.accordion-item[open] summary {
  color: #06fffc;
}

.accordion-item[open] summary::after {
  content: "−" / "";
}

.accordion-panel {
  padding: 16px 12px 10px;
}

.accordion-panel p + p {
  margin-top: .9rem;
}

.site-footer {
  padding: 10px;
  background: var(--red);
  color: var(--text);
  font-size: 17px;
  text-align: center;
}

.help-hero {
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(to top, #0f0f0f, #0f0f0f59), url("./assets/hero-desktop.webp");
}

.help-hero .hero-inner {
  align-items: center;
}

.help-hero a {
  width: 16%;
}

.help-hero .brand-logo {
  width: 100%;
}

.help-hero h1 {
  max-width: none;
  font-size: 32px;
}

.help-nav {
  padding-block: 64px;
}

.help-nav h2, .help-section h2 {
  text-align: center;
}

.help-nav-grid {
  display: grid;
  grid-template-columns: 23% 1fr 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.help-nav-grid p {
  max-width: 74%;
}

.help-nav-grid p::before {
  content: "";
  display: block;
  width: 24%;
  height: 3.4px;
  margin: 0 0 20px;
  background: var(--red);
}

.help-nav-grid ul {
  padding: 0;
  list-style: none;
}

.help-nav-grid li + li {
  border-top: 1px solid #b005;
}

.help-nav-grid a {
  display: block;
  padding-block: 7px;
  text-decoration: none;
  color: #a0a0a0;
}

.help-nav-grid a:hover, .help-nav-grid a:focus-visible {
  color: var(--white);
}

.help-section {
  scroll-margin-top: 20px;
}

.help-section + .help-section {
  margin-top: 100px;
}

.help-section .red-rule {
  margin: 8px auto 0;
}

.help-section h2 {
  margin: 20px 0;
}

.help-section .accordion {
  gap: 20px;
}

.help-section summary {
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.help-section .accordion-item[open] summary {
  color: #ffed88;
}

.help-section .accordion-panel {
  font-family: var(--system-font);
  overflow-wrap: anywhere;
}

.help-section .accordion-panel table {
  border-collapse: separate;
  border-spacing: 0;
}

.help-section .accordion-panel .overflow-x-auto {
  overflow-x: auto;
}

.help-section .accordion-panel pre {
  white-space: pre-wrap;
}

/* Apresentação do conteúdo da documentação original. */
.help-content .text-sm { font-size: .875rem; }
.help-content .text-lg { font-size: 1.125rem; }
.help-content .text-xl { font-size: 1.25rem; }
.help-content .font-medium { font-weight: 500; }
.help-content .font-semibold { font-weight: 600; }
.help-content .font-mono { font-family: Consolas, monospace; }
.help-content .text-white { color: #fff; }
.help-content .text-gray-300 { color: #d1d5db; }
.help-content .text-gray-400 { color: #9ca3af; }
.help-content .text-emerald-400 { color: #34d399; }
.help-content .text-green-400 { color: #4ade80; }
.help-content .text-red-400 { color: #f87171; }
.help-content .text-blue-400 { color: #60a5fa; }
.help-content .text-amber-400 { color: #fbbf24; }
.help-content .text-left { text-align: left; }
.help-content .mt-2 { margin-top: 8px; }
.help-content .mt-3 { margin-top: 12px; }
.help-content .mt-4 { margin-top: 16px; }
.help-content .mt-6 { margin-top: 24px; }
.help-content .mr-2 { margin-right: 8px; }
.help-content .mb-2 { margin-bottom: 8px; }
.help-content .mb-3 { margin-bottom: 12px; }
.help-content .mb-4 { margin-bottom: 16px; }
.help-content .mb-6 { margin-bottom: 24px; }
.help-content .p-3 { padding: 12px; }
.help-content .p-4 { padding: 16px; }
.help-content .p-6 { padding: 24px; }
.help-content .py-3 { padding-block: 12px; }
.help-content .px-4 { padding-inline: 16px; }
.help-content .pl-4 { padding-left: 16px; }
.help-content .pl-5 { padding-left: 20px; }
.help-content .gap-4 { gap: 16px; }
.help-content .space-y-1 > * + * { margin-top: 4px; }
.help-content .space-y-2 > * + * { margin-top: 8px; }
.help-content .space-y-3 > * + * { margin-top: 12px; }
.help-content .space-y-4 > * + * { margin-top: 16px; }
.help-content .space-y-6 > * + * { margin-top: 24px; }
.help-content .rounded-lg { border-radius: 8px; }
.help-content .grid { display: grid; }
.help-content .flex { display: flex; }
.help-content .items-start { align-items: flex-start; }
.help-content .whitespace-pre-wrap { white-space: pre-wrap; }
.help-content .min-w-full { min-width: 100%; }
.help-content .list-disc { list-style: disc; }
.help-content .list-decimal { list-style: decimal; }
.help-content .border { border: 1px solid; }
.help-content .border-b > * { border-bottom: 1px solid #37415180; }
.help-content [class~="border-gray-700/50"] { border-color: #37415180; }
.help-content .border-gray-600 { border-color: #4b5563; }
.help-content [class~="bg-[#1E1F25]"] { background-color: #1e1f25; }
.help-content .bg-gray-800 { background-color: #1f2937; }
.help-content [class~="bg-amber-500/10"] { background-color: #f59e0b1a; }
.help-content [class~="bg-blue-500/10"] { background-color: #3b82f61a; }
.help-content [class~="bg-red-500/10"] { background-color: #ef44441a; }
.help-content [class~="border-amber-500/20"] { border-color: #f59e0b33; }
.help-content [class~="border-blue-500/20"] { border-color: #3b82f633; }
.help-content [class~="border-red-500/20"] { border-color: #ef444433; }

@media (min-width: 768px) {
  .help-content [class~="md:grid-cols-2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 46vh;
    padding-block: 20px;
  }

  .hero h1 {
    max-width: 55%;
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-cta {
    margin-top: 32px;
  }

  .section-action {
    margin-top: 52px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-section .card-grid {
    grid-template-columns: repeat(2, minmax(0, 48%));
  }

  .benefit-section .centered-intro {
    width: 92%;
  }

  .ai-grid {
    width: min(800px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-block: 242px 64px;
    background-image: url("./assets/hero-mobile.webp");
  }

  .help-hero {
    background-image: linear-gradient(to top, #0f0f0f, #0f0f0f59), url("./assets/hero-mobile.webp");
  }

  .hero-inner {
    align-items: center;
    text-align: center;
  }

  .brand-logo, .help-hero a {
    width: 150px;
  }

  .hero h1, .hero p {
    max-width: none;
  }

  .hero h1 {
    font-size: 25px;
  }

  .help-hero h1 {
    font-size: 20px;
  }

  .hero .cta, .section-action .cta {
    padding-inline: 13px;
  }

  .section-pad {
    padding-block: 64px;
  }

  h2 {
    font-size: 22px;
  }

  .feature-section h2 {
    font-size: 20px;
  }

  .centered-intro, .benefit-section .centered-intro {
    width: 100%;
    padding-inline: 0;
  }

  .centered-intro p {
    max-width: 87%;
  }

  .centered-intro p, .ai-copy p {
    font-size: 14px;
  }

  .card-grid, .help-nav-grid {
    grid-template-columns: 1fr;
  }

  .benefit-section .card-grid {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .ai-grid > img {
    width: 100%;
    margin: 0;
  }

  .ai-copy {
    padding-inline: 0;
  }

  .ai-copy h2 {
    font-size: 28px;
  }

  .ai-copy h2, .ai-copy p {
    max-width: none;
  }

  .accordion {
    max-width: 100%;
  }

  .help-nav-grid {
    gap: 7px;
  }

  .help-nav-grid p {
    max-width: 100%;
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
