/* Motet Labs site styles. Brand colors live in the variables below: change them here once. */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* From the Motet brand kit */
  --brand-blue: #29567d;
  --brand-teal: #358f9b;
  --brand-green: #7fbb6e;
  --gradient: linear-gradient(135deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
  --ink: #1b2a33;
  --muted: #54646d;
  --bg: #ffffff;
  --panel: #f8fafc;
  --line: #e2e8f0;
  --radius: 14px;
  --max: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaf2f0;
    --muted: #a9bcc0;
    --bg: #0f1a21;
    --panel: #15242d;
    --line: #22343e;
  }
}

* { box-sizing: border-box; }

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

h1, h2, h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

a { color: var(--brand-teal); }
@media (prefers-color-scheme: dark) { a { color: #7fbb6e; } }

.site-header, main, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand { display: flex; align-items: center; }
.brand img { display: block; height: 72px; width: auto; }
.product h2 img { display: block; height: 96px; width: auto; max-width: 100%; }

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
nav a:hover { color: var(--ink); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
}

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; max-width: 18ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0; }

.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--gradient);
}
.product h2 { margin: 0 0 16px; }

.status {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.features article {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.features h3 { font-size: 1.35rem; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }

.contact { padding: 56px 0; }
.contact h2 { font-size: 2rem; margin: 0 0 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer p { margin: 0; }

/* Policy pages */
.policy { max-width: 760px; padding: 40px 0 64px; }
.policy h1 { font-size: 2.6rem; margin: 0 0 4px; }
.policy h2 { font-size: 1.6rem; margin: 36px 0 8px; }
.policy .updated { color: var(--muted); margin-top: 0; }

@media (max-width: 600px) {
  .product { padding: 28px 20px; }
  nav a { margin-left: 14px; }
}

code { font-size: 0.9em; background: var(--line); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.tagline { font-family: 'EB Garamond', Georgia, serif; font-size: 1.6rem; line-height: 1.3; margin: 0 0 14px; max-width: 34ch; }
.product .lede { margin-bottom: 18px; }
.callout { border-left: 4px solid var(--brand-teal); background: var(--bg); padding: 14px 18px; border-radius: 0 10px 10px 0; max-width: 64ch; margin: 0; }
.section-label { font-size: 1.5rem; margin: 40px 0 0; }
.features { margin-top: 16px; }
.promise { font-weight: 600; margin: 32px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; }
.actions .status { margin-top: 0; }
.button-secondary { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
