/* FinanceGPT WEB1 — financegpt.uk public experience */
:root {
  --fg-web1-bg: #f6f8fb;
  --fg-web1-surface: #ffffff;
  --fg-web1-surface-soft: #eef4ff;
  --fg-web1-text: #111a2b;
  --fg-web1-text-soft: #627089;
  --fg-web1-border: #dce3ed;
  --fg-web1-primary: #147efb;
  --fg-web1-primary-dark: #0a5fd0;
  --fg-web1-dark: #0d1627;
  --fg-web1-dark-soft: #93a4c2;
  --fg-web1-shadow: 0 18px 50px rgba(17, 26, 43, 0.08);
  --fg-web1-radius: 22px;
  --fg-web1-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fg-web1-body {
  margin: 0;
  color: var(--fg-web1-text);
  background: var(--fg-web1-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.fg-web1-container { width: min(calc(100% - 40px), var(--fg-web1-max)); margin: 0 auto; }
.fg-web1-skip {
  position: fixed; left: 18px; top: -100px; z-index: 1000;
  padding: 10px 14px; background: var(--fg-web1-dark); color: #fff; border-radius: 8px;
}
.fg-web1-skip:focus { top: 14px; }

.fg-web1-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 237, 0.88);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}
.fg-web1-header-inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.fg-web1-brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.fg-web1-brand-word { font-size: 23px; font-weight: 760; letter-spacing: -0.035em; }
.fg-web1-nav { display: flex; gap: 24px; margin-left: auto; }
.fg-web1-nav a, .fg-web1-link-button { color: #4f5d74; text-decoration: none; font-size: 14px; font-weight: 600; }
.fg-web1-nav a:hover, .fg-web1-link-button:hover { color: var(--fg-web1-text); }
.fg-web1-header-actions { display: flex; align-items: center; gap: 16px; }

.fg-web1-primary-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 0 22px; border: 0; border-radius: 13px;
  background: var(--fg-web1-primary); color: #fff; text-decoration: none;
  font: inherit; font-weight: 720; cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.fg-web1-primary-button:hover { background: var(--fg-web1-primary-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(20,126,251,.24); }
.fg-web1-primary-button:focus-visible, .fg-web1-link-button:focus-visible, .fg-web1-nav a:focus-visible, .fg-web1-card:focus-visible, .fg-web1-model-links a:focus-visible { outline: 3px solid rgba(20,126,251,.32); outline-offset: 3px; }
.fg-web1-primary-button--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.fg-web1-hero { padding: 96px 0 88px; overflow: hidden; background:
  radial-gradient(circle at 88% 12%, rgba(20,126,251,.16), transparent 32%),
  radial-gradient(circle at 14% 70%, rgba(94,157,255,.10), transparent 34%),
  var(--fg-web1-bg);
}
.fg-web1-hero-copy { max-width: 900px; }
.fg-web1-eyebrow { display: inline-block; margin-bottom: 16px; color: #6b7890; font-size: 12px; font-weight: 780; letter-spacing: .14em; }
.fg-web1-hero h1, .fg-web1-page-hero h1 {
  max-width: 1040px; margin: 0; font-size: clamp(58px, 8vw, 110px); line-height: .94; letter-spacing: -.065em; font-weight: 560;
}
.fg-web1-lead { max-width: 920px; margin: 30px 0 0; color: var(--fg-web1-text-soft); font-size: clamp(19px, 2.1vw, 27px); line-height: 1.48; }

.fg-web1-prompt {
  margin-top: 46px; padding: 26px; border: 1px solid var(--fg-web1-border); border-radius: 26px;
  background: var(--fg-web1-surface); box-shadow: var(--fg-web1-shadow);
}
.fg-web1-prompt label { display: block; margin-bottom: 12px; color: #697791; font-size: 13px; font-weight: 700; }
.fg-web1-prompt textarea {
  width: 100%; min-height: 158px; resize: vertical; border: 0; outline: 0; background: transparent;
  color: var(--fg-web1-text); font: inherit; font-size: 23px; line-height: 1.45;
}
.fg-web1-prompt textarea::placeholder { color: #9aa8bd; }
.fg-web1-prompt-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid #edf0f5; }
.fg-web1-prompt-footer span { color: #66758e; font-size: 14px; }
.fg-web1-example-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.fg-web1-example-chips span { padding: 9px 12px; border: 1px solid #dfe6f0; border-radius: 999px; background: rgba(255,255,255,.78); color: #65728a; font-size: 13px; }

.fg-web1-section { padding: 96px 0; }
.fg-web1-section--white { background: #fff; }
.fg-web1-section--dark { background: var(--fg-web1-dark); color: #fff; }
.fg-web1-section-heading { max-width: 760px; margin-bottom: 42px; }
.fg-web1-section-heading h2, .fg-web1-final-cta h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 560; }
.fg-web1-section-heading p { margin: 20px 0 0; color: var(--fg-web1-text-soft); font-size: 18px; line-height: 1.65; }
.fg-web1-section-heading--light p { color: var(--fg-web1-dark-soft); }

.fg-web1-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fg-web1-card {
  min-height: 230px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--fg-web1-border); border-radius: 18px;
  background: #fff; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.fg-web1-card:hover { transform: translateY(-3px); border-color: #b8c8df; box-shadow: var(--fg-web1-shadow); }
.fg-web1-card h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.fg-web1-card p { margin: 14px 0 24px; color: var(--fg-web1-text-soft); line-height: 1.58; }
.fg-web1-card span { margin-top: auto; color: var(--fg-web1-primary); font-size: 14px; font-weight: 720; }
.fg-web1-card-grid--related .fg-web1-card { min-height: 200px; }

.fg-web1-two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.fg-web1-section-heading--sticky { position: sticky; top: 110px; }
.fg-web1-step-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fg-web1-border); }
.fg-web1-step-list li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--fg-web1-border); }
.fg-web1-step-number { color: var(--fg-web1-primary); font-size: 13px; font-weight: 780; letter-spacing: .08em; }
.fg-web1-step-list h3 { margin: 0; font-size: 22px; }
.fg-web1-step-list p { margin: 9px 0 0; color: var(--fg-web1-text-soft); line-height: 1.65; }

.fg-web1-fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid #27334a; background: #27334a; }
.fg-web1-fact-grid > div { min-height: 210px; padding: 26px; background: var(--fg-web1-dark); }
.fg-web1-fact-grid strong { display: block; font-size: 18px; }
.fg-web1-fact-grid p { margin: 14px 0 0; color: var(--fg-web1-dark-soft); line-height: 1.62; }

.fg-web1-model-links { border-top: 1px solid var(--fg-web1-border); }
.fg-web1-model-links a { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--fg-web1-border); text-decoration: none; }
.fg-web1-model-links span { color: #7c8aa2; font-size: 12px; font-weight: 780; letter-spacing: .08em; }
.fg-web1-model-links strong { font-size: 22px; font-weight: 620; }
.fg-web1-model-links a:hover strong { color: var(--fg-web1-primary); }

.fg-web1-faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.fg-web1-faq-list { border-top: 1px solid var(--fg-web1-border); }
.fg-web1-faq-list details { border-bottom: 1px solid var(--fg-web1-border); padding: 0; }
.fg-web1-faq-list summary { cursor: pointer; padding: 23px 2px; font-size: 18px; font-weight: 650; }
.fg-web1-faq-list p { margin: -4px 0 24px; max-width: 760px; color: var(--fg-web1-text-soft); line-height: 1.68; }

.fg-web1-final-cta { padding: 104px 0; background: linear-gradient(135deg, #eaf3ff 0%, #f8fbff 70%); text-align: center; }
.fg-web1-final-cta .fg-web1-container { max-width: 850px; }
.fg-web1-final-cta p { margin: 20px auto 30px; color: var(--fg-web1-text-soft); font-size: 19px; line-height: 1.6; }

.fg-web1-page-hero { padding: 84px 0 76px; background: #fff; border-bottom: 1px solid var(--fg-web1-border); }
.fg-web1-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); gap: 64px; align-items: end; }
.fg-web1-page-hero h1 { font-size: clamp(52px, 7vw, 90px); }
.fg-web1-back-link { display: block; margin-bottom: 28px; color: #77859c; text-decoration: none; font-size: 13px; font-weight: 700; }
.fg-web1-inline-actions { display: flex; gap: 22px; align-items: center; margin-top: 30px; }
.fg-web1-text-link { color: #5f6f89; text-decoration: none; font-weight: 650; }
.fg-web1-definition { padding: 26px; border-radius: 18px; background: var(--fg-web1-surface-soft); }
.fg-web1-definition span { color: var(--fg-web1-primary); font-size: 12px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.fg-web1-definition p { margin: 13px 0 0; font-size: 17px; line-height: 1.65; }

.fg-web1-example-list { border-top: 1px solid var(--fg-web1-border); }
.fg-web1-example-list div { padding: 22px 0; border-bottom: 1px solid var(--fg-web1-border); font-size: 21px; }
.fg-web1-capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fg-web1-capability-grid div { min-height: 100px; display: flex; gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--fg-web1-border); border-radius: 14px; background: #fff; }
.fg-web1-capability-grid span { color: var(--fg-web1-primary); font-weight: 800; }
.fg-web1-horizontal-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.fg-web1-horizontal-steps li { padding-top: 18px; border-top: 2px solid #dfe6f0; }
.fg-web1-horizontal-steps li > span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #eaf3ff; color: var(--fg-web1-primary); font-size: 12px; font-weight: 800; }
.fg-web1-horizontal-steps p { margin: 12px 0 0; color: var(--fg-web1-text-soft); line-height: 1.55; }

.fg-web1-footer { padding: 62px 0 26px; background: #fff; border-top: 1px solid var(--fg-web1-border); }
.fg-web1-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr .8fr; gap: 42px; }
.fg-web1-brand--footer { margin-bottom: 13px; }
.fg-web1-footer p { color: var(--fg-web1-text-soft); }
.fg-web1-footer h2 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #77859c; }
.fg-web1-footer-grid > div > a:not(.fg-web1-brand) { display: block; margin: 10px 0; color: #4f5d74; text-decoration: none; font-size: 14px; }
.fg-web1-footer-grid > div > a:hover { color: var(--fg-web1-primary); }
.fg-web1-footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--fg-web1-border); color: #8a97aa; font-size: 12px; }

@media (max-width: 980px) {
  .fg-web1-nav { display: none; }
  .fg-web1-header-actions { margin-left: auto; }
  .fg-web1-card-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-web1-fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-web1-two-column, .fg-web1-faq-layout, .fg-web1-page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .fg-web1-section-heading--sticky { position: static; }
  .fg-web1-horizontal-steps { grid-template-columns: repeat(2, 1fr); }
  .fg-web1-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .fg-web1-container { width: min(calc(100% - 28px), var(--fg-web1-max)); }
  .fg-web1-header-inner { min-height: 64px; gap: 14px; }
  .fg-web1-brand-word { font-size: 20px; }
  .fg-web1-link-button { display: none; }
  .fg-web1-primary-button--small { min-height: 38px; padding: 0 12px; }
  .fg-web1-hero { padding: 64px 0 62px; }
  .fg-web1-hero h1, .fg-web1-page-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .fg-web1-lead { font-size: 19px; }
  .fg-web1-prompt { margin-top: 34px; padding: 18px; border-radius: 18px; }
  .fg-web1-prompt textarea { min-height: 128px; font-size: 19px; }
  .fg-web1-prompt-footer { align-items: stretch; flex-direction: column; }
  .fg-web1-prompt-footer .fg-web1-primary-button { width: 100%; }
  .fg-web1-section { padding: 68px 0; }
  .fg-web1-section-heading h2, .fg-web1-final-cta h2 { font-size: 39px; }
  .fg-web1-card-grid, .fg-web1-capability-grid, .fg-web1-fact-grid, .fg-web1-footer-grid { grid-template-columns: 1fr; }
  .fg-web1-card { min-height: 190px; }
  .fg-web1-model-links a { grid-template-columns: 1fr; gap: 8px; }
  .fg-web1-horizontal-steps { grid-template-columns: 1fr; }
  .fg-web1-page-hero { padding: 58px 0; }
  .fg-web1-inline-actions { align-items: stretch; flex-direction: column; }
  .fg-web1-inline-actions .fg-web1-primary-button { width: 100%; }
  .fg-web1-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
