:root {
  color-scheme: light;
  --page: #eef3f9;
  --page-2: #f7faff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-tint: #eaf1fb;
  --ink: #10223d;
  --ink-soft: #52667f;
  --line: rgba(31, 60, 105, 0.11);
  --line-strong: rgba(31, 60, 105, 0.18);
  --primary: #2458f5;
  --primary-2: #4b78ff;
  --primary-deep: #071b3f;
  --success: #2ea7a0;
  --shadow-sm: 0 8px 28px rgba(10, 24, 49, 0.06);
  --shadow-md: 0 18px 50px rgba(10, 24, 49, 0.1);
  --shadow-lg: 0 36px 90px rgba(6, 18, 40, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(36, 88, 245, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 167, 160, 0.06), transparent 24%),
    linear-gradient(180deg, var(--page) 0%, var(--page-2) 100%);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 4%, rgba(36, 88, 245, 0.09), transparent 18%),
    radial-gradient(circle at 80% 0%, rgba(17, 31, 72, 0.07), transparent 20%),
    linear-gradient(180deg, #eef4fb 0%, #f8fbff 52%, #eef3f9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), transparent 22%);
  opacity: 0.5;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.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;
}

.site-header,
.hero,
.stats,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 18px;
  margin-top: 16px;
  border: 1px solid rgba(16, 34, 61, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(36, 88, 245, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.96rem;
}

.brand-text small {
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 34, 61, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.header-cta {
  margin-left: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 16px 34px rgba(36, 88, 245, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(36, 88, 245, 0.28);
}

.button-secondary {
  border-color: rgba(16, 34, 61, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(36, 88, 245, 0.25);
  background: rgba(255, 255, 255, 0.92);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  padding: 86px 0 36px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px -40px -36px -40px;
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 10%, rgba(73, 108, 255, 0.2), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(46, 167, 160, 0.14), transparent 22%),
    linear-gradient(145deg, #0a1c44 0%, #0d2552 44%, #11306d 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -24px -40px -36px -40px;
  z-index: -1;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04), transparent 28%);
  mix-blend-mode: screen;
}

.hero-copy {
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  max-width: 14ch;
}

.lead,
.section-heading p,
.split-copy p,
.cta-box p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero .lead {
  max-width: 60ch;
  margin: 22px 0 0;
  color: rgba(234, 243, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li {
  padding: 10px 14px;
  border: 1px solid rgba(16, 34, 61, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(10, 24, 49, 0.04);
}

.hero .hero-points li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(243, 248, 255, 0.94);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.device-card,
.floating-card,
.info-card,
.feature-card,
.workflow-step,
.cta-box,
.split-panel,
.stats article,
.faq-list details,
.ops-card,
.trust-card {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}

.device-card {
  position: absolute;
  inset: 70px 24px 76px 54px;
  border-radius: 34px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(36, 88, 245, 0.08), transparent 26%);
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(16, 34, 61, 0.14);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
}

.panel-heading strong {
  color: var(--ink);
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.match-item {
  padding: 20px;
  min-height: 118px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 254, 0.96));
  color: var(--ink-soft);
  display: flex;
  align-items: flex-end;
}

.match-highlight {
  color: var(--ink);
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(36, 88, 245, 0.08), rgba(36, 88, 245, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 254, 0.96));
  border: 1px solid rgba(36, 88, 245, 0.14);
}

.floating-card {
  position: absolute;
  padding: 16px 18px;
  border-radius: 20px;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.floating-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.floating-card-top {
  top: 20px;
  right: 0;
}

.floating-card-bottom {
  left: 0;
  bottom: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 16px 0 30px;
}

.stats article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.stats span {
  color: var(--ink-soft);
}

.section {
  padding: 72px 0 10px;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 18px -8px 0 -8px;
  z-index: -1;
  border-radius: 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  margin-top: 16px;
}

.section-reverse .split-copy {
  order: 2;
  padding-right: 0;
  padding-left: 14px;
}

.section-reverse .split-panel {
  order: 1;
}

#problema::before,
#niveles::before,
#comunidad::before,
#operativa::before,
#faq::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
}

#automatch::before {
  background:
    radial-gradient(circle at 25% 15%, rgba(36, 88, 245, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(243, 248, 255, 0.9), rgba(235, 243, 252, 0.92));
}

#huecos::before {
  background:
    radial-gradient(circle at 85% 10%, rgba(46, 167, 160, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.92), rgba(239, 244, 251, 0.94));
}

#marca-blanca::before {
  background:
    radial-gradient(circle at 16% 12%, rgba(79, 122, 255, 0.14), transparent 22%),
    linear-gradient(145deg, #071b3f 0%, #0e2a5d 48%, #12356f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#marca-blanca,
#marca-blanca .eyebrow,
#marca-blanca h2,
#marca-blanca p,
#marca-blanca li,
#marca-blanca strong,
#marca-blanca span {
  color: rgba(245, 249, 255, 0.96);
}

#marca-blanca .eyebrow {
  color: #8fb1ff;
}

