/* ==========================================================================
   TI Ninja — Shadow Infrastructure
   Design system tokens per TIN_MKT_Manual_de_Marca.md
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  --font-head: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --primary: #84cc16;          /* Ninja Lime */
  --primary-contrast: #0b1d00;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --container: 1120px;
  --gutter: 48px;
}

/* Shadow Infrastructure — Dark Mode (default) */
:root,
:root[data-theme="dark"] {
  --bg: #101415;               /* Deep Void */
  --bg-alt: #15191b;
  --surface: #171b1d;
  --surface-glass: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f7f5;
  --text-muted: #b7bec0;
  --text-faint: #7d8688;
  --secondary: #4c1d95;        /* Deep Purple */
  --secondary-text: #f5f0ff;
  --nav-bg: rgba(16, 20, 21, 0.72);
  --panel: linear-gradient(160deg, #4c1d95, #17102b);
  --shadow-console: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

/* Shadow Infrastructure Light */
:root[data-theme="light"] {
  --bg: #f8fafb;
  --bg-alt: #eef1f3;
  --surface: #ffffff;
  --surface-glass: rgba(15, 23, 42, 0.03);
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #3f4a5a;
  --text-faint: #64748b;
  --secondary: #0f172a;
  --secondary-text: #f8fafb;
  --nav-bg: rgba(248, 250, 251, 0.82);
  --panel: #0f172a;
  --shadow-console: 0 30px 60px -30px rgba(15, 23, 42, 0.25);
}

/* --- Reset -------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Shared primitives -------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--gutter);
}

.container--tight { max-width: 1000px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 18px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 780px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 22px;
}

.section-lead:last-of-type { margin-bottom: 48px; }

.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 20px;
}

.prose em { color: var(--text); font-style: italic; }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 8px 30px -8px rgba(132, 204, 22, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-primary:hover,
.btn-outline:hover { transform: translateY(-2px); }
.btn-outline:hover { border-color: var(--primary); }

/* --- Nav ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 38px; width: auto; }

/* Logo swaps with the theme: light art on dark bg, colour art on light bg. */
.logo--dark-bg { display: block; }
.logo--light-bg { display: none; }
:root[data-theme="light"] .logo--dark-bg { display: none; }
:root[data-theme="light"] .logo--light-bg { display: block; }

.nav__links { display: flex; gap: 32px; }

.nav__link {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav__link:hover { color: var(--text); }

.nav__link[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: var(--primary);
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--primary); }
.theme-toggle svg { width: 17px; height: 17px; }

/* Only the icon matching the active theme is painted. */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }

.nav__cta {
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --- Reveal on scroll --------------------------------------------------- */

/* Scoped to .js so the content stays visible if the script never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Hero (Home) -------------------------------------------------------- */

/* The decorative layers live on the full-bleed wrapper so the glow and the dot
   grid run edge to edge; only the content is constrained to the container. */
.hero-wrap {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 96px var(--gutter) 120px;
  /* Matches .container so the hero and the sections below share one text edge. */
  max-width: var(--container);
  margin: 0 auto;
}

.hero__glow,
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__glow {
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 30%),
    rgba(132, 204, 22, 0.1),
    transparent 60%
  );
}

.hero__grid {
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero__content,
.hero__aside { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 38px;
}

/* Status console */

.console {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-console);
}

.console__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.console__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.console__dot--red { background: #ef4444; }
.console__dot--yellow { background: #eab308; }
.console__dot--green { background: var(--primary); }

.console__title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 8px;
}

.console__scan {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(132, 204, 22, 0.09), transparent);
  animation: tin-scan 5s linear infinite;
  pointer-events: none;
}

.console__body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}

.console__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-muted);
}

.console__line--lead { color: var(--text); font-weight: 600; }

.console__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.console__line--lead .console__pulse { animation: tin-pulse 1.8s ease-in-out infinite; }

@keyframes tin-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes tin-scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(420%); }
}

@media (prefers-reduced-motion: reduce) {
  .console__scan,
  .console__line--lead .console__pulse { animation: none; }
  .console__scan { display: none; }
}

/* --- The blame chain ---------------------------------------------------- */

.chain {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 40px;
}

.chain__node {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 700;
}

.chain__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chain__arrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--text-faint);
}

.chain__arrow span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
}

/* --- Stat callout ------------------------------------------------------- */

.stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-glass), transparent);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat__text {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
  max-width: 460px;
}

/* --- Card grid --------------------------------------------------------- */

.card-grid {
  display: grid;
  /* 236px keeps four cards on one row inside the 1120px container. */
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: 20px;
}

.card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--primary); }

.card__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 14px;
}

.card__title { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.card__desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* --- Steps ------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step { border-top: 2px solid var(--primary); padding-top: 20px; }

.step__n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.step__title { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.step__desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* --- Dark / purple panel ----------------------------------------------- */

.panel {
  background: var(--panel);
  color: var(--secondary-text);
}

.panel .kicker { color: var(--primary); }

.panel__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 24px;
  max-width: 640px;
}

.panel p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 240, 255, 0.78);
  max-width: 680px;
  margin: 0 0 20px;
}

