/* ==========================================================================
   ArkkeyTempo · arkkeytempo.com
   Fuentes autoalojadas (sin peticiones a Google), escala tipográfica legible
   y colores con contraste WCAG AA.
   ========================================================================== */

/* ---------- Fuentes (Fontsource, SIL OFL 1.1, variables: todos los pesos) ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #16365d;
  --text-2: #16365d; /* texto secundario: 7.6:1 sobre --paper */
  --text-3: #2563b5; /* etiquetas: 5.9:1 sobre --paper */
  --paper: #fafbf7;
  --green: #dbeaff;
  --accent: #16365d; /* blanco sobre accent: 5.5:1 */
  --accent-strong: #16365d;
  --accent-text: #16365d;
  --border: #dbeaff;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Escala tipográfica (móvil primero; ver media queries) */
  --fs-body: 1.0625rem; /* 17px */
  --fs-lead: 1.125rem; /* 18px */
  --fs-secondary: 1rem; /* 16px */
  --fs-small: 0.9375rem; /* 15px */
  --fs-label: 0.8125rem; /* 13px */
  --fs-button: 1rem; /* 16px */
  --lh: 1.6;
  --measure: 65ch;
  --gutter: 20px;
}
@media (min-width: 1024px) {
  :root {
    --fs-body: 1.125rem; /* 18px */
    --fs-lead: 1.1875rem; /* 19px */
    --fs-secondary: 1.0625rem; /* 17px */
    --fs-small: 1rem; /* 16px */
    --fs-label: 0.875rem; /* 14px */
    --fs-button: 1.0625rem; /* 17px */
    --gutter: 48px;
  }
}
@media (min-width: 761px) and (max-width: 1023px) {
  :root {
    --gutter: 32px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1em;
}
img,
svg {
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #2563b5;
  outline-offset: 4px;
  border-radius: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
::selection {
  background: var(--green);
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-weight: 500;
  margin: 16px 0 0;
}
.muted {
  color: var(--text-3);
}
.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh);
  color: var(--text-2);
  max-width: var(--measure);
}

/* ---------- Placeholders legales pendientes ---------- */
mark.pendiente {
  background: #dbeaff;
  color: #16365d;
  outline: 1px dashed #2563b5;
  border-radius: 3px;
  padding: 0 4px;
  font-weight: 600;
}

/* ---------- Botones y enlaces ---------- */
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 1.25em;
  line-height: 1;
}
.button.dark {
  background: var(--ink);
  color: #fff;
}
.button.dark:hover {
  background: #16365d;
}
.button.accent {
  background: var(--accent);
  color: #fff;
}
.button.accent:hover {
  background: var(--accent-strong);
}
.button.small {
  min-height: 44px;
  padding: 10px 16px;
}
.button.outline {
  border-color: #4c8fe3;
  background: transparent;
  color: var(--ink);
}
.button.outline:hover {
  background: #fff;
}
.button.white {
  background: #fff;
  width: 100%;
  border: 1px solid #dbeaff;
  color: var(--ink);
}
.text-link {
  border: none;
  background: transparent;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-button);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #bad6fb;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.text-link:hover {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}
.text-link span {
  font-size: 1.15em;
  text-decoration: none;
}

