/* DEFIO Solutions, SAP Development
   Palette taken from the logo:
   slate #2f455c · teal #21d0b2 · grey #b0bec5 · grey-2 #78909c */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --bg-3: #edf0f4;
  --bg-code: #0f161d;
  --line: #e2e7ed;
  --line-soft: #edf0f4;
  --line-strong: #c9d2dc;
  --text: #212121;
  --text-2: #3a3f4b;
  --heading: #0a0d31;
  --muted: #5a606e;
  --muted-2: #80868f;
  --accent: #21d0b2;
  --accent-ink: #0e9b84;
  --accent-dim: rgba(33, 208, 178, .12);
  --tint: #e9f9f5;
  --btn-bg: #0a0d31;
  --btn-fg: #ffffff;
  --dots: rgba(10, 13, 49, .14);
  --grid: rgba(10, 13, 49, .07);
  --header-bg: rgba(255, 255, 255, .84);
  --panel: rgba(255, 255, 255, .98);
  --vignette: rgba(255, 255, 255, .55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --w: 1040px;
  --w-narrow: 720px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --heading: #eef2f6;
  --tint: #121a23;
  --btn-bg: #21d0b2;
  --btn-fg: #07201a;
  --dots: rgba(255, 255, 255, .09);
  --grid: rgba(255, 255, 255, .055);
  --bg: #0c1117;
  --bg-2: #121a23;
  --bg-3: #1b2631;
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .06);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #eef2f6;
  --text-2: #cdd5de;
  --muted: #98a4b1;
  --muted-2: #6c7a89;
  --accent-ink: #21d0b2;
  --header-bg: rgba(12, 17, 23, .82);
  --panel: rgba(18, 26, 35, .98);
  --vignette: rgba(12, 17, 23, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--heading); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
code, pre, kbd { font-family: var(--mono); font-variant-ligatures: none; }
button { font: inherit; }
a, button, summary, .faq__q, .btn, .tag, .nav-toggle, .theme-toggle { touch-action: manipulation; }

.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(var(--w-narrow), 100% - 40px); margin-inline: auto; }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.brand__text { color: var(--muted); font-weight: 500; letter-spacing: -.01em; }
.brand__text b { color: var(--accent); font-weight: 600; }
.site-nav { display: flex; gap: 28px; font-size: 14.5px; }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.header__tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); background: var(--bg-2); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.nav-toggle { display: none; position: relative; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; padding: 0; transition: border-color .25s, background .25s; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .25s, top .4s cubic-bezier(.2,.8,.2,1); }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--accent-ink); background: var(--accent-dim); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); background: var(--accent-ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); background: var(--accent-ink); }

/* ---- Hero ---- */
main { position: relative; }
.site-mark {
  position: absolute; z-index: 0; pointer-events: none;
  left: 0; top: 40px; width: 520px; height: 760px; transform: rotate(6deg);
  background: url("assets/brand/defio-d.svg") no-repeat center / contain; opacity: .06;
}
.hero, .hero + .section { position: relative; z-index: 1; background: transparent; }
@media (max-width: 860px) { .site-mark { width: 240px; height: 350px; left: 58%; top: 120px; opacity: .05; } }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
}
.hero__light {
  position: absolute; z-index: 0; pointer-events: none; width: 640px; height: 640px; border-radius: 50%; left: -160px; top: -200px;
  background: radial-gradient(circle, rgba(33, 208, 178, .22) 0%, rgba(33, 208, 178, .07) 45%, transparent 70%);
  filter: blur(20px); animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(55vw, 10vh); } 100% { transform: translate(20vw, 32vh); } }
