/* Clausul — marketing site design system.
   Editorial paper ground, Newsreader display, the product's own system sans for text,
   and real product UI shown on painted canvases. No all-caps anywhere (see reglas_diseno.md). */

:root {
  --paper: #f3f3ef;
  --paper-2: #e9e9e3;
  --white: #ffffff;
  --ink: #121412;
  --ink-2: #353935;
  --muted: #676b65;
  --line: #d9dad3;
  --line-soft: #e4e4de;
  --night: #0e100f;
  --night-2: #181b19;
  --on-night: #edece7;
  --on-night-muted: #979a94;
  --line-night: rgba(237, 236, 231, 0.14);

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(3.1rem, 7.6vw, 7rem);
  --fs-h2: clamp(2.3rem, 4.9vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 2.2vw, 1.9rem);
  --fs-lead: clamp(1.125rem, 1.45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 12vw, 176px);
  --radius-canvas: clamp(14px, 1.6vw, 22px);
  --radius-ui: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-window: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 0 0 1px rgba(10, 12, 11, 0.1),
    0 30px 60px -18px rgba(5, 7, 6, 0.55), 0 12px 24px -12px rgba(5, 7, 6, 0.35);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-ui);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */

.display,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.display {
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.display em,
.h2 em {
  font-style: italic;
  font-weight: 300;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.005em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-ui);
  border: 1px solid transparent;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #2a2e2a;
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: #e9e9e4;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--ghost-night {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--ghost-night:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* A 40px+ tap target without pushing the underline away from the text */
.link-arrow::after {
  content: "";
  position: absolute;
  inset: -8px -6px;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- announcement + header ---------- */

.announce {
  background: var(--night);
  color: var(--on-night);
  font-size: var(--fs-xs);
  text-align: center;
}

.announce a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px var(--gutter);
  text-decoration: none;
}

.announce b {
  font-weight: 500;
}

.announce span {
  color: var(--on-night-muted);
}

.announce svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.announce a:hover svg {
  transform: translateX(3px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  height: 22px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-ui);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .btn {
  min-height: 40px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-ui);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  position: relative;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: background-color 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(6px);
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

@media (max-width: 880px) {
  .nav,
  .header-actions .hide-sm {
    display: none;
  }

  .header-bar {
    justify-content: space-between;
    gap: 12px;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    inset: 68px 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px var(--gutter) max(env(safe-area-inset-bottom), 28px);
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--serif);
    font-size: 1.75rem;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-menu .btn {
    margin-top: 16px;
    min-height: 48px;
  }

  .menu-open {
    overflow: hidden;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: 10px 10px 0;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-canvas);
  min-height: 560px;
  height: min(86svh, 920px);
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 9s linear;
}

.hero-media.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.28) 0%, rgba(8, 9, 8, 0) 26%),
    linear-gradient(0deg, rgba(8, 9, 8, 0.78) 0%, rgba(8, 9, 8, 0.36) 38%, rgba(8, 9, 8, 0) 64%),
    linear-gradient(90deg, rgba(8, 9, 8, 0.42) 0%, rgba(8, 9, 8, 0) 60%);
}

.hero-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 56px;
  padding: clamp(24px, 4.5vw, 64px);
}

.hero .display span {
  display: block;
}

.hero-side {
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-bottom: 8px;
}

.hero-side p {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 26em;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  top: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  display: flex;
  gap: 2px;
}

