/* Vedanshu Labs - Flat Editorial B2B Design System
   1 font & tokens  2 base  3 header & mobile nav  4 bands & layout
   5 components  6 hero & chip artwork  7 editorial grids & lists
   8 forms & prose  9 footer  10 responsive  11 forced colours
   Zero inline styles, zero third-party requests, zero JS. */

/* ---------- 1. font & tokens ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-dark: #08143b;
  --bg-dark-elev: #0f1e4d;

  --ink: #0b1538;
  --body: #3b4661;
  --muted: #64708c;
  --ink-inv: #ffffff;
  --body-inv: #c2cce0;
  --muted-inv: #8e9cb8;

  --line: #e4e8f0;
  --line-strong: #cdd4e2;
  --line-inv: rgba(255, 255, 255, .14);

  --accent: #e06f00;
  --accent-hover: #c56000;
  --accent-light: #ff9c38;
  --link: #0a52b5;
  --focus: #0a52b5;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 75rem;
  --radius: 6px;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 1rem; top: 0; z-index: 100;
  padding: .65rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-130%);
}
.skip:focus { transform: none; outline-color: #fff; outline-offset: -4px; }

/* ---------- 3. header & CSS-only mobile nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 4.5rem;
  padding-block: .65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand .mark { width: 2.2rem; height: auto; }
.brand .name { font-size: 1.15rem; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.4rem;
  padding: .4rem .8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.nav-toggle:focus-visible + .nav-btn { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-btn .ico-close { display: none; }
.nav-toggle:checked + .nav-btn .ico-open { display: none; }
.nav-toggle:checked + .nav-btn .ico-close { display: block; }
.nav-btn svg { width: 1.05rem; height: 1.05rem; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

.nav-panel {
  display: none;
  width: 100%;
  padding-block: .5rem .85rem;
  border-top: 1px solid var(--line);
}
.nav-toggle:checked ~ .nav-panel { display: block; }

.nav { display: flex; flex-direction: column; gap: .15rem; }
.nav a:not(.btn) {
  position: relative;
  display: flex;
  align-items: center;
  padding: .6rem .5rem;
  color: var(--body);
  font-size: .925rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav a[aria-current="page"]:not(.btn) {
  color: var(--ink);
  font-weight: 700;
}
.nav .btn { width: 100%; margin-top: .5rem; }

/* ---------- 4. bands & layout ---------- */
main { flex: 1 0 auto; }

