/* forward-x.com home page, 18 October 2026: the Startups offer (Rob: "up to £5,000 of AI build time"). Every rule sits inside .st.
   No inline styles and only the site's own fonts: headings are Archivo Black (the logo's face), the text is Instrument Sans
   (fonts.css), the small labels use the system monospace. The design is the artifact mock approved on 18 October. */
@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.st-home { margin: 0; background: #F7F6F2; }

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

.st .label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--green-deep); }
.st .h2 { font-family: var(--head); font-weight: 400; font-size: clamp(32px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); text-transform: uppercase; text-wrap: balance; }
.st .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }

/* ---- header ---- */
.st .hd { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.st .brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.st .badge { width: 46px; height: 46px; flex: none; }
.st .brand-t { display: flex; flex-direction: column; gap: 5px; }
.st .brand-w { font-family: var(--head); font-size: 27px; line-height: 1; letter-spacing: -0.02em; }
.st .brand-w b { font-weight: inherit; color: var(--green); }
.st .brand-s { font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.st .hd-tel { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-size: 24px; color: var(--green); white-space: nowrap; }
.st .hd-tel svg { width: 24px; height: 24px; }

/* ---- hero ---- */
.st .hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.st .hero-l { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.st h1 { font-family: var(--head); font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.025em; color: var(--ink); text-transform: uppercase; }
.st h1 span { color: var(--green); }
.st .hero-p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; max-width: 560px; }
.st .call { flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.st .call-num { display: inline-block; text-decoration: none; font-family: var(--head); font-size: clamp(44px, 10vw, 140px); line-height: 1; letter-spacing: -0.04em; color: var(--green); white-space: nowrap; }
.st .hero-r { flex: 1.05 1 440px; min-width: 0; background: var(--green); border-radius: 28px; padding: clamp(28px, 4vw, 52px); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 380px; }
.st .hero-r .label { color: #fff; opacity: 0.92; }
.st .upto { font-family: var(--head); font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.st .big { font-family: var(--head); font-size: clamp(60px, 6.2vw, 92px); line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap; }
.st .big-sub { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; max-width: 360px; }
.st .big-fine { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.35); font-size: 15px; }

/* ---- advantage ---- */
.st .adv { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.st .adv .h2 { flex: 1 1 360px; }
.st .adv-r { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.st .adv-r b { color: var(--ink); }

/* ---- story ---- */
.st .story { background: var(--ink); color: #fff; }
.st .story-in { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 7vw, 104px); }
.st .story-l { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.st .story .label { color: #7ED4A0; }
.st .story .h2 { color: #fff; }
.st .story-l p { color: #D9DCE1; font-size: clamp(18px, 1.7vw, 21px); }
.st .story-r { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.st .tick { display: flex; gap: 16px; align-items: flex-start; background: #1B2026; border-radius: 16px; padding: 20px 22px; }
.st .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #3DD27A; margin-top: 9px; }
.st .tick b { color: #fff; }
.st .tick span { display: block; color: #B9BEC6; font-size: 16px; }

/* ---- steps ---- */
.st .steps { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 7vw, 104px); }
.st .steps .h2 { margin-bottom: 40px; }
.st .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.st .card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.st .num { font-family: var(--head); font-size: 56px; line-height: 1; color: var(--green); }
.st .card h3 { font-family: var(--head); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--ink); }
.st .card p { font-size: 17px; }
.st .card b { color: var(--ink); }

/* ---- the maths ---- */
.st .maths { background: var(--green-soft); }
.st .maths-in { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.st .maths-l { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.st .maths-r { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.st .cmp { background: #fff; border-radius: 20px; padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.st .cmp .label { color: var(--muted); font-size: 12px; }
.st .cmp p { font-size: 20px; color: var(--ink); font-weight: 600; }
.st .cmp-on { background: var(--green); color: #fff; }
.st .cmp-on .label { color: #fff; opacity: 0.9; }
.st .cmp-on p { color: #fff; }
.st .cmp p.price { font-family: var(--head); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin-top: 6px; color: #fff; }
.st .cmp p.price small { font-size: 0.4em; letter-spacing: 0; }

/* ---- the end call ---- */
.st .endcall { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }
.st .endcall .h2 { font-size: clamp(36px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.025em; max-width: 980px; }
.st .endcall .h2 span { color: var(--green); }
.st .endcall .lead { max-width: 640px; }
.st .endcall .call-num { font-size: clamp(48px, 9vw, 128px); letter-spacing: -0.045em; }

/* ---- the number on a computer rings right here (oc.js drives the ids; same window as the old home page) ---- */
.st .callbox[hidden] { display: none; }
.st .callbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17,20,24,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.st .cb-card { width: 100%; max-width: 420px; background: var(--ink); color: #fff; border-radius: 24px; padding: 36px 32px 30px; text-align: center; }
.st .cb-num { font-family: var(--head); font-size: 36px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.st .cb-state { margin-top: 14px; font-size: 19px; font-weight: 600; color: #6FCF97; min-height: 1.4em; }
.st .cb-state.oncall { color: #fff; }
.st .cb-state.ringing::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: fx-dots 1.2s steps(4, end) infinite; }
@keyframes fx-dots { to { content: "..."; } }
.st .cb-note { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.62); line-height: 1.4; min-height: 1.4em; }
.st .cb-mic { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.62); }
.st .cb-mic[hidden] { display: none; }
.st .cb-mic select { font: inherit; font-size: 14px; max-width: 240px; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.st .cb-mic select option { color: #111; background: #fff; }
.st .cb-actions { margin-top: 26px; display: flex; justify-content: center; gap: 10px; }
.st .cb-end, .st .cb-close { font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer; }
.st .cb-end { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border-radius: 50%; background: #C62828; color: #fff; }
.st .cb-end svg { width: 28px; height: 28px; transform: rotate(135deg); fill: currentColor; }
.st .cb-end:hover { background: #A61F1F; }
.st .cb-end[hidden] { display: none; }
.st .cb-close { background: rgba(255,255,255,.12); color: #fff; }
.st .cb-close[hidden] { display: none; }

/* No microphone (2026-10-09): the QR code inside the dark call window. */
.st .cb-qr{justify-content:center;margin-top:14px}
.st .cb-qr p{color:rgba(255,255,255,.85);max-width:16em}


/* ---- footer ---- */
.st .ft { border-top: 1px solid var(--line); }
.st .ft-in { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; padding-top: 28px; padding-bottom: 44px; font-size: 14px; color: var(--muted); }
.st .ft-in p { margin: 0 0 6px; }
.st .ft-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.st .ft a { color: var(--muted); }

@media (max-width: 560px) {
  .st .hero { gap: 28px; }
  .st .hero-r { min-height: 0; border-radius: 22px; }
  .st .hd-tel { font-size: 20px; }
}
