/* Acme Analytics: a fictional TryLook customer's marketing site. */

:root {
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --alt: #f5f6fa;
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.example-note {
  margin: 0;
  padding: 9px 20px;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  text-align: center;
}

.example-note a {
  color: #a5b4fc;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #818cf8, #4f46e5);
  box-shadow: inset 0 0 0 7px rgb(255 255 255 / 22%);
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.button:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
}

.button-large {
  padding: 13px 22px;
  font-size: 16px;
}

.hero {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, var(--brand-soft), #ffffff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.lede {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgb(17 24 39 / 16%));
}

.section {
  padding: 80px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: var(--alt);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.features article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integrations li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font-weight: 600;
}

.cta {
  display: grid;
  justify-items: center;
  padding: 48px 24px;
  border-radius: 20px;
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  max-width: 620px;
  margin: 0 0 26px;
  color: #d1d5db;
}

.footer {
  padding: 28px 0 90px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }

  .header-row > .button {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
