:root {
  --ink: #111412;
  --muted: #686d67;
  --paper: #fbfaf5;
  --paper-strong: #ffffff;
  --line: #dedbd0;
  --lime: #c9ff42;
  --aqua: #86e6dd;
  --coral: #ff7b57;
  --steel: #dbe3eb;
  --charcoal: #1f2522;
  --shadow: 0 28px 90px rgba(20, 24, 21, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 20, 18, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 18, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(17, 20, 18, 0.14);
  border-radius: var(--radius);
  background: rgba(251, 250, 245, 0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(17, 20, 18, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(17, 20, 18, 0.06);
  outline: none;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 48px;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(88svh - 72px);
  margin: 0 auto;
  padding: 56px 0 38px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 11vw, 9.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 30px;
  color: #3f443f;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 28px rgba(17, 20, 18, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2a302d;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.56);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--lime);
  box-shadow: 0 12px 28px rgba(122, 166, 0, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 6px;
  font-size: 1.55rem;
  font-weight: 800;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 18, 0.12);
  border-radius: var(--radius);
  background: #f1efe7;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 20, 18, 0.1);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  min-height: 530px;
  object-fit: cover;
}

.visual-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 20, 18, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.visual-caption span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-caption strong {
  font-size: 0.98rem;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: 100%;
  padding: 30px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--lime);
}

.intro-band p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  font-weight: 800;
  line-height: 1.25;
}

.intro-band a {
  align-self: center;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section,
.showcase,
.split-section,
.contact-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 48px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 780px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.capability-card {
  min-height: 320px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7)),
    var(--paper-strong);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.capability-card:last-child {
  border-right: 0;
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(17, 20, 18, 0.09);
}

.accent-card {
  background: var(--aqua);
}

.dark-card {
  background: var(--charcoal);
  color: white;
}

.card-index {
  display: inline-flex;
  margin-bottom: 110px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dark-card .card-index,
.dark-card p {
  color: rgba(255, 255, 255, 0.72);
}

.capability-card p,
.product-card p,
.timeline-item p,
.showcase-copy p,
.contact-section p {
  color: var(--muted);
  line-height: 1.58;
}

.showcase {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 38px;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.showcase-copy {
  position: sticky;
  top: 116px;
  align-self: start;
}

.showcase-copy h2 {
  font-size: clamp(2.3rem, 4.7vw, 4.7rem);
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: end;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(17, 20, 18, 0.14);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 128px;
  height: 86px;
  border: 1px solid rgba(17, 20, 18, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(17, 20, 18, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 18, 0.15) 1px, transparent 1px);
  background-size: 18px 18px;
  transform: rotate(-4deg);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 44px;
  right: 110px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 20, 18, 0.18);
  border-radius: 50%;
  background: white;
}

.productivity {
  background: linear-gradient(135deg, #ffffff 0%, #eef7f4 100%);
}

.social {
  background: linear-gradient(135deg, #ffffff 0%, #fff0e9 100%);
}

.ai {
  background: linear-gradient(135deg, #ffffff 0%, #eef0ff 100%);
}

.product-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(17, 20, 18, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card h3 {
  max-width: 420px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.product-card p {
  max-width: 590px;
  margin-bottom: 22px;
}

.product-card span {
  display: inline-flex;
  width: max-content;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 0;
  padding: 96px 0;
}

.process-panel {
  display: grid;
  align-content: space-between;
  min-height: 620px;
  padding: 34px;
  border: 1px solid var(--ink);
  background: var(--charcoal);
  color: white;
}

.process-panel .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.process-panel h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
}

.process-panel .button-primary {
  width: fit-content;
  border-color: white;
  background: white;
  color: var(--ink);
}

.timeline {
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  min-height: 155px;
  padding: 28px;
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.timeline-item span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-item:nth-child(2) span {
  background: var(--aqua);
}

.timeline-item:nth-child(3) span {
  background: var(--coral);
}

.timeline-item:nth-child(4) span {
  background: var(--lime);
}

.timeline-item h3 {
  font-size: 1.6rem;
}

.timeline-item p {
  max-width: 560px;
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 80px;
  padding: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(134, 230, 221, 0.3), rgba(201, 255, 66, 0.32)),
    white;
}

.contact-section h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
}

.contact-section p {
  max-width: 580px;
  margin-bottom: 0;
}

.contact-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-link span {
  flex: 0 0 auto;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero,
  .showcase,
  .split-section,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual img {
    min-height: 420px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card {
    border-bottom: 1px solid var(--line);
  }

  .capability-card:nth-child(2n) {
    border-right: 0;
  }

  .capability-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .showcase-copy {
    position: static;
  }

  .process-panel {
    min-height: 420px;
  }

  .timeline {
    border-left: 1px solid var(--ink);
  }
}

@media (max-width: 720px) {
  .topbar {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav-toggle {
    position: relative;
    z-index: 30;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(17, 20, 18, 0.18);
    border-radius: 50%;
    background: white;
  }

  .nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 80px 12px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    border-radius: var(--radius);
    padding: 14px 12px;
    color: var(--ink);
    font-size: 1.05rem;
  }

  .hero,
  .section,
  .showcase,
  .split-section {
    width: calc(100% - 24px);
    padding: 64px 0;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .hero-actions {
    margin-bottom: 24px;
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    padding: 14px 10px 14px 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero-metrics div:last-child {
    border-right: 0;
  }

  .hero-metrics strong {
    font-size: 1.18rem;
  }

  .hero-metrics span {
    font-size: 0.72rem;
  }

  .hero-visual img {
    min-height: 248px;
  }

  .visual-caption {
    right: 12px;
    bottom: 12px;
    min-width: 160px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    padding: 26px 12px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .capability-card:nth-child(2n),
  .capability-card:nth-last-child(-n + 2) {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .card-index {
    margin-bottom: 72px;
  }

  .product-card {
    min-height: 260px;
    padding: 24px;
  }

  .product-card::before {
    width: 92px;
    height: 64px;
  }

  .product-card::after {
    right: 88px;
  }

  .process-panel {
    min-height: 360px;
    padding: 28px;
  }

  .timeline-item {
    grid-template-columns: 54px 1fr;
    padding: 24px 18px;
  }

  .contact-section {
    width: calc(100% - 24px);
    margin-bottom: 58px;
    padding: 28px;
  }

  .contact-link {
    align-items: flex-start;
  }

  .footer {
    display: grid;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .intro-band,
  .section,
  .showcase,
  .split-section,
  .contact-section {
    animation: rise-in 700ms ease both;
  }

  .hero-visual {
    animation-delay: 120ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