.panel__footnote {
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 240, 255, 0.6) !important;
  margin-top: 36px !important;
}

.refuse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.refuse {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.refuse__mark { color: var(--primary); font-weight: 800; font-size: 18px; line-height: 1.4; }
.refuse__text { font-size: 16px; font-weight: 600; line-height: 1.5; }

.panel .btn-outline {
  color: var(--secondary-text);
  border-color: rgba(255, 255, 255, 0.28);
}

/* --- Values (brand attributes) ----------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding-top: 10px;
}

.value__title { font-size: 19px; font-weight: 800; margin: 0 0 10px; }

.value__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 240, 255, 0.75);
  margin: 0;
}

/* --- Final CTA --------------------------------------------------------- */

.final-cta {
  max-width: 820px;
  margin: 0 auto;
  padding: 130px var(--gutter) 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.final-cta__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 40px;
}

/* --- Interior page hero ------------------------------------------------ */

/* Interior pages sit on .container--tight, so the hero uses the same width. */
.page-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px var(--gutter) 56px;
}

.page-hero__title {
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 840px;
}

.page-hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 660px;
  margin: 0;
}

/* --- Serviços: numbered rows ------------------------------------------- */

.svc-list { border-bottom: 1px solid var(--border); }

.svc {
  display: flex;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.svc:first-child { border-top: none; padding-top: 0; }

.svc__num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--primary);
  padding-top: 4px;
  width: 54px;
  flex-shrink: 0;
}

.svc__body { flex: 1; }
.svc__title { font-size: clamp(20px, 3vw, 24px); font-weight: 800; margin: 0 0 12px; }

.svc__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 640px;
}

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-faint);
}

.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Sobre: story + pillar --------------------------------------------- */

.story {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.pillar {
  padding: 30px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.pillar__title { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.pillar__text { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin: 0; }

/* --- Contato ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-list { border-top: 1px solid var(--border); margin-top: 40px; }

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

a.info-item:hover .info-value { color: var(--primary); }

.info-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value { font-size: 15.5px; font-weight: 700; text-align: right; }

.form-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}

.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-muted); }

.field input,
.field textarea {
  font-family: var(--font-head);
  font-size: 15px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  width: 100%;
}

.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary); }

.field textarea { min-height: 100px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field--invalid input,
.field--invalid textarea { border-color: #ef4444; }

.field__error {
  font-size: 12.5px;
  color: #ef4444;
  font-weight: 600;
  display: none;
}

.field--invalid .field__error { display: block; }

.form-card .btn-primary { width: 100%; border: none; }

.form-note {
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.55;
  margin: 16px 0 0;
}

.success {
  padding: 24px;
  border-radius: 14px;
  background: rgba(132, 204, 22, 0.12);
  border: 1px solid rgba(132, 204, 22, 0.4);
}

.success__title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.success__text { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

[hidden] { display: none !important; }

/* --- Footer ------------------------------------------------------------ */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px var(--gutter) 32px;
  background: var(--bg-alt);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto 40px;
}

.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand img { height: 40px; width: auto; }

.footer__tagline {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
  margin: 0;
}

.footer__col { display: flex; flex-direction: column; gap: 12px; }

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer__link,
.footer__static {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.footer__link:hover { color: var(--primary); }

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer__bottom a { color: var(--text-muted); font-weight: 700; }
.footer__bottom a:hover { color: var(--primary); }

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 1024px) {
  :root { --gutter: 32px; }

  .hero { grid-template-columns: 1fr; gap: 56px; padding: 72px var(--gutter) 96px; }
  .hero__aside { max-width: 560px; }
  .hero__sub { max-width: none; }
  .story,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .container { padding: 84px var(--gutter); }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__cta { display: none; }

  .nav__burger { display: flex; }

  .nav {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    order: 3;
    padding: 16px 0 8px;
    margin-top: 14px;
    border-top: 1px solid var(--border);
  }

  .nav__links.is-open .nav__link {
    padding: 10px 0;
    border-bottom: none;
    font-size: 16px;
  }

  .nav__links.is-open .nav__link[aria-current="page"] { color: var(--primary); }

  /* The header CTA is hidden on small screens — reinstate it inside the drawer. */
  .nav__links.is-open .nav__cta--mobile {
    display: block;
    margin-top: 10px;
    padding: 14px 20px;
    text-align: center;
    font-size: 15px;
  }
}

.nav__cta--mobile { display: none; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .container { padding: 64px var(--gutter); }
  .page-hero { padding: 56px var(--gutter) 40px; }
  .final-cta { padding: 80px var(--gutter) 96px; }
  .footer { padding: 48px var(--gutter) 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }

  .svc { flex-direction: column; gap: 12px; }
  .svc__num { width: auto; padding-top: 0; }

  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }
  .form-card { padding: 24px; }

  .info-item { flex-direction: column; gap: 4px; }
  .info-value { text-align: left; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-primary,
  .btn-outline { text-align: center; }

  .chain { gap: 8px; }
  .chain__arrow { transform: rotate(90deg); margin: 4px 0; }
}
