@font-face {
  font-family: Geist;
  src: url("geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8fc;
  --surface: #fff;
  --ink: #161426;
  --muted: #535368;
  --line: #e3e2ee;
  --control-line: #85808e;
  --accent: #603dca;
  --accent-ink: #4f329e;
  --accent-paper: #ebe4fa;
  --headline-a: #4831bd;
  --headline-b: #7545d2;
  --button-bg: #4e32c0;
  --button-fg: #fff;
  --button-hover: #3f269f;
  --display: Geist, Arial, sans-serif;
  --body: Geist, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-height: 4.3rem;
  --gutter: clamp(1.125rem, 4.15vw, 4rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #100f1b;
  --surface: #1a1828;
  --ink: #faf8ff;
  --muted: #c2bbd0;
  --line: #39344b;
  --control-line: #9b90ae;
  --accent: #c5aaff;
  --accent-ink: #dbc8ff;
  --accent-paper: #302447;
  --headline-a: #a5a6ff;
  --headline-b: #d2a0ff;
  --button-bg: #e8ddfd;
  --button-fg: #21172f;
  --button-hover: #d4bef9;
}

:root[data-contrast="high"] {
  --paper: #fff;
  --surface: #fff;
  --ink: #110b1a;
  --muted: #292131;
  --line: #524361;
  --control-line: #524361;
  --accent: #40218e;
  --accent-ink: #371577;
  --accent-paper: #fff;
  --headline-a: #371577;
  --headline-b: #371577;
  --button-bg: #1c1027;
  --button-hover: #371577;
}

:root[data-theme="dark"][data-contrast="high"] {
  --paper: #0b090e;
  --surface: #141017;
  --ink: #fff;
  --muted: #f1e8fc;
  --line: #c5b3d9;
  --control-line: #c5b3d9;
  --accent: #f0e1ff;
  --accent-ink: #f0e1ff;
  --accent-paper: #251a32;
  --headline-a: #f0e1ff;
  --headline-b: #f0e1ff;
  --button-bg: #fff;
  --button-fg: #140d1d;
  --button-hover: #e8dcf6;
}

:root[data-text="large"] { font-size: 112.5%; }
:root[data-text="larger"] { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
}

h1, h2, h3, h4, p, ol { margin: 0; }
h1, h2, h3, h4 { line-height: 1.05; }
a { color: inherit; }
button, select, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a, button, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#conteudo:focus { outline: none; }
:where(main, section, figure)[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

.shell {
  width: min(100% - var(--gutter) * 2, 76rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: .75rem auto auto .75rem;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--button-bg);
  color: var(--button-fg);
}

.skip-link:focus { transform: none; }
.icon-library { position: absolute; }

.icon,
.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
  gap: clamp(.5rem, 1.7vw, 1.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.15rem;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-decoration: none;
}

.brand-mark { width: 1.9rem; height: 1.9rem; flex: 0 0 auto; }
.brand-labs { font-weight: 500; }
.site-nav, .header-actions, .footer-nav { display: flex; align-items: center; }
.site-nav { gap: clamp(.65rem, 1.6vw, 1.62rem); margin-inline-end: clamp(0rem, 5vw, 7rem); }

.site-nav a {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 570;
  white-space: nowrap;
  transition: color .2s ease;
}

.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }

.site-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  inset: auto 0 .25rem;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22, .8, .2, 1);
}

.site-nav a[aria-current]::after, .site-nav a:hover::after { transform: scaleX(1); }

.header-actions { gap: .4rem; }

.icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.icon-button:hover, .icon-button[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent-ink);
}

.menu-toggle[aria-expanded="true"] .menu-open-icon,
.menu-toggle[aria-expanded="false"] .menu-close-icon { display: none; }

.appearance-panel {
  position: absolute;
  z-index: 2;
  inset: calc(100% + .55rem) 0 auto auto;
  width: min(21rem, 100%);
  max-height: calc(100vh - var(--header-height) - 1.6rem);
  max-height: calc(100dvh - var(--header-height) - 1.6rem);
  overflow: auto;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--control-line);
  border-radius: 1rem;
  box-shadow: 0 12px 36px #160b2824;
}

.appearance-heading,
.appearance-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
}

.appearance-heading h2 { font-size: 1.15rem; letter-spacing: -.035em; }
.appearance-close { border-color: transparent; background: transparent; }
.appearance-field { display: grid; margin-block: .6rem .85rem; gap: .35rem; }
.appearance-field > span, .appearance-check > span { font-size: .92rem; font-weight: 550; }

.appearance-field select {
  width: 100%;
  min-height: 2.75rem;
  padding: .45rem 2rem .45rem .7rem;
  border: 1px solid var(--control-line);
  border-radius: .5rem;
  color: var(--ink);
  background: var(--paper);
}

