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

:root {
  font-family: "Inter", system-ui, sans-serif;
  color: #10264b;
  background: #f9fbff;
  font-synthesis: none;
  color-scheme: light;
  --ink: #10264b;
  --muted: #526480;
  --blue: #1859a8;
  --cobalt: #1248b8;
  --navy: #0b2456;
  --yellow: #ffbf45;
  --line: #dbe5f5;
  --white: #fff;
  --tint: #edf4ff;
  --display: "Archivo", "Inter", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
#downloads, #instalacao { scroll-margin-top: 30px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap { width: min(calc(100% - 112px), 1232px); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  transform: translateY(-140%);
  border-radius: 10px;
  padding: 12px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.page-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 73px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font: 700 26px/1 var(--display);
  letter-spacing: -.05em;
  text-decoration: none;
}
.wordmark strong { color: var(--cobalt); font-weight: inherit; }
.brand-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.header-inner nav { display: flex; gap: 9px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}
.nav-link:hover { background: var(--tint); }

.hero {
  display: grid;
  grid-template-columns: minmax(310px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(25px, 4vw, 64px);
  padding-block: clamp(44px, 6vw, 86px) clamp(42px, 5.6vw, 76px);
}
.hero h1 {
  max-width: 10ch;
  font-size: clamp(62px, 7.3vw, 105px);
  font-weight: 700;
  line-height: .89;
  letter-spacing: -.073em;
}
.hero h1 span { color: var(--cobalt); }
.hero-description {
  margin-top: 25px;
  max-width: 390px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.52;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms, border-color 160ms, color 160ms;
}
.button { cursor: pointer; }
.button:hover { border-color: #afc6eb; background: #e3edff; }
.button.primary {
  background: var(--yellow);
  border-color: #e6a92d;
  color: #17283f;
  box-shadow: 0 4px 12px #a4660018;
}
.button.primary:hover { background: #f8ae31; border-color: #d9951a; }
.hero-actions .button { min-height: 51px; padding-inline: 15px; }
.hero-web .icon { width: 16px; height: 16px; }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 710;
  color: var(--muted);
}
.feature-list .icon { width: 15px; height: 15px; color: var(--blue); }

.preview {
  position: relative;
  min-width: 0;
  padding: clamp(14px, 2.1vw, 30px) clamp(14px, 2vw, 25px) 13px;
  overflow: hidden;
  border: 1px solid #1a58be;
  border-radius: 27px;
  background:
    linear-gradient(90deg, #ffffff14 1px, transparent 1px),
    linear-gradient(#ffffff14 1px, transparent 1px),
    linear-gradient(140deg, #3b79d7, #1748af 59%, #0c347d);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: 0 21px 48px #224f8e26;
  color: #f0f5ff;
}
.preview-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 22.5%;
  align-items: center;
  gap: 8px;
  min-height: clamp(230px, 27vw, 380px);
}
.device {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid #2e5eac;
  background: #0e295d;
  cursor: zoom-in;
  box-shadow: 0 16px 35px #05276291;
}
.device.desktop {
  width: 112%;
  border-width: 6px 6px 10px;
  border-color: #102a59;
  border-radius: 12px;
}
.device.phone {
  align-self: end;
  z-index: 1;
  margin-bottom: 4px;
  border: 5px solid #102a59;
  border-radius: clamp(11px, 1.65vw, 22px);
  box-shadow: 0 11px 26px #0b2855b0;
}
.device:focus-visible { outline-color: var(--yellow); }
.device img { width: 100%; height: auto; }
.preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 0;
  font-size: 11px;
  font-weight: 590;
  line-height: 1.3;
}
.preview-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--white);
  font-weight: 740;
  cursor: zoom-in;
}
.preview-more:hover { color: var(--yellow); }
.preview-more:focus-visible { outline-color: var(--yellow); }
.preview-more .icon {
  width: 13px;
  height: 13px;
}

.releases {
  padding-block: 34px 0;
  border-top: 1px solid var(--line);
}
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.section-heading h2, .installation h2 {
  font-size: clamp(30px, 3.7vw, 49px);
  font-weight: 700;
  letter-spacing: -.057em;
  line-height: .95;
}
.version-label {
  padding: 5px 10px;
  border: 1px solid #edcc83;
  border-radius: 24px;
  background: #fff3d7;
  color: #614500;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}
.release-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.release-card {
  position: relative;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 6px 24px #0f3d800a;
}
.release-card:target { border-color: #80a6e8; box-shadow: 0 0 0 3px #c5d9fc; }
.platform-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.platform-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
}
.platform-icon .icon { width: 21px; height: 21px; }
.platform-icon.windows { background: #e4efff; color: #174ea4; }
.platform-icon.macos { background: #edf1f6; color: #435872; }
.platform-icon.android { background: #e9f4e9; color: #2c693f; }
.platform-icon.ios { background: #eaefff; color: #394e9b; }
.platform-heading h3, .source-card h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.1;
}
.platform-heading p, .source-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.release-options { display: flex; flex-direction: column; gap: 6px; }
.release-button {
  width: 100%;
  justify-content: flex-start;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 13px;
  border-color: #dce8fa;
  background: #f1f6ff;
}
.release-button .icon { width: 16px; height: 16px; }
.release-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 770;
  line-height: 1.3;
  text-underline-offset: 2px;
}
.text-link .icon { width: 12px; height: 12px; }

.installation { padding-block: clamp(53px, 7.3vw, 96px); }
.installation h2 { margin-bottom: 22px; }
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(215px, .8fr);
  gap: 20px;
  align-items: start;
}
.install-questions {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.install-questions details + details { border-top: 1px solid var(--line); }
.install-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  font-weight: 740;
  font-size: 14px;
  list-style: none;
  cursor: pointer;
}
.install-questions summary::-webkit-details-marker { display: none; }
.install-questions summary:focus-visible { outline-offset: -5px; border-radius: 10px; }
.install-questions summary:hover { background: var(--tint); }
.install-questions details[open] summary .icon { transform: rotate(180deg); }
.install-questions p {
  padding: 0 17px 16px;
  max-width: 680px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.source-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--tint);
}
.source-card .platform-icon { margin-bottom: 10px; background: #dce9ff; }
.source-card p { margin-bottom: 12px; }
.source-download { width: max-content; max-width: 100%; background: var(--white); }
.page-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 65px; color: var(--muted); font-size: 12px; }
.footer-inner .wordmark { color: var(--ink); font-size: 19px; }
.footer-inner .brand-icon { width: 32px; height: 32px; border-radius: 9px; }
.footer-site { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.footer-site:hover { color: var(--blue); text-decoration: underline; }
.footer-site .icon { width: 13px; height: 13px; }

.preview-dialog {
  max-width: min(95vw, 1240px);
  max-height: min(94dvh, 1000px);
  overflow: auto;
  padding: 9px;
  border: 1px solid #4267a1;
  border-radius: 15px;
  background: var(--navy);
  color: #edf4ff;
  box-shadow: 0 22px 80px #091c49ad;
}
.preview-dialog::backdrop { background: #0b1b36c4; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 2px 9px 7px; }
.dialog-top h2 { font-size: clamp(16px, 3vw, 24px); letter-spacing: -.04em; }
.close-preview {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #5375ac;
  border-radius: 9px;
  background: #214a8e;
  cursor: pointer;
}
.close-preview:focus-visible { outline-color: var(--yellow); }
.preview-dialog img { display: block; width: auto; max-width: 100%; max-height: calc(93dvh - 64px); object-fit: contain; margin: auto; border-radius: 8px; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 68px); }
  .hero { grid-template-columns: minmax(315px, .92fr) minmax(0, 1.08fr); }
  .release-card { padding: 13px; }
  .release-button { font-size: 12px; }
}
@media (max-width: 880px) {
  .wrap { width: calc(100% - 52px); }
  .hero { gap: 22px; }
  .hero h1 { font-size: clamp(57px, 8vw, 72px); }
  .hero-description { margin-top: 19px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 46px; padding-inline: 11px; font-size: 13px; }
  .feature-list { gap: 8px 11px; margin-top: 19px; }
  .feature-list li { font-size: 11px; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-card { padding: 16px; }
  .release-button { font-size: 13px; }
}
@media (max-width: 675px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 64px; }
  .wordmark { font-size: 22px; }
  .brand-icon { width: 34px; height: 34px; border-radius: 9px; }
  .nav-link { padding-inline: 8px; font-size: 13px; }
  .header-inner nav { gap: 3px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 31px 35px; }
  .hero h1 { max-width: none; font-size: clamp(52px, 11.9vw, 76px); line-height: .9; }
  .hero-description { margin-top: 13px; font-size: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { min-height: 45px; }
  .feature-list { margin-top: 15px; }
  .preview { padding: 13px 15px 10px; border-radius: 17px; }
  .preview-inner { min-height: auto; }
  .preview figcaption { padding-top: 3px; font-size: 10px; }
  .preview .desktop { border-width: 4px 4px 7px; border-radius: 8px; }
  .preview .phone { border-width: 3px; margin-bottom: 0; }
  .releases { padding-top: 29px; }
  .section-heading { margin-bottom: 16px; }
  .release-grid { gap: 9px; }
  .release-card { padding: 11px; }
  .platform-heading { gap: 7px; margin-bottom: 12px; }
  .platform-heading h3 { font-size: 19px; }
  .platform-heading p { font-size: 10px; }
  .platform-icon { width: 34px; height: 34px; border-radius: 9px; }
  .platform-icon .icon { width: 17px; height: 17px; }
  .release-button { min-height: 42px; padding: 7px; font-size: 11px; gap: 5px; }
  .release-button .icon { width: 14px; height: 14px; }
  .release-note, .text-link { font-size: 11px; }
  .installation { padding-block: 43px; }
  .installation h2 { margin-bottom: 16px; }
  .install-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 350px) {
  .nav-help { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-actions .button { min-height: 42px; padding-inline: 8px; }
  .release-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