#marca-blanca .check-list li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 249, 255, 0.96);
}

#demo::before {
  background:
    radial-gradient(circle at 16% 10%, rgba(36, 88, 245, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(250, 252, 255, 0.92));
}

.problem-grid,
.feature-grid {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-board {
  display: grid;
  grid-template-columns: 1.25fr 0.35fr 1.55fr 0.35fr 1.35fr 0.35fr 1.55fr;
  gap: 12px;
  align-items: stretch;
}

.flow-node,
.flow-arrow {
  display: grid;
  place-items: center;
  min-height: 104px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.flow-node {
  padding: 18px;
  font-weight: 600;
}

.flow-node-strong {
  background:
    linear-gradient(135deg, rgba(36, 88, 245, 0.12), rgba(46, 167, 160, 0.08)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(36, 88, 245, 0.18);
}

.flow-arrow {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  background: transparent;
  border: 0;
}

.huecos-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: stretch;
}

.info-card-emphasis {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(36, 88, 245, 0.06), rgba(255, 255, 255, 0.8)),
    var(--surface-strong);
}

.huecos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.feature-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
}

.info-card h3,
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.info-card p,
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 18px -8px 0 -8px;
  z-index: -1;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 0%, rgba(36, 88, 245, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(245, 248, 253, 0.94), rgba(238, 243, 250, 0.96));
}

