/* Built Neatly — landing page
   Palette and rhythm follow the studio design file. */

:root {
  --forest: #24402C;
  --forest-deep: #1B3222;
  --ink: #12211A;
  --lime: #C6F16D;
  --cream: #F5F7F1;
  --sage: #DDE3D3;
  --panel: #F4F5F1;
  --white: #FFFFFF;
  --body: #4A554F;
  --muted: #6B756E;
  --grey: #98A198;

  --radius-card: 28px;
  --radius-block: 20px;
  --radius-pill: 100px;
  --gap-card: 20px;

  --shell: 1280px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a {
  color: #234B31;
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
a:hover { color: var(--ink); }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 50;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--ink); }

/* ---------- Layout shell ---------- */

.page { padding: 40px 40px 56px; }
.shell { max-width: var(--shell); margin: 0 auto; }

.card {
  border-radius: var(--radius-card);
  margin-top: var(--gap-card);
  padding: 72px 40px;
}
.card-light { background: var(--white); }
.card-dark { background: var(--forest); color: var(--cream); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-lime {
  background: var(--lime);
  color: var(--forest);
  padding: 18px 28px;
  font-size: 16px;
}
.btn-lime:hover { background: var(--cream); color: var(--forest); }

.btn-ghost {
  border: 1px solid rgba(245, 247, 241, .4);
  color: var(--cream);
  padding: 17px 30px;
  font-size: 16px;
}
.btn-ghost:hover { background: rgba(245, 247, 241, .12); color: var(--cream); }

.btn-outline {
  border: 1px solid rgba(18, 33, 26, .2);
  color: var(--ink);
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
}
.btn-outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.link-lime { color: var(--lime); font-size: 15px; font-weight: 700; align-self: flex-start; margin-top: auto; }
.link-lime:hover { color: var(--cream); }

/* ---------- Brand + top bar ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--lime); }

.brand-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.brand-mark > span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--forest);
}

.topbar {
  background: var(--forest);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 34px 40px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.nav a { color: rgba(245, 247, 241, .82); }
.nav a:hover { color: var(--lime); }

.nav-cta {
  margin-left: 6px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(245, 247, 241, .4);
  border-radius: var(--radius-pill);
  color: var(--cream);
  padding: 11px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 16px; }
.nav-toggle-bars span {
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

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

.hero {
  background: var(--forest);
  color: var(--cream);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 44px 40px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .72fr);
  gap: 44px;
  align-items: stretch;
}

/* Columns stretch to the tallest one so `margin-top:auto` can pin the quote
   and the CTA to the bottom edge, the way the design has them. */
.hero-col { min-width: 0; display: flex; flex-direction: column; }

.hero h1 {
  font-size: clamp(46px, 5.9vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.asterisk { color: var(--lime); }

.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 247, 241, .75);
  margin-top: 26px;
}

.quote { margin-top: auto; padding-top: 48px; }
.portrait {
  width: 104px; height: 104px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 247, 241, .2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.quote-mark { display: block; font-size: 30px; line-height: 1; color: var(--lime); margin: 20px 0 10px; }
.quote blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245, 247, 241, .8);
  max-width: 34ch;
}

.hero-media {
  position: relative;
  flex: 0 0 520px;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 33, 26, 0) 50%, rgba(18, 33, 26, .6) 100%);
}
.hero-media-caption {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.play::after {
  content: "";
  width: 0; height: 0;
  border-left: 16px solid var(--forest);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.play-label {
  background: rgba(18, 33, 26, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.stat-value { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat-label { font-size: 16px; color: rgba(245, 247, 241, .72); margin: 4px 0 0; }
.stats > div + div { margin-top: 28px; }

.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(245, 247, 241, .88);
}
.ticks li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
}

.hero-cta { margin-top: auto; }

/* ---------- Shared section furniture ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow .rule { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow-lime { color: var(--lime); }

.h-section {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 20ch;
}
.h-hero {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 18ch;
  margin-bottom: 20px;
}
.h-cta {
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  max-width: 17ch;
  margin: 0 auto;
  text-wrap: balance;
}

.lede { font-size: 17px; line-height: 1.65; color: var(--body); max-width: 62ch; }
.lede-invert { font-size: 18px; line-height: 1.6; color: rgba(245, 247, 241, .72); max-width: 46ch; margin-bottom: 40px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.section-note { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 32ch; }

/* ---------- Logos + about ---------- */

.card-light:has(.logos) { padding-top: 56px; }

.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.logos li {
  min-width: 0;
  background: var(--panel);
  border-radius: 16px;
  height: 82px;
  overflow: hidden;
}
.logos img { width: 100%; height: 100%; object-fit: contain; }

.about {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  gap: 48px;
  margin-top: 88px;
  align-items: start;
}
.about-aside .eyebrow { margin-bottom: 32px; }

.avatars { display: flex; margin-bottom: 14px; }
.avatars > span {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--sage);
}
.avatars > span:nth-child(2) { background: #C9D3C0; margin-left: -14px; }
.avatars > span:nth-child(3) { background: #B4C4A9; margin-left: -14px; }
.avatars-more {
  background: var(--forest) !important;
  margin-left: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}

.rating { font-size: 17px; font-weight: 700; }
.rating span { font-weight: 500; color: var(--muted); }

.about-body { min-width: 0; }
.about-body .h-section { margin-bottom: 22px; }

.studio-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.studio-shots img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--panel);
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service {
  min-width: 0;
  background: var(--panel);
  border-radius: var(--radius-block);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: background-color .2s var(--ease);
}
.service:hover { background: var(--sage); }
.service-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #5C7A61;
  margin-bottom: 52px;
}
.service h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.service p { font-size: 15px; line-height: 1.6; color: var(--body); }

.service-dark { background: var(--forest); color: var(--cream); }
.service-dark:hover { background: var(--forest-deep); }
.service-dark .service-num { color: var(--lime); }
.service-dark p { color: rgba(245, 247, 241, .72); margin-bottom: 22px; }

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: start;
}

.steps { display: flex; flex-direction: column; border-top: 1px solid rgba(245, 247, 241, .18); }
.steps li {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(245, 247, 241, .18);
}
.step-num { font-size: 14px; font-weight: 700; color: var(--lime); min-width: 30px; }
.steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.steps p { font-size: 15px; line-height: 1.55; color: rgba(245, 247, 241, .68); }

.browser {
  min-width: 0;
  background: rgba(245, 247, 241, .06);
  border: 1px solid rgba(245, 247, 241, .16);
  border-radius: 22px;
  padding: 18px;
}
.browser-dots { display: flex; gap: 7px; padding: 0 6px 14px; }
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(245, 247, 241, .28);
}
.browser img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- Work ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.work li { min-width: 0; }
.work img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-block);
  background: var(--panel);
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
}
.work-name { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.work-tag { font-size: 14px; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-card);
}
.plan { min-width: 0; border-radius: 22px; padding: 44px; display: flex; flex-direction: column; }
.plan-muted { background: var(--panel); }
.plan-ours { background: var(--forest); color: var(--cream); }

