:root {
  --ink: #07111f;
  --ink-soft: #102138;
  --paper: #f5f4ef;
  --white: #fff;
  --muted: #657184;
  --line: #d9dcd9;
  --cyan: #72e6d1;
  --blue: #4e86ff;
  --amber: #ffb84d;
  --violet: #9b87ff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(7, 17, 31, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(7, 17, 31, .84);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7,17,31,.96); box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}
.brand { display: inline-flex; width: max-content; }
.brand img { display: block; height: 32px; width: auto; }
.primary-nav { display: flex; gap: 28px; align-items: center; }
.primary-nav a, .footer-links a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--white); }
.header-cta { justify-self: end; }
.menu-button { display: none; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 19px; font-size: 14px; }
.button-light { color: var(--ink); background: var(--white); }
.button-primary { color: var(--ink); background: var(--cyan); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.button-dark { color: var(--white); background: var(--ink); }

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 176px 0 94px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--ink);
  background-size: 54px 54px;
  color: var(--white);
}
.ambient { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.ambient-one { width: 580px; height: 580px; top: -210px; right: -120px; background: radial-gradient(circle, rgba(78,134,255,.24), transparent 68%); }
.ambient-two { width: 500px; height: 500px; left: -260px; bottom: -240px; background: radial-gradient(circle, rgba(114,230,209,.17), transparent 68%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: 78px; align-items: center; }
.hero-copy h1 { max-width: 710px; margin-bottom: 28px; font-size: clamp(3.15rem, 5.6vw, 5.7rem); }
.hero-lede { max-width: 650px; margin-bottom: 34px; color: #b9c3d1; font-size: clamp(1.1rem, 1.7vw, 1.31rem); line-height: 1.65; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #b9c3d1; font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--cyan); }
.eyebrow-dark { color: #526070; }
.eyebrow-light { color: #b9c3d1; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-list { display: flex; gap: 0; margin: 42px 0 0; padding: 0; list-style: none; color: #aab6c6; font-size: 13px; }
.trust-list li { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.18); }
.trust-list li:first-child { padding-left: 0; border-left: 0; }

.system-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.system-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(130deg, rgba(114,230,209,.48), transparent 26%, transparent 72%, rgba(78,134,255,.34)); padding: 1px; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.system-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.system-kicker { margin-bottom: 7px; color: #8da0b9; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.system-card h2 { margin-bottom: 0; font-size: 24px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #b9c3d1; font-size: 11px; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(114,230,209,.12); }
.system-flow { display: grid; grid-template-columns: 1fr auto 1.08fr auto 1fr; gap: 11px; align-items: center; padding: 30px 0; }
.flow-column { display: grid; gap: 8px; }
.flow-column p { margin-bottom: 3px; color: #8091a8; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.flow-column span { padding: 10px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.045); color: #dce3ec; font-size: 11px; text-align: center; }
.flow-core { padding: 11px; border: 1px solid rgba(114,230,209,.25); border-radius: 12px; background: rgba(114,230,209,.07); }
.flow-core span { border-color: rgba(114,230,209,.18); }
.flow-connector { color: var(--cyan); font-size: 18px; }
.system-footer { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8da0b9; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.technology-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.technology-list { display: grid; grid-template-columns: repeat(6, 1fr); min-height: 86px; align-items: center; }
.technology-list span { color: #596779; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; text-align: center; }
.technology-list span + span { border-left: 1px solid var(--line); }

.section-intro { max-width: 760px; margin-bottom: 56px; }
.section-intro h2, .proof-heading h2, .about-copy h2, .cta-grid h2 { margin-bottom: 20px; font-size: clamp(2.45rem, 4.2vw, 4.45rem); }
.section-intro > p:last-child, .proof-heading > p { color: var(--muted); font-size: 19px; }
.section-intro-row { max-width: none; display: grid; grid-template-columns: 1.1fr .62fr; align-items: end; gap: 72px; }
.section-intro-row > p { margin: 0; color: #aab6c6; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 520px; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(7,17,31,.04); }
.service-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -112px; top: -116px; border-radius: 50%; background: var(--card-glow); opacity: .2; }
.service-number { color: #8b95a3; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.service-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 56px 0 30px; border-radius: 18px; background: var(--card-color); color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.service-card h3 { margin-bottom: 18px; font-size: 27px; }
.service-card > p { color: var(--muted); }
.service-card ul { display: grid; gap: 10px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; padding-left: 18px; color: #425064; font-size: 14px; }
.service-card li::before { content: ""; position: absolute; width: 6px; height: 6px; top: .62em; left: 0; border-radius: 50%; background: var(--card-color); }
.service-aws { --card-color: var(--amber); --card-glow: var(--amber); }
.service-rag { --card-color: var(--violet); --card-glow: var(--violet); }
.service-auto { --card-color: var(--cyan); --card-glow: var(--cyan); }

.work { background: var(--ink); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: #0d1b2c; transition: transform .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(114,230,209,.45); }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.06fr .94fr; }
.project-featured .project-visual { min-height: 0; }
.project-visual { position: relative; display: flex; min-height: 0; overflow: hidden; align-items: center; background: #07111f; }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 30%, rgba(255,255,255,.05)); pointer-events: none; }
.project-cover { display: block; width: 100%; height: auto; }
.project-type { position: relative; z-index: 2; display: inline-flex; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,17,31,.36); color: #d5deea; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; backdrop-filter: blur(9px); }
.project-type.verified { border-color: rgba(114,230,209,.42); color: var(--cyan); }
.project-body { padding: 32px; }
.project-body h3 { margin-bottom: 16px; font-size: 27px; }
.project-body > p:not(.project-category) { color: #aab6c6; }
.project-category { margin-bottom: 13px; color: var(--cyan); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag-list span { padding: 6px 9px; border-radius: 6px; background: rgba(255,255,255,.07); color: #bdc7d5; font-size: 11px; }
.project-link, .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 700; }
.project-link { padding-bottom: 5px; border-bottom: 1px solid rgba(114,230,209,.5); }
.text-link { color: var(--ink); border-bottom: 1px solid currentColor; }
.text-link.light { color: var(--white); }
.visual-bedrock { background: radial-gradient(circle at 20% 70%, rgba(114,230,209,.23), transparent 32%), linear-gradient(135deg, #102844, #101b31); }
.visual-code { position: absolute; inset: 24% 12% auto; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(7,17,31,.62); box-shadow: 0 24px 60px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.visual-code small, .visual-code strong, .visual-code i { grid-column: 1 / -1; }
.visual-code small { color: #7f91a9; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.visual-code strong { font-family: "Space Grotesk", sans-serif; font-size: 28px; }
.visual-code i { height: 1px; margin: 6px 0; background: linear-gradient(90deg, var(--cyan), transparent); }
.visual-code span { padding: 9px; border-radius: 7px; background: rgba(255,255,255,.07); color: #c5d0df; font-size: 11px; text-align: center; }
.visual-medcare { background: radial-gradient(circle at 50% 52%, rgba(114,230,209,.2), transparent 30%), linear-gradient(145deg, #153449, #0f2132); }
.pulse-ring { position: absolute; left: 50%; top: 52%; width: 116px; height: 116px; transform: translate(-50%,-50%); border: 1px solid rgba(114,230,209,.5); border-radius: 50%; box-shadow: 0 0 0 24px rgba(114,230,209,.06), 0 0 0 48px rgba(114,230,209,.035); }
.pulse-ring::before, .pulse-ring::after { content: ""; position: absolute; background: var(--cyan); border-radius: 3px; }
.pulse-ring::before { width: 50px; height: 13px; top: 51px; left: 33px; }
.pulse-ring::after { width: 13px; height: 50px; top: 33px; left: 51px; }
.visual-connect { background: radial-gradient(circle at 50% 55%, rgba(78,134,255,.25), transparent 35%), linear-gradient(145deg, #162743, #101a2d); }
.call-wave { position: absolute; left: 50%; top: 52%; display: flex; gap: 8px; align-items: center; transform: translate(-50%,-50%); }
.call-wave i { display: block; width: 8px; border-radius: 8px; background: var(--blue); box-shadow: 0 0 16px rgba(78,134,255,.5); }
.call-wave i:nth-child(1), .call-wave i:nth-child(5) { height: 40px; }
.call-wave i:nth-child(2), .call-wave i:nth-child(4) { height: 76px; }
.call-wave i:nth-child(3) { height: 112px; }
.visual-bi { background: radial-gradient(circle at 75% 35%, rgba(255,184,77,.22), transparent 34%), linear-gradient(145deg, #2d2632, #151c2d); }
.chart { position: absolute; inset: auto 19% 22%; display: flex; gap: 12px; align-items: flex-end; height: 130px; padding: 20px; border-left: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(var(--amber), #b96a25); }
.chart i:nth-child(1) { height: 33%; }.chart i:nth-child(2) { height: 57%; }.chart i:nth-child(3) { height: 46%; }.chart i:nth-child(4) { height: 82%; }.chart i:nth-child(5) { height: 100%; }
.visual-rag { background: radial-gradient(circle at 65% 62%, rgba(155,135,255,.24), transparent 35%), linear-gradient(145deg, #272242, #141b30); }
.document-stack { position: absolute; left: 50%; top: 53%; width: 140px; height: 112px; transform: translate(-50%,-50%); }
.document-stack i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: #1d2b44; box-shadow: 0 15px 40px rgba(0,0,0,.25); }
.document-stack i:nth-child(1) { transform: rotate(-9deg) translate(-19px, 5px); opacity: .45; }
.document-stack i:nth-child(2) { transform: rotate(7deg) translate(18px, 3px); opacity: .65; }
.document-stack i:nth-child(3)::before { content: ""; position: absolute; inset: 25px 24px; background: repeating-linear-gradient(#9b87ff 0 2px, transparent 2px 13px); opacity: .8; }
.visual-automation { background: radial-gradient(circle at 45% 55%, rgba(114,230,209,.18), transparent 34%), linear-gradient(145deg, #123137, #111d2e); }
.automation-path { position: absolute; inset: 52% 14% auto; display: flex; align-items: center; transform: translateY(-50%); }
.automation-path i { width: 42px; height: 42px; border: 7px solid var(--cyan); border-radius: 10px; background: #15273a; box-shadow: 0 0 25px rgba(114,230,209,.2); }
.automation-path b { flex: 1; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(114,230,209,.25)); }
.visual-label { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #aab6c6; font-size: 12px; text-align: center; }

.proof { background: var(--white); }
.proof-heading { max-width: 800px; margin-bottom: 54px; }
.proof-heading > p { margin-bottom: 28px; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.review-card { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #f7f8f6; color: var(--ink); box-shadow: 0 12px 35px rgba(7,17,31,.055); }
.review-featured { grid-column: 1 / -1; padding: 46px; border-color: rgba(255,255,255,.12); background: var(--ink); color: var(--white); }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.review-rating { display: inline-flex; align-items: center; gap: 8px; color: #9b6b00; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; }
.review-rating span { color: #f2a900; letter-spacing: .08em; }
.review-featured .review-rating { color: var(--white); }
.review-verified { padding: 6px 9px; border: 1px solid #cbd3d4; border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.review-featured .review-verified { border-color: rgba(114,230,209,.35); color: var(--cyan); }
.review-project { margin-bottom: 18px; color: #2c4a53; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; }
.review-featured .review-project { color: var(--cyan); }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.72; }
.review-featured blockquote { max-width: 970px; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.42; letter-spacing: -.025em; }
.review-card figcaption { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.review-featured figcaption { border-color: rgba(255,255,255,.15); color: #9fadc0; }
.review-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.review-tags span { padding: 5px 8px; border-radius: 6px; background: #e8eeee; color: #40515b; font-size: 10px; font-weight: 700; }
.review-more { margin-top: 20px; }
.review-more summary { display: inline-flex; min-height: 50px; align-items: center; gap: 13px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.review-more summary::-webkit-details-marker { display: none; }
.review-more summary:hover, .review-more summary:focus-visible { transform: translateY(-2px); background: var(--ink-soft); }
.review-toggle-open { display: none; }
.review-toggle-icon { color: var(--cyan); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.review-more[open] summary { margin-bottom: 20px; }
.review-more[open] .review-toggle-closed { display: none; }
.review-more[open] .review-toggle-open { display: inline; }
.review-more[open] .review-toggle-icon { transform: rotate(180deg); }
.contract-proof { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); margin-top: 70px; border: 1px solid var(--line); border-radius: 18px; }
.contract-proof > div { padding: 25px 26px; }
.contract-proof > div + div { border-left: 1px solid var(--line); }
.contract-proof-title, .contract-item { display: grid; gap: 4px; }
.contract-proof-title span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contract-proof-title strong { font-size: 14px; }
.contract-item strong { color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 21px; }
.contract-item span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.approach { border-top: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.approach-grid li { min-height: 260px; padding: 28px; border-left: 1px solid var(--line); }
.approach-grid li:first-child { border-left: 0; }
.approach-grid span { color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.approach-grid h3 { margin: 72px 0 14px; font-size: 24px; }
.approach-grid p { color: var(--muted); font-size: 14px; }

.about { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.about::after { content: ""; position: absolute; width: 600px; height: 600px; left: -240px; bottom: -290px; border-radius: 50%; background: radial-gradient(circle, rgba(78,134,255,.18), transparent 68%); }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: center; }
.founder-portrait { position: relative; width: min(430px, 100%); margin: 0; overflow: hidden; border: 1px solid rgba(114,230,209,.34); border-radius: 28px; background: #020708; box-shadow: 0 30px 80px rgba(0,0,0,.34), 0 0 60px rgba(114,230,209,.08); }
.founder-portrait img { display: block; width: 100%; height: auto; }
.founder-portrait figcaption { position: absolute; inset: auto 18px 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(7,17,31,.78); color: #b5c0ce; font-size: 11px; backdrop-filter: blur(12px); }
.founder-portrait figcaption strong { color: var(--cyan); font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.about-copy > p:not(.eyebrow) { max-width: 710px; color: #b5c0ce; font-size: 18px; }
.credential-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.credential-row span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #d4dce7; font-size: 12px; }
.about-links { display: flex; gap: 24px; }

.cta-section { padding: 90px 0; background: var(--cyan); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.cta-grid h2 { margin-bottom: 0; }
.cta-copy > p { color: #25413f; font-size: 18px; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.email-link { color: var(--ink); font-size: 14px; font-weight: 700; }

.site-footer { padding: 45px 0; background: #050b13; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: center; }
.footer-grid > p { margin: 0; color: #8492a5; font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

*:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .primary-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 30px 24px 36px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 30px rgba(0,0,0,.2); }
  .primary-nav.open { display: grid; }
  .primary-nav a { font-size: 19px; }
  .menu-button { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
  .menu-button > span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .system-card { max-width: 680px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-top: 38px; }
  .section-intro-row { grid-template-columns: 1fr; gap: 18px; }
  .project-featured { display: block; }
  .project-featured .project-visual { min-height: 0; }
  .proof-grid { gap: 50px; }
  .contract-proof { grid-template-columns: repeat(3, 1fr); }
  .contract-proof-title { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .contract-proof > div:nth-child(2) { border-left: 0; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .approach-grid li:nth-child(4) { border-top: 1px solid var(--line); }
  .founder-portrait { justify-self: center; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell, .nav-shell { width: min(100% - 30px, 1180px); }
  .section { padding: 82px 0; }
  .nav-shell { height: 72px; gap: 12px; }
  .brand img { height: 28px; }
  .primary-nav { top: 72px; }
  .header-cta { display: none; }
  .hero { padding: 134px 0 76px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-list { display: grid; gap: 10px; }
  .trust-list li { padding: 0 0 0 15px; border-left: 1px solid rgba(255,255,255,.18); }
  .system-card { padding: 20px; }
  .system-card-head { display: grid; }
  .status { white-space: normal; }
  .system-flow { grid-template-columns: 1fr; }
  .flow-connector { transform: rotate(90deg); text-align: center; }
  .technology-list { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
  .technology-list span { padding: 12px 5px; }
  .technology-list span + span { border-left: 0; }
  .technology-list span:nth-child(even) { border-left: 1px solid var(--line); }
  .section-intro h2, .proof-heading h2, .about-copy h2, .cta-grid h2 { font-size: 2.65rem; }
  .service-card { padding: 27px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-featured { grid-column: auto; }
  .project-visual, .project-featured .project-visual { min-height: 0; }
  .project-body { padding: 26px; }
  .visual-code { inset: 25% 7% auto; padding: 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-featured { grid-column: auto; padding: 34px 26px; }
  .review-card { padding: 27px; }
  .review-card-top { align-items: flex-start; }
  .review-more summary { width: 100%; justify-content: center; }
  .contract-proof { grid-template-columns: 1fr; }
  .contract-proof > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid li, .approach-grid li:nth-child(3), .approach-grid li:nth-child(4) { min-height: 220px; border-top: 1px solid var(--line); border-left: 0; }
  .approach-grid li:first-child { border-top: 0; }
  .approach-grid h3 { margin-top: 48px; }
  .about-grid { gap: 58px; }
  .founder-portrait figcaption { inset: auto 14px 14px; }
  .cta-grid { gap: 40px; }
  .cta-actions { display: grid; }
  .site-footer { padding-bottom: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

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