/* ---------- Cabecera ---------- */
.header {
  max-width: 1376px;
  padding: 22px var(--gutter);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.logo {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}
.logo-icon {
  width: 31px;
  height: 31px;
  color: #2563b5;
  display: inline-flex;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 100%;
  height: 100%;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: var(--fs-secondary);
  font-weight: 500;
}
.header nav a {
  padding: 6px 0;
}
.header nav a:hover {
  color: var(--accent-text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.login-link {
  font-size: var(--fs-secondary);
  font-weight: 600;
  padding: 8px 4px;
}
.login-link:hover {
  color: var(--accent-text);
}
.header .button.dark {
  background: var(--accent);
}
.header .button.dark:hover {
  background: var(--accent-strong);
}
.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 96px;
  align-items: center;
}
.tiny-orbit {
  font-size: 1.3rem;
  color: #2563b5;
  letter-spacing: 0;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 1.6rem + 4.3vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 22px 0 26px;
}
.underlined {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.underlined::before {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: -0.1em;
  right: -0.14em;
  height: 0.3em;
  background: var(--green);
  transform: rotate(-3deg);
  border-radius: 50% 40% 45% 35%;
  z-index: -1;
}
.hero-copy > p:not(.eyebrow):not(.hero-note) {
  font-size: var(--fs-lead);
  line-height: var(--lh);
  color: var(--text-2);
  max-width: 34ch;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 32px;
}
.hero .button.dark,
.final-cta .button.dark,
.contact .button.dark {
  background: var(--accent);
}
.hero .button.dark:hover,
.final-cta .button.dark:hover,
.contact .button.dark:hover {
  background: var(--accent-strong);
}
.hero-note {
  font-size: var(--fs-small);
  color: var(--text-2);
  margin: 26px 0 0;
}
.small-check {
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- Mockup del producto (ilustrativo) ---------- */
.hero-product {
  position: relative;
  padding: 15px 0 40px 5px;
  min-width: 0;
}
.product-window {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 14px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 65px -25px #16365d40;
}
.browser-bar {
  height: 36px;
  background: #f1f3ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 0.75rem;
  color: #2563b5;
  border-bottom: 1px solid #dbeaff;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  height: 8px;
  width: 8px;
  background: #bad6fb;
  border-radius: 50%;
}
.mini-app {
  display: flex;
  min-height: 430px;
}
.mini-sidebar {
  width: 158px;
  background: #16365d;
  color: #dbeaff;
  padding: 20px 10px 76px;
  flex-shrink: 0;
  position: relative;
}
.mini-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  display: block;
  padding: 0 6px;
}
.workspace-name {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 20px 4px 22px;
}
.workspace-name > span {
  background: var(--green);
  color: #16365d;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-weight: 700;
}
.workspace-name b {
  margin-left: auto;
}
.sidebar-group {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #bad6fb;
  margin: 0 8px 10px;
}
.mini-nav {
  font-size: 0.8125rem;
  line-height: 1.25;
  background: none;
  border: 0;
  color: #dbeaff;
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
  border-radius: 6px;
}
.mini-nav:hover {
  background: #16365d;
}
.mini-nav.active {
  background: #16365d;
  color: #dbeaff;
}
.mini-nav span {
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.sidebar-bottom {
  display: flex;
  position: absolute;
  left: 12px;
  right: 10px;
  bottom: 16px;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  line-height: 1.25;
}
.sidebar-bottom small {
  display: block;
  font-size: 0.6875rem;
  color: #bad6fb;
  margin-top: 2px;
}
.sidebar-bottom .avatar {
  width: 28px;
  height: 28px;
  font-size: 0.6875rem;
}
.sidebar-bottom b {
  margin-left: auto;
}
.mini-main {
  padding: 22px 20px 18px;
  flex: 1;
  min-width: 0;
  background: #fbfcf9;
  overflow: hidden;
}
.mini-kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563b5;
}
.mini-welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.mini-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 6px 0 2px;
  line-height: 1.2;
}
.mini-welcome-row .avatar {
  width: 30px;
  height: 30px;
  font-size: 0.6875rem;
}
.mini-subtitle {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #2563b5;
  margin: 0 0 16px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mini-stat {
  padding: 12px 11px;
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #16365d;
}
.mini-stat:first-child {
  background: #eef5ff;
}
.mini-stat b {
  font-family: var(--display);
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 6px 0 4px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.mini-stat small {
  font-size: 0.6875rem;
  color: #2563b5;
}
.mini-panel {
  border: 1px solid #dbeaff;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
}
.mini-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  margin-bottom: 8px;
}
.mini-panel-header span {
  font-size: 0.6875rem;
  color: #2563b5;
}
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.mini-table th {
  text-align: left;
  font-size: 0.6875rem;
  color: #2563b5;
  font-weight: 500;
  padding: 2px 4px 6px;
  border-bottom: 1px solid #eef0ea;
}
.mini-table td {
  padding: 6px 4px;
  border-bottom: 1px solid #eef0ea;
  white-space: nowrap;
}
.mini-table tr:last-child td {
  border-bottom: 0;
}
.mini-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-name .avatar {
  width: 24px;
  height: 24px;
  font-size: 0.6875rem;
}
.mini-table .status {
  font-size: 0.6875rem;
  padding: 3px 7px;
}
.mini-clock {
  text-align: center;
  padding: 24px 12px;
}
.mini-clock .live-tag {
  justify-content: center;
}
.mini-clock .clock-digits {
  font-size: 2.6rem;
}
.mini-cta {
  margin-top: 18px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.8125rem;
}
.mini-link {
  margin-top: 14px;
}
.mini-sun {
  font-size: 2rem;
  color: #4c8fe3;
  margin: 10px 0 6px;
  line-height: 1;
}
.mini-date {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Avatares y estados (colores oscurecidos para contraste AA) */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8125rem;
  flex-shrink: 0;
  font-weight: 650;
  line-height: 1;
}
.sage {
  background: #dbeaff;
  color: #16365d;
}
.violet {
  background: #eef5ff;
  color: #2563b5;
}
.apricot {
  background: #dbeaff;
  color: #16365d;
}
.rose {
  background: #eef5ff;
  color: #2563b5;
}
.status {
  display: inline-flex;
  padding: 5px 10px;
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.3;
  border-radius: 6px;
  white-space: nowrap;
}
.status.work {
  background: #eef5ff;
  color: #16365d;
}
.status.break {
  background: #eef5ff;
  color: #16365d;
}
.status.holiday {
  background: #eef5ff;
  color: #2563b5;
}

/* Decoración */
.orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid #dbeaff;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  height: 560px;
  width: 560px;
  top: -80px;
  left: 30px;
  transform: rotate(-25deg);
}
.orbit-two {
  height: 430px;
  width: 680px;
  top: -10px;
  left: -80px;
  transform: rotate(-30deg);
}
.sparkle {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.sparkle-one {
  font-size: 56px;
  right: -20px;
  top: -40px;
  color: #2563b5;
  transform: rotate(7deg);
}
.sparkle-two {
  font-size: 31px;
  left: -22px;
  bottom: 80px;
  color: #2563b5;
}
.floating-note {
  position: absolute;
  bottom: 6px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px #16365d18;
  border: 1px solid #dbeaff;
  padding: 14px 18px;
  z-index: 3;
  transform: rotate(3deg);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
}
.floating-note small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-3);
  font-weight: 400;
  margin-top: 3px;
}
.note-icon {
  border-radius: 50%;
  background: #dbeaff;
  color: #16365d;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.note-decor {
  margin-left: 6px;
  font-size: 1.6rem;
  color: #2563b5;
}
.demo-caption {
  position: relative;
  z-index: 3;
  margin-top: 56px;
  font-size: var(--fs-label);
  color: var(--text-3);
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  padding-left: 8px;
  max-width: calc(100% - 270px);
}
.demo-caption i,
.live-tag i,
.demo-label i {
  width: 7px;
  height: 7px;
  background: #2563b5;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Franja de beneficios ---------- */
.benefit-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 20px 28px;
  font-size: var(--fs-secondary);
}
.benefit-strip > span {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-2);
}
.benefit-strip strong {
  font-weight: 600;
  color: var(--ink);
}
.benefit-strip > a {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 550;
  padding: 6px 0;
}
.benefit-strip > a:hover {
  color: var(--accent-text);
}
.strip-icon {
  font-size: 1.5rem;
  color: #2563b5;
}

