/* Timalens marketing site.
   Hand-written, no framework. Ordered: tokens, reset, layout, components.

   The page is one message and a booking calendar, so this file is only what
   that needs. Rules for the removed sections -- steps, features, the estimate
   widget, plans and the FAQ -- came out with them; git has them if any of
   those sections return. */

:root {
  --color-bg: #ffffff;
  --color-text: #111827;
  --color-text-secondary: #4b5563;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-surface: #f9fafb;
  --color-primary: #111827;
  --color-primary-text: #ffffff;

  --radius: 6px;
  --shell: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body,
h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

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

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

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Keyboard users get a visible ring; pointer users do not. */
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-primary-text);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* -------------------------------------------------------------- layout -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  /* 44px minimum touch target. */
  min-height: 48px;
}

.btn--primary { background: var(--color-primary); color: var(--color-primary-text); }
.btn--primary:hover { background: #000; }

/* --------------------------------------------------------------- navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.15s ease;
}
.nav--scrolled { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__links { display: flex; align-items: center; gap: 8px; }

.nav__link {
  padding: 10px 14px;
  font-size: 15px;
  text-decoration: none;
  color: var(--color-text-secondary);
  border-radius: var(--radius);
}
.nav__link:hover { color: var(--color-text); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  content: "";
  position: relative;
}
.nav__toggle span::before { top: -6px; position: absolute; }
.nav__toggle span::after { top: 6px; position: absolute; }

/* ----------------------------------------------------------------- hero */
/* Single centred column. There is no second column to balance against now
   that the poster image and the logo strip are gone. */
.hero { padding-block: 48px 64px; text-align: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 20px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.hero__title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-inline: auto;
  color: #0f172a;
}

.hero__lede {
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  max-width: 680px;
}

/* ----------------------------------------------------------- cal embed */
/* Cal sizes its own iframe once loaded, so the height here only has to hold
   the space before that happens -- without it the section collapses to zero
   and the page jumps when the calendar arrives. */
.cal-embed {
  margin-top: 32px;
  width: 100%;
  min-height: 620px;
  overflow: auto;
  text-align: left;
}

.cal-embed__fallback { text-align: center; padding-block: 48px; }

@media (max-width: 640px) {
  .cal-embed { min-height: 560px; }
}

/* ------------------------------------------- call agenda & roadmap -- */
.agenda-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
  max-width: 860px;
  margin-inline: auto;
  text-align: left;
}

.agenda-header {
  text-align: center;
  margin-bottom: 32px;
}

.agenda-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
}

.agenda-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.agenda-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-top: 6px;
}

.agenda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .agenda-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agenda-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.agenda-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.agenda-card__icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: inline-block;
}

.agenda-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.agenda-card__text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

/* --------------------------------------------------------------- footer */
.footer { background: var(--color-primary); color: #d1d5db; padding-block: 48px 32px; }
.footer__grid { display: grid; gap: 32px; }
.footer__tag { margin-top: 14px; font-size: 15px; max-width: 240px; }
.footer__heading { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer__list li + li { margin-top: 8px; }
.footer__list a { font-size: 15px; text-decoration: none; color: #d1d5db; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #374151;
  font-size: 14px;
  color: #9ca3af;
}

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 767px) {
  .nav__links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 20px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .nav__links--open { display: flex; }
  .nav__links .btn { width: 100%; margin-top: 8px; }
  .nav__toggle { display: flex; }
}

@media (min-width: 768px) {
  .hero { padding-block: 72px 88px; }
  .hero__title { font-size: 48px; line-height: 1.1; }
  .hero__lede { font-size: 20px; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
