/* Graphite Pine tokens (from the Kennel Paper file) */
:root {
  --color-bg: #ffffff;
  --color-surface: #f3f5f3;
  --color-field: #e7ebe8;
  --color-fg: #0d1310;
  --color-fg-muted: #626b65;
  --color-pine: #0f7b52;
  --color-attention: #ff9f0a;
  --color-working: #2f9e6e;
  --color-agent-claude: #c2652f;
  --color-agent-claude-tint: #f7e4d6;
  --color-agent-codex: #3e63c9;
  --color-agent-codex-tint: #e1e8f7;
  --color-agent-opencode: #9a6a1c;
  --color-agent-opencode-tint: #f4ead6;
  --color-dark-bg: #121513;

  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-chip: 8px;
  --radius-control: 12px;
  --radius-card: 14px;

  --pad-x: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
}

.section {
  padding-inline: var(--pad-x);
}

.muted {
  color: var(--color-fg-muted);
}

/* Type */
.display {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 58px;
}

.title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 44px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  opacity: 0.88;
}

.btn:active {
  transform: translateY(1px);
}

.btn-dark {
  background: var(--color-fg);
  color: #fff;
}

.btn-lg {
  padding: 18px 28px;
  font-size: 17px;
  line-height: 22px;
}

.btn-outline {
  border: 2px solid var(--color-fg);
  color: var(--color-fg);
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  line-height: 20px;
}

.link {
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: underline 1px;
  text-underline-position: from-font;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-fg);
}

.mark-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.wordmark {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 34px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
}

.nav-links a:not(.btn):hover {
  color: var(--color-pine);
}

.nav-links .btn {
  padding: 12px 20px;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 80px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 80px;
}

.hero h1 .badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 28px 12px;
  border-radius: var(--radius-control);
  background: var(--color-pine);
  color: #fff;
  line-height: 84px;
  rotate: -2deg;
}

.hero-lede {
  max-width: 560px;
  font-size: 20px;
  line-height: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 8px;
}

.hero-note {
  font-size: 14px;
  line-height: 20px;
}

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 520px;
  height: 640px;
}

.hero-visual .stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 640px;
  transform-origin: 0 0;
}

.hero-visual .backdrop {
  position: absolute;
  top: 40px;
  left: -20px;
  width: 560px;
  height: 560px;
  border-radius: var(--radius-control);
  background: var(--color-surface);
}

.pack {
  position: absolute;
  bottom: 70px;
  left: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 500px;
}

.pup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pup .dot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #fff;
  border-radius: 999px;
}

.notification {
  position: absolute;
  top: 110px;
  left: 60px;
  width: 400px;
  overflow: clip;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 24px 48px rgb(30 36 51 / 14%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  rotate: -3deg;
  transform-origin: 0 0;
}

.notification-body {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
}

.notification .mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.notification-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  line-height: 20px;
}

.notification-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  line-height: 18px;
}

.notification-head span {
  color: var(--color-fg-muted);
  font-size: 13px;
  font-weight: 400;
}

.notification-actions {
  display: flex;
  border-top: 1px solid rgb(30 36 51 / 12%);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.notification-actions span {
  flex: 1;
  padding: 13px;
  text-align: center;
}

.notification-actions span + span {
  border-left: 1px solid rgb(30 36 51 / 12%);
}

.notification-actions .approve {
  color: var(--color-pine);
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--color-surface);
  box-shadow: 0 10px 24px rgb(30 36 51 / 10%);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  transform-origin: 0 0;
}

.chip::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-pine);
}

/* Agents band */
.agents {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding-block: 72px;
  background: var(--color-surface);
}

.agents-copy {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 14px;
  width: 440px;
}

.agents-copy p {
  font-size: 17px;
  line-height: 26px;
}

.agent-list {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 24px;
}

.agent-list li {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}

.agent-list .pup {
  width: 104px;
  height: 104px;
  border-radius: 24px;
}

