/* The page as the owner chose it (board «Opción D · Ruta por niveles», 2026-10-14), in unete's own
   colours from styles.css. Every class here starts with d- so nothing collides with the form's styles. */

.d-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .d-wrap { padding: 0 16px; } }

.d-muted { color: var(--ink-2); }
.d-sun { color: var(--sun); }
.d-eyebrow { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; }
.d-eyebrow-ink { color: var(--ink-2); }
.d-sec h2, .d-dark h2 { font-size: clamp(30px, 5vw, 40px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; }
.d-h2-sm { font-size: clamp(26px, 4vw, 32px) !important; }

/* The dark sections: forest with a faint grid */
.d-dark { background-color: var(--forest); color: #fff;
  background-image: linear-gradient(rgba(185,205,200,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(185,205,200,.12) 1px, transparent 1px);
  background-size: 48px 48px; }

/* Navigation bar */
.d-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.d-nav-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.d-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.d-brand .brand-mark { width: 32px; height: 32px; }
.d-brand b { color: var(--teal); font-weight: 700; }
.d-links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: 15px; }
.d-links a { color: var(--ink-2); text-decoration: none; }
.d-links a:hover { color: var(--teal); }
.d-nav-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.d-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.d-chip-soft { background: #e6efe9; color: var(--teal); }
.d-chip-teal { background: var(--teal); color: #fff; }
@media (max-width: 1020px) { .d-links { display: none; } }
@media (max-width: 520px) { .d-brand { font-size: 15px; } .d-chip { padding: 0 12px; font-size: 14px; } }

/* Hero */
.d-hero { padding: 64px 0 48px; }
.d-hero-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.d-hero-text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.d-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 600; }
.d-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.d-hero h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; }
.d-lead { font-size: 19px; color: var(--on-dark-2); max-width: 58ch; }
/* Small phones (in-app browsers leave about 640 px): the hero's buttons come up into the first screen. */
@media (max-width: 400px) { .d-hero { padding: 32px 0 40px; } .d-hero-text { gap: 14px; } .d-hero h1 { font-size: 32px; } .d-lead { font-size: 17px; line-height: 1.45; } }
.d-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.d-btn-white { background: #fff; color: var(--forest); }
.d-btn-white:hover { background: #f3f8f5; }
.d-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.d-btn-ghost:hover { border-color: #fff; }
.d-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--sun); }

/* The example board in the hero */
.d-board { flex: 1 1 400px; min-width: 0; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.d-board-head { display: flex; justify-content: space-between; align-items: baseline; }
.d-board-head b { font-size: 18px; }
.d-board-head span { font-size: 13px; color: var(--ink-2); }
.d-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.d-stat { padding: 12px; border-radius: 12px; background: var(--canvas); display: flex; flex-direction: column; }
.d-stat-green { background: #e6efe9; }
.d-stat b { font-size: 30px; font-weight: 700; line-height: 1.15; }
.d-stat-green b { color: var(--teal); }
.d-stat > span:last-child { font-size: 13px; color: var(--ink-2); }
.d-meter { display: flex; flex-direction: column; gap: 6px; }
.d-meter-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.d-bar { display: block; height: 10px; border-radius: 999px; background: #d5e3de; overflow: hidden; }
.d-bar i { display: block; height: 100%; background: var(--sun); border-radius: 999px; }
.d-bar .d-i-teal { background: var(--teal-2); }
.d-bar-dark { background: rgba(255,255,255,.15); }
.d-w100 { width: 100%; } .d-w62 { width: 62%; } .d-w43 { width: 43%; } .d-w0 { width: 0; }
.d-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.d-pill { padding: 6px 10px; border-radius: 999px; background: #e6efe9; font-weight: 600; font-size: 13px; color: var(--ink); }
.d-pill-mint { background: #d9f5e8; }
.d-pill-peach { background: var(--peach); }

/* The five levels */
.d-levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.d-lvl { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); min-width: 0; }
.d-lvl .n { font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--sun); }
.d-lvl .t { font-weight: 700; font-size: 20px; color: #fff; }
.d-lvl .d { font-size: 14px; color: var(--on-dark-2); flex: 1; }
.d-lvl-on { border-color: var(--sun); background: rgba(255,233,92,.16); }
@media (max-width: 1020px) { .d-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .d-levels { grid-template-columns: 1fr; } }

/* Sections on the cream page */
.d-sec { padding: 64px 0; }
.d-sec-tight { padding-top: 8px; }
.d-head { display: flex; flex-direction: column; gap: 8px; max-width: 70ch; margin-bottom: 24px; }
.d-split { display: flex; flex-wrap: wrap; gap: 40px; }
.d-split-l { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.d-split-r { flex: 1 1 460px; min-width: 0; }
.d-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 10px 30px rgba(15,22,30,.05); min-width: 0; }
.d-card-on { border-color: var(--sun); background: #f3f8f5; }

/* First week */
.d-days { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.d-days li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.d-days .k { font-weight: 700; font-size: 15px; color: var(--teal); padding-top: 22px; }
.d-days .d-card { padding: 18px 22px; gap: 4px; }
@media (max-width: 520px) { .d-days li { grid-template-columns: 1fr; gap: 6px; } .d-days .k { padding-top: 0; } }

/* Tools */
.d-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.d-tool { gap: 14px; }
.d-tool-h { display: flex; align-items: center; gap: 10px; }
.d-tool h3 { font-size: 22px; font-weight: 700; }
.d-ic { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; flex: none; }
.d-tool .d-ic { width: 36px; height: 36px; border-radius: 10px; }
.d-ic-teal { background: var(--teal); } .d-ic-forest { background: var(--forest); } .d-ic-teal2 { background: var(--teal-2); }
.d-ic-sun { background: var(--sun); color: var(--ink); }
.d-quote { padding: 12px 14px; border-radius: 12px; background: #e6efe9; border-left: 4px solid var(--teal); font-size: 15px; }
.d-quote-mint { background: #d9f5e8; border-left: 0; }
.d-score { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.d-ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--forest) 0 91%, var(--peach) 91% 100%); display: flex; align-items: center; justify-content: center; flex: none; }
.d-ring span { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 760px) { .d-tools { grid-template-columns: 1fr; } }

/* Earnings */
.d-earn { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.d-goal { flex: 1 1 300px; min-width: 0; background: var(--forest); color: #fff; border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.d-goal-k { font-size: 15px; font-weight: 700; color: var(--on-dark-2); margin-top: 6px; }
.d-goal-n { font-weight: 800; font-size: 96px; line-height: 1; color: var(--sun); }
.d-goal-u { font-size: 18px; font-weight: 700; }
.d-goal-s { font-size: 14px; color: var(--on-dark-2); }
.d-goal-rule { width: 60%; height: 1px; background: rgba(255,255,255,.25); margin: 12px 0; }
.d-goal-p { font-size: 14px; color: var(--on-dark-2); font-style: italic; max-width: 30ch; }
.d-tiers { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.d-tier { flex-direction: row; align-items: center; gap: 16px; padding: 18px 22px; }
.d-num { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.d-tier-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.d-tier-t b { font-weight: 800; font-size: 19px; }
.d-tier-t .d-muted { font-size: 14px; }
.d-amt { font-weight: 800; font-size: 30px; color: var(--teal); white-space: nowrap; }
.d-callout { padding: 14px 20px; border-radius: 12px; background: var(--peach); font-weight: 700; }
@media (max-width: 520px) { .d-tier { display: grid; grid-template-columns: 44px 1fr; align-items: center; } .d-amt { grid-column: 2; font-size: 24px; } }

/* Levels table */
.d-table { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.d-tr { display: grid; grid-template-columns: 1.1fr 1.6fr 1.6fr; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.d-tr span { color: var(--ink-2); }
.d-th { border-top: 0; background: var(--canvas); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.d-tr-on { background: #f3f8f5; }
.d-note { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: #e6efe9; font-size: 15px; }
@media (max-width: 640px) {
  .d-th { display: none; }
  .d-tr { grid-template-columns: 1fr; gap: 2px; }
  .d-tr:nth-child(2) { border-top: 0; }
}

/* Sign-up */
.d-reg { background: var(--surface); border-top: 1px solid var(--line); }
.d-steps { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.d-steps li { display: flex; gap: 12px; align-items: center; }
.d-reg .form-card { background: var(--canvas); border: 1px solid var(--line); margin-top: 0; }

/* Questions */
.d-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 1020px) { .d-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .d-faq { grid-template-columns: 1fr; } }

/* Closing call to action and footer */
.d-cta { padding: 64px 0; }
.d-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.d-cta p { color: var(--on-dark-2); font-size: 18px; margin-top: 6px; }
.d-foot { margin-top: 0; padding: 24px 0; background: transparent; font-size: 14px; color: var(--ink-2); }
.d-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.d-foot b { color: var(--ink); }
.d-foot a { color: var(--teal); }
