/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #111111;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  /* floating pill — matches green bar inset */
  position: fixed;
  top: 20px;
  left: 96px;
  right: 96px;
  height: 60px;
  padding: 0 28px;
  border-radius: 1000px;
  background: #ffffff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 100;

  transition:
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    right 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* compressed pill on scroll — shrinks equally from both sides */
.navbar.scrolled {
  height: 44px;
  padding: 0 20px;
  top: 12px;
  left: calc(50vw - 240px);
  right: calc(50vw - 240px);
  gap: 20px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-cta {
  opacity: 0;
  max-width: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
  overflow: hidden;
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity 0.25s ease, max-width 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s ease;
  max-width: 200px;
  overflow: hidden;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #444444;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.15s;
}

.nav-links a:hover { color: #111111; }

.nav-cta {
  padding: 10px 20px;
  background: #485c11;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
  border-radius: 1000px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 200px;
  overflow: hidden;
  transition: background 0.2s, opacity 0.25s ease, max-width 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s ease;
}

.nav-cta:hover { background: #8e9c78; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: #ffffff;
  padding: 100px 40px 0;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: #6f6f6f;
  letter-spacing: -0.01em;
}

.hero-heading {
  font-family: 'AG Display', 'Crimson Text', Georgia, serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #111111;
}

/* ─── Mockup wrap + green bar ───────────────────────────── */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
}

.hero-mockup-wrap::before {
  content: '';
  position: absolute;
  /* break out to near-full viewport width with 24px padding each side */
  left: calc(96px - 50vw + 50%);
  right: calc(96px - 50vw + 50%);
  top: 18%;
  bottom: 0;
  background: #8E9C78;
  border-radius: 20px;
  z-index: 0;
  animation: fadeInBar 0.9s ease 0.2s both;
}

@keyframes fadeInBar {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Mockup image ───────────────────────────────────────── */
.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  background: #1c1c1e;
  border-radius: 20px 20px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 -4px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  animation: fadeInMockup 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}

@keyframes fadeInMockup {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-mockup img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  display: block;
  /* placeholder color shown when image is missing */
  min-height: 360px;
  background: #f0ece8;
  object-fit: cover;
  object-position: top;
}

/* ─── Logo Cloud ────────────────────────────────────────── */
.logo-cloud {
  background: #ffffff;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  padding: 50px 40px;
}

.logo-cloud-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.logo-cloud-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #6f6f6f;
  letter-spacing: -0.005em;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  height: 48px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.75;
  /* hide broken image icon when file is missing */
  display: block;
}

.logo-item img[src=""],
.logo-item img:not([src]) {
  display: none;
}

.logo-item span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6f6f6f;
  white-space: nowrap;
}

/* ─── Benefits / What We Solve ───────────────────────────── */
.benefits-section {
  background: #E9E9E9;
  padding: 80px 40px;
}

.benefits-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section-eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  color: #485c11;
  letter-spacing: -0.01em;
  text-transform: none;
}

.benefits-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 100%;
  text-align: center;
}

.benefits-heading {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #111111;
}

.benefits-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #6f6f6f;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-body strong {
  font-weight: 700;
  color: #111111;
}

/* ─── Features section (icon lockups 3+2 grid) ───────────── */
.features-section {
  background: #ffffff;
  padding: 0 40px 60px;
  border-top: 1px solid #cccccc;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding-top: 60px;
}

/* row 1: items 1–3 each span 2 of 6 columns */
.icon-lockup:nth-child(1),
.icon-lockup:nth-child(2),
.icon-lockup:nth-child(3) { grid-column: span 2; }

/* row 2: items 4–5 centered (start at col 2 and 4) */
.icon-lockup:nth-child(4) { grid-column: 2 / span 2; }
.icon-lockup:nth-child(5) { grid-column: 4 / span 2; }

.icon-lockup {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 32px 0;
}

.lockup-icon {
  width: 24px;
  height: 24px;
  color: #111111;
  flex-shrink: 0;
}

.lockup-icon svg {
  width: 100%;
  height: 100%;
}

.lockup-text h3 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111111;
  margin-bottom: 20px;
}

.lockup-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #6f6f6f;
  letter-spacing: -0.005em;
}

/* ─── Workflow section ───────────────────────────────────── */
.workflow-section {
  padding: 80px 40px;
  background: #f9f9f9;
}

.workflow-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.workflow-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.workflow-heading {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111111;
}

.workflow-right {
  flex: 0 0 480px;
}

/* ─── Feature Showcase ───────────────────────────────────── */
.showcase-section {
  padding: 80px 40px;
  background: #ffffff;
  border-top: 1px solid #e9e9e9;
}

.showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.showcase-left {
  flex: 0 0 480px;
}

.showcase-mockup {
  overflow: hidden;
}

.showcase-mockup img {
  width: 100%;
  border-radius: 12px;
  display: block;
  min-height: 280px;
  background: #ffffff;
  object-fit: cover;
  object-position: top;
}

.showcase-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.showcase-heading {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111111;
}

.showcase-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #6f6f6f;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Status card ────────────────────────────────────────── */
.hero-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin: -24px -24px 20px -24px;
  padding: 14px 24px;
  background: #000000;
  border-radius: 20px 20px 0 0;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

/* ─── Task list ──────────────────────────────────────────── */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ─── Task row ───────────────────────────────────────────── */
.task-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
}

.task-row.visible { opacity: 1; transform: translateY(0); }
.task-row.visible:hover { background: #f5f5f5; }

/* ─── Icon wrap ──────────────────────────────────────────── */
.icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Conic-gradient circle loader ──────────────────────── */
.circle-loader {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(
    #485C11 calc(var(--p, 0) * 1deg),
    #E9E9E9 calc(var(--p, 0) * 1deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle-loader::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
}

/* ─── Completed check circle ─────────────────────────────── */
.circle-done {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.circle-done svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ─── Task text ──────────────────────────────────────────── */
.task-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.task-label {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
}

.task-sub {
  font-size: 11px;
  color: #888888;
  line-height: 1.3;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0d0f1a;
  color: #ffffff;
  overflow: hidden;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
  display: flex;
  gap: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.005em;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  flex: 1;
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-col a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

/* ─── Big wordmark with fade ─────────────────────────────── */
.footer-wordmark-wrap {
  padding: 0;
  line-height: 1;
  overflow: hidden;
  text-align: center;
}

.footer-wordmark {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #E9E9E9;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);
  line-height: 0.9;
}

/* ─── Footer bottom bar ──────────────────────────────────── */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: -0.005em;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 56px 20px 0; }
  .workflow-section { padding: 56px 20px; }
}