.band {
  padding-block: clamp(3.25rem, 6.5vw, 5.25rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.band-subtle { background: var(--bg-subtle); }
.band-dark {
  background: var(--bg-dark);
  color: var(--ink-inv);
  border-bottom-color: var(--line-inv);
}
.band-dark h2, .band-dark h3 { color: var(--ink-inv); }
.band-dark p { color: var(--body-inv); }
.band-dark a:not(.btn) { color: #ffffff; text-decoration-color: rgba(255, 255, 255, .4); }
.band-dark .kicker { color: var(--accent-light); }

.band-compact { padding-block: clamp(2.5rem, 5vw, 3.75rem); }

.kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}

.band h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.03em;
}

.section-head {
  display: grid;
  gap: .65rem;
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p { color: var(--body); font-size: 1.05rem; line-height: 1.65; }

.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-bar .section-head { margin-bottom: 0; }

/* Inner page header band */
.page-head {
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.5rem);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  max-width: 44rem;
  font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.page-head .intro {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--body);
  font-size: 1.1rem;
  line-height: 1.65;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.anchor-nav a {
  color: var(--ink);
  font-size: .925rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 5. components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.85rem;
  padding: .65rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm { min-height: 2.3rem; padding: .42rem 1rem; font-size: .875rem; }
.btn-accent { background: var(--accent); color: #ffffff; }
.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}
.band-dark .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link::after { content: "\2192"; font-weight: 500; color: var(--accent); }
.band-dark .text-link { color: #ffffff; }
.band-dark .text-link::after { color: var(--accent-light); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }

.bullet-list { display: grid; gap: .55rem; color: var(--body); font-size: .96rem; }
.bullet-list li { position: relative; padding-left: 1.15rem; line-height: 1.6; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
}
.bullet-list strong { color: var(--ink); }
.bullet-list-2 { display: grid; gap: .55rem 1.75rem; }

/* ---------- 6. hero & AI chip artwork ---------- */
.hero-band {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero h1 {
  font-size: clamp(2.2rem, 1.45rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.038em;
}
.hero .accent { color: var(--accent); }
.hero .lead {
  margin-top: 1.25rem;
  color: var(--body);
  font-size: clamp(1.06rem, 1rem + .3vw, 1.18rem);
  line-height: 1.65;
  max-width: 32rem;
}
.hero .actions { margin-top: 1.75rem; }

.art { position: relative; width: 100%; max-width: 34rem; aspect-ratio: 670 / 430; margin: 0 auto; pointer-events: none; }
.core, .fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.core { transform-origin: 54.18% 50.00%; }
.chip { position: absolute; left: -2.985%; top: -4.651%; width: 105.97%; height: 109.3%; max-width: none; }
.fx { display: none; }
.tile { position: absolute; }
.tile img { width: 100%; height: 100%; max-width: none; }
.t1{left:17.76%;top:20.47%;width:17.91%;height:35.81%}
.t2{left:37.01%;top:0.00%;width:19.70%;height:36.98%}
.t3{left:63.88%;top:13.26%;width:18.66%;height:36.74%}
.t4{left:76.87%;top:36.98%;width:18.81%;height:39.53%}

/* ---------- 7. editorial grids & lists ---------- */
/* 3-column hairline-divided feature grid (What we build) */
.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.feature-ico {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.feature-ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-item h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.018em; }
.feature-item p { color: var(--body); font-size: .96rem; line-height: 1.65; }
.feature-item .text-link { margin-top: auto; padding-top: .5rem; }

/* Asymmetric editorial split (How we work / About) */
.split {
  display: grid;
  gap: 2.25rem 4rem;
  align-items: start;
}
.split-lead { display: grid; gap: 1rem; max-width: 28rem; }
.split-lead p { color: var(--body); font-size: 1.03rem; line-height: 1.65; }
.split-lead strong { color: var(--ink); }

/* Rule-separated process rows */
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .35rem 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.row-num {
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.row-item h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.row-item p { grid-column: 2; color: var(--body); font-size: .95rem; line-height: 1.6; }
.row-meta {
  grid-column: 2;
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--ink);
}
.row-meta span { color: var(--muted); font-weight: 600; margin-right: .35rem; }

/* Full-bleed dark-navy principles grid */
.dark-grid {
  display: grid;
  border-top: 1px solid var(--line-inv);
}
.dark-cell {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-block: 1.65rem;
  border-bottom: 1px solid var(--line-inv);
}
.dark-num {
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
}
.dark-cell h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.dark-cell p { font-size: .95rem; line-height: 1.6; }

/* Flat-bordered panels (Products, Solutions, Contact form) */
.panel-grid { display: grid; gap: 1.5rem; }
.panel {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-meta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel h2, .panel h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.panel p { color: var(--body); font-size: .96rem; line-height: 1.65; }
.panel-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}

/* Services & Work full-width editorial rows */
.detail-row {
  display: grid;
  gap: 2rem 3.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.detail-row:first-child { padding-top: 0; }
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-aside { display: grid; align-content: start; gap: .75rem; }
.detail-aside h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); letter-spacing: -.025em; }
.detail-aside p { color: var(--body); font-size: .98rem; }
.detail-aside .text-link { margin-top: .5rem; }

.spec-grid {
  display: grid;
  gap: 1.5rem 2.25rem;
}
.spec-full { grid-column: 1 / -1; }
.spec-block h3 {
  margin-bottom: .45rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-block p { color: var(--body); font-size: .96rem; line-height: 1.65; }
.spec-block .bullet-list { margin-top: .65rem; }
.spec-block > .bullet-list:first-of-type { margin-top: 0; }

/* Solutions flat matrix */
.sol-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sol-cell {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--bg);
}
.sol-cell h2 { font-size: 1.18rem; font-weight: 700; line-height: 1.32; letter-spacing: -.015em; }
.sol-cell p { color: var(--body); font-size: .95rem; line-height: 1.65; }
.sol-foot {
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}
.sol-foot a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line-strong); margin-left: .35rem; }

/* Editorial CTA bar */
.cta-bar {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: center;
}
.cta-bar p { margin-top: .6rem; color: var(--body); font-size: 1.05rem; max-width: 36rem; }

/* ---------- 8. forms & prose ---------- */
.contact-layout { display: grid; gap: 2.5rem 4rem; align-items: start; }
.contact-aside { display: grid; gap: 0; }
.contact-block { padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }
.contact-block:last-child { border-bottom: 0; }
.contact-block h2 { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.contact-block p { color: var(--body); font-size: .96rem; }
.contact-email { font-size: 1.12rem; font-weight: 700; color: var(--ink); text-decoration-color: var(--line-strong); }

.form-panel {
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.form-panel h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .35rem; }
.form { display: grid; gap: 1.2rem; margin-top: 1rem; }
.req-note, .form-note { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.field { display: grid; gap: .38rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.req, .opt { color: var(--muted); font-size: .82rem; font-weight: 400; }
.hint { color: var(--muted); font-size: .86rem; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: .975rem;
  line-height: 1.45;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.form input:user-invalid, .form textarea:user-invalid { border-color: #b3261e; }
.field.check { grid-template-columns: auto 1fr; align-items: start; gap: .1rem .75rem; }
.field.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--ink); cursor: pointer; }
.field.check label { font-weight: 400; color: var(--body); font-size: .9rem; line-height: 1.55; cursor: pointer; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Prose (Privacy) */
.prose { max-width: 46rem; }
.prose section { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.prose section:first-child { padding-top: 0; }
.prose section:last-of-type { border-bottom: 0; }
.prose h2 { font-size: 1.18rem; font-weight: 700; margin-bottom: .55rem; letter-spacing: -.015em; }
.prose p, .prose li { color: var(--body); font-size: .975rem; line-height: 1.7; }
.prose p + p, .prose .bullet-list { margin-top: .65rem; }
.prose .more { margin-top: 1.75rem; }

/* Status pages (404, contact-sent, contact-error) */
.status-box {
  max-width: 38rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
}
.status-box h1 { font-size: clamp(1.65rem, 1.3rem + 1.5vw, 2.35rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.status-box p { color: var(--body); font-size: 1rem; line-height: 1.65; }
.status-box .actions { margin-top: .5rem; }

/* ---------- 9. footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
}
.foot { display: grid; gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.foot .brand .mark { width: 2rem; }
.foot .brand .name { font-size: 1.05rem; }
.foot-line { margin-top: .7rem; max-width: 22rem; color: var(--body); font-size: .9rem; line-height: 1.6; }
.foot-tag { margin-top: .5rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.foot h2 { margin-bottom: .7rem; color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.foot ul { display: grid; gap: .25rem; }
.foot a:not(.brand) { display: inline-block; padding: .2rem 0; color: var(--body); font-size: .9rem; text-decoration: none; }
.foot a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.foot-nav ul { grid-template-columns: repeat(2, max-content); column-gap: 2.25rem; }
.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: .84rem;
}

/* ---------- 10. hover & responsive ---------- */
@media (hover: hover) {
  .nav a:not(.btn):hover { color: var(--ink); }
  .btn:hover { background: #132257; }
  .btn-accent:hover { background: var(--accent-hover); }
  .btn-secondary:hover { border-color: var(--ink); background: var(--bg-subtle); }
  .band-dark .btn-secondary:hover { border-color: #ffffff; background: rgba(255, 255, 255, .08); }
  .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
  .anchor-nav a:hover { color: var(--accent); }
  .foot a:not(.brand):hover { color: var(--ink); text-decoration: underline; }
}

@media (min-width: 44rem) {
  .panel-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bullet-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dark-cell { padding-inline: 1.5rem; }
  .dark-cell:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line-inv); }
  .dark-cell:nth-child(even) { padding-right: 0; }
  .foot { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

@media (min-width: 56rem) {
  .nav-btn { display: none; }
  .nav-panel { display: block; width: auto; padding: 0; border: 0; }
  .nav { flex-direction: row; align-items: center; gap: .35rem; }
  .nav a:not(.btn) { padding: .45rem .7rem; font-size: .9rem; }
  .nav a[aria-current="page"]:not(.btn)::after {
    content: "";
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .15rem;
    height: 2px;
    background: var(--accent);
  }
  .nav .btn { width: auto; margin-top: 0; margin-left: .65rem; }

  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-item { padding: 2rem 1.75rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .feature-item:first-child { padding-left: 0; }
  .feature-item:last-child { padding-right: 0; border-right: 0; }

  .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .detail-row { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .cta-bar { grid-template-columns: 1fr auto; }
  .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; }
  .art { max-width: 38rem; margin: 0; }

  .dark-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dark-cell { padding: 2rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--line-inv); }
  .dark-cell:nth-child(odd) { padding-left: 1.5rem; }
  .dark-cell:nth-child(even) { padding-right: 1.5rem; }
  .dark-cell:first-child { padding-left: 0; }
  .dark-cell:last-child { padding-right: 0; border-right: 0; }
}

/* ---------- 11. forced colours ---------- */
@media (forced-colors: active) {
  .panel, .form-panel, .sol-grid, .status-box { border: 1px solid CanvasText; }
  .btn { border: 2px solid ButtonText; }
  .nav a[aria-current="page"]::after { background: Highlight; }
}
