@import url("/css/fonts.css");

/* ---------- Tokens ---------- */
:root {
  --ink: #111827;
  --muted: #4b5563;
  --subtle: #8a94a6;
  --line: #e5e7eb;
  --bg: #f4f5f7;
  --card: #ffffff;
  --brand: #ee5b0c;
  --brand-hover: #d95008;
  --brand-tint: #fff1e8;
  --ok: #16a34a;
  --ok-tint: #ecfdf3;
  --side: #0f172a;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font-family: inherit;
}
img {
  max-width: 100%;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1228px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose {
  max-width: 760px;
}
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section--alt {
  background: var(--card);
}
.section--dark {
  background: var(--side);
}
.section--border-top {
  border-top: 1px solid var(--line);
}
.section--tight {
  padding: 40px 0;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
}
.h1 {
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.h2 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 48px;
  text-wrap: pretty;
}
.h2--tight {
  margin-bottom: 16px;
}
.h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.body-lg {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.fine-print {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--subtle);
}

/* ---------- Justified body copy ---------- */
/* Long-form multi-line copy reads justified; headings, labels, buttons, nav,
   footer link lists, one-line captions and stat numbers are excluded. */
.lead,
.body-lg,
.body,
.fine-print,
.path-card__text,
.tabs__panel-lead,
.faq__a,
.callout,
.run-stat p,
.list--check p,
.compose-box,
.legal p,
.legal li {
  text-align: justify;
  hyphens: auto;
  text-wrap: pretty;
}
/* Centered intros (hero subtitle equivalents inside a centered CTA stack) keep
   their last line centered instead of ragged-left. */
.center-stack .body-lg {
  text-align-last: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg {
  padding: 12px 18px;
  font-size: 15px;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}
.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  text-decoration: none;
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  background: var(--bg);
  text-decoration: none;
}
.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn--ghost-dark:hover {
  background: #1e293b;
  text-decoration: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1228px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__brand img {
  width: 28px;
  height: 28px;
  display: block;
}
.nav__brand span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__login {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 8px;
  white-space: nowrap;
}
.nav__login:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav__burger {
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.nav__menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}
.nav.is-open .nav__menu {
  display: block;
}
.nav__menu-inner {
  max-width: 1228px;
  margin: 0 auto;
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__menu-inner a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.nav__menu-inner a:hover {
  text-decoration: none;
  color: var(--brand);
}
.nav__menu-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.nav__menu-actions .btn {
  padding: 10px 16px;
}

/* ---------- Hero ---------- */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy {
  min-width: 0;
}
.hero__art {
  min-width: 0;
  display: flex;
  justify-content: center;
}
.hero__logos {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero__logos-link {
  font-size: 14px;
  color: var(--subtle);
}
.hero__logos-link:hover {
  color: var(--brand);
  text-decoration: none;
}
.hero__logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 48px;
  font-size: 14px;
  color: var(--subtle);
}

/* ---------- Path card (hero mock + "what a row reads like") ---------- */
.path-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.path-card--full {
  max-width: none;
}
.path-card__head {
  background: var(--side);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.path-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.path-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.path-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.path-card__title {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.3;
}
.path-card__name--on-light {
  color: var(--ink);
}
.path-card__title--on-light {
  color: var(--subtle);
}
.path-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  flex: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.3);
  background: var(--ok-tint);
  color: var(--ok);
  white-space: nowrap;
}
.badge--sm {
  font-size: 11px;
  padding: 1px 7px;
}
.path-card__body {
  padding: 20px;
}
.path-card__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.path-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.path-card__actions .btn {
  padding: 10px 16px;
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid--3-narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 24px 64px;
}
.grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 32px 24px;
}
.grid--tight {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px 32px;
}
.grid--tighter {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 24px 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card--flush {
  padding: 28px;
}
.card--col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Numbered / icon list rows ---------- */
.list--num {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.list--num__row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 20px;
}
.list--num__row--tight {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.num-marker {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.55;
}

.list--check {
  border-top: 1px solid var(--line);
}
.list--check p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.step-list {
  display: flex;
  flex-direction: column;
}
.step-list--bordered {
  border-top: 1px solid var(--line);
}

/* ---------- Feature step (how it works) ---------- */
.feature-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-step__screen {
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- Tabs (use cases) ---------- */
.tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
  scrollbar-width: none;
}
.tabs__tab {
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: -1px;
  color: var(--subtle);
  border-bottom: 2px solid transparent;
}
.tabs__tab:hover {
  color: var(--ink);
}
.tabs__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}
.tabs__panels {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 40px);
}
.tabs__panel {
  display: none;
}
.tabs__panel.is-active {
  display: block;
}
.tabs__panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px;
  align-items: center;
}
.tabs__panel-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tabs__panel-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.tabs__panel-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tabs__panel-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.link--brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Mock app screens ---------- */
.screen {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  border-top: 1px solid var(--line);
}
.faq--narrow {
  max-width: 760px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 18px 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq__q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--subtle);
  flex: none;
  width: 20px;
  text-align: center;
}
.faq__item.is-open .faq__q::after {
  content: "\2212";
}
.faq__a {
  display: none;
  margin: 0;
  padding: 0 40px 20px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.faq__item.is-open .faq__a {
  display: block;
}

/* ---------- Numbers cards ---------- */
.stat-block {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
}
.stat-block + .stat-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--subtle);
  margin-top: 6px;
}
.numbers__source {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--subtle);
  margin-bottom: 24px;
}
.numbers__note {
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Data columns (Your data) ---------- */
.data-col h3 {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* ---------- Run stats (portfolio) ---------- */
.run-stat__source {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--subtle);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.run-stat p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.run-stat p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Callout box ---------- */
.callout {
  margin: 40px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Signature (portfolio) ---------- */
.signature__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.signature__role {
  font-size: 15px;
  color: var(--subtle);
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 32px 24px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--subtle);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--muted);
}
.footer__col a:hover {
  color: var(--ink);
  text-decoration: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--subtle);
}
.footer__bottom img {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.legal .updated {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.legal p,
.legal li {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

/* ---------- Not found page ---------- */
.not-found {
  text-align: center;
}
.not-found .btn-row {
  justify-content: center;
}

/* ---------- Centered CTA stack (pricing, final CTA, closing) ---------- */
.center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.section--dark .h2 {
  color: #fff;
}
.section--dark .body-lg {
  color: #cbd5e1;
}

/* ---------- Hero extras ---------- */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero__note-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--subtle);
}
.hero__note-link:hover {
  color: var(--ink);
}

/* ---------- Product "target / path / ask" demo card ---------- */
.target-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.ask-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ask-row__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge--brand {
  border-color: rgba(238, 91, 12, 0.3);
  background: var(--brand-tint);
  color: var(--brand);
}
.badge--neutral {
  border-color: var(--line);
  background: #f9fafb;
  color: #6b7280;
}
.compose-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  background: #fff;
}

/* ---------- Visibility helpers ---------- */
.hidden-mobile {
  display: block;
}
.hidden-desktop {
  display: none;
}

/* ---------- Utilities (small one-off spacing/layout tweaks) ---------- */
.stack {
  display: flex;
  flex-direction: column;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-1 {
  flex: 1;
}
.justify-center {
  justify-content: center;
}
.max-w-560 {
  max-width: 560px;
}
.gap-24 {
  gap: 24px;
}
.gap-56 {
  gap: 56px;
}
.body-lg--ink {
  color: var(--ink);
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-48 {
  margin-top: 48px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-6 {
  margin-bottom: 6px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-40 {
  margin-bottom: 40px;
}

/* ---------- Breakpoint ---------- */
@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .nav__links,
  .nav__actions .btn--ghost,
  .nav__actions .nav__login {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .hidden-mobile {
    display: none;
  }
}
@media (min-width: 1024px) {
  .hidden-desktop {
    display: none;
  }
}