.appearance-check { min-height: 2.75rem; }
.appearance-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
.appearance-motion-note { margin-block: .15rem .55rem; color: var(--muted); font-size: .85rem; }

.appearance-reset {
  width: 100%;
  min-height: 2.75rem;
  margin-top: .7rem;
  padding: .4rem .75rem;
  border: 1px solid var(--control-line);
  border-radius: .6rem;
  background: var(--surface);
  font-size: .9rem;
  font-weight: 600;
}

.appearance-reset:hover { border-color: var(--accent); background: var(--accent-paper); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  font: 500 .8125rem/1.4 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.lab-glyph {
  flex: 0 0 .5rem;
  width: .5rem;
  height: .5rem;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
  margin-inline: .1rem;
}

.hero { padding-block: clamp(2.7rem, 4.3vw, 4rem) clamp(2rem, 3.5vw, 3.1rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  gap: clamp(2.1rem, 4.2vw, 4.1rem);
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.hero h1 {
  margin-block: .9rem 1.25rem;
  font: 720 clamp(3.35rem, 6.55vw, 6.55rem)/.93 var(--display);
  letter-spacing: -.084em;
  overflow-wrap: anywhere;
}

.hero h1 > * { display: block; }
.hero h1 em { color: var(--headline-a); font-style: normal; }

@supports (background-clip: text) {
  .hero h1 em {
    width: fit-content;
    background: linear-gradient(110deg, var(--headline-a), var(--headline-b));
    background-clip: text;
    color: transparent;
  }
}

.hero-description {
  max-width: 26rem;
  font-size: clamp(1.03rem, 1.38vw, 1.21rem);
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .67rem 1.12rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  text-decoration: none;
  font-size: .94rem;
  line-height: 1.35;
  font-weight: 620;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--button-bg); color: var(--button-fg); }
.button-primary:hover { background: var(--button-hover); }
.button-secondary, .button-outline { border-color: var(--line); background: var(--surface); }
:is(.button-secondary, .button-outline):hover { border-color: var(--accent); color: var(--accent-ink); }

.method { border-block: 1px solid var(--line); }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; }
.method-steps li { display: flex; align-items: center; gap: .85rem; padding: 1.2rem clamp(.65rem, 3vw, 2.4rem); }
.method-steps li + li { border-left: 1px solid var(--line); }
.method-steps li:first-child { padding-left: .15rem; }
.method-steps .icon {
  box-sizing: content-box;
  padding: .65rem;
  border-radius: .72rem;
  flex: 0 0 auto;
  background: var(--accent-paper);
  color: var(--accent-ink);
  transition: transform .32s cubic-bezier(.22, .8, .2, 1);
}
.method-steps li:hover .icon { transform: rotate(-8deg) scale(1.07); }
.method-name { font-size: 1.075rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.method-detail { margin-top: .2rem; color: var(--muted); font-size: .94rem; line-height: 1.4; }

.catalog { padding-block: clamp(3.25rem, 6.1vw, 5.5rem) clamp(3.5rem, 6.5vw, 6rem); }

.section-heading h2, .about h2 {
  margin-top: .45rem;
  font: 710 clamp(2.6rem, 5.25vw, 4.65rem)/1 var(--display);
  letter-spacing: -.077em;
  overflow-wrap: anywhere;
}

.section-description { margin-top: .85rem; color: var(--muted); max-width: 34rem; }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.3rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface);
}

.filters button {
  padding: .42rem .9rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  background: transparent;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 610;
  transition: background-color .22s ease, color .22s ease;
}

.filters button:hover { color: var(--accent-ink); }
.filters button[aria-pressed="true"] { background: var(--accent-paper); color: var(--accent-ink); }
:root[data-contrast="high"] .filters button[aria-pressed="true"] { border-color: var(--control-line); }

.product-group { margin-top: 2.15rem; }
.group-title { margin-bottom: .8rem; font-size: 1rem; line-height: 1.4; font-weight: 650; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
[data-product-group="desktop"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 1.44rem;
  background: var(--surface);
  box-shadow: 0 10px 22px -22px #18122d60;
  transition: border-color .25s ease, box-shadow .28s ease;
}

.product:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 16px 35px -25px #37198070;
}

.product-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: .95rem clamp(.55rem, 1.45vw, 1.25rem) .35rem; }
.product-category { color: var(--muted); font: 500 .8125rem/1.45 var(--mono); }
.product h4 {
  font-size: clamp(1.45rem, 2.25vw, 2.15rem);
  letter-spacing: -.055em;
  line-height: 1.09;
  overflow-wrap: anywhere;
  margin-block: .32rem .48rem;
}
.product h4 + p { color: var(--muted); line-height: 1.5; }

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  margin-top: auto;
  padding-top: .45rem;
}

