/* forward-x.com home page (2026-10-05): ForwardX's logo and headline, with the
   made-up sample agency's demo as a card beside it. Every rule sits inside .fxh. The
   site's rules allow no inline styles and only its own fonts: headings are
   Archivo Black (the logo's face, fonts/archivo-black.ttf), the text is
   Instrument Sans (fonts.css). */
@font-face { font-family: 'Archivo Black'; src: url('fonts/archivo-black.ttf') format('truetype'); font-weight: 400 900; font-style: normal; font-display: swap; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.fx-home { margin: 0; background: #F7F6F2; }

.fxh {
  --green: #0E7C3A;
  --green-deep: #0A5E2C;
  --green-soft: #E8F3EB;
  --fx-ink: #111418;
  --fx-text: #2B3038;
  --fx-muted: #5B6068;
  --fx-paper: #F7F6F2;
  --fx-card: #FFFFFF;
  --fx-line: #E3E1D9;
  --fx-head: 'Archivo Black', 'Arial Black', Helvetica, Arial, sans-serif;
  --fx-body: 'Instrument Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fx-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  background: var(--fx-paper); color: var(--fx-text); font-family: var(--fx-body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.fxh *, .fxh *::before, .fxh *::after { box-sizing: border-box; }
.fxh h1, .fxh h2, .fxh h3, .fxh p, .fxh ul, .fxh ol { margin: 0; padding: 0; }
.fxh ul, .fxh ol { list-style: none; }
.fxh img, .fxh svg { display: block; }
.fxh a { color: inherit; }
.fxh a:focus-visible { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fxh .fx-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---- the name ---- */
.fxh .fx-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--fx-ink); }
.fxh .fx-badge { width: 46px; height: 46px; flex: none; }
.fxh .fx-brand-t { display: flex; flex-direction: column; gap: 5px; }
.fxh .fx-brand-w { font-family: var(--fx-head); font-size: 27px; line-height: 1; letter-spacing: -0.02em; }
.fxh .fx-brand-w b { font-weight: inherit; color: var(--green); }
.fxh .fx-brand-s { font-family: var(--fx-mono); font-size: 10px; line-height: 1; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fx-muted); }

/* ---- shared ---- */
.fxh .fx-eyebrow { font-family: var(--fx-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.fxh h2 { font-family: var(--fx-head); font-weight: 400; color: var(--fx-ink); letter-spacing: -0.025em; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; max-width: 18ch; }
.fxh h2 em { font-style: normal; color: var(--green); }
.fxh .fx-sub { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--fx-muted); max-width: 46ch; }
.fxh .fx-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--green); color: #fff; font-weight: 700; font-size: 19px; line-height: 1; text-decoration: none; padding: 19px 28px 19px 24px; border-radius: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px rgba(14,124,58,.75); transition: background .15s ease, transform .15s ease; }
.fxh .fx-btn svg { width: 22px; height: 22px; }
.fxh .fx-btn:hover { background: var(--green-deep); transform: translateY(-1px); }

/* ---- top ---- */
.fxh .fx-hd { padding: 22px 0; }
.fxh .fx-hd-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fxh .fx-hd-nav { display: flex; align-items: center; gap: 30px; }
.fxh .fx-hd-link { font-size: 16px; font-weight: 500; color: var(--fx-muted); text-decoration: none; }
.fxh .fx-hd-link:hover { color: var(--fx-ink); }
.fxh .fx-hd-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--green); text-decoration: none; white-space: nowrap; }
.fxh .fx-hd-tel svg { width: 19px; height: 19px; }
.fxh .fx-hd-tel:hover { color: var(--green-deep); }

/* ---- the opening: our words on the left, the sample demo as a card on the right ---- */
.fxh .fx-hero { padding: 44px 0 96px; }
.fxh .fx-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.fxh h1 { font-family: var(--fx-head); font-weight: 400; color: var(--fx-ink); letter-spacing: -0.025em; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; }
.fxh h1 em { font-style: normal; color: var(--green); }
.fxh .fx-lead { margin-top: 24px; font-size: 21px; line-height: 1.5; max-width: 30em; }
.fxh .fx-lead + .fx-lead { margin-top: 16px; }
.fxh .fx-point { margin-top: 30px; font-size: 18px; font-weight: 700; color: var(--green-deep); }