/* ---------- Secciones ---------- */
.platform {
  padding-top: 104px;
  padding-bottom: 104px;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 44px;
}
.section-top > p {
  color: var(--text-2);
  line-height: var(--lh);
  font-size: var(--fs-lead);
  margin: 0 0 4px;
  max-width: 40ch;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  border-radius: 16px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 25px;
  overflow: hidden;
}
.sage-card {
  background: #eef5ff;
}
.peach-card {
  background: #eef5ff;
}
.lavender-card {
  background: #eef5ff;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feature-number {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  font-weight: 650;
  color: #2563b5;
}
.feature-symbol {
  font-size: 1.6rem;
  color: #2563b5;
}
.feature-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.3rem + 0.7vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 22px 0 14px;
}
.feature-card > p {
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: #16365d;
  margin: 0 0 26px;
}

/* Vistas previas dentro de las tarjetas */
.clock-preview {
  background: #f4faf7;
  border: 1px solid #dbeaff;
  border-radius: 12px;
  padding: 20px 18px;
  margin-top: auto;
}
.live-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2563b5;
}
.clock-digits {
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  font-family: var(--display);
  font-weight: 500;
  margin: 14px 0;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.clock-digits span {
  color: #4c8fe3;
}
.clock-progress {
  height: 6px;
  background: #dbeaff;
  border-radius: 3px;
}
.clock-progress > span {
  width: 85%;
  background: #2563b5;
  height: 100%;
  display: block;
  border-radius: 3px;
}
.clock-detail {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.8125rem;
  color: #2563b5;
  margin: 10px 0 18px;
}
.clock-preview .button {
  justify-content: space-between;
  min-height: 48px;
}
.shift-preview {
  background: #eef5ff;
  padding: 18px 16px;
  border: 1px solid #dbeaff;
  border-radius: 12px;
}
.shift-week {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}
.shift-week > span {
  color: #2563b5;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  white-space: nowrap;
}
.shift-person {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0;
}
.shift-person .avatar {
  height: 30px;
  width: 30px;
  font-size: 0.6875rem;
}
.shift-block {
  font-size: 0.75rem;
  font-weight: 550;
  display: flex;
  align-items: center;
  border-radius: 5px;
  min-height: 32px;
  flex: 1;
  min-width: 0;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
}
.shift-block.short {
  flex: 0.65;
}
.shift-block.purple {
  background: #eef5ff;
  color: #2563b5;
}
.shift-block.pale {
  background: #eef5ff;
  color: #16365d;
  flex: 0.45;
}
.shift-block.peach {
  background: #dbeaff;
  color: #16365d;
}
.card-link {
  margin-top: auto;
  padding-top: 22px;
  justify-content: space-between;
  align-self: flex-start;
}
.holiday-preview {
  background: #f9f7fd;
  border: 1px solid #dbeaff;
  border-radius: 12px;
  padding: 20px 16px;
}
.holiday-top {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.holiday-top small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #2563b5;
  margin-top: 3px;
}
.sun-illustration {
  font-size: 2rem;
  color: #4c8fe3;
  line-height: 1;
}
.holiday-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 6px;
}
.holiday-dates > span {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  color: #2563b5;
  gap: 6px;
}
.holiday-dates b {
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #2563b5;
  height: 34px;
  width: 100%;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.approval {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #16365d;
  margin-top: 16px;
}
.approval i {
  font-style: normal;
  color: #16365d;
  font-weight: 700;
}

/* ---------- Una visión compartida ---------- */
.perspective-section {
  background: #eef4f1;
  padding: 96px 0;
}
.perspective-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
}
.perspective-copy > p:not(.eyebrow) {
  font-size: var(--fs-lead);
  line-height: var(--lh);
  color: var(--text-2);
  max-width: 44ch;
  margin-top: 22px;
}
.perspective-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  border-bottom: 1px solid #bad6fb;
  gap: 4px 28px;
}
.perspective-tabs button {
  padding: 8px 0 12px;
  font-size: var(--fs-secondary);
  font-weight: 600;
  white-space: nowrap;
  border: 0;
  background: none;
  color: var(--text-3);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.perspective-tabs button[aria-selected="true"] {
  color: #16365d;
  border-color: var(--accent);
}
.perspective-tabs span {
  margin-left: 8px;
}
.perspective-copy > p.perspective-description {
  font-size: var(--fs-secondary);
  min-height: 5.2em;
  margin-top: 18px;
}
.team-board {
  border: 1px solid #dbeaff;
  border-radius: 16px;
  padding: 30px 28px 20px;
  background: #fdfefb;
  box-shadow: 0 15px 35px #2563b512;
  transform: rotate(1.2deg);
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.board-header .eyebrow {
  font-size: 0.75rem;
  color: var(--text-3);
}
.board-title {
  font-size: 1.6rem;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
  line-height: 1.2;
}
.board-icon {
  font-size: 2.2rem;
  color: #2563b5;
}
.board-summary {
  font-size: 0.9375rem;
  background: #eef5ff;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.board-summary b {
  font-weight: 500;
}
.board-summary > span:last-child {
  margin-left: auto;
  color: var(--text-3);
  font-size: 0.8125rem;
}
.online-dot {
  height: 8px;
  width: 8px;
  background: #2563b5;
  border-radius: 50%;
  flex-shrink: 0;
}
.team-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef5ff;
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.3;
}
.team-row small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 2px;
}
.team-row .status {
  font-size: 0.8125rem;
}
.row-time {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-2);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  color: var(--text-3);
  font-size: 0.9375rem;
}
.round-button {
  border: 1px solid #dbeaff;
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

/* ---------- Funciones (nuevo) ---------- */
.features {
  padding-top: 104px;
  padding-bottom: 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-tile {
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 14px;
  padding: 24px 22px 22px;
}
.feature-tile .tile-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef5ff;
  color: #16365d;
  font-size: 1.3rem;
}
.feature-tile:nth-child(4n + 2) .tile-icon {
  background: #eef5ff;
  color: #16365d;
}
.feature-tile:nth-child(4n + 3) .tile-icon {
  background: #eef5ff;
  color: #2563b5;
}
.feature-tile:nth-child(4n + 4) .tile-icon {
  background: #eef5ff;
  color: #16365d;
}
.feature-tile h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 18px 0 8px;
}
.feature-tile p {
  font-size: var(--fs-secondary);
  line-height: var(--lh);
  color: var(--text-2);
  margin: 0;
}

