/* FusionRemit Solutions
   Identity: security-print guilloché (the line work on banknotes and certificates)
   on deep indigo, with ledger green and a single ochre highlight. */

:root {
  --ink: #16243f;        /* deep indigo: hero, headings */
  --ink-2: #22355a;
  --paper: #f5f7f4;      /* cool off-white page */
  --white: #ffffff;
  --green: #0e6b5a;      /* ledger green: links, marks */
  --green-soft: #d7e8e2;
  --ochre: #c98e1c;      /* single highlight: primary action */
  --mist: #dce4df;       /* rules */
  --slate: #4b5768;      /* secondary text */

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 88;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.015em;
}
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--ochre); color: var(--ink); padding: .6rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(22, 36, 63, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.brand-mark { width: 2.1rem; height: 2.1rem; fill: none; stroke: #8fd1bf; stroke-width: 1.6; stroke-linecap: round; }
.brand-mark circle { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.brand-name { font-family: var(--display); font-weight: 750; font-size: 1.2rem; font-variation-settings: "wdth" 90; line-height: 1; }
.brand-sub { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; color: rgba(255,255,255,.66); margin-top: .2rem; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  color: var(--ink); background: var(--white); padding: .5rem 1rem; border-radius: 999px; font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--green-soft); color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 52rem) {
  .nav-toggle {
    display: inline-block; font: inherit; font-weight: 600; font-size: .95rem;
    color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px; padding: .4rem .95rem; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 4.25rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ochre); color: var(--ink); }
.btn-primary:hover { background: #ddA232; color: var(--ink); }
.btn-quiet { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-quiet:hover { border-color: var(--white); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 2rem;
  min-height: min(44rem, calc(100vh - 4.25rem));
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 760;
  font-variation-settings: "wdth" 82, "opsz" 96;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 15ch;
}
.lede { font-size: var(--step-1); line-height: 1.55; color: rgba(255,255,255,.82); margin-top: 1.5rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 3rem 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-facts div { padding: 1rem 2rem 0 0; }
.hero-facts div + div { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.16); }
.hero-facts dt { font-size: var(--step--1); color: rgba(255,255,255,.6); }
.hero-facts dd { margin: .15rem 0 0; font-family: var(--display); font-size: 1.35rem; font-weight: 650; font-variation-settings: "wdth" 90; }

.hero-art { margin: 0; justify-self: center; width: min(36rem, 100%); aspect-ratio: 1; }
.rosette { width: 100%; height: 100%; overflow: visible; }
.ln { fill: none; vector-effect: non-scaling-stroke; }
.ln-outer  { stroke: #4fa38f; stroke-width: .7; opacity: .55; }
.ln-mid    { stroke: #8fd1bf; stroke-width: .7; opacity: .7; }
.ln-core   { stroke: var(--ochre); stroke-width: .8; opacity: .9; }
.ln-offset { opacity: .45; }
.ln-inner  { stroke: #ffffff; stroke-width: .7; opacity: .6; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; width: min(19rem, 75%); margin-bottom: -.5rem; }
  .hero-facts div { padding-right: 1rem; }
  .hero-facts div + div { padding-left: 1rem; }
}
@media (max-width: 26rem) {
  .hero-facts dd { font-size: 1.1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--slate); font-size: var(--step-1); line-height: 1.5; }

/* Platforms: rows, not cards */
.platform {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--mist);
}
.platform:last-child { border-bottom: 1px solid var(--mist); }
.platform-mark svg { width: 4.25rem; height: 4.25rem; }
.glyph-line { fill: none; stroke: var(--green); stroke-width: .9; vector-effect: non-scaling-stroke; }
.platform h3 { font-size: var(--step-2); font-weight: 700; }
.platform-for { color: var(--green); font-weight: 600; margin-top: .4rem; }
.platform-main > p:last-child { margin-top: 1rem; max-width: 34rem; }
.platform-points { list-style: none; margin: 0; padding: 0; align-self: center; }
.platform-points li {
  position: relative; padding: .55rem 0 .55rem 1.4rem; color: var(--slate); font-size: .98rem;
  border-bottom: 1px dashed var(--mist);
}
.platform-points li:last-child { border-bottom: 0; }
.platform-points li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: .55rem; height: .55rem; border: 1.5px solid var(--green); border-radius: 50%;
}
@media (max-width: 52rem) {
  .platform { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem 1.25rem; }
  .platform-mark svg { width: 3.25rem; height: 3.25rem; }
  .platform-points { grid-column: 1 / -1; }
}

/* Channels band */
.channels { background: var(--green); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.channels-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; }
.channels h2 { font-size: var(--step-2); max-width: 14ch; }
.channel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1.75rem 2rem; }
.channel-list strong { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 650; font-variation-settings: "wdth" 90; }
.channel-list span { display: block; color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .25rem; line-height: 1.45; }
@media (max-width: 52rem) { .channels-inner { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; }
.services .section-head { margin-bottom: 0; }
.service-list { margin: 0; }
.service-list div { padding: 1.4rem 0; border-top: 1px solid var(--mist); display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; }
.service-list div:last-child { border-bottom: 1px solid var(--mist); }
.service-list dt { font-family: var(--display); font-weight: 650; font-size: 1.15rem; font-variation-settings: "wdth" 90; }
.service-list dd { margin: 0; color: var(--slate); }
@media (max-width: 52rem) {
  .services-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-list div { grid-template-columns: 1fr; gap: .35rem; }
}

/* Controls */
.control-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.control-grid li { padding: 1.75rem 1.75rem 2rem 0; border-bottom: 1px solid var(--mist); }
.control-grid li:not(:nth-child(3n+1)) { padding-left: 1.75rem; border-left: 1px solid var(--mist); }
.control-grid p { color: var(--slate); margin-top: .6rem; font-size: .98rem; }
@media (max-width: 52rem) {
  .control-grid { grid-template-columns: 1fr; }
  .control-grid li, .control-grid li:not(:nth-child(3n+1)) { padding: 1.4rem 0; border-left: 0; }
}

/* Approach — a real sequence, so it is numbered */
.approach { background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); background: var(--green-soft);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.15rem; left: 3rem; right: -1.25rem;
  border-top: 1.5px dashed #a9c6bc;
}
.steps p { color: var(--slate); margin-top: .5rem; font-size: .98rem; }
@media (max-width: 52rem) {
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps li { padding: 0 0 0 3.5rem; min-height: 2.3rem; }
  .steps li:not(:last-child)::after { top: 2.8rem; bottom: -1.4rem; left: 1.15rem; right: auto; border-top: 0; border-left: 1.5px dashed #a9c6bc; }
}

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); }
.contact-copy p { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; max-width: 30rem; }
.contact-details { margin: 2rem 0 0; }
.contact-details div { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-details dt { font-size: var(--step--1); color: rgba(255,255,255,.6); }
.contact-details dd { margin: .1rem 0 0; font-weight: 500; }
.contact-details a { color: #8fd1bf; }
.contact-details a:hover { color: var(--white); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem;
  background: var(--white); color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 14px;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide, .form-foot { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid #c5d0cb; border-radius: 8px; background: var(--white);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { color: var(--slate); font-size: .92rem; flex: 1 1 14rem; }
@media (max-width: 52rem) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: #101b30; color: rgba(255,255,255,.7); font-size: .92rem; padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; }
.footer-name { color: var(--white); font-weight: 600; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--white); }
.footer-copy { margin-left: auto; }
@media (max-width: 52rem) { .footer-copy { margin-left: 0; } }

/* Simple content pages (privacy, 404) */
.page { padding-block: var(--space-section); }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: var(--step-3); margin-bottom: 1rem; }
.page h2 { font-size: var(--step-1); margin: 2.25rem 0 .6rem; }
.page p, .page li { color: var(--slate); }
.page p + p { margin-top: .9rem; }
.page ul { padding-left: 1.2rem; }
.page .updated { color: var(--slate); font-size: var(--step--1); margin-bottom: 2rem; }