/* 40px tap targets; the negative margin keeps the bars where the 24px buttons drew them */
.hero-dots button {
  position: relative;
  width: 40px;
  height: 40px;
  margin-block: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dots button::before,
.hero-dots button::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 19px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-dots button::after {
  background: var(--white);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

@media (max-width: 880px) {
  .hero {
    padding: 8px 8px 0;
  }

  .hero-frame {
    height: auto;
    min-height: min(92svh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-content {
    position: relative;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 96px 22px 26px;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
  }
}

/* ---------- section scaffolding ---------- */

.section {
  padding-block: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-head .h2 {
  margin-top: 18px;
}

.section-head .lead {
  justify-self: end;
}

.section-head--stack {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.section-head--stack .lead {
  justify-self: start;
}

@media (max-width: 880px) {
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head .lead {
    justify-self: start;
  }
}

/* ---------- painted canvases + product windows ---------- */

.canvas {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-canvas);
  background-color: #1a201d;
  background-size: cover;
  background-position: center var(--bgy, 50%);
  padding: clamp(20px, 6vw, 96px);
  isolation: isolate;
}

.canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.tex-slate {
  background-image: url("media/tex/slate.jpg");
  background-color: #1a211e;
}

.tex-ink {
  background-image: url("media/tex/ink.jpg");
  background-color: #141413;
}

.tex-dusk {
  background-image: url("media/tex/dusk.jpg");
  background-color: #181d25;
}

.tex-umber {
  background-image: url("media/tex/umber.jpg");
  background-color: #211b16;
}

.tex-stone {
  background-image: url("media/tex/stone.jpg");
  background-color: #d8d2c5;
}

.tex-moss {
  background-image: url("media/tex/moss.jpg");
  background-color: #20261b;
}

.tex-ochre {
  background-image: url("media/tex/ochre.jpg");
  background-color: #33271a;
}

.tex-rust {
  background-image: url("media/tex/rust.jpg");
  background-color: #2e1c13;
}

.tex-steel {
  background-image: url("media/tex/steel.jpg");
  background-color: #1d2125;
}

.tex-fog {
  background-image: url("media/tex/fog.jpg");
  background-color: #c9ccc6;
}

.tex-fog::after {
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(60, 66, 58, 0.14) 100%);
}

.tex-stone::after {
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(80, 70, 50, 0.14) 100%);
}

.window {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-window);
  transform: translate3d(0, var(--lift, 0px), 0);
}

.window video,
.window img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fafafa;
}

.window--crop img {
  aspect-ratio: auto;
}

/* Live product replica: the real UI rendered as DOM inside an iframe and scaled to fit,
   so it stays sharp at any zoom level. */
.ui-live {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 16 / 9);
  overflow: hidden;
  background: #fff;
}

.ui-live iframe {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
  background: #fff;
}

/* ---------- showcase (asistente film) ---------- */

.showcase .window {
  max-width: 1120px;
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  max-width: 1120px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 18px;
  color: rgba(237, 236, 231, 0.5);
  transition: color 0.5s var(--ease);
}

.step::before,
.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(237, 236, 231, 0.18);
}