/* ---------- Cumplimiento (nuevo) ---------- */
.compliance {
  background: var(--ink);
  color: #eef5f1;
  border-radius: 20px;
  padding: 72px 64px;
  margin-top: 88px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  max-width: 1184px;
}
.compliance .eyebrow {
  color: #bad6fb;
}
.compliance h2 {
  color: #fff;
}
.compliance-copy > p:not(.eyebrow) {
  font-size: var(--fs-lead);
  line-height: var(--lh);
  color: #dbeaff;
  margin-top: 20px;
  max-width: 42ch;
}
.compliance-note {
  font-size: var(--fs-small) !important;
  color: #bad6fb !important;
}
.compliance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}
.compliance-list li {
  border-top: 1px solid #16365d;
  padding-top: 16px;
}
.compliance-list b {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.compliance-list span {
  font-size: var(--fs-secondary);
  line-height: var(--lh);
  color: #dbeaff;
}

/* ---------- Cómo funciona ---------- */
.how {
  padding-top: 104px;
  padding-bottom: 96px;
}
.how .section-top {
  align-items: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 8px;
}
.steps article {
  border-top: 1px solid #dbeaff;
  padding-top: 22px;
}
.steps article > span {
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}
.steps h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
}
.steps p {
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--text-2);
  max-width: 34ch;
}

/* ---------- Detalles ---------- */
.product-depth {
  padding-top: 8px;
  padding-bottom: 96px;
}
.depth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.depth-grid article {
  border-top: 1px solid #dbeaff;
  padding-top: 20px;
}
.depth-grid article > span {
  font-size: 1.6rem;
  color: #16365d;
}
.depth-grid h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 14px 0 8px;
}
.depth-grid p {
  font-size: var(--fs-secondary);
  line-height: var(--lh);
  color: var(--text-2);
  margin: 0;
}