/* Steps */
.how {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 112px;
  padding-bottom: 96px;
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.split-head > :first-child {
  max-width: 720px;
}

.split-head > p {
  flex-shrink: 0;
  width: 360px;
  font-size: 17px;
  line-height: 26px;
}

.steps {
  display: flex;
  gap: 24px;
}

.step {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.step .num {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 64px;
}

.step h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.step p {
  color: var(--color-fg-muted);
  font-size: 16px;
  line-height: 24px;
}

.step code {
  padding: 12px 14px;
  border-radius: var(--radius-chip);
  background: var(--color-field);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 18px;
}

.step-pine {
  background: var(--color-pine);
  color: #fff;
}

.step-pine p {
  color: #fff;
}

/* Feature rows */
.feature {
  display: flex;
  align-items: center;
  gap: 96px;
  padding-block: 64px;
}

.feature.reverse {
  flex-direction: row-reverse;
}

.feature img {
  flex-shrink: 0;
  width: 410px;
  height: auto;
  border-radius: 56px;
  box-shadow: 0 30px 60px rgb(30 36 51 / 16%);
}

.feature-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.feature-copy p {
  max-width: 520px;
  font-size: 19px;
  line-height: 29px;
}

/* Toolbox */
.toolbox {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 96px;
}

.toolbox .split-head {
  padding-bottom: 28px;
  border-bottom: 3px solid var(--color-fg);
}

.toolbox .split-head > :first-child {
  max-width: 640px;
}

.toolbox .split-head > p {
  font-size: 16px;
  line-height: 24px;
}

.tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.tools li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tools h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.tools p {
  font-size: 15px;
  line-height: 22px;
}

/* Privacy */
.privacy {
  display: flex;
  gap: 96px;
  padding-block: 112px;
  background: var(--color-dark-bg);
  color: #fff;
}

.privacy-copy {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 20px;
  width: 560px;
}

.privacy-copy p {
  color: #c9cedb;
  font-size: 18px;
  line-height: 28px;
}

.points {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.points li {
  display: flex;
  gap: 20px;
}

.points li:not(:last-child) {
  padding-bottom: 32px;
  border-bottom: 1px solid #2c3345;
}

.points li::before {
  content: "";
  position: relative;
  top: 9px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--color-pine);
}

.points h3 {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.points p {
  color: #c9cedb;
  font-size: 16px;
  line-height: 24px;
}

/* Pricing */
.pricing {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 112px;
  padding-bottom: 96px;
}

.pricing-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.pricing-head p {
  font-size: 18px;
  line-height: 28px;
}

.plans {
  display: flex;
  gap: 24px;
}

.plan {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 40px;
}

.plan-head .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-head .per {
  color: var(--color-fg-muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 18px;
}

.plan ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 22px;
}

/* Final CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 72px;
  background: var(--color-pine);
  color: #fff;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}

.cta h2 {
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 72px;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 16px;
  line-height: 20px;
}

.mark-xl {
  width: 200px;
  height: 200px;
  border-radius: 46px;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 18px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-pine);
}

/* Full-bleed bands keep their color past 1440px */
.band {
  width: 100%;
}

/* Responsive */
@media (max-width: 1280px) {
  :root {
    --pad-x: 56px;
  }

  .hero h1 {
    font-size: 64px;
    line-height: 66px;
  }

  .hero h1 .badge {
    line-height: 70px;
  }

  .hero-visual {
    transform: scale(0.85);
    transform-origin: center right;
  }

  .feature {
    gap: 64px;
  }

  .privacy-copy {
    width: 460px;
  }
}

@media (max-width: 1080px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    align-self: center;
    transform: none;
  }

  .agents {
    flex-direction: column;
    gap: 40px;
  }

  .agents-copy {
    width: auto;
    max-width: 560px;
  }

  .agent-list {
    width: 100%;
  }

  .split-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .split-head > p {
    width: auto;
    max-width: 560px;
  }

  .steps,
  .plans {
    flex-direction: column;
  }

  .feature,
  .feature.reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 40px;
  }

  .feature img {
    align-self: center;
    width: min(360px, 100%);
    border-radius: 48px;
  }

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

  .privacy {
    flex-direction: column;
    gap: 48px;
  }

  .privacy-copy {
    width: auto;
  }

  .cta h2 {
    font-size: 56px;
    line-height: 58px;
  }

  .mark-xl {
    width: 140px;
    height: 140px;
    border-radius: 32px;
  }

  .mark-xl svg {
    width: 98px;
    height: 98px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad-x: 24px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 46px;
  }

  .hero h1 .badge {
    padding: 2px 18px 8px;
    line-height: 50px;
  }

  .hero-lede {
    font-size: 18px;
    line-height: 27px;
  }

  .hero-visual {
    width: 338px;
    height: 416px;
  }

  .hero-visual .stage {
    transform: translateX(24px) scale(0.6);
  }

  .display {
    font-size: 40px;
    line-height: 43px;
  }

  .title {
    font-size: 32px;
    line-height: 36px;
  }

  .agents {
    padding-block: 56px;
  }

  .agent-list {
    flex-wrap: wrap;
    gap: 24px 12px;
  }

  .agent-list li {
    flex-basis: calc(50% - 6px);
  }

  .how,
  .pricing {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .feature {
    padding-block: 48px;
  }

  .feature-copy p {
    font-size: 17px;
    line-height: 26px;
  }

  .tools {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .toolbox {
    padding-block: 64px;
  }

  .privacy {
    padding-block: 72px;
  }

  .plan {
    padding: 28px;
  }

  .plan-head {
    flex-direction: column;
    gap: 4px;
  }

  .cta {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-block: 56px;
  }

  .cta h2 {
    font-size: 44px;
    line-height: 46px;
  }

  .mark-xl {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .mark-xl svg {
    width: 68px;
    height: 68px;
  }

  .footer,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    width: 286px;
    height: 352px;
  }

  .hero-visual .stage {
    transform: translateX(24px) scale(0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