.step::after {
  background: var(--on-night);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.step b {
  display: block;
  font-weight: 500;
  font-size: var(--fs-small);
  color: inherit;
  margin-bottom: 4px;
}

.step span {
  font-size: var(--fs-xs);
  line-height: 1.5;
  display: block;
}

.step.is-active {
  color: var(--on-night);
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

/* ---------- official sources grid ---------- */

.tile {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.tile svg {
  width: 16px;
  height: 16px;
}

.t-cs { background: #eef2ff; color: #4f46e5; }
.t-juris { background: #eff6ff; color: #2563eb; }
.t-juba { background: #fff1f2; color: #e11d48; }
.t-caba { background: #fffbeb; color: #d97706; }
.t-infoleg { background: #f0fdfa; color: #0d9488; }
.t-bo { background: #faf5ff; color: #9333ea; }
.t-web { background: #f0f9ff; color: #0ea5e9; }
.t-bib { background: #f5f5f4; color: #57534e; }

.sources6 {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.sources6 li {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}

.sources6 li:nth-child(3n + 2),
.sources6 li:nth-child(3n) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.sources6 .tile {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.sources6 .tile svg {
  width: 18px;
  height: 18px;
}

.sources6 h3 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sources6 p {
  margin-top: 8px;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 26em;
}

@media (max-width: 980px) {
  .sources6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sources6 li,
  .sources6 li:nth-child(3n + 2),
  .sources6 li:nth-child(3n) {
    padding-left: 0;
    border-left: 0;
  }

  .sources6 li:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
}

.sources6 + .security-foot {
  border-top: 0;
  padding-top: 8px;
}

@media (max-width: 560px) {
  .sources6 {
    grid-template-columns: 1fr;
  }

  .sources6 li,
  .sources6 li:nth-child(even) {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px 0;
    border-left: 0;
  }

  .sources6 .tile {
    grid-row: span 2;
  }

  .sources6 h3 {
    margin-top: 0;
    font-size: 1.25rem;
  }

  .sources6 p {
    margin-top: 2px;
  }
}

/* Shared by the web-search replica (.wc-chip, .wc-caret). */
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.96);
  }
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* ---------- platform tabs ---------- */

.tablist {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 20px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.tab::before,
.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
}

.tab::after {
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.tab-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tab-title svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  opacity: 0.8;
}

.tab-body {
  display: none;
}

.tab:hover,
.tab[aria-selected="true"] {
  color: var(--ink);
}

.panel-caption {
  min-height: 3.3em;
  margin: 24px 0 28px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 40em;
  text-wrap: pretty;
}

.panel-caption.swap {
  animation: caption-in 0.6s var(--ease) both;
}

@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.platform-stage .canvas {
  padding: clamp(14px, 4.5vw, 64px);
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
  animation: panel-in 0.7s var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
}

@media (max-width: 980px) {
  .tablist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border: 0;
  }

  .tab {
    padding: 10px 12px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-ui);
    overflow: hidden;
  }

  .tab::after {
    bottom: 0;
  }

  .tab-title {
    font-family: var(--sans);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0;
    gap: 8px;
  }

  .tab-title svg {
    width: 15px;
    height: 15px;
  }

  .tab[aria-selected="true"] {
    background: var(--white);
    border-color: var(--ink);
  }

  .panel-caption {
    font-size: var(--fs-body);
    margin: 18px 0 20px;
  }
}

@media (max-width: 520px) {
  .tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- feature rows ---------- */

.features {
  display: grid;
  gap: clamp(88px, 11vw, 160px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.feature--flip {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.feature--flip .feature-copy {
  order: 2;
}

.feature-copy .h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  margin-top: 16px;
}

.feature-copy p {
  margin-top: 20px;
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}

.facts {
  margin-top: 28px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 30em;
}

.facts div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}

.facts dd {
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.45;
}

.feature .canvas {
  padding: clamp(14px, 3.6vw, 52px);
}

.feature .window img {
  aspect-ratio: auto;
}

@media (max-width: 980px) {
  .feature,
  .feature--flip {
    grid-template-columns: 1fr;
  }

  .feature--flip .feature-copy {
    order: 0;
  }
}

/* ---------- dark band: film + numbers ---------- */

.night {
  background: var(--night);
  color: var(--on-night);
}

.night .eyebrow,
.night .muted {
  color: var(--on-night-muted);
}

.night .lead {
  color: rgba(237, 236, 231, 0.78);
}

.film {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-canvas);
  overflow: hidden;
  background-color: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.film video {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.film.canvas {
  padding: 0;
  text-align: left;
  color: var(--on-night);
}

.film-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(24px, 6vw, 88px);
}

.film-mark {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(237, 236, 231, 0.7);
}

.film-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
  max-width: 10em;
}

.film-title em {
  font-style: italic;
  font-weight: 300;
}

.film-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: var(--fs-small);
  color: rgba(237, 236, 231, 0.62);
}

@media (max-width: 640px) {
  .film-tools {
    display: none;
  }

  .film-poster {
    justify-content: flex-start;
    gap: 8px;
    padding: 18px 20px;
  }

  .film-title {
    font-size: 1.9rem;
  }
}

.film-play {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}

.film-play i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
}

.film-play i svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.film:hover .film-play {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .film-play {
    left: 14px;
    bottom: 14px;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    font-size: var(--fs-xs);
  }

  .film-play i {
    width: 36px;
    height: 36px;
  }
}

/* ---------- film player (custom controls: no native menu, no download) ---------- */

.film-player {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.film-player video {
  z-index: 0;
}

.fp-ui {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(12px, 1.8vw, 24px);
  transition: opacity 0.35s var(--ease);
}

.film-player.is-idle .fp-ui {
  opacity: 0;
  pointer-events: none;
}

.film-player.is-idle {
  cursor: none;
}

.fp-btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.8);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s;
}

.fp-btn:hover {
  background: rgba(20, 20, 20, 0.95);
}

.fp-btn--light {
  background: rgba(110, 110, 110, 0.6);
}

.fp-btn--light:hover {
  background: rgba(80, 80, 80, 0.8);
}

.fp-btn svg {
  width: 18px;
  height: 18px;
}

.fp-btn:focus-visible,
.fp-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.fp-track {
  position: relative;
  flex: 1;
  height: 28px;
  cursor: pointer;
  touch-action: none;
  border-radius: 4px;
}

.fp-track::before,
.fp-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  transition: height 0.2s, margin 0.2s;
}

.fp-track::before {
  background: rgba(90, 90, 90, 0.55);
}

/* White progress with a hairline shadow, so it reads on both the light and the dark scenes. */
.fp-fill {
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.fp-track:hover::before,
.fp-track:hover .fp-fill,
.fp-track.is-drag::before,
.fp-track.is-drag .fp-fill {
  height: 4px;
  margin-top: -2px;
}

.film-player:fullscreen {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.film-player:-webkit-full-screen {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

@media (max-width: 640px) {
  .fp-ui {
    gap: 10px;
    padding: 10px;
  }

  .fp-btn {
    width: 40px;
    height: 40px;
  }

  .fp-btn svg {
    width: 16px;
    height: 16px;
  }
}

.film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 45%);
  transition: opacity 0.4s;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line-night);
}

.num {
  padding: 28px 24px 0 0;
}

.num + .num {
  padding-left: 24px;
  border-left: 1px solid var(--line-night);
}

.num b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums lining-nums;
}

.num b i {
  font-style: normal;
}

.num b small {
  font-size: 0.42em;
  letter-spacing: -0.01em;
  margin-left: 4px;
}

.num span {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--on-night-muted);
  max-width: 14em;
}

@media (max-width: 980px) {
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .num,
  .num + .num {
    padding: 22px 0 26px;
    border-left: 0;
    border-top: 1px solid var(--line-night);
  }

  .num:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line-night);
  }

  .num:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- security ---------- */

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.sec {
  padding: 28px 28px 8px 0;
}

.sec + .sec {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.sec svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.sec h3 {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sec p {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  line-height: 1.6;
}

.security-foot {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.security-foot p {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 44em;
}

@media (max-width: 980px) {
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .sec,
  .sec + .sec {
    padding: 24px 0 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sec:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .security-grid {
    grid-template-columns: 1fr;
  }

  .sec:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- practice ---------- */

.practice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.practice-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-canvas);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.practice-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(18, 20, 18, 0.35);
}

.practice-item .canvas {
  border-radius: 0;
  padding: 26px 26px 0;
  height: 210px;
  display: flex;
  align-items: flex-end;
}

.practice-item .window {
  width: 100%;
  border-radius: 8px 8px 0 0;
  padding: 16px 16px 20px;
  font-size: 12.5px;
  color: #404040;
}

.practice-body {
  padding: 26px 26px 30px;
}

.practice-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.practice-body p {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.mini-q {
  display: block;
  margin-left: auto;
  width: fit-content;
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f5f4;
  color: #141414;
  line-height: 1.45;
}

.mini-src {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mini-src span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 8px 0 5px;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  font-size: 11.5px;
  color: #404040;
  white-space: nowrap;
}

.mini-src i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .practice {
    grid-template-columns: 1fr;
  }
}

/* ---------- blog teaser ---------- */

.insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.insight a {
  display: grid;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

/* Same mark as the blog's cards, so an article keeps one cover across the site */
.insight-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: clamp(18px, 2vw, 26px);
  text-align: center;
  transition: transform 0.6s var(--ease);
}

.insight-cover span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--on-night);
  max-width: 8em;
  text-wrap: balance;
}

.insight a:hover .insight-cover {
  transform: translateY(-4px);
}

.insight-meta {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
}

.insight-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
  text-wrap: balance;
}

.insight a:hover .insight-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 880px) {
  .insights {
    grid-template-columns: 1fr;
  }

  .insight a {
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
  }

  .insight-cover {
    grid-row: 1 / span 2;
    aspect-ratio: 1;
    padding: 12px;
  }

  .insight-cover span {
    font-size: 1.15rem;
  }
}

/* ---------- faq ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6.5px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list .answer {
  padding: 0 48px 26px 0;
  color: var(--ink-2);
  max-width: 40em;
}

.faq-list .answer p + p {
  margin-top: 12px;
}

@media (max-width: 880px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-list .answer {
    padding-right: 0;
  }
}

/* ---------- closing ---------- */

.closing {
  padding: 0 10px 10px;
}

.closing-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-canvas);
  min-height: clamp(520px, 62vw, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  isolation: isolate;
}

.closing-frame img {
  position: absolute;
  top: -9%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--shift, 0px), 0);
}

