/* =========================================================
   Hiend Software — site stylesheet (2026 refresh)
   ========================================================= */

:root {
  --blue: #3563b8;          /* brand blue (from logo #456fb5, deepened for contrast) */
  --blue-600: #2a519c;
  --blue-700: #1f3f7d;
  --blue-50: #eef3fc;
  --blue-100: #dbe6f8;
  --navy: #0b1a36;
  --navy-2: #12264d;
  --ink: #1b2333;
  --body: #3d4757;
  --muted: #667085;
  --line: #e4e9f1;
  --soft: #f5f7fb;
  --white: #ffffff;
  --green: #6fae2e;         /* brand accent (from banner #8cc63f) */
  --green-50: #eef7e4;
  --violet: #6b4fd8;        /* AI / Mindspace accent */
  --violet-50: #f1edff;
  --cyan: #19a7c9;
  --amber: #e8a33d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 26, 54, .35);
  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #c9d3e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #aab6cc; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.violet { color: var(--violet); }
.eyebrow.green { color: var(--green); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: var(--violet-50); color: var(--violet);
}
.badge.new { background: linear-gradient(90deg, #7b5cff, #3d7bf0); color: #fff; }
.badge.green { background: var(--green-50); color: #4b7d17; }
.badge.blue { background: var(--blue-50); color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(53, 99, 184, .6); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-ai { background: linear-gradient(95deg, #6b4fd8, #3563b8); color: #fff; box-shadow: 0 8px 22px -8px rgba(107, 79, 216, .7); }
.btn-ai:hover { color: #fff; filter: brightness(1.07); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-100); color: var(--blue); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .15s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 72px; }
/* Wordmark: header keeps the original brand colours ("hi" and "." in blue); footer is single-colour white */
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -.04em; line-height: 1; color: #282425; text-decoration: none !important; }
.logo:hover { color: #282425; }
.site-header .logo { font-size: 36px; }
.site-header .logo .hi, .site-header .logo .dot { color: #456fb5; }
@media (max-width: 640px) { .site-header .logo { font-size: 32px; } }
.logo-light, .logo-light:hover, .site-footer .logo-light, .site-footer .logo-light:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.nav a:hover { background: var(--soft); color: var(--blue); }
[data-section="home"] .nav a[data-nav="home"],
[data-section="solutions"] .nav a[data-nav="solutions"],
[data-section="stories"] .nav a[data-nav="stories"],
[data-section="resources"] .nav a[data-nav="resources"],
[data-section="about"] .nav a[data-nav="about"],
[data-section="contact"] .nav a[data-nav="contact"] { color: var(--blue); background: var(--blue-50); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* ---------- Announcement bar ---------- */
.announce { background: linear-gradient(90deg, #1a1446, #14306b); color: #dfe6ff; font-size: .9rem; }
.announce .container { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; text-align: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.announce a { color: #fff; font-weight: 700; }
.announce .badge { padding: 2px 9px; font-size: .7rem; }
.announce .short { display: none; }
@media (max-width: 640px) { .announce .long { display: none; } .announce .short { display: inline; } .announce .container { flex-wrap: nowrap; } }

/* ---------- Heroes ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d3e6;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(107, 79, 216, .45), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(53, 99, 184, .5), transparent 60%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #a996ff, #7fb0ff 60%, #8fe3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #c3cde0; max-width: 560px; margin-bottom: 30px; }
.hero .eyebrow { color: #a996ff; }
.hero-art { position: relative; }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: .95rem; color: #aab6cc; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(143, 227, 200, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238fe3c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 92% 0%, rgba(107, 79, 216, .10), transparent 65%),
    radial-gradient(600px 360px at 0% 100%, rgba(53, 99, 184, .10), transparent 65%),
    linear-gradient(180deg, #f7f9fd, #eef3fb);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.page-hero.no-art .container { grid-template-columns: 1fr; max-width: 900px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 0; max-width: 680px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-art img { display: block; width: 100%; max-width: 440px; margin-left: auto; }
.page-hero.dark {
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(107, 79, 216, .5), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(53, 99, 184, .45), transparent 60%),
    var(--navy);
  color: #c3cde0; border-bottom: 0;
}
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead { color: #c3cde0; }
.page-hero.dark .eyebrow { color: #a996ff; }
.page-hero.dark .breadcrumb, .page-hero.dark .breadcrumb a { color: #9fb0cf; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 8px; opacity: .6; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); margin-top: 18px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
a.card:hover h3 { color: var(--blue); }
.card .link-arrow { margin-top: 16px; font-size: .95rem; }
.ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue); margin-bottom: 18px;
}
.ico svg { width: 24px; height: 24px; }
.ico.violet { background: var(--violet-50); color: var(--violet); }
.ico.green { background: var(--green-50); color: #4b8a1c; }
.ico.cyan { background: #e5f6fb; color: #0e88a6; }
.ico.amber { background: #fdf3e2; color: #b97614; }
.ico.rose { background: #fdecef; color: #c43a5b; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .card p { color: #aab6cc; }
.section-dark .ico { background: rgba(169, 150, 255, .14); color: #b9a9ff; }

/* Feature spotlight (homepage Mindspace) */
.spotlight {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(123, 92, 255, .35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(61, 123, 240, .35), transparent 60%),
    var(--navy);
  color: #c3cde0; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.spotlight h2 { color: #fff; }
.spotlight .lead { font-size: 1.1rem; color: #c3cde0; }
.spotlight ul { margin: 0 0 28px; }

/* Lists */
.checks, .prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li, .prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before, .prose ul li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233563b8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks.light li::before, .section-dark .checks li::before, .spotlight .checks li::before, .hero .checks li::before {
  background-color: rgba(143, 227, 200, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238fe3c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E");
}
.checks.cols { columns: 2; column-gap: 32px; }
.checks.cols li { break-inside: avoid; }
.dots { padding-left: 1.2em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats.three { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto; }
.statement { margin: 0 auto; max-width: 900px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.stat { text-align: center; padding: 8px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
.section-dark .stat strong { color: #fff; }
.section-dark .stat span { color: #aab6cc; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #6b4fd8, #3563b8); color: #fff;
  font-family: var(--font-head); font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.step .when { display: block; font-size: .8rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.reverse > :first-child { order: 2; }
.split .lead { font-size: 1.1rem; color: var(--muted); }
.panel-art { border-radius: var(--radius-lg); background: linear-gradient(160deg, #f3f0ff, #eaf1fd); padding: 28px; border: 1px solid var(--line); }
.panel-art img { display: block; width: 100%; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 1.5em; }
table.table, .prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td, .prose th, .prose td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th, .prose th { background: var(--soft); font-family: var(--font-head); color: var(--ink); font-weight: 700; font-size: .92rem; }
.table tr:last-child td, .prose tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--ink); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; transition: box-shadow .15s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(123, 92, 255, .45), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(61, 123, 240, .45), transparent 60%),
    var(--navy);
  color: #c3cde0; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- Inner page layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.layout.left { grid-template-columns: 260px minmax(0, 1fr); }
.aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: .96rem; }
.side-card h3, .side-card .grey-zone-header { font-size: 1rem; font-family: var(--font-head); font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.side-card ul li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233563b8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid var(--blue-100);
}
.side-card p:last-child { margin-bottom: 0; }
.side-card dl { margin: 0; }
.side-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.side-card dd { margin: 2px 0 14px; color: var(--ink); font-weight: 600; }
.side-card.cta { background: linear-gradient(160deg, #1a1446, #14306b); border: 0; color: #c9d3e6; }
.side-card.cta h3 { color: #fff; }
.side-card.cta .btn { width: 100%; margin-top: 6px; }
.subnav { list-style: none; margin: 0; padding: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.subnav a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .96rem; }
.subnav a:hover { background: #fff; text-decoration: none; color: var(--blue); }
.subnav a.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

/* ---------- Prose (article & migrated content) ---------- */
.prose { font-size: 1.06rem; color: var(--body); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose h2 + h3 { margin-top: .6em; }
.prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ol li { margin-bottom: 8px; padding-left: 4px; }
.prose li > b:first-child, .prose li > strong:first-child { color: var(--ink); }
.prose b, .prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--violet); background: var(--violet-50); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose .callout { margin: 1.6em 0; padding: 22px 24px; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.prose .callout p:last-child { margin: 0; }
.prose table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 1.5em; display: block; overflow-x: auto; }
.prose img { border-radius: 12px; }
.prose .lede { font-size: 1.2rem; color: var(--ink); }
.prose .part { display: block; margin: 2.4em 0 .4em; font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.prose .part + h2 { margin-top: .2em; }
.prose .num { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; margin-right: 10px; border-radius: 10px; background: linear-gradient(135deg, #6b4fd8, #3563b8); color: #fff; font-size: .95rem; vertical-align: 3px; }
.prose .tip { font-size: .97rem; color: var(--muted); }

/* ---------- Article & story listings ---------- */
.post-list { display: grid; gap: 18px; }
.post {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.post:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--blue-100); }
a.post:hover h3 { color: var(--blue); }
.post h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.post p { color: var(--muted); font-size: .97rem; margin: 0; }
.post .date { font-size: .82rem; color: var(--muted); font-weight: 600; }
.thumb {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--c1, #3563b8), var(--c2, #6b4fd8));
  position: relative; overflow: hidden;
}
.thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .35), transparent 45%); }
.thumb svg { width: 42%; height: 42%; position: relative; z-index: 1; }
.thumb.wide { aspect-ratio: 16/9; }
.t-blue { --c1: #3563b8; --c2: #1f3f7d; }
.t-violet { --c1: #7b5cff; --c2: #3d4fd0; }
.t-green { --c1: #7dbb3c; --c2: #2f8a5d; }
.t-cyan { --c1: #1fb5d6; --c2: #2563b8; }
.t-amber { --c1: #f0b24a; --c2: #d4682b; }
.t-rose { --c1: #ec6a8c; --c2: #8f4bd0; }
.t-navy { --c1: #2a3f6e; --c2: #0b1a36; }
.t-ai { --c1: #7b5cff; --c2: #19a7c9; }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
a.featured-post:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
a.featured-post:hover h2 { color: var(--blue); }
.featured-post .art { background: linear-gradient(150deg, #efeaff, #e4eefc); display: grid; place-items: center; padding: 32px; }
.featured-post .art img { width: 100%; max-width: 420px; }
.featured-post .body { padding: 40px; }
.featured-post h2 { font-size: 1.7rem; margin: 10px 0 12px; }
.featured-post p { color: var(--muted); }

.story-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
a.story-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
a.story-card:hover h3 { color: var(--blue); }
.story-card .cover { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; overflow: hidden; }
.story-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.story-card .cover .logo-chip { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.story-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.story-card h3 { font-size: 1.15rem; }
.story-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.story-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* Logos / clients strip */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; align-items: center; }
.clients span { font-family: var(--font-head); font-weight: 700; color: #8a94a6; font-size: 1.02rem; letter-spacing: -.01em; }

/* Quote */
.quote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; color: var(--ink); line-height: 1.45; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 1rem; color: var(--muted); font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #c43a5b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field textarea { min-height: 150px; resize: vertical; }
.notice { padding: 18px 20px; border-radius: 12px; background: var(--green-50); color: #36611a; border: 1px solid #d3eab9; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb0cf; font-size: .95rem; padding-top: 72px; }
.site-footer a { color: #c9d3e6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .about p { margin: 16px 0 20px; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.row-between h2 { margin: 0; }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: .92rem; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .hero .container, .page-hero .container, .spotlight, .split, .featured-post, .layout, .layout.left { grid-template-columns: 1fr; }
  .hero .container { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .page-hero .container { padding-top: 44px; padding-bottom: 44px; gap: 28px; }
  .page-hero-art img { margin: 0 auto; max-width: 360px; }
  .split { gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .aside { position: static; }
  .layout.left .aside { order: 2; }
  .spotlight { padding: 36px; }
  .steps.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .form-grid, .stats, .stats.three { grid-template-columns: 1fr; }
  .checks.cols { columns: 1; }
  .post { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; }
  .spotlight, .cta-band { padding: 28px 22px; }
  .featured-post .body { padding: 26px; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .page-hero-art { display: none; }
  .table th, .table td { padding: 12px; }
}

/* Icon sprite: inherited stroke styles for <svg class="i"><use href="/assets/icons.svg#i-..."/></svg> */
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.thumb svg.i { width: 42%; height: 42%; stroke-width: 1.5; position: relative; z-index: 1; }
.thumb.wide svg.i, .story-card .cover.thumb svg.i { width: 26%; height: 26%; }
.ico svg.i { width: 24px; height: 24px; }

@media (min-width: 941px) { .layout.wide-aside { grid-template-columns: minmax(0, 1fr) 360px; } }