.section-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.split-copy {
  padding-right: 14px;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.split-panel {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.level-bars {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.level-row {
  display: grid;
  gap: 8px;
}

.level-row span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.level-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(16, 34, 61, 0.08);
  overflow: hidden;
}

.level-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px rgba(36, 88, 245, 0.22);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ops-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.ops-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.ops-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.ops-card li + li {
  margin-top: 8px;
}

.section-trust .section-heading {
  max-width: 840px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  padding: 22px 24px;
  border: 1px dashed rgba(16, 34, 61, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trust-card strong {
  font-size: 1.05rem;
}

.trust-card span {
  color: var(--ink-soft);
}

.mini-screen {
  width: min(100%, 390px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 254, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(36, 88, 245, 0.08), transparent 30%);
  border: 1px solid rgba(16, 34, 61, 0.08);
  box-shadow: var(--shadow-md);
}

.mini-screen-header {
  height: 46px;
  background: linear-gradient(90deg, rgba(36, 88, 245, 0.86), rgba(46, 167, 160, 0.7));
}

.mini-screen-body {
  padding: 24px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 88, 245, 0.09);
  color: var(--primary);
  font-weight: 700;
}

.mini-line {
  height: 14px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(16, 34, 61, 0.08);
}

.mini-line.strong {
  width: 78%;
  height: 18px;
  background: rgba(16, 34, 61, 0.14);
}

.mini-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.mini-row span {
  flex: 1;
  height: 88px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(36, 88, 245, 0.14), rgba(46, 167, 160, 0.08)),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(36, 88, 245, 0.08);
}

.split-panel-brand {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 8%, rgba(79, 122, 255, 0.12), transparent 24%),
    linear-gradient(145deg, #071b3f 0%, #0e2a5d 48%, #12356f 100%);
}

.club-app {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(13, 32, 74, 0.92), rgba(9, 24, 58, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(79, 122, 255, 0.18), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.club-app-top {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.club-app-top strong {
  font-size: 1.3rem;
}

.club-app-top span {
  color: rgba(245, 249, 255, 0.78);
}

.club-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(245, 249, 255, 0.96);
  font-weight: 700;
}

.club-app-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.club-tile {
  min-height: 104px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-end;
  color: rgba(245, 249, 255, 0.96);
  font-weight: 600;
}

.club-tile-main {
  grid-column: 1 / -1;
  min-height: 140px;
  background:
    linear-gradient(135deg, rgba(36, 88, 245, 0.34), rgba(46, 167, 160, 0.16)),
    rgba(255, 255, 255, 0.06);
}

.cta-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 255, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(36, 88, 245, 0.08), transparent 28%);
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.demo-form label:nth-child(3) {
  grid-column: 1 / -1;
}

.demo-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.demo-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 34, 61, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.demo-form input::placeholder {
  color: rgba(82, 102, 127, 0.62);
}

.demo-form .button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list p {
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 0 48px;
  color: var(--ink-soft);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
}

.section-autonomy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #071b3f 0%, #102e5a 62%, #17686a 100%);
  color: #fff;
}

.section-autonomy::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.035), 0 0 0 86px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.autonomy-layout,
.autonomy-benefits {
  position: relative;
  z-index: 1;
}

.autonomy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.section-autonomy .eyebrow,
.section-autonomy h2,
.section-autonomy p {
  color: #fff;
}

.autonomy-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.autonomy-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.autonomy-copy .button {
  margin-top: 10px;
}

.autonomy-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.autonomy-panel-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
}

.autonomy-panel-heading small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 500;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a8d83b;
  box-shadow: 0 0 0 5px rgba(168, 216, 59, 0.16);
}

.autonomy-controls {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.autonomy-controls div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.autonomy-controls b {
  color: #c9ed74;
  font-size: 0.82rem;
  white-space: nowrap;
}

.autonomy-panel-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.autonomy-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.autonomy-benefits article {
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
}

.autonomy-benefits strong,
.autonomy-benefits span {
  display: block;
}

.autonomy-benefits strong {
  color: #fff;
  font-size: 0.92rem;
}

.autonomy-benefits span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.5;
}

.section-class-offers {
  position: relative;
  overflow: hidden;
}

.section-class-offers::before {
  position: absolute;
  inset: 12% -10% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(36, 88, 245, 0.08);
  content: "";
  filter: blur(4px);
  pointer-events: none;
}

.class-offers-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.class-offers-flow,
.class-offers-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.class-offers-flow {
  display: grid;
  gap: 12px;
}

.class-offer-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f7faff;
}

.class-offer-step > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.class-offer-step strong,
.class-offer-step p {
  display: block;
}

.class-offer-step strong {
  color: var(--ink);
}

