/* ============ Moyors Systems — brand tokens ============
   Sister brand to IléKeys: same palette and type system.
   Navy carries the brand, sky blue is the "flow" accent, burgundy is reserved for the main action. */
:root {
  --navy: #0E2A47;
  --navy-2: #163B61;
  --navy-3: #0A1F35;
  --blue: #5BBEFF;
  --blue-ink: #1C7FC4;      /* sky blue, deepened for readable text on white */
  --blue-soft: #EAF6FF;
  --red: #A61B34;
  --red-dark: #86142A;
  --red-tint: #E2586F;      /* burgundy lifted for use on navy */
  --ink: #18222F;
  --muted: #5B6676;
  --line: #E3E8EF;
  --soft: #F5F8FB;
  --white: #FFFFFF;
  --on-navy: #D6E4F2;
  --on-navy-dim: #A9BDD2;
  --radius: 14px;
  --radius-sm: 4px;
  --shadow: 0 10px 30px rgba(14, 42, 71, .08);
  --shadow-lg: 0 40px 80px -48px rgba(14, 42, 71, .55);
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 500; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--blue-ink); font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.eyebrow {
  display: inline-block; font-weight: 500; font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--blue-ink); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 26px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 500; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--blue-soft); }
.btn-sm { padding: 11px 16px; font-size: .76rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue-ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.logo img { width: 44px; height: 42px; }
.logo-rule { width: 1px; height: 38px; background: var(--line); }
.logo-text { display: grid; justify-items: center; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--navy); letter-spacing: -.01em; }
.logo-name b { color: var(--red); font-weight: 700; }
.logo-sub { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .6rem; font-weight: 500; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--blue-ink); }
.logo-sub::before, .logo-sub::after { content: ""; width: 12px; height: 1px; background: currentColor; }
.logo.white .logo-name { color: #fff; }
.logo.white .logo-name b { color: var(--red-tint); }
.logo.white .logo-rule { background: rgba(255,255,255,.2); }
.logo.white .logo-sub { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover { color: var(--blue-ink); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }

/* ============ Hero ============ */
.hero { background: var(--navy) url("/assets/img/hero.jpg") 70% center / cover no-repeat; color: var(--on-navy); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,31,53,.96) 0%, rgba(14,42,71,.86) 42%, rgba(14,42,71,.42) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to top, rgba(10,31,53,.55), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--blue); }
.hero .eyebrow { color: var(--blue); }
.hero .lead { color: var(--on-navy); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: .9rem; color: var(--on-navy-dim); }
.hero-proof span::before { content: "\2022"; color: var(--blue); margin-right: 8px; }