@media (prefers-reduced-motion: reduce) { .hero__light { animation: none; } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 500px; }
.hero__text { padding: 64px 0 48px; }
.hero h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 600; letter-spacing: -.03em; max-width: 600px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero__sub { margin-top: 20px; font-size: 19px; color: var(--muted); }
.hero__plain { margin-top: 12px; max-width: 560px; font-size: 15.5px; color: var(--muted-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 15px; transition: filter .15s, border-color .15s, background .15s; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--muted-2); background: var(--bg-2); filter: none; }
.latest { margin-top: 28px; font-size: 14px; color: var(--muted-2); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.latest a { color: var(--muted); }
.latest a:hover { color: var(--accent-ink); }
.latest .kicker { margin: 0; font-size: 14px; }

.hero__media { position: relative; display: grid; place-items: center; min-height: 440px; }
.orb { position: relative; width: min(400px, 100%); aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.orb::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 208, 178, .18) 0%, rgba(33, 208, 178, .06) 40%, rgba(33, 208, 178, 0) 65%);
  filter: blur(12px); animation: breathe 5s ease-in-out infinite;
}
.orb__dash { position: absolute; inset: -10%; width: 120%; height: 120%; fill: none; stroke: var(--accent); stroke-width: .45; stroke-dasharray: 1.4 3.2; opacity: .22; animation: spin 70s linear infinite; }
.orb__orbit { position: absolute; inset: -10%; border-radius: 50%; animation: spin 16s linear infinite; }
.orb__orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px rgba(33, 208, 178, .6); }
.orb__ring { position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgba(33, 208, 178, .2) 70%, var(--accent) 84%, transparent 100%); animation: spin 7s linear infinite; }
.orb__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orb__photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--bg-3); box-shadow: 0 30px 60px rgba(15, 30, 45, .22); }
.orb__photo img { position: absolute; width: 185%; height: auto; max-width: none; left: -85%; top: -4%; filter: saturate(.92) contrast(1.04); }
.orb__photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 35%, transparent 60%, var(--vignette) 100%); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .orb, .orb::before, .orb__dash, .orb__orbit, .orb__ring { animation: none; }
}