/* ---------- Preguntas frecuentes ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 72px;
  padding-top: 0;
  padding-bottom: 104px;
}
.faq-flower {
  font-size: 80px;
  color: #bad6fb;
  display: block;
  line-height: 1;
  margin-top: 40px;
  transform: rotate(12deg);
  width: 80px;
}
details {
  border-bottom: 1px solid #dbeaff;
  padding: 20px 0;
}
details:first-child {
  padding-top: 0;
}
summary {
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 20px;
  padding: 4px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  color: #2563b5;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: var(--fs-body);
  color: var(--text-2);
  line-height: var(--lh);
  max-width: var(--measure);
  margin: 12px 36px 0 0;
}
details a,
.legal a,
.contact a.inline {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Contacto (nuevo) ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 88px;
  padding-bottom: 88px;
}
.contact-copy > p:not(.eyebrow) {
  font-size: var(--fs-lead);
  line-height: var(--lh);
  color: var(--text-2);
  margin-top: 18px;
  max-width: 48ch;
}
.contact-card {
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 16px;
  padding: 30px 28px;
}
.contact-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: var(--fs-secondary);
  color: var(--text-2);
}
.contact-card li {
  display: flex;
  gap: 12px;
}
.contact-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}
.contact-card .button {
  width: 100%;
}
.contact-mail {
  margin: 14px 0 0;
  font-size: var(--fs-small);
  color: var(--text-2);
  overflow-wrap: anywhere;
}

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  text-align: center;
  background: #dbeaff;
  border-radius: 20px;
  padding-top: 72px;
  padding-bottom: 64px;
  overflow: hidden;
  margin-bottom: 64px;
  max-width: 1184px;
}
.final-cta .eyebrow {
  justify-content: center;
  color: #16365d;
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
  margin-top: 16px;
  line-height: 1.18;
  position: relative;
  z-index: 1;
}
.final-cta .button {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.cta-demo-link {
  display: block;
  margin: 18px auto 0;
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: #16365d;
  background: none;
  border: 0;
  padding: 8px;
  position: relative;
  z-index: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta-flower {
  position: absolute;
  left: 70px;
  top: 50px;
  font-size: 110px;
  color: #bad6fb;
  transform: rotate(10deg);
}
.cta-orbit {
  border: 1px solid #bad6fb;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  position: absolute;
  right: -200px;
  top: -60px;
}
.cta-orbit::after {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px solid #bad6fb;
  border-radius: 50%;
}

/* ---------- Pie ---------- */
.footer {
  padding-bottom: 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-bottom: 32px;
}
.footer-top .logo {
  font-size: 1.6rem;
}
.footer-top > span {
  font-size: var(--fs-secondary);
  color: var(--text-2);
}
.footer-top > a:last-child {
  font-size: var(--fs-secondary);
  font-weight: 600;
  margin-left: auto;
  padding: 6px 0;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 24px;
  font-size: var(--fs-small);
  color: var(--text-2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 500;
}
.footer-links a:hover,
.footer-top > a:last-child:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Demo interactiva (diálogo) ---------- */
.demo-dialog {
  width: min(1180px, 96vw);
  max-width: 1180px;
  height: min(800px, 92dvh);
  max-height: 92dvh;
  border: 1px solid #dbeaff;
  border-radius: 16px;
  padding: 0;
  color: var(--ink);
  background: #f6f8f2;
  box-shadow: 0 30px 100px #16365d55;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.demo-dialog::backdrop {
  background: #16365d99;
  backdrop-filter: blur(5px);
}
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  gap: 15px;
  height: 72px;
}
.demo-top .logo {
  font-size: 1.5rem;
}
.demo-top .logo-icon {
  width: 28px;
  height: 28px;
}
.demo-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #16365d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.close-button {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 50%;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.demo-layout {
  display: flex;
  height: calc(100% - 72px);
}
.demo-sidebar {
  width: 220px;
  background: #16365d;
  color: #dbeaff;
  flex-shrink: 0;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-company {
  font-size: 0.9375rem;
  margin: 0 0 24px;
  padding: 0 8px;
  line-height: 1.4;
}
.demo-company > span {
  background: var(--green);
  color: #16365d;
  border-radius: 5px;
  padding: 4px 9px;
  margin-right: 6px;
  font-weight: 700;
}
.demo-company small {
  display: block;
  font-size: 0.8125rem;
  margin-top: 12px;
  color: #bad6fb;
}
.demo-sidebar > button {
  background: none;
  border: 0;
  color: #dbeaff;
  text-align: left;
  font-size: 0.9375rem;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.demo-sidebar > button:hover {
  background: #16365d;
}
.demo-sidebar > button.active {
  background: #16365d;
  color: #dbeaff;
}
.demo-sidebar > button > span {
  font-size: 1.2rem;
}
.demo-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.demo-bottom button {
  width: 100%;
  margin-top: 12px;
  background: none;
  border: 0;
  border-top: 1px solid #16365d;
  color: #bad6fb;
  padding: 14px 0 4px;
  font-size: 0.875rem;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-content {
  flex: 1;
  min-width: 0;
  padding: 32px;
  overflow: auto;
}
.app-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2563b5;
  margin-bottom: 8px;
}
.app-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.app-header h2 {
  font-size: 1.9rem;
  margin: 0;
  letter-spacing: -0.03em;
}
.app-header p {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin: 6px 0 0;
}
.app-header > .avatar {
  width: 42px;
  height: 42px;
}
.app-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.app-stat {
  border: 1px solid #dbeaff;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  font-size: 0.875rem;
  color: #16365d;
}
.app-stat:first-child {
  background: #dbeaff;
}
.app-stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #16365d;
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.app-stat small {
  font-size: 0.8125rem;
}
.app-panel {
  border: 1px solid #dbeaff;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
}
.app-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.app-panel h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.app-panel-head > span {
  font-size: 0.8125rem;
  color: var(--text-3);
}
.app-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}
.app-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-3);
  padding: 0 8px 10px;
}
.app-table td {
  padding: 12px 8px;
  border-top: 1px solid #eef5ff;
}
.app-table .mini-name {
  font-size: 0.875rem;
  gap: 9px;
}
.app-table .avatar {
  width: 30px;
  height: 30px;
  font-size: 0.6875rem;
}
.app-table .status {
  font-size: 0.8125rem;
}
.app-bottom-note {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
}
.clock-area {
  text-align: center;
  padding: 30px 15px 26px;
}
.clock-area .live-tag {
  font-size: 0.8125rem;
  justify-content: center;
}
.app-clock {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--display);
  margin: 16px 0;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.clock-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.clock-actions.start {
  justify-content: flex-start;
}
.clock-actions .button {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 0.9375rem;
}
.clock-info {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-top: 16px;
}
.app-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #16365d;
  border: 0;
  background: #eef5ff;
  border-radius: 6px;
  padding: 8px 12px;
  white-space: nowrap;
}
.app-link:hover {
  background: #dbeaff;
}
.shift-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9375rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.shift-tools button {
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 40px;
}
.shift-tools b {
  font-weight: 600;
}
.app-shift-wrap {
  overflow: auto;
}
.app-shift-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.875rem;
}
.app-shift-table th {
  padding: 8px 5px 12px;
  color: var(--text-3);
  font-weight: 500;
}
.app-shift-table th:first-child {
  text-align: left;
}
.app-shift-table td {
  border-top: 1px solid #eef5ff;
  padding: 10px 4px;
}
.app-shift-table .mini-name {
  min-width: 110px;
  font-size: 0.875rem;
  gap: 7px;
}
.app-shift-table .mini-name .avatar {
  width: 28px;
  height: 28px;
}
.app-shift-table select {
  font-size: 0.8125rem;
  font-weight: 550;
  padding: 9px 4px;
  max-width: 100px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: #eef5ff;
  color: #2563b5;
  cursor: pointer;
}
.app-shift-table select[data-value="afternoon"] {
  background: #eef5ff;
  color: #16365d;
}
.app-shift-table select[data-value="off"] {
  background: #eef5ff;
  color: #16365d;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8125rem;
  margin-top: 18px;
  color: var(--text-2);
}
.legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend i {
  display: block;
  height: 10px;
  width: 10px;
  border-radius: 3px;
  background: #dbeaff;
}
.legend > span:nth-child(2) i {
  background: #dbeaff;
}
.legend > span:nth-child(3) i {
  background: #dbeaff;
}
.absence-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.absence-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #16365d;
}
.absence-form input,
.absence-form select {
  margin-top: 6px;
  padding: 10px;
  min-height: 44px;
  width: 100%;
  border: 1px solid #bad6fb;
  border-radius: 6px;
  background: #fcfdf9;
  min-width: 0;
  font-size: 0.9375rem;
  color: #16365d;
}
.absence-form .button {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  grid-column: 1/-1;
  justify-self: start;
}
.absence-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #eef5ff;
  gap: 15px;
  font-size: 0.9375rem;
  font-weight: 550;
}
.absence-card:first-of-type {
  border-top: 0;
}
.absence-card small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-2);
  margin-top: 4px;
}
.absence-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.app-empty {
  font-size: 0.9375rem;
  color: var(--text-2);
  padding: 16px 0;
  margin: 0;
}
.form-error {
  grid-column: 1/-1;
  color: #2563b5;
  font-size: 0.875rem;
  min-height: 1.2em;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #16365d;
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 0.9375rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 5px 20px #0002;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body:has(dialog[open]) {
  overflow: hidden;
}