/* Signature visual: a workflow with a travelling pulse */
.flow { display: grid; max-width: 380px; width: 100%; justify-self: end; }
.flow-node { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: rgba(10,31,53,.62); border: 1px solid rgba(91,190,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.flow-node .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(91,190,255,.14); color: var(--blue); flex: none; }
.flow-node .ico svg { width: 18px; height: 18px; }
.flow-node.done .ico { background: rgba(166,27,52,.45); color: #fff; }
.flow-node div { display: grid; line-height: 1.3; }
.flow-node b { font-weight: 500; color: #fff; }
.flow-node small { color: var(--on-navy-dim); font-size: .82rem; }
.flow-wire { height: 30px; width: 1px; margin-left: 35px; background: rgba(91,190,255,.4); position: relative; }
.flow-wire::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 2.6s linear infinite; }
.flow-wire:nth-of-type(4)::after { animation-delay: .85s; }
.flow-wire:nth-of-type(6)::after { animation-delay: 1.7s; }
@keyframes pulse { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Inner page hero */
.page-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(28,127,196,.3), transparent 65%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero h1 em { color: var(--blue); }
.page-hero .eyebrow { color: var(--blue); }
.page-hero .lead { color: var(--on-navy); max-width: 640px; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--on-navy-dim); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* ============ Cards & grids ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ico-box { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); flex: none; }
.ico-box svg { width: 24px; height: 24px; }

/* Two service categories */
.pillar { border-radius: var(--radius); padding: 40px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; min-width: 0; }
.pillar.dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: var(--on-navy); }
.pillar.dark h3 { color: #fff; }
.pillar.dark .ico-box { background: rgba(91,190,255,.14); color: var(--blue); }
.pillar.light { background: var(--white); border: 1px solid var(--line); }
.pillar.light p { color: var(--muted); }
.pillar h3 { font-size: 1.8rem; margin: 6px 0 0; }
.pillar p { margin: 0; }
.ticks { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; background: var(--blue); transform: rotate(45deg); }
.pillar.dark .link-arrow { color: var(--blue); }

/* Service cards */
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.svc:hover { border-color: rgba(28,127,196,.35); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc h3 { margin: 6px 0 0; font-size: 1.3rem; }
.svc p { color: var(--muted); margin: 0; }
.svc .ticks { font-size: .95rem; }

/* Problems */
.problem { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--navy); }
.problem h3 { margin: 0; font-size: 1.25rem; }
.problem p { color: var(--muted); margin: 0; font-size: .97rem; }
.problem .fix { color: var(--blue-ink); font-weight: 500; font-size: .92rem; }

/* Industries */
.industry { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.industry h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 12px; }
.industry h3 .ico-box { width: 40px; height: 40px; border-radius: 10px; }
.industry h3 .ico-box svg { width: 20px; height: 20px; }
.industry p { margin: 0; color: var(--muted); font-size: .96rem; }
.industry .eg { font-size: .9rem; color: var(--ink); }
.industry .eg b { font-weight: 500; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .82rem; padding: 7px 12px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--navy); }
.tag.demo { background: transparent; border: 1px dashed var(--red); color: var(--red); }
.tag.own { background: var(--navy); color: #fff; }

/* Platforms */
.platforms { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.plat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.plat-card .label { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; padding: 10px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); background: var(--white); }
.chip img { height: 22px; width: auto; }
.chips.core .chip { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; padding: 15px 20px; background: var(--blue-soft); border-color: transparent; }
.fineprint { font-size: .82rem; color: var(--muted); margin: 0; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 30px 26px; border: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; align-content: start; min-width: 0; }
.step + .step { border-left: 0; }
.step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.8rem; color: var(--blue); line-height: 1; }
.step h3 { margin: 0; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Why us */
.why { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.why h3 { margin: 0 0 6px; font-size: 1.2rem; }
.why p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .2s, transform .2s; min-width: 0; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card .thumb { aspect-ratio: 16 / 10; max-width: 100%; background: var(--navy); position: relative; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.project-card h3 { margin: 0; font-size: 1.25rem; }
.project-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.project-card .meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
/* Drawn placeholder used until a project has a real screenshot */
.art { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-2), var(--navy)); }
.art svg { width: 62%; height: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Case study / article */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.facts dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--navy); }
.facts dl { margin: 0; display: grid; gap: 16px; }
.prose { font-size: 1.06rem; min-width: 0; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--blue-ink); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.cover-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16 / 9; max-width: 100%; background: var(--navy); position: relative; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.demo-note { border: 1px dashed var(--red); color: var(--ink); background: #FFF7F8; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; margin-bottom: 28px; }

/* YouTube: thumbnail first, real player only after a click */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; margin: 1.4em 0; border: 0; padding: 0; width: 100%; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt .play span { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.yt .play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: grid; gap: 12px; align-content: start; }
.post-card .thumb { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--navy); position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { margin: 0; font-size: 1.25rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.post-card .meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }

/* ============ Forms ============ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); min-width: 0; }
.form-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.form-tab { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.form-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.field .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); background: #fff; box-shadow: 0 0 0 3px rgba(91,190,255,.25); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--red); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { display: inline-block; font-size: .92rem; padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--soft); transition: all .15s; }
.check input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--blue-ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-status { font-size: .95rem; margin: 0; }
.form-status.err { color: var(--red); }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .ico-box { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); }
.form-done .ico-box svg { width: 30px; height: 30px; }
.side-card { background: var(--soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.side-card h3 { margin: 0; font-size: 1.2rem; }
.side-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .96rem; }
.side-list svg { width: 20px; height: 20px; color: var(--blue-ink); margin-top: 3px; }
.side-list a { color: var(--blue-ink); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); background: #fff; transition: all .2s; }
.socials a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.socials svg { width: 19px; height: 19px; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; color: var(--blue-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 700px; }

/* ============ CTA band & footer ============ */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band h2 em { color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 560px; }
.cta-band .hero-actions { margin: 0; }

.site-footer { background: var(--navy-3); color: var(--on-navy-dim); font-size: .95rem; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-about p { margin: 18px 0 20px; max-width: 320px; }
.site-footer .socials a { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.18); }
.site-footer .socials a:hover { background: #fff; color: var(--navy); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ============ Motion ============ */
/* Sections are visible by default; with JavaScript on they rise in gently as they scroll into view */
.reveal.pending { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.pending.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(n) { border: 1px solid var(--line); border-radius: 0; }
  .step:nth-child(2n) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 0; }
  .step:first-child { border-radius: var(--radius) 0 0 0; }
  .step:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .step:nth-child(3) { border-radius: 0 0 0 var(--radius); }
  .step:last-child { border-radius: 0 0 var(--radius) 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero::before { background: linear-gradient(180deg, rgba(10,31,53,.9) 0%, rgba(14,42,71,.74) 100%); }
  :root { --header-h: 68px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .nav .btn { margin-top: 18px; }
  .hero .wrap, .detail, .contact-grid, .platforms { grid-template-columns: 1fr; }
  .flow { justify-self: start; }
  .grid-3, .projects, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { position: static; }
  .section { padding: 76px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .projects, .posts, .steps, .form-grid { grid-template-columns: 1fr; }
  .step:nth-child(n) { border: 1px solid var(--line); border-radius: 0; }
  .step:nth-child(n+2) { border-top: 0; }
  .step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .pillar, .form-card { padding: 26px 20px; }
  .section { padding: 64px 0; }
  .logo img { width: 38px; height: 36px; }
  .logo-name { font-size: 1.45rem; }
  .logo-rule { height: 32px; }
  .logo-sub { font-size: .52rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .flow-wire::after { top: 45%; opacity: 1; }
}