.fxh .fx-demo { background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 24px; overflow: hidden; box-shadow: 0 34px 70px -36px rgba(17,20,24,.42), 0 2px 0 rgba(17,20,24,.03); }
.fxh .fx-demo-bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--fx-line); }
.fxh .fx-demo-bar img { width: 30px; height: 30px; }
.fxh .fx-demo-bar b { font-size: 16px; font-weight: 700; color: var(--fx-ink); }
.fxh .fx-demo-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--green-deep); background: var(--green-soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.fxh .fx-demo-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.fxh .fx-demo-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #cfd4da; }
.fxh .fx-demo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.fxh .fx-demo-photo::after { content: ''; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(10,12,16,0), rgba(10,12,16,.82)); }
.fxh .fx-demo-tag { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 13px; border-radius: 9px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
.fxh .fx-demo-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.fxh .fx-demo-info b { display: block; font-family: var(--fx-head); font-weight: 400; font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; }
.fxh .fx-demo-info span { display: block; margin-top: 4px; font-size: 15.5px; }
.fxh .fx-demo-info ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.fxh .fx-demo-info li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); }
.fxh .fx-demo-call { display: flex; align-items: center; gap: 15px; margin: 16px 18px 20px; padding: 16px 18px; border-radius: 16px; background: var(--green); color: #fff; text-decoration: none; box-shadow: 0 14px 28px -14px rgba(14,124,58,.85); transition: background .15s ease, transform .15s ease; }
.fxh .fx-demo-call:hover { background: var(--green-deep); transform: translateY(-1px); }
.fxh .fx-demo-ic { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--green); flex: none; }
.fxh .fx-demo-ic svg { width: 24px; height: 24px; }
.fxh .fx-demo-call-t b { display: block; font-size: 19px; font-weight: 700; line-height: 1.2; }
.fxh .fx-demo-call-t small { display: block; margin-top: 3px; font-size: 14px; color: rgba(255,255,255,.9); }
/* the card's three faces: the button, the call, what next (home.js sets data-face) */
.fxh .fx-face { display: none; }
.fxh .fx-demo[data-face="idle"] .fx-face-idle, .fxh .fx-demo[data-face="after"] .fx-face-after { display: block; }
.fxh .fx-demo[data-face="call"] .fx-face-call { display: block; }
.fxh .fx-face-call[hidden] { display: none; }
.fxh button.fx-demo-call { width: calc(100% - 36px); border: 0; font: inherit; text-align: left; cursor: pointer; }
.fxh .fx-face-call { padding: 20px 20px 22px; }
.fxh .fx-who { display: flex; align-items: center; gap: 13px; }
.fxh .fx-avatar { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--fx-head); font-size: 22px; flex: none; }
.fxh .fx-who-t b { display: block; font-size: 17px; color: var(--fx-ink); line-height: 1.25; }
.fxh .fx-status { display: flex; gap: 9px; font-size: 14.5px; color: var(--green-deep); font-weight: 600; }
.fxh #fx-timer { font-family: var(--fx-mono); color: var(--fx-muted); font-weight: 400; }
.fxh .fx-voice { height: 92px; margin: 16px 0 12px; padding: 12px 0; border-radius: 16px; background: #F3F1EA; overflow: hidden; }
.fxh .fx-voice canvas { display: block; width: 100%; height: 100%; }
.fxh .fx-ask { font-size: 17px; font-weight: 700; color: var(--green-deep); }
.fxh .cb-note { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--fx-muted); min-height: 21px; }
.fxh .cb-mic { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--fx-muted); }
.fxh .cb-mic[hidden] { display: none; }
.fxh .cb-mic select { flex: 1; min-width: 0; font: inherit; padding: 6px 8px; border: 1px solid var(--fx-line); border-radius: 8px; background: #fff; }
.fxh .fx-call-actions { margin-top: 16px; display: flex; gap: 10px; }
.fxh .fx-end, .fxh .fx-close { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700; font-size: 17px; padding: 14px 18px; border-radius: 12px; border: 0; cursor: pointer; }
.fxh .fx-end { background: #C62828; color: #fff; }
.fxh .fx-end:hover { background: #A61F1F; }
.fxh .fx-end svg { width: 20px; height: 20px; transform: rotate(135deg); }
.fxh .fx-close { background: var(--fx-ink); color: #fff; }
.fxh .fx-end[hidden], .fxh .fx-close[hidden] { display: none; }
.fxh .fx-booked { position: absolute; top: 16px; right: 16px; left: 120px; z-index: 2; display: flex; align-items: center; gap: 9px; background: #fff; color: var(--fx-ink); font-size: 14px; font-weight: 700; line-height: 1.3; padding: 9px 12px; border-radius: 11px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.fxh .fx-booked[hidden] { display: none; }
.fxh .fx-booked svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; }
.fxh .fx-demo-note { padding: 18px 20px 0; font-size: 16px; line-height: 1.45; color: var(--fx-text); }
.fxh .fx-demo-note b { display: block; margin-bottom: 4px; font-size: 17px; color: var(--fx-ink); }

/* ---- what it does ---- */
.fxh .fx-does { background: var(--fx-card); border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); padding: 96px 0; }
.fxh .fx-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 54px; }
.fxh .fx-jobs li { padding: 30px 0 32px; border-top: 1px solid var(--fx-line); display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; }
.fxh .fx-jobs svg { width: 34px; height: 34px; color: var(--green); grid-row: 1 / span 2; margin-top: 2px; }
.fxh .fx-jobs h3 { font-family: var(--fx-body); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--fx-ink); }
.fxh .fx-jobs p { font-size: 18px; color: var(--fx-muted); max-width: 30em; }
.fxh .fx-both { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--fx-line); font-size: 19px; font-weight: 600; color: var(--fx-ink); }

