:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-soft: #f4f2ee;
  --border: #e4e1dc;
  --border-strong: #d5d1ca;
  --ink: #1c1917;
  --body: #3f3a37;
  --muted: #78716c;
  --faint: #a8a29e;
  --coral: #ef7974;
  --coral-bright: #fe795d;
  --coral-soft: #fdefee;
  --violet: #8067d7;
  --violet-bright: #9b78f4;
  --violet-soft: #f1eef9;
  --green: #477a59;
  --green-soft: #edf6ef;
  --shadow: 0 24px 70px rgba(53, 45, 40, 0.09);
  --wrap: 1160px;
  --radius: 20px;
  --font-display: "Aeonik", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Arbeit", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(155, 120, 244, 0.08), transparent 26rem),
    radial-gradient(circle at 18% 22%, rgba(254, 121, 93, 0.06), transparent 24rem),
    var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--wrap));
  height: 82px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark { width: 34px; height: 34px; }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links > a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

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

.nav-links .nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 3px 14px rgba(53, 45, 40, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  width: min(calc(100% - 40px), var(--wrap));
  min-height: 690px;
  margin: 0 auto;
  padding: 70px 0 110px;
}

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

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(239, 121, 116, 0.12);
}

.hero h1,
.section-heading h2,
.connect-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(52px, 6.2vw, 84px); line-height: 0.98; }

.hero h1 span {
  background: linear-gradient(120deg, var(--coral-bright), var(--violet-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 25px rgba(28, 25, 23, 0.15);
}

.button-primary:hover { box-shadow: 0 14px 34px rgba(28, 25, 23, 0.2); }

.button-secondary { border: 1px solid var(--border); background: rgba(255, 255, 255, 0.65); color: var(--ink); }
.button-secondary:hover { border-color: var(--border-strong); }

.hero-note { margin: 16px 0 0; color: var(--faint); font-size: 13px; }

.workspace-preview {
  overflow: hidden;
  border: 1px solid rgba(213, 209, 202, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.preview-topbar,
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
}

.preview-topbar { border-bottom: 1px solid var(--border); }
.preview-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }

.preview-mark,
.footer-mark,
.final-mark {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral-bright), var(--violet-bright));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}

.preview-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 12px; }
.org-chip { padding: 5px 9px; border-radius: 7px; background: var(--surface-soft); color: var(--muted); font: 600 11px/1 var(--font-body); }
.preview-body { padding: 22px; }
.preview-label { margin: 0 0 11px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.preview-service {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
}

.preview-service.active { border-color: rgba(239, 121, 116, 0.35); background: linear-gradient(90deg, var(--coral-soft), white 45%); }
.preview-service strong { display: block; color: var(--ink); font-size: 14px; }
.preview-service small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.service-glyph { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-weight: 700; }
.glyph-feed { gap: 3px; padding: 10px 8px; }
.glyph-feed i { display: block; width: 100%; height: 3px; border-radius: 9px; background: currentColor; opacity: 0.35; }
.glyph-feed i:last-child { opacity: 0.9; }
.glyph-ticket { background: var(--violet-soft); color: var(--violet); }
.glyph-spot { background: #fff3e9; color: #b76432; }
.glyph-cue { background: var(--green-soft); color: var(--green); }
.status-pill { padding: 4px 8px; border-radius: 999px; background: var(--coral-soft); color: #a74946; font-size: 10px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #6a9a78; box-shadow: 0 0 0 4px var(--green-soft); }
.preview-footer { border-top: 1px solid var(--border); color: var(--faint); font-size: 10px; }
.preview-footer span:first-child { color: var(--muted); }
.preview-footer i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #6a9a78; }

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 76px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.proof-strip span[aria-hidden] { color: var(--coral); }
.section { width: min(calc(100% - 40px), var(--wrap)); margin: 0 auto; }
.tools { padding: 130px 0 140px; }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 54px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -30px; }
.section-heading h2, .connect-copy h2 { font-size: clamp(40px, 4.5vw, 60px); line-height: 1.04; }
.section-heading > p:last-child { max-width: 500px; margin: 0 0 4px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.tool-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--body);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--card-glow, var(--surface-soft));
  filter: blur(1px);
  opacity: 0.7;
}