.plan-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.plan-ours .plan-label { color: rgba(245, 247, 241, .6); margin-bottom: 0; }

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.plan-badge {
  background: var(--lime);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(52px, 5.8vw, 76px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.plan-muted .plan-price { color: var(--grey); }
.plan-term { font-size: 19px; font-weight: 500; color: rgba(245, 247, 241, .6); letter-spacing: 0; }

.plan-terms { font-size: 16px; color: var(--muted); margin: 10px 0 34px; }
.plan-ours .plan-terms { color: rgba(245, 247, 241, .6); }

.plan-list { display: flex; flex-direction: column; gap: 13px; font-size: 16px; line-height: 1.5; color: var(--body); }
.plan-ours .plan-list { color: rgba(245, 247, 241, .85); }

.plan-cta { margin-top: 40px; padding: 19px 28px; }

.fineprint { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-card);
}
.testimonials li {
  min-width: 0;
  background: var(--panel);
  border-radius: var(--radius-block);
  padding: 32px;
}
.testimonials blockquote {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.01em;
  font-weight: 500;
  margin-bottom: 24px;
}
.cite { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.cite-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 56px;
}
.h-faq { font-size: clamp(32px, 3.8vw, 48px); max-width: none; }

.faq-list { min-width: 0; display: flex; flex-direction: column; }
.faq-list details { border-top: 1px solid rgba(18, 33, 26, .14); padding: 26px 0; }
.faq-list details:last-child { border-bottom: 1px solid rgba(18, 33, 26, .14); }
.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #5C7A61;
  flex: 0 0 auto;
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 62ch;
  margin-top: 8px;
}

/* ---------- Final CTA + footer ---------- */

.card-cta { padding: 96px 40px; text-align: center; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.card-cta .btn-lime { padding: 19px 32px; }
.card-cta .btn-ghost { padding: 19px 32px; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 32px 8px 0;
  font-size: 14px;
  color: #5C6A5F;
}
.brand-dark { color: var(--ink); font-size: 18px; }
.brand-mark-dark { width: 22px; height: 22px; background: var(--forest); }
.brand-mark-dark > span { width: 8px; height: 8px; background: var(--lime); }
.footer a { color: #5C6A5F; }
.footer a:hover { color: var(--ink); }

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

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-facts { grid-column: 1 / -1; }
  .hero-facts .ticks { margin-top: 32px; }
  .hero-cta { margin-top: 32px; align-self: flex-start; }
  .quote blockquote { max-width: none; }
  .about { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .page { padding: 20px 20px 36px; }
  .card { padding: 56px 28px; }
  .topbar { padding: 26px 28px 0; flex-wrap: wrap; }
  .hero { padding: 36px 28px 44px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 22px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 247, 241, .18);
    font-size: 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 2px; }
  .nav-cta { margin: 12px 0 4px; align-self: flex-start; }

  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-num { margin-bottom: 36px; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan { padding: 32px; }
  .work img { height: 300px; }
  .browser img { height: 340px; }
  .hero-media { flex-basis: 420px; height: 420px; }
  .card-cta { padding: 72px 28px; }
}

@media (max-width: 620px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote { padding-top: 0; }
  .hero-media { flex-basis: 300px; height: 300px; }
  .hero-media-caption { left: 14px; right: 14px; bottom: 14px; gap: 10px; }
  .play { width: 44px; height: 44px; }
  .play::after { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
  .play-label { font-size: 13px; padding: 9px 14px; }

  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-shots { grid-template-columns: 1fr; gap: 14px; }
  .studio-shots img { height: 200px; }
  .services { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .card { padding: 44px 22px; }
  .card-cta { padding: 56px 22px; }
  .section-head { margin-bottom: 32px; }
  .footer { justify-content: flex-start; gap: 16px; padding: 28px 4px 0; }
}

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