/* Roasted Distributions — brand tokens
   Espresso #2B211C and Parchment #F3EFE9 come from the logo package.
   Supporting tints are mixed from those two. */
:root {
  --espresso: #2B211C;
  --espresso-2: #3A2E27;   /* slightly lifted espresso for cards on dark */
  --parchment: #F3EFE9;
  --parchment-2: #E8E1D7;  /* deeper parchment for tinted sections */
  --line: rgba(43, 33, 28, 0.14);
  --line-light: rgba(243, 239, 233, 0.18);
  --muted: rgba(43, 33, 28, 0.72);
  --muted-light: rgba(243, 239, 233, 0.75);
  --radius: 14px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--espresso);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.hidden { display: none; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  opacity: 0.75;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9em 1.5em;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.7em 1.15em; font-size: 0.88rem; }
.btn-dark { background: var(--espresso); color: var(--parchment); }
.btn-dark:hover { background: var(--espresso-2); }
.btn-light { background: var(--parchment); color: var(--espresso); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: var(--parchment); color: var(--parchment); }
.btn-outline-light:hover { background: var(--parchment); color: var(--espresso); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 239, 233, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.8; }
.nav a:hover { opacity: 1; }

/* Hero */
.hero { background: var(--espresso); color: var(--parchment); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 48px;
  padding-top: 96px; padding-bottom: 96px;
}
.lede { font-size: 1.15rem; color: var(--muted-light); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-art img { width: 100%; max-width: 420px; margin-left: auto; opacity: 0.95; }

/* Promise */
.promise { padding: 88px 0; border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff8; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.pillar h3 { margin: 0; font-size: 1.25rem; }
.pillar p { margin: 0; color: var(--muted); }
.pillar-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--espresso); color: var(--parchment); display: inline-flex; align-items: center; justify-content: center; }
.pillar-icon svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--parchment-2); }
.section-dark { background: var(--espresso); color: var(--parchment); }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* Audience cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  padding: 48px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff8;
  display: flex; flex-direction: column; align-items: flex-start;
}
.card > p:not(.eyebrow) { color: var(--muted); }
.card-dark { background: var(--espresso); color: var(--parchment); border-color: transparent; }
.card-dark > p:not(.eyebrow) { color: var(--muted-light); }
.card .btn { margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 0.5rem 0 2rem; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 0.7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 14px; height: 8px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { border-top: 2px solid var(--espresso); padding-top: 24px; }
.step-num { display: block; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 1.25rem; opacity: 0.6; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Sectors */
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sectors li { background: var(--parchment); padding: 32px; }
.sectors p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Statement */
.statement { background: var(--espresso); color: var(--parchment); padding: 96px 0; }
.statement-inner { display: flex; gap: 48px; align-items: center; }
.statement-mark { width: 120px; flex-shrink: 0; }
.statement p { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; margin: 0; color: var(--muted-light); }
.statement strong { color: var(--parchment); font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-copy p:not(.eyebrow) { color: var(--muted-light); }
.contact-forms { background: var(--espresso-2); border-radius: var(--radius); padding: 32px; }
.tabs { display: flex; gap: 6px; background: var(--espresso); padding: 5px; border-radius: 999px; margin-bottom: 28px; }
.tabs button {
  flex: 1; border: 0; border-radius: 999px; padding: 0.75em 1em;
  font: 600 0.92rem var(--font); background: transparent; color: var(--muted-light); cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--parchment); color: var(--espresso); }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--muted-light); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--font); color: var(--parchment);
  background: var(--espresso); border: 1px solid var(--line-light);
  border-radius: 10px; padding: 0.75em 0.9em; width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(243,239,233,.4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--parchment); }
.form .btn { justify-self: start; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--espresso); color: var(--muted-light); border-top: 1px solid var(--line-light); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; }
.footer-inner p { margin: 0; }
.footer-inner .small { margin-left: auto; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .hero-inner, .split, .contact { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 34px; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 72px 0; }
  .pillars, .steps, .sectors, .row { grid-template-columns: 1fr; }
  .promise { padding: 64px 0; }
  .pillar { padding: 24px; }
  .card { padding: 32px 24px; }
  .contact-forms { padding: 20px; }
  .statement-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .statement-mark { width: 72px; }
  .footer-inner .small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* App links */
.nav .nav-app { opacity: 1; font-weight: 700; }
.hero-app { margin: 1.5rem 0 0; color: var(--muted-light); font-size: 0.95rem; }
.hero-app a { color: var(--parchment); font-weight: 600; }
.footer-app { color: var(--parchment); font-weight: 600; text-decoration: underline; }
.mobile-app { display: none; }
.btn-ghost { border-color: var(--espresso); color: var(--espresso); background: transparent; }
@media (max-width: 960px) {
  .header-inner { gap: 10px; }
  .header-inner .mobile-app { display: inline-flex; margin-left: auto; }
  .header-inner .btn-dark { margin-left: 0; }
}

/* social icons */
.social { display: flex; gap: 12px; margin-top: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--parchment); border: 1px solid var(--line-light); transition: background .15s ease; }
.social a:hover { background: rgba(243,239,233,.1); }
.social svg { width: 20px; height: 20px; }
.contact-copy .social-label { margin: 28px 0 0; font-weight: 600; color: var(--parchment); }
.footer-inner .social { margin-top: 0; }