/* ---- how it works ---- */
.fxh .fx-how { padding: 96px 0; }
.fxh .fx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 50px; }
.fxh .fx-steps li { background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 18px; padding: 28px 26px 30px; }
.fxh .fx-n { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); font-family: var(--fx-head); font-size: 18px; margin-bottom: 20px; }
.fxh .fx-steps h3 { font-family: var(--fx-body); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--fx-ink); margin-bottom: 8px; }
.fxh .fx-steps p { font-size: 17px; color: var(--fx-muted); }

/* ---- who we are (the green band) ---- */
.fxh .fx-yorks { background: var(--green); color: #fff; padding: 76px 0; }
.fxh .fx-yorks-in { display: flex; align-items: center; gap: 44px; }
.fxh .fx-globe { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; flex: none; background: #fff; border-radius: 50%; color: var(--green); }
.fxh .fx-globe svg { width: 62px; height: 62px; }
.fxh .fx-yorks .fx-eyebrow { color: rgba(255,255,255,.85); margin-bottom: 14px; }
.fxh .fx-yorks h2 { color: #fff; max-width: none; }
.fxh .fx-yorks .fx-sub { color: rgba(255,255,255,.92); max-width: 40em; }
.fxh .fx-yorks .fx-sub a { color: #fff; font-weight: 700; white-space: nowrap; }

/* ---- try it ---- */
.fxh .fx-try { padding: 104px 0 110px; text-align: center; }
.fxh .fx-try-in { display: flex; flex-direction: column; align-items: center; }
.fxh .fx-try h2 { max-width: none; font-size: clamp(34px, 4.4vw, 54px); }
.fxh .fx-try .fx-sub { margin-bottom: 34px; }

/* ---- foot ---- */
.fxh .fx-ft { background: var(--fx-card); border-top: 1px solid var(--fx-line); padding: 46px 0 54px; }
.fxh .fx-ft-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.fxh .fx-ft-co { max-width: 34em; }
.fxh .fx-ft-co p { margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: var(--fx-muted); }
.fxh .fx-ft-co p a { color: var(--fx-ink); font-weight: 600; text-decoration: none; }
.fxh .fx-ft-co p a:hover { color: var(--green); }
.fxh .fx-ft-nav { display: grid; gap: 9px; font-size: 15px; white-space: nowrap; padding-top: 4px; }
.fxh .fx-ft-nav a { color: var(--fx-text); text-decoration: none; }
.fxh .fx-ft-nav a:hover { color: var(--green); text-decoration: underline; }

/* ---- smaller screens ---- */
@media (max-width: 940px) {
  .fxh .fx-hero { padding: 24px 0 72px; }
  .fxh .fx-hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fxh .fx-demo { max-width: 540px; }
  .fxh .fx-point-arrow { display: none; }
  .fxh .fx-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fxh .fx-does, .fxh .fx-how { padding: 68px 0; }
}
@media (max-width: 680px) {
  .fxh { font-size: 17px; }
  .fxh .fx-wrap { padding: 0 20px; }
  .fxh .fx-hd { padding: 16px 0; }
  .fxh .fx-hd-link { display: none; }
  .fxh .fx-badge { width: 38px; height: 38px; }
  .fxh .fx-brand-w { font-size: 22px; }
  .fxh .fx-brand-s { font-size: 8.5px; }
  .fxh .fx-demo-info b { font-size: 30px; }
  .fxh .fx-demo-call-t b { font-size: 17px; }
  .fxh .fx-lead { font-size: 19px; }
  .fxh .fx-btn { width: 100%; justify-content: center; }
  .fxh .fx-jobs { grid-template-columns: minmax(0, 1fr); margin-top: 38px; }
  .fxh .fx-yorks { padding: 56px 0; }
  .fxh .fx-yorks-in { flex-direction: column; align-items: flex-start; gap: 26px; }
  .fxh .fx-globe { width: 88px; height: 88px; }
  .fxh .fx-globe svg { width: 46px; height: 46px; }
  .fxh .fx-try { padding: 76px 0 80px; }
  .fxh .fx-ft-in { flex-direction: column; gap: 30px; }
  .fxh .fx-ft-nav { grid-template-columns: repeat(2, auto); gap: 9px 28px; justify-content: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fxh .fx-btn { transition: none; } }
