:root {
  color-scheme: dark;
  --ink: #f0f2eb;
  --muted: #a4aaa1;
  --dim: #717970;
  --base: #101712;
  --panel: #151e18;
  --line: rgba(233, 239, 226, .12);
  --accent: #c1f17a;
  --accent-dark: #9cce5d;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--base); }

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(233, 239, 226, .07);
  background: rgba(16, 23, 18, .9);
  backdrop-filter: blur(18px);
}

.nav-shell, .section-shell, .site-footer {
  width: min(1200px, calc(100% - 88px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.075em;
}

.brand-period { color: var(--accent); }

.brand-mark {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: end;
  gap: 3px;
}

.brand-mark span {
  display: block;
  width: 6px;
  border-radius: 2px 2px 1px 1px;
  background: var(--accent);
  transform: skew(-25deg);
}

.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 25px; }

.nav-links { display: flex; align-items: center; gap: 37px; }
.nav-links > a { color: #b7bcb4; font-size: 13px; transition: color .2s ease; }
.nav-links > a:hover, .nav-links > a:focus-visible { color: var(--accent); }
.nav-links .nav-contact { color: var(--ink); }
.nav-contact span { margin-left: 6px; color: var(--accent); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 685px;
  grid-template-columns: 1fr 1.03fr;
  align-items: center;
  gap: 50px;
  padding-top: 44px;
  padding-bottom: 85px;
}

.hero-copy { position: relative; z-index: 2; padding-bottom: 10px; }
.eyebrow, .section-kicker, .card-number, .micro-label, .findings-heading, .card-detail, .migration-index, .contact-side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 27px;
  color: #c1c8bd;
}

.eyebrow-dot, .window-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(193, 241, 122, .65);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(47px, 5.3vw, 72px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: 1.08;
}

.hero h1 > span { color: var(--accent); }

.hero-description {
  max-width: 485px;
  margin-bottom: 31px;
  color: #a8b0a7;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions { display: flex; align-items: center; gap: 27px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #151c13; }
.button-primary:hover { background: #d3fa9a; }
.button-primary span { font-size: 17px; line-height: 1; }
.text-link, .inline-link { color: var(--ink); font-size: 12px; font-weight: 600; }
.text-link span, .inline-link span { padding-left: 6px; color: var(--accent); }
.text-link:hover, .inline-link:hover { color: var(--accent); }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 40px;
}

.proof-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(193, 241, 122, .28);
  border-radius: 50%;
  color: var(--accent);
}

.proof-icon svg { width: 18px; height: 18px; }
.hero-proof p { margin: 0; color: #89928a; font-size: 11px; line-height: 1.65; }
.hero-proof strong { color: #d4d8d0; font-weight: 600; }

.hero-visual {
  position: relative;
  padding: 22px 0 23px 10px;
  perspective: 1000px;
}

.visual-glow {
  position: absolute;
  top: 12%;
  left: 9%;
  width: 86%;
  height: 74%;
  border-radius: 50%;
  background: rgba(103, 148, 68, .18);
  filter: blur(72px);
}

.scan-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 233, 204, .16);
  border-radius: 8px;
  background: linear-gradient(155deg, #1b251e, #141c17 68%);
  box-shadow: 0 25px 85px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .035);
  transform: rotateY(-5deg) rotateX(1deg);
}

.window-top, .window-brand, .window-status, .scan-project, .project-platform, .findings-heading, .finding, .scan-footer {
  display: flex;
  align-items: center;
}

.window-top {
  min-height: 55px;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.window-brand { gap: 9px; color: #d6ddd1; font-family: var(--display); font-size: 11px; font-weight: 700; }
.mini-mark { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 4px; background: var(--accent); color: #182014; font-size: 11px; font-weight: 800; }
.window-status { gap: 8px; color: #a5b19d; font-family: var(--mono); font-size: 9px; }
.window-status > span { width: 6px; height: 6px; }

.scan-project { justify-content: space-between; margin: 22px 20px 19px; }
.scan-project > div { display: grid; gap: 3px; }
.micro-label { color: #849087; font-size: 8px; }
.scan-project strong { font-family: var(--display); font-size: 16px; font-weight: 600; }
.project-platform { gap: 8px; padding: 6px 9px; border: 1px solid rgba(193, 241, 122, .2); border-radius: 3px; color: #c3d6b3; font-family: var(--mono); font-size: 9px; }
.project-platform span { color: var(--accent); font-size: 13px; }

.scan-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0 20px; border: 1px solid var(--line); border-radius: 4px; background: rgba(7, 12, 9, .18); }
.scan-stat { display: grid; gap: 1px; padding: 12px 14px; }
.scan-stat + .scan-stat { border-left: 1px solid var(--line); }
.scan-stat strong { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.04em; }
.scan-stat strong small { color: #c4cbbf; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.scan-stat > span { color: #929b91; font-size: 9px; }

.findings-heading { justify-content: space-between; margin: 20px 20px 5px; color: #7d887c; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.finding { min-height: 55px; gap: 10px; margin: 0 12px; border-bottom: 1px solid rgba(233, 239, 226, .07); }
.finding-mark { display: grid; width: 20px; height: 20px; flex: none; place-items: center; border-radius: 50%; font-family: var(--mono); font-size: 11px; }
.finding-high .finding-mark { background: rgba(242, 168, 121, .12); color: #e7a477; }
.finding-medium .finding-mark { background: rgba(228, 210, 117, .11); color: #ded27f; }
.finding-low .finding-mark { background: rgba(143, 184, 232, .11); color: #8fb8e8; }
.finding-text { display: grid; min-width: 0; flex: 1; gap: 1px; }
.finding-text strong { overflow: hidden; color: #d6dcd2; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.finding-text small, .finding-line { color: #8e988d; font-family: var(--mono); font-size: 8px; }
.finding-line { flex: none; color: #859184; }
.scan-footer { justify-content: space-between; padding: 12px 19px; color: #849083; font-size: 8px; }
.footer-check { padding-right: 5px; color: var(--accent); }

.float-tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(222, 234, 212, .14);
  border-radius: 4px;
  background: #1b251e;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
  color: #dce1d7;
  font-family: var(--mono);
  font-size: 9px;
}

.tag-top { top: 3px; right: 3px; }
.tag-bottom { bottom: 1px; left: -10px; }
.tag-spark { color: var(--accent); font-size: 14px; }
.hero-index { position: absolute; right: 0; bottom: 25px; display: flex; align-items: center; gap: 9px; color: #6f7a6e; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.hero-index > span:first-child { color: var(--accent); }
.index-line { width: 35px; height: 1px; margin-left: 5px; background: var(--accent); }

.project { padding-top: 94px; padding-bottom: 103px; border-top: 1px solid var(--line); }
.section-kicker { display: flex; align-items: center; gap: 12px; color: #9ca69a; font-size: 9px; }
.section-kicker > span:first-child { color: var(--accent); }
.kicker-rule { width: 30px; height: 1px; background: var(--accent); }
.project-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; align-items: start; margin-top: 33px; }
.project h2, .section-heading h2, .migration-heading h2, .contact h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); font-weight: 500; letter-spacing: -.065em; line-height: 1.16; }
.project-intro p { margin-bottom: 15px; color: #a9b0a7; font-size: 13px; line-height: 1.85; }
.project-intro p strong { color: var(--ink); font-weight: 600; }
.inline-link { display: inline-block; margin-top: 5px; }
.project-metrics { display: grid; grid-template-columns: .8fr .95fr .8fr 1.5fr; align-items: center; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); }
.metric { display: flex; align-items: center; gap: 13px; }
.metric strong { color: var(--accent); font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.06em; }
.metric span { color: #a1a99f; font-size: 10px; line-height: 1.5; }
.metrics-note { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); color: #788276; font-size: 9px; line-height: 1.6; }

.portfolio { padding-top: 94px; padding-bottom: 94px; border-top: 1px solid var(--line); }
.portfolio-heading { margin-bottom: 30px; }
.portfolio-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr .8fr; min-height: 276px; align-items: center; gap: 45px; padding: 34px 39px; border: 1px solid rgba(193, 241, 122, .16); border-radius: 4px; background: linear-gradient(110deg, #18221b 0%, #172019 57%, #202c20 100%); transition: border-color .2s ease, transform .2s ease; }
.portfolio-card:hover { transform: translateY(-2px); border-color: rgba(193, 241, 122, .43); }
.portfolio-card-info, .portfolio-preview { position: relative; z-index: 1; }
.portfolio-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.portfolio-number { color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.portfolio-status { display: flex; align-items: center; gap: 7px; color: #9da898; font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.portfolio-status > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.portfolio-card h3 { margin: 19px 0 7px; font-size: clamp(30px, 4vw, 43px); font-weight: 600; letter-spacing: -.07em; }
.portfolio-card h3 > span { color: var(--accent); }
.portfolio-card-info > p { max-width: 425px; margin-bottom: 16px; color: #a3ad9f; font-size: 11px; line-height: 1.8; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.portfolio-tags > span { padding: 4px 8px; border: 1px solid rgba(233, 239, 226, .12); border-radius: 2px; color: #b7c0b3; font-family: var(--mono); font-size: 8px; }
.portfolio-link { display: inline-block; margin-top: 20px; color: #e5e9df; font-size: 11px; font-weight: 600; }
.portfolio-link > span { padding-left: 5px; color: var(--accent); }
.portfolio-preview { width: 100%; max-width: 380px; justify-self: end; border: 1px solid rgba(215, 233, 204, .16); border-radius: 5px; background: rgba(13, 19, 14, .74); box-shadow: 0 17px 44px rgba(0, 0, 0, .23); }
.preview-top { display: flex; height: 32px; align-items: center; gap: 5px; padding: 0 11px; border-bottom: 1px solid var(--line); }
.preview-top > span { width: 6px; height: 6px; border-radius: 50%; background: #e58b73; }
.preview-top > span:nth-child(2) { background: #d9c377; }
.preview-top > span:nth-child(3) { background: #8bbd70; }
.preview-top > small { margin-left: auto; color: #b7c1b2; font-family: var(--mono); font-size: 8px; }
.preview-body { display: grid; padding: 17px 15px 19px; }
.preview-label { margin-bottom: 12px; color: #839080; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.preview-line { display: flex; min-height: 37px; align-items: center; gap: 10px; border-top: 1px solid rgba(233, 239, 226, .07); color: #d5dccf; font-size: 10px; }
.preview-line > span:first-child { color: #8a9585; font-family: var(--mono); font-size: 8px; }
.preview-pill { margin-left: auto; padding: 4px 6px; border: 1px solid rgba(193, 241, 122, .2); border-radius: 2px; color: #c1e19e; font-family: var(--mono); font-size: 8px; }
.preview-divider { height: 1px; margin: 8px 0 12px; background: var(--line); }
.preview-prompt { color: #a7b0a2; font-family: var(--mono); font-size: 8px; }
.preview-prompt > span { color: var(--accent); }
.portfolio-note { margin: 13px 0 0; color: #829080; font-size: 10px; }

.capabilities { padding-top: 100px; padding-bottom: 105px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 30px 0 43px; }
.section-heading > p { max-width: 330px; margin: 0 0 4px; color: #9ca69c; font-size: 12px; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 13px; }
.capability-card { position: relative; min-height: 290px; padding: 21px 22px; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, rgba(28, 38, 30, .74), rgba(20, 28, 22, .58)); }
.card-number { color: #929d90; font-size: 8px; }
.capability-icon { display: grid; width: 42px; height: 42px; place-items: center; margin: 25px 0 14px; border: 1px solid rgba(193, 241, 122, .2); border-radius: 4px; color: var(--accent); }
.capability-icon svg { width: 30px; height: 30px; }
.capability-card h3 { margin-bottom: 7px; font-size: 17px; font-weight: 600; letter-spacing: -.04em; }
.capability-card > p, .wide-card-content p { max-width: 315px; margin: 0; color: #9da69b; font-size: 11px; line-height: 1.8; }
.card-code { position: absolute; right: 22px; bottom: 18px; color: #b9c3b4; font-family: var(--mono); font-size: 9px; line-height: 1.8; }
.code-muted { padding-right: 6px; color: #748073; }
.code-ok { padding-left: 12px; color: var(--accent); }
.card-detail { position: absolute; bottom: 20px; color: #8c988a; font-size: 7px; letter-spacing: .07em; }
.capability-wide { grid-column: span 3; min-height: 250px; }
.wide-card-content { display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 45px; margin-top: 1px; }
.wide-card-content h3 { margin-top: 0; }
.terminal-card { overflow: hidden; min-height: 112px; border: 1px solid rgba(220, 232, 210, .12); border-radius: 4px; background: rgba(6, 11, 8, .26); }
.terminal-top { display: flex; height: 30px; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.terminal-top > span { width: 5px; height: 5px; border-radius: 50%; background: #768170; }
.terminal-top > span:first-child { background: #e58b73; }
.terminal-top > span:nth-child(2) { background: #d9c377; }
.terminal-top > span:nth-child(3) { background: #8bbd70; }
.terminal-top small { margin-left: auto; color: #828d7e; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.terminal-card code { display: block; padding: 12px; color: #d2dacf; font-family: var(--mono); font-size: 9px; line-height: 1.9; }
.terminal-prompt, .terminal-success { color: var(--accent); }
.terminal-muted { color: #7f8a7e; }

.migration { padding-top: 99px; padding-bottom: 107px; border-top: 1px solid var(--line); }
.migration-grid { display: grid; grid-template-columns: .77fr 1fr 1fr; gap: 13px; margin-top: 32px; }
.migration-heading { padding: 17px 30px 0 0; }
.migration-heading h2 { font-size: clamp(30px, 3.3vw, 41px); }
.migration-heading p { max-width: 285px; margin-top: 17px; color: #9ba59a; font-size: 11px; line-height: 1.8; }
.migration-card { min-height: 330px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: #151e18; }
.migration-card-dark { background: #1a251c; }
.migration-index { color: #97a192; font-size: 8px; }
.migration-symbol { display: block; margin-top: 27px; color: var(--accent); font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.08em; }
.migration-card h3 { margin: 4px 0 5px; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.migration-card > p { min-height: 42px; margin-bottom: 14px; color: #a1aa9f; font-size: 10px; line-height: 1.7; }
.migration-card ul { margin: 0; padding: 0; list-style: none; }
.migration-card li { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); color: #bec5b9; font-size: 9px; }
.migration-card li > span:last-child { flex: none; color: #929e8e; font-family: var(--mono); font-size: 8px; }

.contact { position: relative; overflow: hidden; display: grid; min-height: 400px; grid-template-columns: .8fr 1fr; align-items: center; gap: 52px; margin-bottom: 55px; padding: 44px 48px; border: 1px solid rgba(193, 241, 122, .18); border-radius: 5px; background: linear-gradient(118deg, #19251a, #172018 60%, #18201a); }
.contact-orb { position: absolute; top: -155px; left: 45%; width: 360px; height: 360px; border-radius: 50%; background: rgba(125, 169, 82, .13); filter: blur(70px); }
.contact-content, .contact-side { position: relative; z-index: 1; }
.contact-content .eyebrow { margin-bottom: 16px; font-size: 8px; }
.contact h2 { font-size: clamp(32px, 3.5vw, 44px); }
.contact-content > p:not(.eyebrow) { max-width: 380px; margin: 14px 0 25px; color: #a3ad9f; font-size: 11px; line-height: 1.8; }
.contact-side { display: grid; align-content: center; gap: 5px; padding-top: 20px; border-top: 1px solid rgba(228, 239, 221, .15); }
.contact-side-label { margin-top: 8px; color: #8d9989; font-size: 8px; }
.contact-side strong { color: #dce3d6; font-size: 11px; font-weight: 500; }
.contact-side-divider { width: 100%; height: 1px; margin: 9px 0 4px; background: var(--line); }
.contact-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 9px; }
.contact-form label { margin-top: 5px; color: #d5ddd1; font-size: 10px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid rgba(228, 239, 221, .16); border-radius: 3px; outline: none; background: rgba(11, 17, 12, .48); color: var(--ink); font: 11px/1.6 var(--sans); transition: border-color .2s ease, background .2s ease; }
.contact-form textarea { min-height: 102px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #788477; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-dark); background: rgba(11, 17, 12, .68); }
.contact-form .contact-submit { justify-self: start; min-height: 42px; margin-top: 4px; border: 0; cursor: pointer; font-size: 10px; }
.form-note, .form-status { margin: 0; color: #899488; font-size: 9px; line-height: 1.6; }
.form-status { color: var(--accent); }

.site-footer { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 20px; height: 20px; }
.footer-brand .brand-mark span { width: 5px; }
.footer-brand .brand-mark span:nth-child(1) { height: 10px; }
.footer-brand .brand-mark span:nth-child(2) { height: 15px; }
.footer-brand .brand-mark span:nth-child(3) { height: 20px; }
.footer-note, .footer-copy { color: #858f83; font-size: 9px; }
.footer-copy { flex: none; font-family: var(--mono); font-size: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (min-width: 1440px) {
  .hero { min-height: 730px; }
}

@media (max-width: 1000px) {
  .nav-shell, .section-shell, .site-footer { width: min(calc(100% - 56px), 860px); }
  .hero { min-height: 615px; grid-template-columns: .95fr 1.05fr; gap: 25px; }
  .hero h1 { font-size: clamp(46px, 6vw, 60px); }
  .scan-window { transform: none; }
  .project-grid { gap: 55px; }
  .project-metrics { grid-template-columns: 1fr 1fr 1fr; row-gap: 22px; }
  .metrics-note { grid-column: 1 / -1; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .migration-grid { grid-template-columns: 1fr 1fr; }
  .migration-heading { grid-column: 1 / -1; max-width: 520px; padding: 0 0 13px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 66px; }
  .nav-shell, .section-shell, .site-footer { width: calc(100% - 40px); }
  .brand { font-size: 16px; }
  .brand-mark { transform: scale(.9); transform-origin: left center; }
  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
  }
  .menu-toggle > span:not(.sr-only) { width: 16px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 17px; border-bottom: 1px solid var(--line); background: #121a14; }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links > a { padding: 12px 0; border-bottom: 1px solid rgba(233, 239, 226, .06); font-size: 13px; }
  .nav-links .nav-contact { border-bottom: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 31px; padding-top: 60px; padding-bottom: 71px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 21px; font-size: 9px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(45px, 12vw, 65px); }
  .hero-description { max-width: 520px; margin-bottom: 23px; font-size: 13px; }
  .hero-actions { flex-wrap: wrap; gap: 17px; }
  .button { min-height: 45px; }
  .text-link { font-size: 11px; }
  .hero-proof { margin-top: 26px; }
  .hero-visual { padding: 10px 0 13px; }
  .scan-window { border-radius: 5px; }
  .window-top { min-height: 47px; padding: 0 13px; }
  .scan-project { margin: 17px 13px 14px; }
  .scan-stats { margin: 0 13px; }
  .scan-stat { padding: 10px; }
  .findings-heading { margin: 16px 13px 4px; }
  .finding { min-height: 51px; margin-inline: 8px; gap: 7px; }
  .finding-text strong { font-size: 9px; }
  .finding-text small, .finding-line { font-size: 7px; }
  .finding-line { max-width: 57px; text-align: right; overflow-wrap: anywhere; }
  .scan-footer { padding: 10px 12px; font-size: 7px; }
  .tag-top { top: 0; right: -5px; }
  .tag-bottom { bottom: 0; left: -5px; }
  .hero-index { right: 0; bottom: 26px; }
  .project, .capabilities, .migration { padding-top: 70px; padding-bottom: 73px; }
  .portfolio { padding-top: 70px; padding-bottom: 73px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
  .project h2, .section-heading h2, .migration-heading h2 { font-size: clamp(32px, 9vw, 44px); }
  .project-intro p { font-size: 12px; }
  .project-metrics { grid-template-columns: 1fr 1fr; gap: 18px 10px; margin-top: 38px; }
  .metric strong { font-size: 28px; }
  .metric span { font-size: 9px; }
  .metric:nth-child(3) { grid-column: 1 / -1; }
  .section-heading { display: block; margin: 25px 0 27px; }
  .section-heading > p { margin-top: 14px; font-size: 11px; }
  .portfolio-heading { margin-bottom: 23px; }
  .portfolio-card { grid-template-columns: 1fr; gap: 21px; padding: 22px 18px; }
  .portfolio-card h3 { margin-top: 14px; font-size: 34px; }
  .portfolio-card-info > p { font-size: 10px; }
  .portfolio-preview { max-width: none; }
  .portfolio-link { margin-top: 15px; }
  .portfolio-note { font-size: 9px; line-height: 1.7; }
  .capability-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .capability-card { min-height: 280px; padding: 16px 14px; }
  .capability-icon { width: 37px; height: 37px; margin: 20px 0 13px; }
  .capability-icon svg { width: 27px; height: 27px; }
  .capability-card h3 { font-size: 15px; }
  .capability-card > p, .wide-card-content p { font-size: 10px; }
  .capability-card:nth-child(3) { grid-column: 1 / -1; min-height: 245px; }
  .card-code { right: 12px; bottom: 12px; font-size: 8px; }
  .card-detail { right: 10px; bottom: 13px; left: 10px; font-size: 6px; }
  .capability-wide { grid-column: 1 / -1; min-height: auto; }
  .wide-card-content { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .wide-card-content .capability-icon { margin-top: 0; }
  .migration-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
  .migration-heading { grid-column: auto; padding: 0 0 8px; }
  .migration-heading p { margin-top: 12px; }
  .migration-card { min-height: auto; padding: 19px; }
  .migration-symbol { margin-top: 17px; }
  .migration-card > p { min-height: 0; }
  .migration-card li { min-height: 39px; font-size: 8px; }
  .contact { min-height: auto; grid-template-columns: 1fr; gap: 26px; margin-bottom: 34px; padding: 30px 21px; }
  .contact h2 { font-size: clamp(32px, 9vw, 43px); }
  .contact-content > p:not(.eyebrow) { margin-bottom: 20px; font-size: 10px; }
  .contact-side { grid-template-columns: 1fr; padding: 15px 0 0; }
  .contact-form { gap: 8px; }
  .contact-form label { margin-top: 4px; }
  .contact-form textarea { min-height: 110px; }
  .contact-form .contact-submit { width: 100%; justify-content: center; margin-top: 7px; }
  .form-note, .form-status { font-size: 8px; }
  .site-footer { min-height: 105px; flex-wrap: wrap; justify-content: space-between; gap: 4px 15px; padding: 18px 0; }
  .footer-brand { order: 0; }
  .footer-copy { order: 1; }
  .footer-note { order: 2; width: 100%; font-size: 8px; }
}

@media (max-width: 380px) {
  .nav-shell, .section-shell, .site-footer { width: calc(100% - 32px); }
  .hero h1 { font-size: 43px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .finding-text strong { max-width: 155px; }
  .finding-line { max-width: 49px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card:nth-child(3) { grid-column: auto; min-height: 245px; }
  .capability-wide { grid-column: auto; }
  .card-code { right: 17px; bottom: 14px; }
  .card-detail { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ===== Agencja AI Addseco: usługi i przykładowe strony ===== */
.finding { color: inherit; transition: background .2s ease; }
a.finding:hover { background: rgba(193, 241, 122, .05); }
.finding-mark { font-size: 9px; font-weight: 500; }

.services { padding-top: 100px; padding-bottom: 105px; border-top: 1px solid var(--line); }
.services-grid .capability-card { min-height: 310px; }
.card-featured { border-color: rgba(193, 241, 122, .3); background: linear-gradient(145deg, rgba(36, 50, 38, .85), rgba(22, 31, 24, .65)); }
.card-link { position: absolute; bottom: 20px; left: 22px; margin: 0; }
.services-grid .capability-card > p { max-width: 340px; }

.websites { padding-top: 100px; padding-bottom: 100px; border-top: 1px solid var(--line); }
.site-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.site-card { display: grid; align-content: start; gap: 8px; padding: 14px 14px 20px; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, rgba(28, 38, 30, .74), rgba(20, 28, 22, .58)); transition: border-color .2s ease, transform .2s ease; min-width: 0; }
.site-card:hover, .site-card:focus-visible { transform: translateY(-3px); border-color: rgba(193, 241, 122, .45); }
.site-card h3 { margin: 4px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.site-card p { margin: 0 0 6px; color: #9da69b; font-size: 11px; line-height: 1.75; }
.site-meta { margin-top: 10px; color: var(--accent); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }
.site-card .portfolio-link { margin-top: auto; }

.site-swatch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; align-items: end; gap: 6px; height: 128px; padding: 14px; border-radius: 3px; overflow: hidden; }
.site-swatch > span { grid-column: 1 / -1; align-self: start; font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.site-swatch > i { display: block; height: 22px; border-radius: 2px; }
.swatch-dent { background: #eef3f7; color: #1f4f82; font-family: "Manrope", sans-serif; }
.swatch-dent i:nth-child(2) { background: #1f4f82; }
.swatch-dent i:nth-child(3) { background: #9cc3e6; }
.swatch-dent i:nth-child(4) { background: #ffffff; box-shadow: inset 0 0 0 1px #c6d3df; }
.swatch-rest { background: #15110d; color: #dba964; font-family: "Bodoni Moda", Georgia, serif; font-style: italic; }
.swatch-rest i:nth-child(2) { background: #dba964; }
.swatch-rest i:nth-child(3) { background: #8fb48b; }
.swatch-rest i:nth-child(4) { background: #352e25; }
.swatch-land { background: #f2f4ee; color: #0e6b58; font-family: "Manrope", sans-serif; font-weight: 800; }
.swatch-land i:nth-child(2) { background: #0e6b58; }
.swatch-land i:nth-child(3) { background: #ffd84a; }
.swatch-land i:nth-child(4) { background: #d9dfd5; }
.swatch-calc { background: #eef0f3; color: #c2410c; font-family: "DM Mono", Consolas, monospace; }
.swatch-calc i:nth-child(2) { background: #c2410c; }
.swatch-calc i:nth-child(3) { background: #3b4756; }
.swatch-calc i:nth-child(4) { background: #d6dbe2; }
.site-swatch > span { color: inherit; }

@media (max-width: 1000px) {
  .site-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .services, .websites { padding-top: 70px; padding-bottom: 73px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .capability-card { min-height: 250px; padding-bottom: 60px; }
  .services-grid .capability-card:nth-child(3) { grid-column: auto; min-height: 250px; }
  .services-grid .card-detail { left: 14px; right: 14px; font-size: 7px; }
  .card-link { left: 14px; }
  .site-grid { grid-template-columns: 1fr; gap: 10px; }
}