.class-offer-step p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.class-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.class-preview-label {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.class-preview-date {
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: right;
}

.class-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.class-preview-card + .class-preview-card {
  margin-top: 12px;
}

.class-preview-card-highlight {
  border-color: rgba(36, 88, 245, 0.22);
  box-shadow: 0 14px 30px rgba(36, 88, 245, 0.1);
}

.class-preview-card strong,
.class-preview-card span,
.class-preview-card small {
  display: block;
}

.class-preview-card strong {
  color: var(--ink);
}

.class-preview-card span,
.class-preview-card small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.class-preview-card b {
  align-self: start;
  padding: 7px 9px;
  border-radius: 10px;
  background: #eaf1ff;
  color: var(--primary);
  font-size: 0.86rem;
  white-space: nowrap;
}

.class-preview-card button {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer-links a {
  color: var(--primary);
  font-weight: 700;
}

.privacy-page {
  min-height: 100vh;
  background: var(--surface);
}

.privacy-main {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 90px 0 36px;
}

.privacy-intro,
.privacy-section {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(16, 34, 61, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.privacy-intro {
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
}

.privacy-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.privacy-intro h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.privacy-intro > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.privacy-section + .privacy-section {
  margin-top: 18px;
}

.privacy-section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.privacy-section h3 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.privacy-section p,
.privacy-section li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.privacy-section p {
  margin: 0 0 12px;
}

.privacy-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.privacy-section li + li {
  margin-top: 8px;
}

.privacy-section a {
  color: var(--primary);
  font-weight: 700;
}

.privacy-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.privacy-fact {
  padding: 18px;
  border: 1px solid rgba(16, 34, 61, 0.08);
  border-radius: 18px;
  background: #f7faff;
}

.privacy-fact strong,
.privacy-fact span {
  display: block;
}

.privacy-fact strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.privacy-fact span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.privacy-note {
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: #eef5ff;
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .privacy-main {
    padding-top: 58px;
  }

  .privacy-facts {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-links {
    justify-content: flex-start;
    gap: 10px;
  }
}

@supports (animation-timeline: view()) {
  .section,
  .stats {
    animation: fade-up 0.8s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .hero::after {
    animation: float-hero 14s ease-in-out infinite alternate;
  }

  .device-card,
  .split-panel-brand,
  .club-app,
  .mini-screen {
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease;
  }

  .device-card:hover,
  .split-panel-brand:hover,
  .club-app:hover,
  .mini-screen:hover {
    transform: translateY(-4px);
  }

  .info-card,
  .feature-card,
  .ops-card,
  .trust-card,
  .workflow-step,
  .faq-list details,
  .stats article,
  .floating-card {
    transition:
      transform 200ms ease,
      box-shadow 200ms ease,
      border-color 200ms ease;
  }

  .info-card:hover,
  .feature-card:hover,
  .ops-card:hover,
  .trust-card:hover,
  .workflow-step:hover,
  .faq-list details:hover,
  .stats article:hover,
  .floating-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(10, 24, 49, 0.12);
  }
}

@keyframes float-hero {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -10px, 0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .section-split,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .feature-grid,
  .workflow,
  .stats,
  .ops-grid,
  .huecos-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huecos-layout,
  .flow-board {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    min-height: 40px;
    transform: rotate(90deg);
  }

  .hero-visual {
    min-height: 500px;
    order: -1;
  }

  .device-card {
    inset: 48px 0 82px 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    border-radius: 28px;
    padding: 14px 16px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(16, 34, 61, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .stats,
  .problem-grid,
  .feature-grid,
  .workflow,
  .ops-grid,
  .huecos-grid,
  .trust-grid,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .section-reverse .split-copy,
  .split-copy {
    order: initial;
    padding-left: 0;
    padding-right: 0;
  }

  .demo-form label:nth-child(3),
  .demo-form label:nth-child(4) {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .stats,
  .site-footer {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    top: 10px;
    gap: 12px;
  }

  .hero {
    gap: 28px;
    padding-top: 38px;
  }

  .hero::before,
  .hero::after {
    inset: -14px -8px -18px -8px;
    border-radius: 30px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section h2 {
    font-size: 1.95rem;
    max-width: none;
  }

  .hero-visual {
    min-height: 420px;
  }

  .device-card {
    inset: 20px 0 74px 0;
    padding: 16px;
  }

  .match-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    min-width: 0;
    max-width: calc(100% - 36px);
  }

  .floating-card-top {
    top: 0;
    right: 0;
  }

  .floating-card-bottom {
    left: 0;
    bottom: 0;
  }

  .cta-box,
  .split-panel,
  .info-card,
  .feature-card,
  .ops-card,
  .workflow-step,
  .stats article,
  .faq-list details,
  .trust-card {
    border-radius: 20px;
  }

  .club-app-body {
    grid-template-columns: 1fr;
  }

  .club-tile-main {
    grid-column: auto;
  }
}
.device-card-real {
  overflow: hidden;
  padding: 0;
  background: #f7f9fc;
}

.device-card-real::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  box-shadow: inset 0 -80px 100px rgba(8, 22, 52, 0.18);
}

.device-card-real img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.product-shot::before {
  content: "Producto real · demo";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(11, 28, 62, 0.74);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-shot-wide {
  max-width: 720px;
  height: 370px;
  margin: 52px auto 0;
}

.product-shot-recommendations {
  max-width: 920px;
  height: 360px;
}

.product-shot-tall {
  max-width: 460px;
  height: 600px;
  margin-inline: auto;
}

.ops-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 24px;
  margin-top: 52px;
}

.product-shot-dashboard {
  min-height: 460px;
}

.product-shot-wallet {
  min-height: 460px;
}

.reservation-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 4px;
}

.product-shot-reservation {
  height: 440px;
}

.product-shot-dashboard img,
.product-shot-wallet img {
  object-position: top center;
}

#automatch .product-shot {
  border-color: rgba(49, 101, 232, 0.24);
  box-shadow: 0 18px 50px rgba(20, 77, 186, 0.12);
}

#niveles .product-shot,
#comunidad .product-shot {
  box-shadow: 0 16px 42px rgba(18, 40, 82, 0.1);
}

@media (max-width: 820px) {
  .product-shot-wide {
    height: 300px;
    margin-top: 36px;
  }

  .product-shot-recommendations {
    height: 280px;
  }

  .product-shot-tall {
    height: 520px;
  }

  .ops-showcase {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .product-shot-dashboard,
  .product-shot-wallet {
    min-height: 360px;
  }

  .reservation-strip {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .product-shot-reservation {
    min-width: 220px;
    height: 360px;
  }
}

@media (max-width: 560px) {
  .product-shot {
    border-radius: 18px;
  }

  .product-shot::before {
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    font-size: 0.58rem;
  }

  .product-shot-wide,
  .product-shot-recommendations {
    height: 240px;
    margin-top: 28px;
  }

  .product-shot-tall {
    height: 430px;
  }

  .product-shot-dashboard,
  .product-shot-wallet {
    min-height: 280px;
  }

  .reservation-strip {
    grid-template-columns: repeat(3, 190px);
    gap: 12px;
    margin-inline: -4px;
  }

  .product-shot-reservation {
    min-width: 190px;
    height: 300px;
  }
}

.hero::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(80, 128, 255, 0.24), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(46, 167, 160, 0.16), transparent 22%),
    linear-gradient(145deg, #071632 0%, #0a214b 48%, #102e68 100%);
  box-shadow: 0 36px 90px rgba(6, 18, 40, 0.3);
}

.hero::after {
  background:
    radial-gradient(circle at 75% 70%, rgba(80, 128, 255, 0.1), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04), transparent 28%);
}

.device-card-real {
  border-color: rgba(255, 255, 255, 0.2);
  background: #dfe7f1;
  box-shadow: 0 30px 70px rgba(2, 13, 34, 0.32);
}

.device-card-real img {
  object-position: center 38%;
  filter: saturate(0.92) contrast(1.02);
}

.floating-card {
  box-shadow: 0 18px 42px rgba(2, 13, 34, 0.22);
}

@media (max-width: 560px) {
  .device-card-real img {
    object-position: center 30%;
  }
}

.section-multiclub {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(36, 88, 245, 0.1), transparent 28%),
    linear-gradient(145deg, #f5f8ff 0%, #ffffff 58%, #eef7f7 100%);
}

.multiclub-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.multiclub-layout .split-copy {
  padding: 0;
}

.multiclub-layout h2 {
  max-width: 11ch;
}

.multiclub-note {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.assistant-demo {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(36, 88, 245, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 5%, rgba(72, 116, 255, 0.18), transparent 28%),
    linear-gradient(160deg, #081b40 0%, #102c61 62%, #0d4b59 100%);
  box-shadow: 0 28px 70px rgba(7, 27, 63, 0.2);
}

.assistant-demo-top,
.assistant-demo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(239, 246, 255, 0.9);
}

.assistant-demo-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.assistant-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #86d742;
  box-shadow: 0 0 0 5px rgba(134, 215, 66, 0.12);
}

.assistant-label {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(239, 246, 255, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-message {
  max-width: 88%;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.42;
}

.assistant-message-user {
  margin-left: auto;
  background: #315fe8;
  color: #fff;
}

.assistant-message-app {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(239, 246, 255, 0.9);
}

.assistant-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.assistant-results article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.assistant-results article > div {
  display: grid;
  gap: 3px;
}

.assistant-results span {
  color: rgba(239, 246, 255, 0.62);
  font-size: 0.86rem;
}

.assistant-results b {
  color: #a8d83b;
  font-size: 0.86rem;
}

.assistant-results .assistant-result-featured {
  border-color: rgba(168, 216, 59, 0.5);
  background: rgba(168, 216, 59, 0.13);
}

.assistant-demo-footer {
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(239, 246, 255, 0.66);
  font-size: 0.9rem;
}

.assistant-arrow {
  color: #a8d83b;
  font-size: 1.35rem;
}

@media (max-width: 900px) {
  .multiclub-layout {
    grid-template-columns: 1fr;
  }

  .multiclub-layout h2 {
    max-width: 15ch;
  }
}

@media (max-width: 560px) {
  .assistant-demo {
    padding: 16px;
    border-radius: 22px;
  }

  .assistant-results article {
    align-items: flex-start;
  }

  .assistant-results b {
    white-space: nowrap;
  }
}

.assistant-demo {
  padding: 20px;
}

.assistant-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.assistant-screen-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.assistant-screen-card img {
  display: block;
  width: 100%;
  height: 292px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  background: #f4f7fb;
}

.assistant-screen-card-result img {
  object-position: center 22%;
}

.assistant-screen-card strong {
  padding: 0 3px 2px;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.35;
}

.assistant-step {
  color: #a8d83b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assistant-flow-arrow {
  color: #a8d83b;
  font-size: 1.7rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .assistant-flow {
    grid-template-columns: 1fr;
  }

  .assistant-flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .assistant-screen-card img {
    height: 360px;
  }
}

.app-story {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 54px;
  border-top: 1px solid rgba(31, 60, 105, 0.12);
}

.app-story-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.app-story-heading h3 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.app-story-heading p:last-child {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.app-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.app-story-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.app-story-card-featured {
  grid-column: span 2;
}

.app-story-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(31, 60, 105, 0.1);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(10, 24, 49, 0.1);
}

.app-story-card-featured img {
  height: 470px;
}

.app-story-card strong {
  color: var(--ink);
  font-size: 0.95rem;
}

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

  .app-story-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .app-story {
    padding-top: 38px;
  }

  .app-story-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-right: -8px;
    padding: 2px 8px 12px 0;
    scroll-snap-type: x mandatory;
  }

  .app-story-card,
  .app-story-card-featured {
    flex: 0 0 235px;
    grid-column: auto;
    scroll-snap-align: start;
  }

  .app-story-card img,
  .app-story-card-featured img {
    height: 390px;
  }
}

@media (max-width: 900px) {
  .class-offers-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .class-offers-flow,
  .class-offers-preview {
    padding: 16px;
  }

  .class-preview-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .class-preview-date {
    text-align: left;
  }

  .class-preview-card {
    grid-template-columns: 1fr;
  }

  .class-preview-card b {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .autonomy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .section-autonomy {
    border-radius: var(--radius-lg);
  }

  .autonomy-layout {
    gap: 22px;
  }

  .autonomy-panel {
    padding: 16px;
  }

  .autonomy-benefits {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .autonomy-controls div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
