/* ClockCheck landing — indigo + teal (matches app palette) */

:root {
  --navy: #312E81;
  --navy-mid: #4338CA;
  --navy-dark: #1E1B4B;
  --navy-soft: #EEF2FF;
  --navy-soft-2: #E0E7FF;
  --teal: #0D9488;
  --teal-mid: #14B8A6;
  --teal-dark: #0F766E;
  --green-text: #065F46;
  --green-deep: #059669;
  --bg: #F8FAFC;
  --bg-2: #F1F5F9;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --border: rgba(49, 46, 129, 0.08);
  --border-strong: rgba(49, 46, 129, 0.14);
  --shadow-sm: 0 1px 2px rgba(49, 46, 129, 0.04), 0 2px 8px rgba(49, 46, 129, 0.05);
  --shadow: 0 2px 4px rgba(49, 46, 129, 0.04), 0 8px 24px rgba(49, 46, 129, 0.08);
  --shadow-lg: 0 4px 12px rgba(49, 46, 129, 0.06), 0 16px 40px rgba(49, 46, 129, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --wrap: 1080px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 0.85rem; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--muted); }
.accent { color: var(--teal); }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: flex; }
.brand-name { font-size: 1.05rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
}
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--navy); }
.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.nav-cta:hover {
  background: var(--navy-mid);
  text-decoration: none !important;
  transform: translateY(-1px);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(49, 46, 129, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(49, 46, 129, 0.4), inset 0 1px 0 rgba(255,255,255,0.14);
}

.btn-ghost {
  background: #fff;
  color: var(--navy) !important;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--navy-mid); }

.btn-lg { min-height: 52px; padding: 0.85rem 1.75rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.25rem;
  background:
    radial-gradient(ellipse 90% 70% at 10% -10%, rgba(67, 56, 202, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 55% at 95% 20%, rgba(13, 148, 136, 0.12), transparent 50%),
    linear-gradient(180deg, #EEF2FF 0%, var(--bg) 55%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--navy-soft);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  margin: 0;
}

/* Phone mock */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 280px);
  background: #060816;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 60px rgba(49, 46, 129, 0.28),
    0 8px 20px rgba(0,0,0,0.2);
}

.phone-notch {
  width: 38%;
  height: 8px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #1a1f33;
}

.phone-screen {
  background:
    radial-gradient(ellipse 120% 80% at 8% -5%, rgba(67, 56, 202, 0.12), transparent 52%),
    radial-gradient(ellipse 90% 60% at 100% 18%, rgba(13, 148, 136, 0.1), transparent 48%),
    linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-radius: 24px;
  padding: 1.1rem 1rem 1.25rem;
  min-height: 340px;
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.mock-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.mock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9A3412;
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.mock-clock {
  text-align: center;
  margin: 0.5rem 0 1.35rem;
}
.mock-time {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}
.mock-unit {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.mock-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.mock-card-teal {
  background: #ECFDF5;
  border-color: #6EE7B7;
}
.mock-k {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.mock-v {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.mock-card-teal .mock-v { color: var(--green-text); }

.mock-punch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #EA580C, #C2410C);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
.mock-punch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Sections ---------- */
.section {
  padding: 3.25rem 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--navy-soft) 100%);
}
.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.section-sub { margin: 0; font-size: 1.02rem; }

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--navy-mid);
  margin-bottom: 0.85rem;
}
.feature-icon-teal {
  background: #CCFBF1;
  color: var(--teal-dark);
}

/* Free band */
.free-band {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 800px) {
  .free-band {
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
  }
}
.free-copy p { color: var(--muted); max-width: 34rem; }
.coming {
  font-size: 0.88rem;
  margin-bottom: 0;
  padding-top: 0.35rem;
}

.free-pillars {
  display: grid;
  gap: 0.75rem;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.pillar strong {
  color: var(--navy);
  font-size: 1.05rem;
}
.pillar span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Disclaimer */
.disclaimer-card {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  max-width: 48rem;
}
.disclaimer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.disclaimer-card strong { color: var(--text); }

/* Tip */
.section-tip { padding-top: 0.5rem; }
.tip-band {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--navy-soft);
  border: 1px solid var(--navy-soft-2);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.tip-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  color: var(--navy-mid);
  box-shadow: var(--shadow-sm);
}
.tip-band h2 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.tip-band p { margin: 0; font-size: 0.92rem; }
.tip-band em { font-style: normal; font-weight: 600; color: var(--navy); }

/* CTA */
.cta-section { padding-bottom: 3.5rem; }
.cta-card {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, rgba(67, 56, 202, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 70% at 90% 100%, rgba(13, 148, 136, 0.16), transparent 50%),
    linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 55%, #0F766E 140%);
  color: #E0E7FF;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-card .muted { color: rgba(224, 231, 255, 0.78); margin-bottom: 1.35rem; }
.cta-card .btn-primary {
  background: #fff;
  color: var(--navy) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}
.cta-card .btn-primary:hover {
  background: var(--navy-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: var(--bg-2);
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.footer-copy {
  font-size: 0.82rem;
  margin: 0.75rem 0 0;
}
.site-footer .muted { margin-bottom: 0.15rem; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature-card, .nav-cta { transition: none; }
  .mock-punch-dot { animation: none; }
}