.tool-card:hover { z-index: 1; transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 45px rgba(53, 45, 40, 0.08); }
.tool-card-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.tool-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--icon-bg, var(--surface-soft)); color: var(--icon-color, var(--ink)); font-size: 19px; font-weight: 700; }
.tool-link { color: var(--faint); font-size: 12px; font-weight: 700; }
.tool-card:hover .tool-link { color: var(--ink); }
.tool-kicker { position: relative; z-index: 1; margin: 56px 0 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tool-card h3 { position: relative; z-index: 1; margin: 0; color: var(--ink); font: 700 30px/1.1 var(--font-display); letter-spacing: -0.03em; }
.tool-card > p:last-child { position: relative; z-index: 1; max-width: 410px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.tool-feed { --icon-bg: var(--coral-soft); --icon-color: #b8504c; --card-glow: rgba(254, 121, 93, 0.12); }
.tool-ticket { --icon-bg: var(--violet-soft); --icon-color: var(--violet); --card-glow: rgba(155, 120, 244, 0.13); }
.tool-spot { --icon-bg: #fff3e9; --icon-color: #b76432; --card-glow: rgba(255, 159, 90, 0.12); }
.tool-cue { --icon-bg: var(--green-soft); --icon-color: var(--green); --card-glow: rgba(71, 122, 89, 0.1); }
.tool-key { --icon-bg: linear-gradient(135deg, var(--coral-bright), var(--violet-bright)); --card-glow: rgba(155, 120, 244, 0.12); }
.tool-feed .tool-icon { gap: 4px; padding: 13px 11px; }
.tool-feed .tool-icon i { width: 100%; height: 4px; border-radius: 10px; background: currentColor; opacity: 0.3; }
.tool-feed .tool-icon i:last-child { opacity: 0.95; }
.tool-card-wide { grid-column: 1 / -1; min-height: 230px; }
.key-icon svg { width: 29px; height: 29px; fill: none; stroke: white; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wide-copy { position: relative; z-index: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: end; gap: 50px; margin-top: 48px; }
.wide-copy .tool-kicker { margin: 0 0 7px; }
.wide-copy p:last-child { max-width: 530px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.connect { padding-bottom: 140px; }
.connect-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; padding: clamp(38px, 6vw, 78px); border: 1px solid var(--border); border-radius: 28px; background: #f1efeb; }

.connection-visual { position: relative; min-height: 390px; }
.connection-visual::before, .connection-visual::after { content: ""; position: absolute; inset: 50% auto auto 50%; height: 1px; width: 70%; transform-origin: left; background: linear-gradient(90deg, var(--border-strong), transparent); }
.connection-visual::before { transform: rotate(-35deg); }
.connection-visual::after { transform: rotate(35deg); }
.connection-core { position: absolute; inset: 50% auto auto 50%; z-index: 2; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 34px; background: white; box-shadow: var(--shadow); transform: translate(-50%, -50%); }
.connection-core span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: linear-gradient(135deg, var(--coral-bright), var(--violet-bright)); color: white; font: 700 25px/1 var(--font-display); }
.connection-core small { color: var(--muted); font-weight: 700; }
.connection-node { position: absolute; z-index: 3; display: grid; place-items: center; min-width: 62px; height: 62px; padding: 0 12px; border: 1px solid var(--border); border-radius: 18px; background: white; color: var(--muted); font-size: 11px; font-weight: 800; box-shadow: 0 10px 25px rgba(53, 45, 40, 0.07); }
.node-github { top: 10%; left: 5%; }
.node-slack { right: 4%; top: 13%; }
.node-services { right: 3%; bottom: 10%; }
.connect-copy > p:not(.eyebrow) { max-width: 580px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.steps { display: grid; gap: 2px; margin: 28px 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.steps li > span { color: var(--coral); font: 700 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps strong, .steps small { display: block; }
.steps strong { color: var(--ink); font-size: 14px; }
.steps small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.final-cta { padding: 115px 20px 130px; border-top: 1px solid var(--border); text-align: center; }
.final-mark { width: 56px; height: 56px; margin: 0 auto 27px; border-radius: 17px; font-size: 22px; box-shadow: 0 13px 30px rgba(128, 103, 215, 0.18); }
.final-cta h2 { font-size: clamp(42px, 5vw, 66px); }
.final-cta p { margin: 14px 0 30px; color: var(--muted); font-size: 17px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: min(calc(100% - 40px), var(--wrap)); min-height: 110px; margin: 0 auto; border-top: 1px solid var(--border); color: var(--faint); font-size: 12px; }
.footer-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.footer-brand { font-size: 15px; }
.site-footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.not-found {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.not-found .eyebrow { margin-top: 24px; }
.not-found h1 { margin: 0; color: var(--ink); font: 700 clamp(38px, 7vw, 64px)/1.05 var(--font-display); letter-spacing: -0.04em; }
.not-found > p:not(.eyebrow) { margin: 18px 0 30px; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 75px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .workspace-preview { width: min(100%, 560px); margin: 0 auto; transform: none; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .eyebrow { margin-bottom: -5px; }
  .connect-card { grid-template-columns: 1fr; }
  .connection-visual { min-height: 310px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 30px 0; }
  .footer-links { justify-content: center; }
}

@media (max-width: 660px) {
  .site-nav { height: 70px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0; }
  .hero { width: min(calc(100% - 32px), var(--wrap)); padding: 58px 0 82px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 50px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .workspace-preview { border-radius: 18px; }
  .preview-body { padding: 14px; }
  .preview-service { grid-template-columns: 34px 1fr auto; padding: 11px; }
  .preview-footer span:last-child { display: none; }
  .proof-strip { align-items: flex-start; flex-direction: column; gap: 6px; }
  .proof-strip span[aria-hidden] { display: none; }
  .section { width: min(calc(100% - 32px), var(--wrap)); }
  .tools { padding: 90px 0 100px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card, .tool-card-wide { grid-column: auto; min-height: 285px; padding: 24px; }
  .wide-copy { grid-template-columns: 1fr; gap: 15px; margin-top: 45px; }
  .connect { padding-bottom: 95px; }
  .connect-card { padding: 28px 22px; border-radius: 22px; }
  .connection-visual { min-height: 270px; }
  .connection-core { width: 125px; height: 125px; border-radius: 29px; }
  .connection-node { min-width: 54px; height: 54px; border-radius: 15px; }
  .node-github { left: 0; }
  .node-slack { right: 0; }
  .node-services { right: 0; }
  .final-cta { padding: 90px 10px 100px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
