/* The marketing site's styles. The app's own font (Inter, self-hosted, OFL --
   licence beside it) and brand colours (charcoal + lime, from the mark). */
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ink: #1f2427;
  --ink-2: #4b5357;
  --ink-3: #636b70;
  --charcoal: #3a4145;
  --lime: #aad15e;
  --lime-deep: #6f9a24;   /* decorative strokes and borders */
  --accent-text: #4a7410; /* lime as TEXT: >= 5:1 on paper and panel */
  --paper: #ffffff;
  --panel: #f6f7f4;
  --line: #e3e6e0;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 26, .06), 0 12px 32px rgba(20, 24, 26, .10);
}
/* Dark follows the system preference unless the visitor chose light; an explicit
   choice (data-theme, set by the toggle and remembered) always wins. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1ec; --ink-2: #c3c9c4; --ink-3: #9aa29c; --accent-text: #aad15e;
    --paper: #141719; --panel: #1b1f21; --line: #2b3134;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef1ec; --ink-2: #c3c9c4; --ink-3: #9aa29c; --accent-text: #aad15e;
  --paper: #141719; --panel: #1b1f21; --line: #2b3134;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
}
:root[data-theme="light"] { color-scheme: light; }

/* Two logo files (the mark's charcoal strokes vanish on a dark page): show one. */
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }

.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-toggle:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.theme-toggle[hidden] { display: none; }
/* The icon shows what a click switches TO. */
.ico--sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico--moon { display: none; }
  :root:not([data-theme="light"]) .ico--sun { display: block; }
}
:root[data-theme="dark"] .ico--moon { display: none; }
:root[data-theme="dark"] .ico--sun { display: block; }
.nav__links { align-items: center; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; color: var(--ink-2); }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 18px 20px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }

main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600;
  background: var(--lime); color: #1d2a07; text-decoration: none; border: 1px solid transparent;
}
.btn:hover { filter: brightness(.96); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.lede { font-size: 1.15rem; max-width: 38em; }

.hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; align-items: center; }
.hero__shot img, .feature__shot img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 960px) { .hero { grid-template-columns: 5fr 6fr; } }

.feature { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature--flip .feature__copy { order: 2; }
}
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--lime-deep); border-bottom: 2.5px solid var(--lime-deep); transform: rotate(-45deg);
}

.band { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; margin: 40px 0; }
.band__grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 12px; }
@media (min-width: 760px) { .band__grid { grid-template-columns: repeat(3, 1fr); } }

.closing { text-align: center; padding: 56px 0 72px; }
.closing p { max-width: 36em; margin: 0 auto 20px; }

.foot { max-width: 1180px; margin: 0 auto; padding: 28px 20px 40px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 6px; font-size: .92rem; }
.foot__note { color: var(--ink-3); }

/* Guides */
.guides-index { padding: 32px 0 64px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: var(--paper);
}
.card:hover { border-color: var(--lime-deep); }
.card h2 { font-size: 1.2rem; }
.card__meta { font-size: .82rem; color: var(--ink-3); font-weight: 600; }

.guide { max-width: 760px; margin: 0 auto; padding: 24px 0 72px; }
.crumb a { color: var(--ink-3); text-decoration: none; font-weight: 500; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 24px 0 32px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--empty { background: var(--panel); border: 1px dashed var(--line); display: grid; place-items: center; }
.video--empty p { color: var(--ink-3); margin: 0; font-weight: 500; }
.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 18px 0 24px; }
.prose code { background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.prose li { margin-bottom: 6px; color: var(--ink-2); }
.prose blockquote { margin: 0 0 1em; padding: 12px 16px; border-left: 3px solid var(--lime-deep); background: var(--panel); border-radius: 0 8px 8px 0; }
.prose blockquote p { margin: 0; }
.updated { color: var(--ink-3); font-size: .88rem; margin-top: 32px; }

/* A tall panel screenshot (the price explanation) stays a sensible size. */
.feature__shot img.tall { max-height: 640px; width: auto; margin: 0 auto; }

/* The launch clip (made from demo-company screens; the product name is in its pixels). */
.film { padding: 24px 0 72px; text-align: center; }
.film h2 { margin-bottom: 24px; }
.film video { display: block; width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); background: #22282b; }
