/* Trillo landing — shared tokens & base (from Figma aps0Z2gYOHJLaALChIIwdt) */
:root {
  --color-accent: #ff3c00;      /* Theme Colors/Color 02 */
  --color-ink: #0a0a0a;         /* Neutral 04 */
  --color-muted: #5b5b5b;       /* Neutral 03 */
  --color-surface: #f7f7f5;     /* Neutral 02 */
  --color-white: #ffffff;       /* Neutral 01 */
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "InterDisplay", "Inter Display", "Inter", system-ui, sans-serif;
  --radius-btn: 12px;
  --container: 1200px;
  --container-narrow: 1044px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* In-page anchors (the hero badge links) glide instead of jumping. Switched off
   for anyone who asked for less motion -- a page-length auto-scroll is exactly
   the kind of movement `prefers-reduced-motion` exists to stop. */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Landing spots for the in-page links (hero badge + header nav + footer):
   keep the target off the viewport edge. */
#calendar-sync,
#features,
#pricing,
#reminders {
  scroll-margin-block-start: 80px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