.closing-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 70% at 50% 55%, rgba(6, 8, 7, 0.52), rgba(6, 8, 7, 0.22));
}

.closing-inner {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 48px 24px;
}

.closing-inner .display {
  font-size: clamp(2.6rem, 6.2vw, 5.5rem);
  max-width: 11em;
}

.closing-inner p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.86);
  max-width: 30em;
}

/* ---------- footer ---------- */

.footer {
  background: var(--night);
  color: var(--on-night);
  padding: clamp(64px, 8vw, 104px) 0 max(env(safe-area-inset-bottom), 36px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.footer-brand img {
  height: 24px;
  width: auto;
  filter: invert(1);
}

.footer-brand p {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  max-width: 14em;
  color: var(--on-night);
}

.footer-col h2 {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-night-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.footer-col a {
  display: inline-block;
  padding: 8px 0;
  font-size: var(--fs-small);
  text-decoration: none;
  color: var(--on-night);
  opacity: 0.86;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line-night);
  font-size: var(--fs-xs);
  color: var(--on-night-muted);
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .canvas,
  .platform-stage .canvas,
  .feature .canvas {
    padding: 12px;
  }

  .showcase .canvas {
    padding: 12px 12px 24px;
  }

  .steps {
    padding-inline: 8px;
  }

  .platform-stage .window video {
    aspect-ratio: 4 / 3.4;
    object-position: 60% 30%;
  }


  .announce .long {
    display: none;
  }
}

@media (min-width: 641px) {
  .announce .short {
    display: none;
  }
}

/* ---------- reveal ---------- */

.js .rv {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

.js .rv-scale {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.965);
  transition:
    opacity 1s var(--ease),
    transform 1.3s var(--ease);
}

.js .rv-scale.in {
  opacity: 1;
  transform: none;
}

.hero .display span,
.hero-side > * {
  animation: rise 1.1s var(--ease) both;
}

.hero .display span:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-side > :nth-child(1) {
  animation-delay: 0.3s;
}

.hero-side > :nth-child(2) {
  animation-delay: 0.42s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .rv,
  .js .rv-scale {
    opacity: 1;
    transform: none;
  }

  .window,
  .closing-frame img {
    transform: none !important;
  }
}

/* ---------- web search settings replica (Fuentes menu › Web › Configurar sitios) ----------
   Hand-built from the product's FuentesMenuSources component; --u scales every product px. */

.tex-teal {
  background-image: url("media/tex/teal.jpg");
  background-color: #152624;
}

.webcfg-stage {
  --u: 1.28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  /* Tall enough for the fully expanded panel, so the page doesn't shift while the demo animates. */
  min-height: calc(446 * var(--u) + 2 * clamp(20px, 4vw, 48px));
}

.webcfg {
  width: min(calc(340 * var(--u)), 100%);
  font-family: var(--sans);
  color: #141414;
  transform: translate3d(0, var(--lift, 0px), 0);
}

.wc-menu {
  display: grid;
  gap: calc(2 * var(--u));
  padding: calc(6 * var(--u));
  border: 1px solid #e5e7eb;
  border-radius: calc(8 * var(--u));
  background: #fff;
  box-shadow: 0 24px 48px -20px rgba(10, 12, 11, 0.45), 0 2px 8px rgba(10, 12, 11, 0.08);
}

.wc-row {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  padding: calc(10 * var(--u));
  border-radius: calc(8 * var(--u));
  min-width: 0;
  flex: 1;
}

.wc-row .tile {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: calc(7 * var(--u));
}

.wc-row .tile svg {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}

.wc-name {
  font-size: calc(14 * var(--u));
  font-weight: 600;
  color: #374151;
}

.wc-check {
  margin-left: auto;
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  color: #000;
}

.wc-web {
  border-radius: calc(8 * var(--u));
  transition: background-color 0.3s;
}

.wc-web.is-on {
  background: #f9fafb;
}

.wc-web .wc-check {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  opacity: 0;
  transition: opacity 0.25s;
}

.wc-web.is-on .wc-check {
  opacity: 1;
}

.wc-web.is-on .wc-name {
  color: #000;
}

.wc-webhead {
  display: flex;
  align-items: center;
}

.wc-namewrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.wc-scope {
  font-size: calc(10 * var(--u));
  color: #9ca3af;
  line-height: 1.3;
  min-height: 1.3em;
}

.wc-gear {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border-radius: calc(8 * var(--u));
  color: #9ca3af;
  transition: background-color 0.25s, color 0.25s;
}

.wc-gear svg {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.wc-web.is-open .wc-gear {
  background: #f3f4f6;
  color: #374151;
}

.wc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.wc-web.is-open .wc-panel {
  grid-template-rows: 1fr;
}

.wc-panel > div {
  overflow: hidden;
}

.wc-inner {
  display: grid;
  gap: calc(10 * var(--u));
  padding: calc(4 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u)) calc(12 * var(--u));
}

.wc-radios {
  display: grid;
  gap: calc(2 * var(--u));
}

.wc-radio {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--u));
  padding: calc(4 * var(--u));
  border-radius: calc(8 * var(--u));
}