/* ---------- Páginas legales y 404 ---------- */
.page-header {
  border-bottom: 1px solid var(--border);
}
.page-header .header-actions a.back {
  font-size: var(--fs-secondary);
  font-weight: 600;
  padding: 8px 0;
}
.page-header .header-actions a.back:hover {
  color: var(--accent-text);
}
.legal {
  max-width: calc(72ch + 2 * var(--gutter));
  padding-top: 56px;
  padding-bottom: 88px;
}
.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 14px 0 12px;
}
.legal .updated {
  font-size: var(--fs-small);
  color: var(--text-2);
  margin-bottom: 32px;
}
.legal h2 {
  font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 48px 0 14px;
  scroll-margin-top: 20px;
}
.legal h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
.legal p,
.legal li {
  max-width: var(--measure);
  color: #16365d;
}
.legal ul,
.legal ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: 0.45em;
}
.legal .toc {
  background: #fff;
  border: 1px solid #dbeaff;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 8px;
}
.legal .toc p {
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 8px;
}
.legal .toc ol {
  margin: 0;
  font-size: var(--fs-secondary);
}
.legal .callout {
  background: #eef5ff;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.legal .callout p:last-child {
  margin-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid #dbeaff;
  border-radius: 12px;
  background: #fff;
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid #ebeee6;
}
.legal th {
  background: #f3f6ef;
  font-weight: 650;
}
.legal tr:last-child td {
  border-bottom: 0;
}
.legal dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
  margin: 0 0 1em;
}
.legal dt {
  font-weight: 650;
}
.legal dd {
  margin: 0;
  color: #16365d;
  overflow-wrap: anywhere;
}
.notfound {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 120px;
}
.notfound .big {
  font-family: var(--display);
  font-size: clamp(5rem, 3rem + 8vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #bad6fb;
}
.notfound h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 12px 0 14px;
}
.notfound p {
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 auto 28px;
}
.notfound .actions {
  display: flex;
  gap: 14px 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1500px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 110px;
  }
}

