/* WarmEngage marketing site. Kinlead's ink, greys and Geist, with
   WarmEngage's sky-to-lavender for the brand moments. No build step. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0d0f;
  --ink-2: #1c2126;
  --muted: #545f69;
  --faint: #8a949d;
  --line: #e4e6e9;
  --line-soft: #eef0f2;
  --page: #ffffff;
  --panel: #f8f9f9;
  --card: #ffffff;
  --accent: #1f6fdb;
  --nav-on: #d5e8fe;
  --nav-on-ink: #1e5ea7;
  --ok: #157f4b;
  --ok-bg: #e5f5ec;
  --warn: #a4570b;
  --warn-bg: #fdf1e3;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --sky: #7db8f7;
  --lavender: #b9a6f4;
  --brand-text: linear-gradient(92deg, #3b8de6 0%, #8a6fe0 100%);
  --radius: 14px;
  --container: 1120px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}
.skip:focus {
  top: 12px;
}

/* ---------- Frame: a centred column with hairline sides ---------- */

.frame {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.wrap {
  padding: 0 24px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: var(--ink-2);
}
.btn-line {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-line:hover {
  border-color: #cfd4d8;
  background: var(--panel);
}
.btn .arrow {
  transition: transform 0.15s ease;
}
.btn:hover .arrow {
  transform: translateX(2px);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.logo img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 72px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
}
.pill b {
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(92deg, var(--sky), var(--lavender));
  color: #fff;
  font-weight: 500;
  font-size: 12px;
}
.hero h1 {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.02;
  font-weight: 560;
  letter-spacing: -0.04em;
}
.grad {
  background: var(--brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 22px 0 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.fine {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- Stages: the gradient backdrops mockups sit on ---------- */

.stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: soft-light;
}
.stage-sky {
  background:
    radial-gradient(120% 90% at 0% 0%, #cfe5fd 0%, transparent 55%),
    radial-gradient(90% 90% at 100% 100%, #ddd3fb 0%, transparent 60%),
    linear-gradient(135deg, #a9d0fa 0%, #c3b4f6 100%);
}
.stage-lav {
  background:
    radial-gradient(100% 80% at 100% 0%, #efe9fe 0%, transparent 55%),
    radial-gradient(80% 90% at 0% 100%, #c9e0fc 0%, transparent 60%),
    linear-gradient(160deg, #c4b5f6 0%, #a8cbf8 100%);
}
.stage-mist {
  background:
    radial-gradient(90% 80% at 20% 0%, #eef6ff 0%, transparent 60%),
    linear-gradient(180deg, #d9eafd 0%, #e6defc 100%);
}
.stage-dusk {
  background:
    radial-gradient(110% 90% at 100% 100%, #f1ecff 0%, transparent 55%),
    linear-gradient(200deg, #9fc8f8 0%, #bdaef5 70%, #d6ccfa 100%);
}

.hero-stage {
  margin-top: 56px;
  height: 600px;
  padding: 48px 0 0 48px;
}

/* ---------- App window (in-product mockups) ---------- */

.win {
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(11, 13, 15, 0.06),
    0 1px 2px rgba(11, 13, 15, 0.04),
    0 24px 60px -24px rgba(36, 30, 90, 0.35);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.hero-win {
  display: grid;
  grid-template-columns: 196px 1fr;
  width: 1120px;
  height: 640px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.side {
  background: var(--panel);
  border-right: 1px solid var(--line-soft);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 16px;
}
.side-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.side-brand b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.side-brand small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}
.nav-item svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.nav-item .count {
  margin-left: auto;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.nav-item.on {
  background: var(--nav-on);
  color: var(--nav-on-ink);
}
.side .spacer {
  flex: 1;
}

.main {
  padding: 20px 24px;
  background: #fff;
  min-width: 0;
}
.main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.main-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.main-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  gap: 2px;
}
.seg span {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
}
.seg span.on {
  background: var(--ink);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stat {
  padding: 12px 14px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child {
  border-right: 0;
}
.stat small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat b {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--ok);
}

.dash {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
}
.box-title span {
  font-weight: 400;
  color: var(--muted);
}
.legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 5px;
  vertical-align: 0;
}

.row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.row:first-of-type {
  border-top: 0;
}
.av {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
}
.av-a { background: linear-gradient(135deg, #6aa8ef, #4c7fd6); }
.av-b { background: linear-gradient(135deg, #a991ef, #7a64d8); }
.av-c { background: linear-gradient(135deg, #5cc3a6, #2f9a7e); }
.av-d { background: linear-gradient(135deg, #f0a77d, #d97a4c); }
.av-e { background: linear-gradient(135deg, #8fa3b5, #5f7385); }
.row-body {
  min-width: 0;
  flex: 1;
}
.who {
  font-weight: 600;
  font-size: 12.5px;
}
.who span {
  font-weight: 400;
  color: var(--muted);
}
.quote {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.draft {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink);
}
.acts {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink);
  background: #fff;
}
.mini.ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.tag svg {
  width: 11px;
  height: 11px;
}
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-bad { background: var(--bad-bg); color: var(--bad); }
.tag-info { background: var(--nav-on); color: var(--nav-on-ink); }
.tag-soft { background: var(--panel); color: var(--muted); border: 1px solid var(--line-soft); }
.push {
  margin-left: auto;
}

/* ---------- Sections ---------- */

.section {
  padding-top: 112px;
  padding-bottom: 112px;
}
.section-head h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.05;
  font-weight: 560;
  letter-spacing: -0.035em;
}
.section-head p {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--muted);
}
.kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}

.feature .stage {
  height: 340px;
  padding: 28px 0 0 28px;
}
.grid-3 .feature .stage {
  height: 300px;
  padding: 24px 0 0 24px;
}
.feature .stage .win {
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: 100%;
}
.feature h3 {
  margin: 22px 0 0;
  font-size: 19px;
  font-weight: 560;
  letter-spacing: -0.015em;
}
.feature p {
  margin: 8px 0 0;
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
}

/* Feature mock interiors */
.pad {
  padding: 16px 18px;
}
.mock-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
  font-size: 12.5px;
}
.mock-title .push {
  font-weight: 400;
  color: var(--muted);
}
.post {
  display: flex;
  gap: 10px;
}
.post-text {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.label {
  display: block;
  margin: 14px 0 6px;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}

.doc {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.page {
  flex: none;
  width: 150px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-soft);
  background: #fff;
  font-size: 11px;
  color: var(--muted);
}
.page b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.page.cover {
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(150deg, #8fc0f8 0%, #a995ef 100%);
}
.page.cover b {
  color: #fff;
  font-size: 15px;
}
.page .num {
  font-family: var(--mono);
  font-size: 10px;
}
.page ul {
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  font-size: 10.5px;
  line-height: 1.5;
}

.claims .claim {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.claims .claim:first-child {
  border-top: 0;
}
.claim-ico {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.claim-ico svg {
  width: 12px;
  height: 12px;
}
.claim-ico.ok { background: var(--ok-bg); color: var(--ok); }
.claim-ico.bad { background: var(--bad-bg); color: var(--bad); }
.claim p {
  margin: 0;
  font-size: 12px;
  color: var(--ink-2);
}
.claim small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 11px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
  background: #fff;
}
.chip.on {
  border-color: var(--nav-on-ink);
  background: var(--nav-on);
  color: var(--nav-on-ink);
}
.field {
  margin-top: 10px;
  padding: 9px 11px;
  min-height: 52px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.field::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 13px;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--ink);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .field::after { animation: none; }
}

.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}
.setting:first-child {
  border-top: 0;
}
.setting small {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

/* ---------- Steps ---------- */

.steps {
  margin-top: 64px;
  display: grid;
  gap: 96px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.step:nth-child(even) {
  grid-template-columns: 1.15fr 1fr;
}
.step:nth-child(even) .step-copy {
  order: 2;
}
.step-num {
  display: block;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #a7b0b8;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.step p {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
}
.step .stage {
  height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.signin {
  width: 340px;
  padding: 26px 24px;
  text-align: center;
}
.signin img {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 10px;
}
.signin h4 {
  margin: 14px 0 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.signin p {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.google svg {
  width: 16px;
  height: 16px;
}
.or {
  margin: 14px 0;
  font-size: 11px;
  color: var(--faint);
}
.input {
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-align: left;
  padding: 0 12px;
  line-height: 38px;
  font-size: 12.5px;
  color: var(--faint);
}

.plan {
  width: 400px;
}
.plan .chips {
  margin-top: 4px;
}

.timeline {
  width: 400px;
}
.event {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}
.event:first-child {
  border-top: 0;
}
.event-ico {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--muted);
}
.event-ico svg {
  width: 14px;
  height: 14px;
}
.event time {
  margin-left: auto;
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
}

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.principle {
  padding: 36px 28px 40px 24px;
  border-left: 1px solid var(--line-soft);
}
.principle:first-child {
  border-left: 0;
}
.principle svg {
  width: 22px;
  height: 22px;
  color: var(--nav-on-ink);
}
.principle h3 {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.principle p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Closing call to action ---------- */

.closer {
  padding-top: 96px;
  padding-bottom: 112px;
}
.closer .stage {
  padding: 72px 48px;
  text-align: center;
}
.closer img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(60, 50, 140, 0.45);
}
.closer h2 {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  font-weight: 560;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.closer p {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 17px;
  color: #3b4550;
}
.closer .cta-row {
  justify-content: center;
}
.closer .btn-line {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-legal {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--faint);
  max-width: 760px;
}

/* ---------- 404 ---------- */

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.lost h1 {
  margin: 18px 0 0;
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.lost p {
  margin: 10px 0 26px;
  color: var(--muted);
}
.lost img {
  margin: 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 .feature:last-child {
    grid-column: span 2;
  }
  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step:nth-child(even) .step-copy {
    order: 0;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn-line {
    display: none;
  }
  .nav-inner {
    gap: 16px;
  }
  .hero {
    padding-top: 48px;
  }
  .lede {
    font-size: 17px;
  }
  .hero-stage {
    margin-top: 40px;
    height: 420px;
    padding: 24px 0 0 20px;
  }
  .hero-win {
    grid-template-columns: 1fr;
    width: 720px;
  }
  .hero-win .side {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }
  .dash {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-3 .feature:last-child {
    grid-column: auto;
  }
  .feature .stage,
  .grid-3 .feature .stage {
    height: 300px;
  }
  .steps {
    gap: 64px;
  }
  .step .stage {
    height: 320px;
    padding: 20px;
  }
  .signin,
  .plan,
  .timeline {
    width: 100%;
    max-width: 360px;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principle {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 28px 0;
  }
  .principle:first-child {
    border-top: 0;
  }
  .closer {
    padding-top: 72px;
    padding-bottom: 80px;
  }
  .closer .stage {
    padding: 56px 22px;
  }
}

/* ---------- Small utilities (kept out of inline styles for the CSP) ---------- */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.dot-likes { background: var(--accent); }
.dot-comments { background: #9b85ec; }
.flush { margin-top: 0; }
.frame-bare { border: 0; }

/* Grid children may hold wide mockups: let them shrink to the column. */
.feature,
.step > * {
  min-width: 0;
}
html,
body {
  overflow-x: clip;
}