/* ---- Sections ---- */
.section { padding: 96px 0; scroll-margin-top: 64px; }
.hero + .section { padding-top: 48px; }
.section--alt { background: var(--bg-2); }
.section--tint { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.band { padding: 112px 0; }
.band--teal { background: var(--accent); color: #ffffff; position: relative; overflow: hidden; isolation: isolate; }
.band--teal .wrap { position: relative; z-index: 2; }
.band--teal::before {
  content: ""; position: absolute; z-index: 0; right: -40px; bottom: -40px; width: 520px; height: 340px; pointer-events: none;
  background-image: radial-gradient(rgba(10, 13, 49, .35) 1.6px, transparent 2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 62%); mask-image: linear-gradient(225deg, #000 0%, transparent 62%);
  animation: dots-drift 18s linear infinite;
}
@keyframes dots-drift { to { background-position: 22px 22px; } }
.band__arrow { position: absolute; z-index: 1; right: 4%; bottom: 0; width: min(46%, 560px); height: auto; pointer-events: none; }
.arrow__ghost { stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-linecap: round; }
.arrow__line { stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55)); animation: draw 7s cubic-bezier(.4, 0, .2, 1) infinite; }
.arrow__nodes circle { fill: #ffffff; opacity: 0; transform-origin: center; transform-box: fill-box; animation: node 7s ease-out infinite; }
.arrow__nodes circle:nth-child(1) { animation-delay: .2s; }
.arrow__nodes circle:nth-child(2) { animation-delay: 2s; }
.arrow__nodes circle:nth-child(3) { animation-delay: 3.4s; }
.arrow__labels text { font: 600 12px var(--font); fill: #0a0d31; opacity: 0; animation: label 7s ease-out infinite; }
.arrow__labels text:nth-child(1) { animation-delay: .3s; }
.arrow__labels text:nth-child(2) { animation-delay: 2.1s; }
.arrow__labels text:nth-child(3) { animation-delay: 3.5s; }
@keyframes draw { 0% { stroke-dashoffset: 900; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 85% { stroke-dashoffset: 0; opacity: 1; } 95% { opacity: 0; } 100% { stroke-dashoffset: 900; opacity: 0; } }
@keyframes node { 0% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.5); } 12% { transform: scale(1); } 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes label { 0% { opacity: 0; } 8% { opacity: .9; } 85% { opacity: .9; } 95%, 100% { opacity: 0; } }
@media (max-width: 860px) { .band__arrow { position: relative; display: block; width: 100%; max-width: 420px; margin: 32px auto 0; right: auto; } }
@media (prefers-reduced-motion: reduce) { .arrow__line { animation: none; stroke-dashoffset: 0; } .arrow__nodes circle, .arrow__labels text { animation: none; opacity: 1; } }
.words.reveal { opacity: 1; transform: none; }
.words span { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--w) * 55ms); }
.words.in-view span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .band--teal::before { animation: none; } .words span { opacity: 1; transform: none; transition: none; } }
.band--teal h2 { color: #ffffff; font-size: clamp(30px, 3.6vw, 44px); max-width: 760px; letter-spacing: -.025em; }
.band__label { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0a0d31; background: #ffffff; padding: 6px 12px; border-radius: 6px; margin-bottom: 26px; }
.band--dark { background: #1c1c1c; color: #e8e8e8; }
.band--dark h2, .band--dark .kicker { color: #ffffff; }
.band--dark .kicker { color: var(--accent); }
.band--dark .split__body p { color: #c9c9c9; }
.band--dark .qpanel { background: #262626; border-color: rgba(255, 255, 255, .1); }
.band--dark .qpanel__head { color: #ffffff; border-color: rgba(255, 255, 255, .08); }
.band--dark .qpanel__head em, .band--dark .qpanel li { color: #b5b5b5; }
.band--dark .qpanel li b { color: #ffffff; }
.band--dark .qpanel li i, .band--dark .qpanel__foot i { border-color: rgba(255, 255, 255, .25); }
.band--dark .qpanel__foot { border-color: rgba(255, 255, 255, .08); color: var(--accent); }
.section__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section__title h2 { font-size: 24px; }
.section__title a, .section__title span { font-size: 13px; color: var(--muted-2); }
.section__title a:hover { color: var(--accent-ink); }
.kicker { font-size: 13.5px; font-weight: 600; color: var(--accent-ink); margin-bottom: 12px; }

/* ---- Section heads ---- */
.section__head { max-width: 680px; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.section__head .sub { color: var(--muted); margin-top: 14px; font-size: 17px; }
.kicker--muted { color: var(--muted-2); font-weight: 400; margin: 0 0 14px; }

/* ---- Cards ---- */
.section__intro { color: var(--muted); font-size: 17px; max-width: 720px; margin: -12px 0 36px; }
.cards { display: grid; gap: 20px; align-items: stretch; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 28px 26px 26px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.section--alt .card, .section--tint .card { background: var(--bg); }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--bg-3); }
.card__icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; margin-bottom: 22px;
  background: var(--accent); color: #ffffff;
}
.card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease-out, transform .55s ease-out; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in-view { opacity: 1; transform: none; }
.card.reveal.in-view { transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .55s ease-out; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}

/* ---- Illustrations ---- */
.illus { margin-top: 28px; max-width: 380px; }
.illus svg { width: 100%; height: auto; display: block; }
.illus__label { font: 500 11px var(--font); fill: var(--muted-2); letter-spacing: .02em; }
.illus__small { font: 500 11px var(--font); fill: var(--muted); }
.illus__caption { font: 400 11px var(--font); fill: var(--muted-2); }
.illus--team .flow { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; stroke-linecap: round; }
.illus--team.in-view .flow { stroke: rgba(33, 208, 178, .55); animation: flow 1.4s linear infinite; }
.illus--team.in-view .flow--out { animation-delay: .7s; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.illus--team .avatar circle:first-child { fill: var(--bg-2); stroke: var(--line-strong); stroke-width: 1.5; }
.illus--team .avatar circle:nth-child(2), .illus--team .avatar path { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.illus--team .avatar path { stroke-linecap: round; }
.illus--team .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; }
.illus--team.in-view .pulse { animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.illus--team .pulse { transform-origin: 180px 115px; }
.illus--team .logo { transform-origin: 180px 115px; }
.illus--team.in-view .logo { animation: logo-pulse 2.4s ease-in-out infinite; }
@keyframes logo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.illus--team .sys rect { fill: var(--bg-2); stroke: var(--line-strong); stroke-width: 1.5; }
.illus--team .tie { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 3; }
.illus--team .pill rect { fill: var(--accent-dim); stroke: rgba(33, 208, 178, .45); stroke-width: 1; }
.illus--team .pill text { font: 500 10px var(--font); fill: var(--text); }
.illus--team .pill { opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.illus--team.in-view .pill { opacity: 1; transform: none; }
.illus--team.in-view .pill:nth-of-type(1) { transition-delay: .3s; }
.illus--team.in-view .pill:nth-of-type(2) { transition-delay: .45s; }
.illus--team.in-view .pill:nth-of-type(3) { transition-delay: .6s; }
.illus--team.in-view .pill:nth-of-type(4) { transition-delay: .75s; }
.illus--team .sys text { font: 500 12px var(--font); fill: var(--text); }
.illus--team.in-view .sys rect { stroke: rgba(33, 208, 178, .5); transition: stroke .6s .8s; }

.qpanel { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); overflow: hidden; font-size: 14px; }
.qpanel__head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); color: var(--text); font-weight: 500; }
.qpanel__head em { font: 11.5px var(--mono); color: var(--muted-2); font-style: normal; }
.qpanel ul { padding: 6px 0; }
.qpanel li { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--muted); }
.qpanel li b { margin-left: auto; font-weight: 500; color: var(--text); font-size: 12.5px; }
.qpanel li i, .qpanel__foot i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; transition: background .35s, border-color .35s; }
.qpanel li i::after, .qpanel__foot i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #0f2620; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.illus--quality.in-view .qpanel li i, .illus--quality.in-view .qpanel__foot i { background: var(--accent); border-color: var(--accent); }
.illus--quality.in-view .qpanel li i::after, .illus--quality.in-view .qpanel__foot i::after { transform: rotate(45deg) scale(1); }
.illus--quality.in-view li:nth-child(1) i, .illus--quality.in-view li:nth-child(1) i::after { transition-delay: .3s; }
.illus--quality.in-view li:nth-child(2) i, .illus--quality.in-view li:nth-child(2) i::after { transition-delay: .6s; }
.illus--quality.in-view li:nth-child(3) i, .illus--quality.in-view li:nth-child(3) i::after { transition-delay: .9s; }
.illus--quality.in-view li:nth-child(4) i, .illus--quality.in-view li:nth-child(4) i::after { transition-delay: 1.2s; }
.illus--quality.in-view .qpanel__foot i, .illus--quality.in-view .qpanel__foot i::after { transition-delay: 1.6s; }
.qpanel__foot { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line-soft); color: var(--accent-ink); font-weight: 500; }
.illus--quality.in-view .qpanel__foot { animation: none; }
@media (prefers-reduced-motion: reduce) { .illus--team .flow, .illus--team .pulse, .illus--team .logo { animation: none !important; } }

/* ---- SAP landscape band ---- */
.band--landscape { background: linear-gradient(135deg, #0a0d31 0%, #13223a 100%); color: #ffffff; padding: 96px 0; position: relative; overflow: hidden; }
.band--landscape::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 78% 50%, rgba(33, 208, 178, .14), transparent 70%); pointer-events: none; }
.landscape { position: relative; display: grid; grid-template-columns: 1fr 1.45fr; gap: 56px; align-items: center; }
.landscape__text h2 { color: #ffffff; font-size: clamp(26px, 3vw, 34px); }
.landscape__text p:not(.kicker) { margin-top: 16px; color: #b0bec5; font-size: 16px; }
.lsc { width: 100%; height: auto; display: block; }
.lsc__node rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.lsc__node text { font: 600 13px var(--font); fill: #ffffff; }
.lsc__node .lsc__sub { font: 400 10.5px var(--font); fill: #b0bec5; }
.lsc__node--core rect { fill: rgba(33, 208, 178, .12); stroke: var(--accent); stroke-width: 1.6; }
.lsc__node--core text { font-size: 15px; }
.lsc__node--legacy rect { stroke-dasharray: 4 3; }
.lsc__node--ext rect { fill: transparent; stroke: rgba(255, 255, 255, .16); }
.lsc__node--ext text { font-weight: 500; fill: #b0bec5; font-size: 12px; }
.lsc__label text { font: 500 11px var(--font); fill: var(--accent); letter-spacing: .02em; }
.lsc__flow { stroke: rgba(255, 255, 255, .28); stroke-width: 1.6; stroke-dasharray: 5 6; stroke-linecap: round; }
.landscape__media.in-view .lsc__flow { stroke: rgba(33, 208, 178, .75); animation: flow 1.6s linear infinite; }
.landscape__media.in-view .lsc__flow--back { animation-direction: reverse; }
.lsc__pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-origin: 320px 180px; }
.landscape__media.in-view .lsc__pulse { animation: lsc-ring 3s ease-out infinite; }
@keyframes lsc-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.25); opacity: 0; } }
.landscape__media.in-view .lsc__node { animation: lsc-in .6s ease-out both; }
.landscape__media.in-view .lsc__node:nth-of-type(2) { animation-delay: .1s; }
.landscape__media.in-view .lsc__node:nth-of-type(3) { animation-delay: .2s; }
.landscape__media.in-view .lsc__node:nth-of-type(4) { animation-delay: .3s; }
.landscape__media.in-view .lsc__node:nth-of-type(5) { animation-delay: .4s; }
.landscape__media.in-view .lsc__node:nth-of-type(6) { animation-delay: .5s; }
.landscape__media.in-view .lsc__node:nth-of-type(7) { animation-delay: .55s; }
.landscape__media.in-view .lsc__node:nth-of-type(8) { animation-delay: .6s; }
@keyframes lsc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .landscape { grid-template-columns: 1fr; gap: 32px; } .band--landscape { padding: 64px 0; } }
@media (prefers-reduced-motion: reduce) { .landscape__media.in-view .lsc__flow, .landscape__media.in-view .lsc__pulse, .landscape__media.in-view .lsc__node { animation: none; } }

/* ---- How we work: blueprint grid with travelling signals ---- */
.section--ai {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 40% 50% at 78% 30%, rgba(33, 208, 178, .10), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 70%);
}
.section--ai > .wrap { position: relative; z-index: 1; }
.ai-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 80%);
}
.ai-bg i { position: absolute; left: 0; width: 220px; height: 1px; margin-left: -220px; background: linear-gradient(90deg, transparent, var(--accent) 60%, transparent); opacity: .9; animation: signal-x 12s linear infinite; }
.ai-bg i:nth-child(1) { top: 192px; animation-duration: 13s; }
.ai-bg i:nth-child(2) { top: 448px; animation-delay: 4s; animation-duration: 17s; }
.ai-bg i:nth-child(3) { top: 704px; animation-delay: 8s; animation-duration: 15s; }
.ai-bg b { position: absolute; top: 0; width: 1px; height: 180px; margin-top: -180px; background: linear-gradient(180deg, transparent, var(--accent) 60%, transparent); opacity: .8; animation: signal-y 14s linear infinite; }
.ai-bg b:nth-child(4) { left: 320px; animation-delay: 2s; }
.ai-bg b:nth-child(5) { left: 1024px; animation-delay: 9s; animation-duration: 18s; }
@keyframes signal-x { to { transform: translateX(calc(100vw + 220px)); } }
@keyframes signal-y { to { transform: translateY(calc(100% + 1400px)); } }
@media (prefers-reduced-motion: reduce) { .ai-bg i, .ai-bg b { display: none; } }

/* ---- How we work: intro + live editor ---- */
.ai-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.ai-intro .section__intro { margin: 0; }
.editor { background: #0f161d; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(10, 13, 49, .18); }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.editor__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2c3743; }
.editor__bar span:nth-child(1) { background: #ff5f57; } .editor__bar span:nth-child(2) { background: #febc2e; } .editor__bar span:nth-child(3) { background: #28c840; }
.editor__bar em { margin-left: auto; font: 12px var(--mono); color: #6c7a89; font-style: normal; }
.editor__code { margin: 0; padding: 16px 18px; min-height: 236px; font: 13px/1.6 var(--mono); color: #c9d1e6; white-space: pre; overflow: hidden; }
.editor__code .k { color: #7bd8ff; } .editor__code .s { color: #cfe9a3; } .editor__code .c { color: #6c7a89; font-style: italic; } .editor__code .a { color: #f2c994; }
.editor__caret { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.editor__status { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .07); font: 12.5px var(--mono); color: #98a4b1; opacity: 0; transition: opacity .4s; }
.editor__status.is-on { opacity: 1; }
.editor__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(33, 208, 178, .7); }
@media (max-width: 860px) { .ai-intro { grid-template-columns: 1fr; gap: 28px; } .editor__code { min-height: 200px; font-size: 12px; } }

/* ---- Section with the big subtle logo mark ---- */
.section--mark { position: relative; overflow: hidden; }
.section--mark > .wrap { position: relative; z-index: 1; }
.section--mark::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -4%; top: 50%; width: 520px; height: 760px; transform: translateY(-50%) rotate(-8deg);
  background: url("assets/brand/defio-d.svg") no-repeat center / contain; opacity: .06;
}
@media (max-width: 860px) { .section--mark::before { width: 320px; height: 470px; right: -30%; opacity: .05; } }

/* ---- FAQ ---- */
.faq__intro { margin-top: 14px; color: var(--muted); font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%;
  padding: 22px 0; cursor: pointer; font-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--heading);
  transition: color .2s ease;
}
.faq__q:hover, .faq__q[aria-expanded="true"] { color: var(--accent-ink); }
.faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 1px; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.faq__icon::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }
.faq__a-inner { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 44px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease .05s, transform .3s ease .05s; }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a.is-open p { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .faq__a, .faq__a p, .faq__icon::before, .faq__icon::after { transition: none; } }

/* ---- Numbered steps (join page) ---- */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 48px; color: var(--muted); font-size: 16px; }
.steps li b { color: var(--heading); font-weight: 600; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #07201a; font-weight: 700; font-size: 14px; display: grid; place-items: center; }

/* ---- Split text sections ---- */
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 72px; align-items: start; }
.split__head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.split__head .btn { margin-top: 20px; }
.split__body p + p { margin-top: 14px; }
.split__body p { color: var(--muted); font-size: 16.5px; }
.split__body .lead { color: var(--text); font-size: 19px; font-weight: 500; }

/* ---- Posts list ---- */
.posts { border-top: 1px solid var(--line); }
.post-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.post-item time { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 3px; }
.post-item h3 { font-size: 17px; font-weight: 600; }
.post-item h3 a { color: var(--text); }
.post-item h3 a:hover { color: var(--accent-ink); text-decoration: none; }
.post-item p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.post-item__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 12px; align-items: center; }
.tag { font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); background: var(--accent-dim); padding: 2px 7px; border-radius: 4px; }
a.tag:hover { text-decoration: none; background: rgba(33, 208, 178, .25); }
.tag.is-active { background: var(--accent); color: #10211c; }
.post-item__meta a.gh { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.post-item__meta a.gh:hover { color: var(--text); }
.gh svg { width: 13px; height: 13px; fill: currentColor; }
.posts__empty { color: var(--muted-2); padding: 20px 0; font-size: 14px; }

/* ---- Page hero (posts index) ---- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: 88px 0 56px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.03em; max-width: 720px; margin-inline: auto; }
.page-hero__sub { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.page-hero__count { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--muted-2); }
.section--list { padding-top: 0; }
.section--list .tools { justify-content: center; margin-bottom: 28px; }
.section--list .tools .tags { width: 100%; justify-content: center; }
@media (max-width: 680px) { .page-hero { padding: 56px 0 36px; } }

/* ---- Posts index tools ---- */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.tools input {
  font: inherit; font-size: 14px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 7px 11px; min-width: 240px;
}
.tools input:focus { outline: none; border-color: var(--accent-ink); }
.tools input::placeholder { color: var(--muted-2); }
.tools .tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Repositories ---- */
.repos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.repo { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--bg-2); transition: border-color .15s; }
.repo:hover { border-color: var(--accent-ink); text-decoration: none; }
.repo b { font-weight: 600; font-size: 14px; font-family: var(--mono); color: var(--text); }
.repo p { color: var(--muted); font-size: 13px; margin-top: 4px; min-height: 1.2em; }
.repo small { display: flex; gap: 12px; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.repo small i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 5px; vertical-align: 0; }

/* ---- Post page ---- */
.post { padding: 36px 0 56px; }
.post__back { font-size: 13px; color: var(--muted); }
.post__head { margin: 14px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.post__head h1 { font-size: clamp(24px, 3.4vw, 32px); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.post__meta time { font-family: var(--mono); font-size: 12px; }
.post__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.post__nav a { color: var(--muted); max-width: 48%; }
.post__nav a:hover { color: var(--accent-ink); text-decoration: none; }
.post__nav small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-bottom: 2px; }

.post__hero { margin: 0 0 32px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.post__hero img { display: block; width: 100%; height: auto; }
/* ---- Author ---- */
.post__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.post__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.post__author b { display: block; font-weight: 600; font-size: 15px; color: var(--heading); }
.post__author span { display: block; font-size: 13px; color: var(--muted); }
.post-item__by { color: var(--muted-2); }

/* ---- Post CTA ---- */
.cta { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.cta__main { padding: 36px 36px 34px; }
.cta__main h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 6px 0 14px; }
.cta__main p { color: var(--muted); font-size: 15.5px; }
.cta__main .kicker { margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta__dev { padding: 36px 32px 34px; border-left: 1px solid var(--line); background: var(--bg); }
.cta__dev h3 { font-size: 17px; margin-bottom: 10px; }
.cta__dev p { color: var(--muted); font-size: 14.5px; }
.cta__dev > a { display: inline-block; margin-top: 16px; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.cta__dev > a:hover { text-decoration: none; border-color: var(--accent-ink); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta__dev { border-left: 0; border-top: 1px solid var(--line); } .cta__main, .cta__dev { padding: 26px 22px; } }

.prose { font-size: 16px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 21px; margin-top: 1.8em; }
.prose h3 { font-size: 17px; margin-top: 1.5em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.4em; list-style: revert; }
.prose li + li { margin-top: .3em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose code { font-size: .86em; background: var(--bg-3); padding: .12em .4em; border-radius: 4px; color: var(--text); }
.prose pre { background: var(--bg-code); color: #c9d1e6; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; overflow: auto; font-size: 13px; line-height: 1.55; position: relative; }
.prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.prose pre[data-lang]::before { content: attr(data-lang); position: absolute; top: 6px; right: 10px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6c7a89; }
.prose blockquote { margin: 1.2em 0; padding: 2px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 500; }
.prose img { border-radius: 6px; border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); }

/* Prism tokens, tuned to the palette */
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #6c7a89; font-style: italic; }
.token.keyword, .token.selector, .token.important, .token.atrule { color: var(--accent); }
.token.string, .token.char, .token.attr-value { color: #cfe9a3; }
.token.number, .token.boolean, .token.constant { color: #f2c994; }
.token.function, .token.class-name { color: #9ad8ff; }
.token.operator, .token.punctuation { color: #b0bec5; }
.token.variable, .token.property { color: #e9eef2; }
.prose pre code { color: #c9d1e6; }

/* ---- Contact / footer ---- */
.contact__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 15px; }
.contact__links a { color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.contact__links a:hover { border-color: var(--accent-ink); text-decoration: none; }

.site-footer { padding: 64px 0 32px; color: #9a9a9a; font-size: 13.5px; background: #161616; border-top: 3px solid var(--accent); }
.site-footer .brand__text { color: #ffffff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer__brand p { margin-top: 12px; color: #bdbdbd; font-size: 14px; }
.footer__social { display: flex; gap: 14px; margin-top: 12px; }
.footer__col h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.footer__col a { display: block; color: #d4d4d4; font-size: 14px; padding: 3px 0; }
.footer__col a:hover { color: var(--accent); text-decoration: none; }
.footer__col a.footer__hiring { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 6px; background: var(--accent); color: #07201a; font-weight: 600; }
.footer__col a.footer__hiring:hover { background: #ffffff; color: #0a0d31; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer a { color: #bdbdbd; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { margin-top: 12px; font-size: 12px; color: #7a7a7a; max-width: 760px; line-height: 1.5; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .illus { max-width: 440px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__text { padding: 32px 0 20px; }
  .hero__grid { min-height: 0; }
  .hero__media { min-height: 0; padding: 4px 0 8px; }
  .orb { width: min(280px, 78vw); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 18px; }
  .repos { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; right: 20px; top: calc(100% + 10px); width: 232px; flex-direction: column; gap: 0;
    padding: 8px; border-radius: 14px; background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(15, 30, 45, .25);
    opacity: 0; visibility: hidden; transform-origin: top right;
    transform: perspective(700px) rotateX(-16deg) rotateY(12deg) scale(.9) translateY(-8px);
    transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility 0s linear .5s;
  }
  .site-nav::before {
    content: ""; position: absolute; top: -6px; right: 14px; width: 11px; height: 11px;
    background: var(--panel); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s; }
  .site-nav a { padding: 11px 12px; font-size: 15px; border-radius: 9px; opacity: 0; transform: translateX(10px); transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--accent-dim); color: var(--text); }
  .site-nav.is-open a { opacity: 1; transform: none; }
  .site-nav.is-open a:nth-child(1) { transition-delay: .10s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: .16s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: .22s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: .28s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: .34s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: .40s; }
  .hero { padding: 0; }
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .post-item { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 64px 0; }
  .band { padding: 72px 0; }
  .tools input { min-width: 0; width: 100%; }
  .post__nav { flex-direction: column; }
  .post__nav a { max-width: none; }
}