.product-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent-ink);
  font-size: .92rem;
  font-weight: 630;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: .26em;
  transition: text-decoration-color .2s ease;
}
.product-links a:hover { text-decoration-color: currentColor; }

.about { padding-block: 0 clamp(3rem, 6.2vw, 5.5rem); }
.about-panel {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: 1.6rem clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4.3vw, 3.8rem);
  background: radial-gradient(ellipse at 0 100%, #36277a, transparent 75%), #16132e;
  color: #f9f7ff;
  border: 1px solid #49416d;
  border-radius: 1.55rem;
}
.about-panel .eyebrow { color: #d1bbff; }
.about-mark {
  position: absolute;
  z-index: -1;
  inset: 4% auto auto 7%;
  width: min(50%, 33rem);
  color: #cec0ff22;
  transform: rotate(-13deg);
  pointer-events: none;
}
.about h2 { font-size: clamp(2.25rem, 4.1vw, 3.8rem); }
.about-panel > div:last-child > p { color: #d7d1ea; }
.about-panel > div:last-child > p + p { margin-top: .75rem; }
.about .button { margin-top: 1.2rem; background: #ffffff0b; border-color: #9185b6; color: #fff; }
.about .button:hover { background: #ffffff1a; border-color: #e4dafa; }
.about .button:focus-visible { outline-color: #d1bbff; }
:root[data-contrast="high"] .about-panel { background: var(--surface); color: var(--ink); border-color: var(--line); }
:root[data-contrast="high"] .about-panel :is(.eyebrow, p, .button) { color: var(--ink); }
:root[data-contrast="high"] .about-panel .button { border-color: var(--control-line); }
:root[data-contrast="high"] .about-mark { display: none; }

.site-footer { border-top: 1px solid var(--line); }

.footer-main, .footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.3rem;
  gap: .65rem 1.25rem;
}

.footer-nav { flex-wrap: wrap; gap: .2rem 1.5rem; }
.footer-nav a { display: flex; align-items: center; min-height: 2.75rem; font-size: .9rem; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .22em; }
.footer-meta { border-top: 1px solid var(--line); color: var(--muted); font: 500 .8rem/1.5 var(--mono); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero h1 { font-size: clamp(3rem, 9.2vw, 5.55rem); }
  .hero h1 > span { display: inline; }
  .hero h1 em { display: inline; }
  .hero-description { max-width: 32rem; }
  .site-nav { flex-wrap: wrap; gap: .3rem .9rem; margin-inline-end: 0; }
  .header-inner { flex-wrap: wrap; }
  .header-inner:not(:has(.menu-toggle:not([hidden]))) .site-nav { order: 3; width: 100%; }
  .js .header-inner:has(.menu-toggle:not([hidden])) .site-nav {
    position: absolute;
    inset: calc(100% + .55rem) 0 auto auto;
    flex-direction: column;
    align-items: stretch;
    gap: .12rem;
    width: min(22rem, 100%);
    max-height: calc(100dvh - var(--header-height) - 1.5rem);
    overflow: auto;
    padding: .4rem;
    background: var(--surface);
    border: 1px solid var(--control-line);
    border-radius: .85rem;
    box-shadow: 0 12px 36px #160b2824;
  }
  .site-nav a { padding-inline: .6rem; }
  .site-nav a[aria-current] { border-radius: .5rem; background: var(--accent-paper); color: var(--accent-ink); }
  .site-nav a::after { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --header-height: 4rem; }
  .hero { padding-top: 2.1rem; }
  .hero h1 { max-width: 12ch; margin-block: .85rem 1rem; }
  .hero-actions { margin-top: 1.1rem; gap: .5rem; }
  .hero-actions .button { padding-inline: .83rem; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li, .method-steps li:first-child { padding: .85rem .2rem; }
  .method-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .product-group { margin-top: 1.9rem; }
  .product-grid, [data-product-group="desktop"] .product-grid { grid-template-columns: 1fr; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: min(12.4vw, 3rem); }
}

html[data-motion="full"] { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

:root[data-motion="reduce"] *,
:root[data-motion="reduce"] *::before,
:root[data-motion="reduce"] *::after { scroll-behavior: auto !important; transition: none !important; }
:root[data-motion="reduce"] .button:is(:hover, :active),
:root[data-motion="reduce"] .method-steps li:hover .icon { transform: none; }

@media (forced-colors: active) {
  .lab-glyph { background: CanvasText; }
  .hero h1 em { background: none; color: CanvasText; }
  .button, .filters button[aria-pressed="true"] { border-color: ButtonText; }
  .site-nav a[aria-current] { text-decoration: underline; }
}