.wc-dot {
  position: relative;
  flex: 0 0 auto;
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  margin-top: calc(2 * var(--u));
  border: 1px solid #d1d5db;
  border-radius: 50%;
  transition: border-color 0.2s;
}

.wc-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  border-radius: 50%;
  background: #111827;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.wc-radio.is-sel .wc-dot {
  border-color: #111827;
}

.wc-radio.is-sel .wc-dot::after {
  transform: scale(1);
}

.wc-radio b {
  display: block;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  color: #1f2937;
}

.wc-radio small {
  display: block;
  font-size: calc(11 * var(--u));
  line-height: 1.35;
  color: #9ca3af;
}

.wc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--u));
}

.wc-chips:empty {
  display: none;
}

.wc-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: calc(2 * var(--u)) calc(8 * var(--u));
  border: 1px solid #e5e7eb;
  border-radius: calc(6 * var(--u));
  background: #fff;
  font-size: calc(11 * var(--u));
  color: #374151;
  animation: chip-in 0.4s var(--ease) both;
}

.wc-chip svg {
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  color: #9ca3af;
}

.wc-add {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--u));
}

.wc-input,
.wc-textarea {
  flex: 1;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: calc(6 * var(--u));
  background: #fff;
  font-size: calc(12 * var(--u));
  color: #1f2937;
}

.wc-input {
  display: flex;
  align-items: center;
  min-height: calc(36 * var(--u));
  padding: 0 calc(8 * var(--u));
  white-space: nowrap;
  overflow: hidden;
}

.wc-input.is-focus,
.wc-textarea.is-focus {
  border-color: #9ca3af;
}

.wc-input .ph {
  color: #9ca3af;
}

.wc-btn {
  display: grid;
  place-items: center;
  min-height: calc(36 * var(--u));
  padding: 0 calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #111827;
  color: #fff;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.15s;
}

.wc-btn.is-ready {
  opacity: 1;
}

.wc-btn.is-press {
  transform: scale(0.95);
}

.wc-desc p {
  margin-bottom: calc(4 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 500;
  color: #4b5563;
}

.wc-textarea {
  min-height: calc(46 * var(--u));
  padding: calc(6 * var(--u)) calc(8 * var(--u));
  line-height: 1.45;
}

.wc-caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: #111827;
  animation: caret 1s steps(1) infinite;
}

.wc-faded {
  opacity: 0.55;
}

@media (max-width: 640px) {
  .webcfg-stage {
    --u: 1px;
    min-height: calc(446px + 56px);
    padding: 28px 12px;
  }
}
