/* Lever Accounting — marketing site
 * Tokens copied from the Lever Accounting design system (_ds/.../tokens).
 * Component rules mirror the DS Button / Input / Textarea. */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand green */
  --green-950: #0d2114;
  --green-900: #12331f;
  --green-800: #184028;
  --green-700: #1c5230;
  --green-600: #246433;
  --green-500: #2f7a41;
  --green-400: #4d9a5f;
  --green-300: #86bd93;
  --green-200: #bcdcc3;
  --green-100: #e0efe4;
  --green-50:  #f2f9f6;

  /* Ink */
  --ink-900: #12201a;
  --ink-700: #33413a;
  --ink-500: #6b7973;
  --ink-400: #909c96;
  --ink-300: #bcc6c1;
  --ink-200: #dbe2de;
  --ink-100: #eef2f0;
  --ink-50:  #f7faf9;
  --white:   #ffffff;
  --error-600: #b3341f;

  /* Semantic */
  --brand:          var(--green-600);
  --brand-hover:    var(--green-700);
  --brand-active:   var(--green-800);
  --surface-card:   var(--white);
  --text-strong:    var(--ink-900);
  --text-body:      var(--ink-700);
  --text-muted:     var(--ink-500);
  --text-subtle:    var(--ink-400);
  --text-on-brand:  var(--white);
  --text-link:      var(--green-600);
  --border-subtle:  var(--ink-100);
  --border-default: var(--ink-200);
  --border-strong:  var(--ink-300);
  --focus-ring:     color-mix(in srgb, var(--green-600) 45%, transparent);

  /* Type */
  --font-display: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

  /* Shape & motion */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-2xl: 28px;
  --shadow-lg: 0 12px 28px rgba(18, 32, 26, 0.10), 0 4px 8px rgba(18, 32, 26, 0.05);
  --shadow-focus: 0 0 0 3px var(--focus-ring);
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-fast: 120ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-link); text-decoration: none; }
a:hover { opacity: 0.75; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 88px; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
[data-lucide], svg.lucide { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header .logo { height: 28px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--text-body); }

/* ---------- Buttons (DS Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 42px; padding: 0 18px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
  line-height: 1; letter-spacing: 0.005em; white-space: nowrap;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  background: var(--brand); color: var(--text-on-brand); border: 1px solid var(--brand);
}
.btn:hover { background: var(--brand-hover); opacity: 1; }
.btn:active { background: var(--brand-active); transform: translateY(0.5px); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--lg { height: 50px; padding: 0 24px; font-size: 1rem; gap: 10px; }
.btn--secondary { background: var(--white); color: var(--brand); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--green-50); }
.btn--secondary:active { background: var(--green-100); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%); }
.hero .container { padding-top: 112px; padding-bottom: 96px; }
.hero__inner { max-width: 900px; }
.hero h1 {
  font-family: var(--font-display); font-size: 64px; font-weight: 800;
  line-height: 1.04; letter-spacing: -0.03em; color: var(--text-strong);
  margin: 0; text-wrap: balance;
}
.hero__lede { font-size: 19px; line-height: 1.6; margin: 28px 0 0; max-width: 64ch; text-wrap: pretty; }
.hero__lede .brand-name { font-weight: 700; font-style: italic; color: var(--brand); }
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__creds {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  color: var(--text-muted); font-size: 14px; font-weight: 500;
}
.hero__creds span { display: inline-flex; align-items: center; gap: 7px; }
.hero__creds svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Section headings ---------- */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin: 0;
}
.section-title {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-strong); margin: 12px 0 0;
}
.section-lede { font-size: 17px; line-height: 1.6; margin: 14px 0 0; }

/* ---------- Services ---------- */
.services { padding-top: 84px; padding-bottom: 84px; }
.services__intro { max-width: 620px; }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--surface-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: 26px;
}
.icon-tile {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--green-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon-tile svg { width: 22px; height: 22px; color: var(--brand); }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-strong); margin: 0; }
.card p { font-size: 15px; line-height: 1.6; margin: 8px 0 0; }

