/* ---------------------------------------------------------------------------
   Hola Mundo LLC — helloworld.ar
   Static site, no frameworks.
--------------------------------------------------------------------------- */

:root {
  --ink: #101418;
  --ink-soft: #3d4650;
  --ink-muted: #6b7680;
  --paper: #ffffff;
  --paper-alt: #f5f7f9;
  --line: #e3e8ec;
  --accent: #e8425a;      /* nerdearla red */
  --accent-teal: #2aa198; /* nerdearla teal */
  --accent-gold: #f0a500; /* nerdearla gold */
  --mono: "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1080px, 100% - 3rem);
  margin-inline: auto;
}

.container.narrow { max-width: 760px; }

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

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

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--ink);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.brand-name {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  padding: 6.5rem 0 5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(42, 161, 152, 0.08), transparent 60%),
    radial-gradient(50rem 28rem at 10% 110%, rgba(232, 66, 90, 0.07), transparent 60%),
    var(--paper);
}

.hero-kicker,
.section-kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
}

.hero-lede {
  max-width: 46rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 0 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover { box-shadow: 0 6px 18px rgba(16, 20, 24, 0.25); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.btn-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 0.65rem 1.4rem;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* --- Stats ---------------------------------------------------------------- */

.stats {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --- Sections ------------------------------------------------------------- */

.section { padding: 5.5rem 0; }

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}

.section p { color: var(--ink-soft); }

/* --- Product sections ------------------------------------------------------ */

.product-sysarmy { background: var(--paper-alt); }

.product-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

.product-grid.reverse .product-media { order: 2; }
.product-grid.reverse .product-body { order: 1; }

.product-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-sysarmy .product-media { background: var(--paper); }
.product-nerdearla .product-media { background: var(--paper-alt); }

.product-media img { max-height: 260px; width: auto; max-width: 100%; }

.product-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
}

.feature-list {
  padding: 0;
  margin: 1.4rem 0 2rem;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent-teal);
}

/* --- Cards ------------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 20, 24, 0.08);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--paper);
  margin: 0 0 1rem;
}

.footer-legal {
  max-width: 40rem;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
}

.footer-legal strong { color: var(--paper); }

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* --- Reveal animation ---------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

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

@media (max-width: 860px) {
  .product-grid,
  .product-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .product-grid.reverse .product-media { order: 0; }
  .product-grid.reverse .product-body { order: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .br-desktop { display: none; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }

  .nav-menu.open { display: flex; }

  .nav-menu li { padding: 0.55rem 0; }

  .hero { padding: 4.5rem 0 3.5rem; }

  .section { padding: 3.5rem 0; }
}
