@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-regular.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-medium.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-semibold.woff") format("woff");
}

:root {
  color-scheme: dark;
  --bg: #08090a;
  --bg-raised: #0e1012;
  --bg-hover: #14171a;
  --fg: #f7f8f8;
  --fg-2: #9ea4ad;
  --fg-3: #7b818b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  /* Tierra colorada: the red soil of Oberá, the only hue on the page. */
  --accent: #e0765a;
  --accent-ink: #f0a28c;
  --accent-tint: rgba(224, 118, 90, .14);
  --pend: #2e2510;
  --pend-fg: #f2c66d;
  --radius: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: 72rem;
  --measure: 44rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

* { box-sizing: border-box; }

html {
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: var(--line-strong) var(--bg);
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
::selection { background: var(--accent-tint); color: var(--fg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--bg); border-radius: 999px; }
::-webkit-scrollbar-track { background: var(--bg); }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s var(--ease-out), color .2s var(--ease-out);
}
a:hover { text-decoration-color: var(--accent-ink); }
:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
code {
  font: 500 .9em ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .05em .35em;
}
strong { font-weight: 600; color: var(--fg); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; z-index: 10; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 1rem;
  text-decoration: none;
  color: var(--fg);
}
.brand svg { width: 18px; height: 18px; flex: none; }
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
}
.site-header nav li { margin: 0; }
.site-header nav a {
  display: inline-block;
  padding: .35rem .65rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.site-header nav a:hover { color: var(--fg); background: var(--bg-hover); }
.site-header nav a[aria-current="page"] { color: var(--fg); }
@media (max-width: 40rem) {
  .site-header nav a.secondary { display: none; }
}

/* Shared layout */
main { flex: 1; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--bg-hover); border-color: rgba(255, 255, 255, .22); }
.btn svg { width: 16px; height: 16px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--fg-2);
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-3);
}
.status.live::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(42% 50% at 50% 38%, rgba(224, 118, 90, .18), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.032em;
  margin: 0 auto 1.25rem;
  max-width: 24ch;
  text-wrap: balance;
}
.hero .lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 36rem;
  margin: 0 auto 2rem;
  text-wrap: pretty;
}
.hero .actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Product frame */
.frame {
  position: relative;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  max-width: 64rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.frame img { width: 100%; }
.hero .frame {
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  border-bottom-color: transparent;
}
.frame figcaption {
  font-size: .8125rem;
  color: var(--fg-3);
  padding: .75rem 1rem;
  border-top: 1px solid var(--line);
}

/* Sections */
.section {
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 56rem) {
  .section .wrap { grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; }
}
.section-head { align-self: start; }
@media (min-width: 56rem) {
  .section-head { position: sticky; top: 5.5rem; }
}
.section-head h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  text-wrap: balance;
}
.section-head p { color: var(--fg-2); margin: 0; font-size: .9375rem; }
.section-body > :first-child { margin-top: 0; }
.section-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.025em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.section-body > p { color: var(--fg-2); font-size: 1.0625rem; max-width: 36rem; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin: 1.5rem 0 2.25rem;
}

/* Feature grid, hairline-separated, no cards */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.features li {
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.features strong {
  display: block;
  font-weight: 500;
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}
.features span { color: var(--fg-2); font-size: .9375rem; }

/* App roster */
.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.roster li {
  margin: 0;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  gap: .5rem 1.5rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.roster .name { font-weight: 500; letter-spacing: -.01em; }
.roster .desc { color: var(--fg-2); font-size: .9375rem; margin: 0; }
@media (max-width: 40rem) {
  .roster li { grid-template-columns: minmax(0, 1fr) auto; }
  .roster .desc { grid-column: 1 / -1; }
}
.roster + p { margin-top: 1.5rem; color: var(--fg-3); font-size: .875rem; }

/* Studio facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem 2rem;
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.facts div { margin: 0; }
.facts dt { font-size: .8125rem; color: var(--fg-3); margin-bottom: .25rem; }
.facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Reading pages: product, support, legal */
.article {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}
.article header.title { margin-bottom: 2.5rem; }
.article h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.028em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.article .lede {
  font-size: 1.125rem;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.article h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 2.75rem 0 .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article h3 { font-size: 1.0625rem; font-weight: 500; margin: 1.75rem 0 .5rem; }
.article p, .article li { color: var(--fg-2); }
.article li::marker { color: var(--fg-3); }
.article p strong, .article li strong { color: var(--fg); }
.article a { color: var(--fg); }
.article .btn-primary { color: var(--bg); }
.article .lang {
  font-size: .875rem;
  color: var(--fg-3);
  margin: 0 0 1.5rem;
}
.article table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
  margin: 1.25rem 0 1.5rem;
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article th, .article td {
  min-width: 8.5rem;
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
}
.article th {
  color: var(--fg);
  font-weight: 500;
  background: var(--bg-raised);
  white-space: nowrap;
}
.article tr:last-child td { border-bottom: 0; }
.article td + td, .article th + th { border-left: 1px solid var(--line); }
.note {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin: 1.25rem 0;
  font-size: .9375rem;
}
.pend {
  background: var(--pend);
  color: var(--pend-fg);
  padding: .05em .35em;
  border-radius: 4px;
  font-style: normal;
  font-weight: 500;
  font-size: .9em;
}
.actions-inline { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.75rem 0 .5rem; }
.article .frame { margin: 2.5rem 0; max-width: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: .875rem;
  color: var(--fg-2);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 40rem) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
}
.site-footer .brand { color: var(--fg); margin-bottom: .6rem; }
.site-footer .cols p { max-width: 24rem; margin: 0; color: var(--fg-3); }
.site-footer h2 {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 .75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer ul a { text-decoration: none; color: var(--fg-2); }
.site-footer ul a:hover { color: var(--fg); }
.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  color: var(--fg-3);
  font-size: .8125rem;
}

/* Motion: one entrance, the hero. */
@media (prefers-reduced-motion: no-preference) {
  .hero .rise {
    animation: rise .9s var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
}

/* 404 */
.empty {
  text-align: center;
  padding: clamp(5rem, 14vw, 10rem) var(--gutter);
}
.empty h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; letter-spacing: -.03em; margin: 0 0 .75rem; }
.empty p { color: var(--fg-2); margin: 0 0 1.75rem; }