/* ---------- Testimonial ---------- */
.testimonial { max-width: 900px; margin: 0 auto; padding: 84px 32px; text-align: center; }
.testimonial__mark { width: 40px; height: 40px; color: var(--green-300); }
.testimonial blockquote { font-size: 19px; line-height: 1.6; margin: 16px 0 0; }
.testimonial figcaption { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial__who { text-align: left; }
.testimonial__name { font-weight: 700; color: var(--text-strong); }
.testimonial__role { font-size: 13.5px; color: var(--text-muted); }

/* ---------- About ---------- */
.about { background: var(--green-50); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.about .container { padding-top: 84px; padding-bottom: 72px; }
.about__intro { max-width: 760px; margin: 0 auto; text-align: center; }
.about__intro .section-lede { margin: 16px auto 0; }
.about__intro .section-lede + .section-lede { margin-top: 14px; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.fact { padding: 28px 24px; text-align: center; }
.fact .icon-tile { width: 44px; height: 44px; margin: 0 auto 14px; }
.fact .icon-tile svg { width: 20px; height: 20px; }
.fact__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-subtle); }
.fact__value { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-strong); margin-top: 6px; }
.fact__note { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { padding-top: 84px; padding-bottom: 84px; }
.contact__panel {
  background: var(--green-600); border-radius: var(--radius-2xl); padding: 56px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start;
}
.contact__panel h2 {
  font-family: var(--font-display); font-size: 52px; font-weight: 800; color: #fff;
  letter-spacing: -0.025em; margin: 0;
}
.contact__panel > div > p { font-size: 18px; line-height: 1.6; color: var(--green-100); margin: 18px 0 0; text-wrap: pretty; }
.contact-form {
  background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.contact-form__rule { height: 1px; background: var(--border-subtle); margin: 4px 0; }

/* ---------- Form fields (DS Input / Textarea) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--text-strong); }
.field__hint { font-size: 0.75rem; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; background: var(--white);
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--text-strong);
  outline: none; transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.field input { height: 44px; padding: 0 14px; }
.field textarea { padding: 10px 14px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-subtle); }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: var(--shadow-focus); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: var(--green-100); }
.site-footer__main { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer__main .logo { height: 26px; width: auto; display: block; }
.site-footer__tagline { font-size: 14px; line-height: 1.6; color: var(--green-300); margin: 16px 0 0; max-width: 32ch; }
.site-footer h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-300);
  font-weight: 700; margin: 0 0 14px;
}
.site-footer__main a { display: block; font-size: 14.5px; color: var(--green-100); margin-bottom: 9px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer__legal .container {
  padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--green-300);
}

.site-footer__legal a { color: var(--green-300); }
.site-footer__legal a:hover { color: var(--green-100); opacity: 1; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 84px; }
.legal h1.section-title { font-size: 44px; }
.legal__updated { font-size: 14px; color: var(--text-muted); margin: 10px 0 32px; }
.legal h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--text-strong); margin: 36px 0 10px;
}
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text-strong); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Responsive ----------
 * The design is drawn at 1280px (min-width 1000px). These breakpoints keep it
 * usable on tablets and phones without changing the desktop layout. */
@media (max-width: 900px) {
  .hero .container { padding-top: 80px; padding-bottom: 72px; }
  .hero h1 { font-size: 48px; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__panel { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 14px; }
  .site-header .logo { height: 20px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 36px; }
  .hero__lede { font-size: 17px; }
  .hero__creds { gap: 14px 22px; }
  .section-title { font-size: 30px; }
  .services, .contact { padding-top: 56px; padding-bottom: 56px; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonial { padding: 56px 16px; }
  .testimonial blockquote { font-size: 17px; }
  .about .container { padding-top: 56px; padding-bottom: 56px; }
  .contact__panel { padding: 28px 20px; border-radius: 20px; }
  .contact__panel h2 { font-size: 40px; }
  .contact-form { padding: 20px; }
  .site-footer__main { grid-template-columns: 1fr; }
  .legal { padding-top: 48px; padding-bottom: 56px; }
  .legal h1.section-title { font-size: 34px; }
}

/* ---------- Contact form status ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.contact-form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; font-size: 0.875rem; line-height: 1.4; flex: 1 1 220px; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: var(--error-600); }
