/* Kuska, página pública de kuskaclub.com
   Los valores salen de los tokens del design system (tokens.css). */

:root {
  --neutral-0: #ffffff;
  --neutral-25: #f5f6f2;
  --neutral-100: #e3e6e0;
  --neutral-200: #d5dad2;
  --neutral-700: #4a544e;
  --neutral-950: #0e1512;
  --green-50: #eef7e4;
  --green-600: #1f7a4d;
  --forest-100: #d6e8c8;
  --forest-300: #a7c98c;
  --forest-600: #2b6b44;
  --forest-700: #1f5a35;
  --lime-100: #ddf4b4;
  --lime-800: #2f5a0e;
  --blue-300: #9cc3ee;
  --blue-600: #2f6fb3;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-text: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 1px 2px #101a150f;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-950);
  background: var(--neutral-25);
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--green-600); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--blue-300); }

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--neutral-0);
  color: var(--neutral-950);
  font-weight: 700;
  border-radius: 12px;
}
.skip:focus { top: 16px; }

/* ---------- piezas ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--lime-100);
  color: var(--lime-800);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-light { background: var(--lime-100); color: var(--forest-700); }
.btn-light:hover { background: var(--neutral-0); }

.btn-line { border-color: var(--forest-300); color: var(--neutral-0); }
.btn-line:hover { border-color: var(--neutral-0); }

.btn-green { background: var(--green-600); color: var(--neutral-0); }
.btn-green:hover { background: var(--forest-600); }

.overline {
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- franja verde: encabezado y hero ---------- */

.band-hero { background: var(--forest-700); color: var(--neutral-0); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.top .logo { display: block; line-height: 0; }
.top .logo img { height: 32px; width: auto; }

.top-links { display: flex; align-items: center; gap: 8px; }
.top-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--forest-100);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  text-decoration: none;
}
.top-links a:hover { color: var(--neutral-0); background: var(--forest-600); }

.hero { padding-block: 32px 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }

.hero h1 {
  margin-top: 20px;
  font-size: 40px;
  line-height: 44px;
  max-width: 14ch;
}
.hero .lead {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 28px;
  color: var(--forest-100);
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-mark { width: min(220px, 56%); }
.hero-mark img { width: 100%; height: auto; }

/* ---------- secciones ---------- */

section { padding-block: 64px; }

.head { max-width: 62ch; }
.head h2 { margin-top: 12px; font-size: 28px; line-height: 32px; }
.head p { margin-top: 16px; color: var(--neutral-700); font-size: 18px; line-height: 28px; }

.cards { display: grid; gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--neutral-0);
  border: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 8px; font-size: 20px; line-height: 26px; font-weight: 800; }
.card p { margin-top: 8px; color: var(--neutral-700); }

.band-soft { background: var(--green-50); }
.band-soft .inner { max-width: 720px; }
.band-soft h2 { margin-top: 12px; font-size: 28px; line-height: 32px; }
.band-soft p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--neutral-700); }

.band-white { background: var(--neutral-0); border-block: 1px solid var(--neutral-100); }
.two { display: grid; gap: 32px; }
.stack { display: grid; gap: 24px; }
.stack h3 { font-size: 18px; line-height: 24px; font-weight: 800; }
.stack p { margin-top: 4px; color: var(--neutral-700); }
.free {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  color: var(--forest-700);
  font-weight: 700;
}
.cta { margin-top: 32px; }

.quote {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--forest-700);
  color: var(--neutral-0);
}
.quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.01em;
}
.quote footer { margin-top: 16px; color: var(--forest-100); font-size: 14px; line-height: 20px; font-weight: 600; }

.facts { margin-top: 32px; display: grid; gap: 16px; }
.facts div { padding-top: 16px; border-top: 1px solid var(--neutral-200); }
.facts dt { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-600); }
.facts dd { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- pie ---------- */

.site-foot { background: var(--forest-700); color: var(--forest-100); padding-block: 40px; }
.site-foot .wrap { display: grid; gap: 24px; }
.site-foot .logo { display: block; line-height: 0; }
.site-foot .logo img { height: 28px; width: auto; }
.site-foot p { font-size: 14px; line-height: 20px; max-width: 60ch; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--neutral-0);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- pantallas anchas ---------- */

@media (min-width: 880px) {
  .hero { padding-block: 56px 112px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .hero h1 { font-size: 56px; line-height: 60px; }
  .hero-mark { justify-self: end; width: min(100%, 360px); }

  section { padding-block: 96px; }
  .head h2, .band-soft h2 { font-size: 36px; line-height: 40px; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .two { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .quote { padding: 40px; }
  .quote p { font-size: 32px; line-height: 36px; }

  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: end; }
}

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