/* ==========================================================================
   Restart IT Solutions — styles
   Direction: "Ink on White" — light-grey illustrated hero & footer,
   white content sections, engraving-inspired line details.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --blue: #0A7AEE;
  --blue-700: #0862C2;
  --blue-50: #F2F7FE;
  --blue-100: #E3EEFB;
  --gray: #F1F3F5;
  --tint: #F7F9FC;          /* light-blue section tone; illustrations are colour-matched to it */
  --white: #FFFFFF;
  --navy: #102447;
  --muted: #4A5B78;
  --soft: #6E7D96;
  --line: #E3E8EE;
  --line-strong: #D3DAE3;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 71, .04), 0 2px 8px rgba(16, 36, 71, .04);
  --shadow-md: 0 2px 4px rgba(16, 36, 71, .04), 0 16px 40px -12px rgba(16, 36, 71, .14);
  --shadow-lg: 0 2px 4px rgba(16, 36, 71, .03), 0 24px 60px -12px rgba(16, 36, 71, .16);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(88px, 9.5vw, 140px);
  --head-gap: clamp(44px, 4.5vw, 64px);
  --header-h: 88px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, figure, address { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(2.05rem, 3.5vw, 3.15rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin-top: 22px; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.body { color: var(--muted); font-size: clamp(1rem, 1.1vw, 1.08rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; stroke-width: 1.75; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 122, 238, .55); }
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 10px 24px -8px rgba(10, 122, 238, .6); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Icon tile — soft blue square with a faint engraved hatch in the corner */
.icon-tile {
  position: relative; display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; color: var(--blue);
  background: var(--blue-50); border: 1px solid var(--blue-100); overflow: hidden;
}
.icon-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(10, 122, 238, .14) 0 1px, transparent 1px 5px);
  -webkit-mask-image: linear-gradient(225deg, #000 0, transparent 45%); mask-image: linear-gradient(225deg, #000 0, transparent 45%);
}
.icon-tile .icon { position: relative; z-index: 1; }
.icon-tile--lg { width: 52px; height: 52px; border-radius: 14px; }
.icon-tile--lg .icon { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; isolation: isolate; overflow: clip; border-top: 1px solid rgba(16, 36, 71, .05); }
.section > .container { position: relative; z-index: 1; }
.section--tint { background: var(--tint); }

/* Engraved water lines used as quiet section backgrounds (generated in main.js) */
.fx { position: absolute; z-index: 0; pointer-events: none; color: var(--blue); line-height: 0; }
.fx svg { width: 100%; height: 100%; }
.fx--bottom { left: 0; right: 0; bottom: 0; height: 300px; opacity: .55;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent); }
.fx--full { inset: 0; opacity: .13;
  -webkit-mask-image: radial-gradient(120% 70% at 50% 100%, #000 20%, transparent 75%); mask-image: radial-gradient(120% 70% at 50% 100%, #000 20%, transparent 75%); }
.fx--iso { inset: 0; opacity: .35;
  -webkit-mask-image: linear-gradient(to right, transparent 20%, #000); mask-image: linear-gradient(to right, transparent 20%, #000); }
.section-head { margin-bottom: var(--head-gap); }
.section-head .body { margin-top: 22px; }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .body { margin-inline: auto; max-width: 640px; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.section-head--split .body { margin: 0; max-width: 520px; }

/* Engraved "sea" rule — the hero's water lines continuing into the page */
.sea-rule { color: var(--blue); background: var(--white); line-height: 0; }
.sea-rule svg { width: 100%; height: 56px; opacity: .38; }
.sea-rule--flip { background: var(--tint); }
.sea-rule--flip svg { transform: scaleY(-1); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(16, 36, 71, .18); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.header__inner { display: flex; align-items: center; height: 100%; gap: 40px; }
.header__logo { flex: none; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.nav__list { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__list a { position: relative; display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--navy); transition: color .2s var(--ease); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { color: var(--blue-700); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7); cursor: pointer; align-items: center; justify-content: center; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 18px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; } .burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--tint); min-height: min(100svh, 940px); display: flex; overflow: hidden; isolation: isolate; }
.hero__art { position: absolute; inset: auto 0 0 0; z-index: -1; }
.hero__art img {
  width: 100%; height: 600px; object-fit: cover; object-position: right bottom;
  filter: url(#paper-tint); /* maps the illustration's paper tone to --tint, keeps the ink untouched */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
}
.hero__container { display: flex; }
.hero__content { padding-top: calc(var(--header-h) + clamp(56px, 7vw, 96px)); padding-bottom: 180px; max-width: 960px; }
.hero__title { font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.038em; line-height: 1.02; margin: 26px 0 28px; }
.hero__title .accent { display: block; color: var(--blue); }
.hero .lead { max-width: 31em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ==========================================================================
   FINO
   ========================================================================== */
.fino { padding-top: calc(var(--section) - 24px); }
.fino__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(48px, 5.5vw, 88px); align-items: center; }
.fino__sub { margin-top: 18px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.015em; color: var(--blue); }
.fino__copy > .body { margin-top: 22px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature h3, .highlight h3, .card h3, .advantages h3, .highlights-mini h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.feature p { margin-top: 5px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.fino__cta { margin-top: 48px; }
.note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--soft); max-width: 36em; }

.fino__stage {
  position: relative; padding: clamp(14px, 2vw, 28px); border-radius: 28px;
  background: radial-gradient(120% 90% at 100% 0%, #E3EFFD 0, #F4F8FE 45%, #F9FBFE 100%);
}
.fino__stage::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(10, 122, 238, .07) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%);
}
.fino__caption { position: relative; z-index: 1; margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--soft); letter-spacing: .02em; }

/* Dashboard (concept mock-up, built in HTML/CSS) */
.dash { position: relative; z-index: 1; display: grid; grid-template-columns: 164px 1fr; overflow: hidden; font-size: 12px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); user-select: none; }
.dash__side { background: #F7F9FB; border-right: 1px solid var(--line); padding: 20px 10px; }
.dash__brand { display: flex; align-items: center; gap: 8px; margin: 0 8px 14px; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.dash__brand i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--blue); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
/* Menu mirrors the FINO app's UAE navigation: ungrouped Overview/Notifications, then titled groups */
.dash__menu { display: grid; gap: 1px; }
.dash__menu p { margin: 12px 10px 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.dash__menu span { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: 11.5px; white-space: nowrap; }
.dash__menu .icon { width: 13px; height: 13px; stroke-width: 1.75; opacity: .75; }
.dash__menu .on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.dash__menu .on .icon { opacity: 1; }
.dash__main { padding: 20px 22px 22px; min-width: 0; }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash__top b { display: block; font-size: 15px; font-weight: 700; }
.dash__top > div:first-child { min-width: 0; }
.dash__top em { display: block; font-style: normal; color: var(--soft); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__actions { display: flex; align-items: center; gap: 8px; }
.dash__select { padding: 6px 24px 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--muted); white-space: nowrap;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238A97AD' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center no-repeat; }
.dash__pill { background: var(--blue); color: #fff; font-weight: 600; padding: 7px 12px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.kpi small { display: block; color: var(--soft); font-size: 10.5px; font-weight: 500; }
.kpi strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.kpi em { display: block; margin-top: 2px; font-style: normal; font-size: 10.5px; color: var(--soft); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.dot--blue { background: var(--blue); } .dot--light { background: #8CC0F6; } .dot--line { background: #CBD3DD; }
.dash__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.dash__row--even { grid-template-columns: 1fr 1fr; }
.donut { display: flex; align-items: center; gap: 12px; min-height: 118px; }
.donut svg { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.donut ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; flex: 1; font-size: 10.5px; white-space: nowrap; }
.donut li { display: flex; align-items: center; }
.donut b { margin-left: auto; padding-left: 8px; font-weight: 600; }
.panel h4 { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.panel h4 span { color: var(--soft); font-weight: 500; }
.chart { width: 100%; height: 118px; font-family: inherit; }
.partners { display: grid; gap: 9px; }
.partners div { display: flex; align-items: center; gap: 8px; font-size: 10.5px; white-space: nowrap; min-width: 0; }
.partners i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-style: normal; font-weight: 700; font-size: 9px; }
.partners b { margin-left: auto; flex: none; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: 11px; }
.table th { padding: 0 8px 8px 0; text-align: left; color: var(--soft); font-weight: 500; white-space: nowrap; }
.table td { padding: 8px 8px 8px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table td:last-child, .table th:last-child { text-align: right; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.about__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.prose { margin-top: 28px; display: grid; gap: 18px; color: var(--muted); max-width: 34em; }
.prose p:first-child { color: var(--navy); font-size: 1.1em; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.highlight { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.highlight h3 { margin-top: 22px; }
.highlight p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.highlights-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding: 26px 28px; border-radius: var(--radius); background: var(--tint); }
.highlights-mini li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.highlights-mini .icon { color: var(--blue); margin-top: 1px; }
.highlights-mini p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ==========================================================================
   Services
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 2.6vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card__num { position: absolute; top: clamp(28px, 2.6vw, 38px); right: clamp(28px, 2.6vw, 38px); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #AAB5C6; font-variant-numeric: tabular-nums; }
.card h3 { margin-top: 30px; font-size: 19px; }
.card p { margin-top: 12px; font-size: 15.5px; line-height: 1.62; color: var(--muted); }

/* ==========================================================================
   Why Restart
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro .body { margin-top: 24px; max-width: 30em; }
.why__intro .btn { margin-top: 36px; }
.advantages { counter-reset: adv; border-top: 1px solid var(--line); }
.advantages li { counter-increment: adv; position: relative; display: grid; grid-template-columns: 22px 1fr 32px; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.advantages li::after { content: counter(adv, decimal-leading-zero); order: 3; justify-self: end; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: #AAB5C6; font-variant-numeric: tabular-nums; padding-top: 2px; }
.advantages .icon { color: var(--blue); margin-top: 1px; }
.advantages p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 34em; }

.iso { margin-top: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--tint); position: relative; overflow: hidden; isolation: isolate; }
.iso > :not(.fx) { position: relative; z-index: 1; }
.iso__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.iso__head p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.iso__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iso__item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.iso__item img { width: 52px; height: auto; flex: none; }
.iso__item strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.iso__item span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ==========================================================================
   Industries
   ========================================================================== */
.industry-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-list li {
  background: #fff;
  display: flex; flex-direction: column; gap: 22px; min-height: 160px; padding: 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  transition: background-color .25s var(--ease);
}
.industry-list li:hover { background: var(--blue-50); }
.industry-list .icon { width: 28px; height: 28px; color: var(--blue); stroke-width: 1.35; }
/* 8th cell completes the grid with an engraved hatch instead of an empty box */
.industry-list::after {
  content: ""; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--tint);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.contact__copy .body { margin-top: 24px; max-width: 30em; }
.contact__copy .btn { margin-top: 40px; }
.contact__stage {
  position: relative; padding: clamp(14px, 2vw, 28px); border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 100%, #E3EFFD 0, #F4F8FE 45%, #F9FBFE 100%);
}
.contact__stage::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(10, 122, 238, .07) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(20deg, #000, transparent 50%); mask-image: linear-gradient(20deg, #000, transparent 50%);
}
.contact__card { position: relative; z-index: 1; padding: clamp(28px, 3vw, 40px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact__company { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.contact__list { margin-top: 24px; display: grid; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.contact__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.contact__list a { display: inline-block; margin-top: 2px; font-size: 16.5px; font-weight: 600; line-height: 1.45; transition: color .2s var(--ease); }
.contact__list a:hover { color: var(--blue-700); }
.contact__legal { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--tint); }
.footer__top { padding-top: clamp(56px, 5vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 26em; color: var(--muted); font-size: 15.5px; }
.footer__brand .footer__since { margin-top: 10px; font-size: 13.5px; color: var(--soft); }
.footer__heading { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.footer__col ul { margin-top: 18px; display: grid; gap: 10px; font-size: 15.5px; color: var(--navy); }
.footer__col a { display: inline-block; padding: 2px 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--blue-700); }
.footer__art { margin-top: 8px; pointer-events: none; }
.footer__art img {
  /* crop the empty sky so the caravan sits close to the footer text */
  width: 100%; height: auto; aspect-ratio: 2048 / 470; object-fit: cover; object-position: 50% 100%;
  filter: url(#paper-tint);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
}
.footer__bottom { position: relative; margin-top: -64px; border-top: 1px solid rgba(16, 36, 71, .1); background: rgba(247, 249, 252, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 20px; font-size: 13.5px; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__legal em { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 11px; color: var(--soft); vertical-align: 1px; }

.footer__legal a { transition: color .2s var(--ease); }
.footer__legal a:hover, .footer__legal a[aria-current] { color: var(--blue-700); }

/* ==========================================================================
   Legal pages (privacy.html)
   ========================================================================== */
.page-head { background: var(--tint); padding-top: calc(var(--header-h) + clamp(48px, 6vw, 88px)); padding-bottom: clamp(48px, 5vw, 72px); }
.page-head__title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 22px 0 22px; }
.page-head .lead { max-width: 36em; }
.page-head__meta { margin-top: 26px; font-size: 14px; color: var(--soft); }

.legal { padding-block: clamp(56px, 6vw, 96px) var(--section); }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(40px, 7vw, 120px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal__toc-title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.legal__toc ol { margin-top: 16px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal__toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14.5px; color: var(--muted); transition: color .2s var(--ease), border-color .2s var(--ease); }
.legal__toc a:hover { color: var(--blue-700); border-left-color: var(--blue); }

.legal-text { color: var(--muted); }
.legal-text h2 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); font-weight: 700; color: var(--navy); margin: 56px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 28px 0 8px; }
.legal-text p + p, .legal-text ul + p { margin-top: 14px; }
.legal-text ul { margin: 14px 0 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal-text li::marker { color: var(--blue); }
.legal-text strong { color: var(--navy); font-weight: 600; }
.legal-text a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__contact { margin-top: 18px; padding: 24px 28px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); line-height: 1.8; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .iso { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: repeat(3, 1fr); }
  .industry-list::after { display: none; }
  .industry-list li:last-child { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
}

@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px var(--gutter) 28px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 40px -20px rgba(16, 36, 71, .25);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 24px; min-height: 52px; }
  .header.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }

  .hero { min-height: 0; }
  .hero__art img { height: 460px; }
  .hero__content { padding-bottom: 30vw; }
  .iso__item { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fino__grid, .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__copy, .why__intro { position: static; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .body { margin-top: 22px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-left: 0; }
  .legal__toc a { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; gap: 10px; }
  .eyebrow::before { width: 20px; }
  .header__logo img { height: 28px; }
  .hero { flex-direction: column; min-height: 0; }
  .hero__art { position: absolute; order: 0; z-index: -1; inset: auto 0 0 0; }
  .hero__art img { height: 300px; object-fit: cover; object-position: 78% 100%; }
  .hero__content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 290px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .sea-rule svg { height: 40px; }

  .features, .highlights, .highlights-mini { grid-template-columns: 1fr; }
  .highlight { padding: 24px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .advantages li { grid-template-columns: 22px 1fr; }
  .advantages li::after { display: none; }
  .iso__list { grid-template-columns: 1fr; }
  .iso__item { flex-direction: row; align-items: center; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .industry-list li { min-height: 132px; padding: 22px 18px; font-size: 15.5px; gap: 16px; }
  .industry-list li:last-child { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }

  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .kpis { grid-template-columns: 1fr; }
  .dash__select { display: none; }
  .dash__row { grid-template-columns: 1fr; }
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__art { margin-top: 4px; }
  .footer__art img { aspect-ratio: auto; height: 200px; object-position: 70% 100%; }
  .footer__bottom { margin-top: 0; }
  .footer__bottom-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover { transform: none; }
}
