:root {
  --navy: #1b2a4a;
  --navy-deep: #0f1b33;
  --accent: #f5c200;
  --bg: #ffffff;
  --surface: #f9fafb;
  --input-bg: #f3f4f6;
  --border: #e5e7eb;
  --text: #1f2937;
  --text-strong: #1b2a4a;
  --text-muted: #6b7280;
  --tab-bg: #e8ecf5;
  --max-w: 880px;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 27, 51, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy-deep);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.brand-name {
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

@media (max-width: 560px) {
  .site-nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.lead {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
}

.meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Policy sections */
.policy {
  padding: 32px 0 64px;
}

.policy article {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.policy article:last-child {
  border-bottom: none;
}

.policy h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.2px;
}

.policy p,
.policy li {
  color: var(--text);
}

.policy ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.policy li {
  margin-bottom: 8px;
}

.policy strong {
  color: var(--text-strong);
}

.policy a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.policy a:hover {
  color: var(--navy-deep);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--navy-deep);
}

.back-top {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.back-top:hover {
  color: var(--navy-deep);
}

/* Focus visible — accesibilidad */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Form (eliminar-datos) */
.eyebrow-warn {
  background: #fee2e2;
  color: #991b1b;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.1px;
}

.field input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input::placeholder {
  color: var(--text-muted);
}

.field input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 84px;
}

.show-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
}

.show-pass:hover {
  background: var(--tab-bg);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.check input {
  margin-top: 3px;
  accent-color: var(--navy);
  width: 16px;
  height: 16px;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn-danger:hover {
  background: #b91c1c;
}

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

.btn-danger:disabled {
  background: #fca5a5;
  cursor: not-allowed;
}

.form-feedback {
  min-height: 1.2em;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.form-feedback.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: 10px;
}

.form-feedback.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  border-radius: 10px;
}

.form-hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Landing ─────────────────────────────────────────── */

.landing-hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.landing-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 194, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}

.landing-hero-copy .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row.centered {
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
  letter-spacing: 0.2px;
}

.cta-primary {
  background: var(--accent);
  color: var(--navy);
}

.cta-primary:hover {
  background: #ffd633;
}

.cta-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Phone mockup */
.landing-hero-art {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 260px;
  height: 480px;
  background: #000;
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.mock-hole {
  color: var(--navy);
  font-weight: 900;
  font-size: 22px;
}

.mock-par {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.mock-scores {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mock-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--input-bg);
  border-radius: 10px;
  padding: 10px 14px;
}

.mock-score span {
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
}

.mock-score b {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 800;
}

.mock-score.birdie b {
  color: #e31b11;
}

.mock-bet {
  margin-top: 14px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Generic landing sections */
.landing-section {
  padding: 72px 0;
  background: #fff;
}

.landing-section-alt {
  background: var(--surface);
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-sub {
  margin: 0 0 36px;
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--tab-bg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tab-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text-strong);
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--text-strong);
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Bottom CTA */
.landing-cta {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.landing-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 34px);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.landing-cta p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.cta-note {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245, 194, 0, 0.4);
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .landing-hero-art {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-hero {
    padding: 48px 0 64px;
  }
  .landing-section,
  .landing-cta {
    padding: 56px 0;
  }
}