@media (max-width: 1200px) {
  .header nav {
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compliance {
    padding: 56px 40px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .compliance-copy > p:not(.eyebrow) {
    max-width: var(--measure);
  }
}

@media (max-width: 1100px) {
  .header nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    z-index: 10;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: #eef5ff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 20px #16365d18;
    border-radius: 12px;
  }
  .header nav a {
    padding: 10px 0;
  }
  .header nav.open {
    display: flex;
  }
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
  .header-actions {
    margin-left: auto;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  .feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .card-top {
    grid-column: 1/-1;
  }
  .feature-card h3,
  .feature-card > p,
  .card-link {
    grid-column: 1;
  }
  .feature-card > p {
    margin: 0;
  }
  .clock-preview,
  .shift-preview,
  .holiday-preview {
    grid-column: 2;
    grid-row: 2/5;
    margin: 22px 0 0;
    align-self: center;
  }
  .card-link {
    align-self: end;
  }
  .perspective-grid {
    gap: 48px;
  }
  .depth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq {
    gap: 40px;
  }
  .final-cta {
    margin-left: var(--gutter);
    margin-right: var(--gutter);
  }
  .compliance {
    margin-left: var(--gutter);
    margin-right: var(--gutter);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow,
  .hero-actions,
  .hero-note {
    justify-content: center;
  }
  .hero-copy > p:not(.eyebrow):not(.hero-note) {
    margin: 0 auto;
  }
  .hero-product {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .benefit-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section-top {
    display: block;
  }
  .section-top > p {
    margin-top: 18px;
    max-width: var(--measure);
  }
  .how .section-top .button {
    margin-top: 24px;
  }
  .perspective-section {
    padding: 72px 0;
  }
  .perspective-grid {
    grid-template-columns: 1fr;
  }
  .perspective-copy > p:not(.eyebrow) {
    max-width: var(--measure);
  }
  .team-board {
    max-width: 600px;
    width: 100%;
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps p {
    max-width: var(--measure);
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-flower {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 760px) {
  .header {
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 12px;
  }
  .header .logo {
    font-size: 1.55rem;
  }
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  .header nav {
    top: 72px;
  }
  .header-actions .button {
    display: none;
  }
  .hero h1 br.optional {
    display: none;
  }
  .platform,
  .features,
  .how {
    padding-top: 64px;
  }
  .platform,
  .how {
    padding-bottom: 64px;
  }
  .feature-card {
    display: flex;
    align-items: stretch;
    padding: 26px 22px 22px;
  }
  .feature-card > p {
    margin-bottom: 22px;
  }
  .clock-preview,
  .shift-preview,
  .holiday-preview {
    margin: 0;
    align-self: stretch;
  }
  .card-link {
    align-self: flex-start;
  }
  .compliance {
    padding: 44px 24px;
    margin-top: 64px;
    border-radius: 16px;
  }
  .compliance-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-depth {
    padding-bottom: 64px;
  }
  .faq {
    padding-bottom: 64px;
  }
  .final-cta {
    padding: 48px 20px 44px;
    border-radius: 16px;
    margin-bottom: 44px;
  }
  .cta-flower {
    left: -30px;
    top: 10px;
    font-size: 85px;
    opacity: 0.5;
  }
  .cta-orbit {
    right: -320px;
  }
  .footer-top > a:last-child {
    margin-left: 0;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
  }

  /* Mockup del hero en móvil: barra lateral solo con iconos */
  .mini-sidebar {
    width: 56px;
    padding: 16px 6px 64px;
  }
  .mini-logo,
  .workspace-name,
  .sidebar-group,
  .sidebar-bottom > span:not(.avatar),
  .sidebar-bottom b {
    display: none;
  }
  .mini-logo + .workspace-name {
    display: none;
  }
  .mini-nav {
    justify-content: center;
    padding: 10px 0;
    font-size: 0;
    gap: 0;
  }
  .mini-nav span {
    font-size: 1.05rem;
  }
  .sidebar-bottom {
    left: 0;
    right: 0;
    justify-content: center;
  }
  .mini-main {
    padding: 18px 14px 16px;
  }
  .mini-app {
    min-height: 400px;
  }
  .floating-note {
    right: 0;
    bottom: 0;
  }
  .sparkle-one {
    right: 0;
    top: -36px;
    font-size: 44px;
  }
  .sparkle-two {
    left: -4px;
  }
  .orbit-one,
  .orbit-two {
    left: 0;
    width: 100%;
  }

  /* Demo interactiva a pantalla completa */
  .demo-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    margin: 0;
  }
  .demo-top {
    padding: 12px 16px;
    height: 64px;
  }
  .demo-top .logo {
    font-size: 1.3rem;
  }
  .demo-label {
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .demo-layout {
    flex-direction: column;
    height: calc(100% - 64px);
  }
  .demo-sidebar {
    width: 100%;
    padding: 8px;
    flex-direction: row;
    gap: 4px;
  }
  .demo-company,
  .demo-bottom {
    display: none;
  }
  .demo-sidebar > button {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 8px 2px;
    font-size: 0.75rem;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }
  .demo-content {
    padding: 22px 16px;
  }
  .app-header h2 {
    font-size: 1.5rem;
  }
  .app-stats {
    gap: 8px;
  }
  .app-stat {
    padding: 12px 10px;
    font-size: 0.75rem;
  }
  .app-stat b {
    font-size: 1.35rem;
  }
  .app-stat small {
    font-size: 0.6875rem;
  }
  .app-panel {
    padding: 16px 12px;
  }
  .app-table th,
  .app-table td {
    padding-left: 4px;
    padding-right: 4px;
  }
  .app-clock {
    font-size: 3rem;
  }
  .absence-form {
    grid-template-columns: 1fr 1fr;
  }
  .absence-form label:first-child {
    grid-column: 1/-1;
  }
  .absence-card {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .benefit-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .benefit-strip > span {
    margin-bottom: 6px;
  }
  .features-grid,
  .depth-grid {
    grid-template-columns: 1fr;
  }
  .team-board {
    padding: 22px 16px 14px;
  }
  .team-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .team-row .row-time {
    grid-column: 2 / -1;
    text-align: left;
  }
  .mini-table th:nth-child(3),
  .mini-table td:nth-child(3),
  .app-table.team-table th:nth-child(3),
  .app-table.team-table td:nth-child(3) {
    display: none;
  }
  .mini-stat {
    padding: 10px 8px;
    font-size: 0.6875rem;
  }
  .mini-stat b {
    font-size: 1.15rem;
  }
  .floating-note {
    font-size: 0.875rem;
    padding: 12px 14px;
  }
  .floating-note {
    display: none;
  }
  .demo-caption {
    justify-content: center;
    padding-left: 0;
    max-width: none;
    margin-top: 40px;
  }
  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .legal dd {
    margin-bottom: 10px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .header-actions {
    gap: 10px;
  }
  .demo-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Identidad compartida con ArkkeyTempo: azul y superficies frías. */
:root { --ink: #142c4b; --text-2: #405c7d; --text-3: #536b88; --paper: #f7faff; --green: #dceaff; --accent: #2563eb; --accent-strong: #1d4ed8; --accent-text: #1d4ed8; --border: #dce6f3; }
.mini-sidebar { background: linear-gradient(175deg,#e2edff,#c9e1ff); color: #142c4b; }
.mini-logo { color: #2563eb; }
.workspace-name, .sidebar-group, .sidebar-bottom, .mini-nav { color: #405c7d; }
.mini-nav.active { background: white; color: #1d4ed8; }
.mini-nav:hover { background: #ffffffa6; color: #142c4b; }
.product-gallery { padding-top: 80px; padding-bottom: 50px; }
.product-gallery h2 { margin: 12px 0 18px; }
.gallery-intro { max-width: 700px; color: var(--text-2); margin-bottom: 28px; }
.product-gallery figure { margin: 0; min-width: 0; }
.product-gallery img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 16px 46px #1e4e8c12; }
.product-gallery figcaption { padding: 14px 2px 20px; font-size: 14px; color: var(--text-2); }
.gallery-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 12px; }
@media(max-width:760px) { .gallery-pair { grid-template-columns: 1fr; } .product-gallery { padding-top: 45px; } }

.logo-icon img { display: block; width: 100%; height: 100%; }
