/* DevCraft Platform landing page. Plain CSS, no build step.
   Brand tokens follow the platform's own design system (frontend/src/assets/main.css). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #0a1322;
  --navy-900: #0f1b2d;
  --navy-800: #16243a;
  --navy-700: #1f3049;
  --navy-600: #2b3f5c;
  --navy-300: #8ea0b8;
  --navy-200: #b7c3d3;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --teal-400: #2dd4bf;

  --bg: #ffffff;
  --bg-tint: #f5f7fa;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --slate-soft: #e2e8f0;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / .04), 0 4px 16px rgb(15 23 42 / .06);
  --shadow-lg: 0 24px 60px rgb(3 10 22 / .45);
  --container: 1200px;
  --header-h: 68px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--emerald-700); }
code { font-family: var(--mono); font-size: .9em; }
ul { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--emerald-400); outline-offset: 3px; border-radius: 4px; }

.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: absolute; left: 16px; top: -60px; z-index: 100; background: var(--emerald-500); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons and badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .875rem; }
.btn--primary { background: var(--emerald-500); color: var(--navy-950); }
.btn--primary:hover { background: var(--emerald-400); transform: translateY(-1px); box-shadow: 0 8px 20px rgb(16 185 129 / .25); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { border-color: rgb(255 255 255 / .55); background: rgb(255 255 255 / .08); }
.btn.is-pending { cursor: default; opacity: .62; transform: none; box-shadow: none; }
.btn--primary.is-pending:hover { background: var(--emerald-500); }
.icon { width: 18px; height: 18px; fill: currentColor; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--done { background: var(--emerald-100); color: var(--emerald-700); }
.status--progress { background: var(--amber-soft); color: var(--amber); }
.status--planned { background: var(--slate-soft); color: #334155; }
.legend { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-400); margin-bottom: 14px; }
.eyebrow--dark { color: var(--emerald-700); }
.accent { color: var(--emerald-400); }
.lead { font-size: 1.15rem; color: var(--navy-200); max-width: 38em; }
.lead--dark { color: var(--text-muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(10 19 34 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgb(255 255 255 / .07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__mark { width: 52px; height: 22px; fill: var(--emerald-500); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand__text span { font-size: .72rem; color: var(--navy-300); letter-spacing: .04em; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--navy-200); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 6px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .18); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after { position: absolute; left: 12px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle-bar { top: 21px; }
.nav__toggle-bar::before, .nav__toggle-bar::after { content: ''; left: 0; }
.nav__toggle-bar::before { top: -6px; }
.nav__toggle-bar::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--bg-tint); }
.section--tint-green { background: linear-gradient(180deg, var(--emerald-50), #f4fbf8); }
.section--dark { background: var(--navy-900); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head p { color: var(--text-muted); font-size: 1.05rem; }
.section__head--light p { color: var(--navy-200); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; background:
  radial-gradient(900px 500px at 85% 10%, rgb(16 185 129 / .16), transparent 60%),
  radial-gradient(700px 420px at 0% 100%, rgb(45 212 191 / .10), transparent 60%),
  linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .1); }
.hero__facts li { display: flex; flex-direction: column; font-size: .82rem; color: var(--navy-300); line-height: 1.4; }
.hero__facts strong { color: #fff; font-size: .92rem; margin-bottom: 2px; }

/* ---------- Screenshot frames ---------- */
.shot { margin: 0; }
.shot__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); border: 1px solid rgb(255 255 255 / .1); box-shadow: var(--shadow); aspect-ratio: 16 / 10.6; }
.shot__bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; background: var(--navy-950); border-bottom: 1px solid rgb(255 255 255 / .06); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-600); }
.shot__frame img { width: 100%; height: calc(100% - 28px); object-fit: cover; object-position: top left; }
.shot .shot__placeholder { display: none; }
.shot.is-missing img { display: none; }
.shot.is-missing .shot__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: calc(100% - 28px); padding: 16px; text-align: center; font-size: .85rem; font-weight: 600; color: var(--navy-200);
  background: repeating-linear-gradient(135deg, var(--navy-800) 0 14px, #1a2a42 14px 28px); outline: 2px dashed rgb(52 211 153 / .45); outline-offset: -10px; }
.shot.is-missing .shot__placeholder code { font-weight: 400; color: var(--emerald-400); }
.shot figcaption { margin-top: 14px; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.shot figcaption strong { color: var(--text); }
.shot--hero .shot__frame { box-shadow: var(--shadow-lg), 0 0 0 1px rgb(52 211 153 / .12); }
.shot--hero figcaption { color: var(--navy-300); font-size: .8rem; text-align: right; }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 14px; }
.principles li { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.principles li:hover { border-color: var(--emerald-100); box-shadow: var(--shadow); }
.principles__num { font-weight: 800; font-size: .85rem; color: var(--emerald-600); padding-top: 2px; font-variant-numeric: tabular-nums; }
.principles h3 { margin-bottom: 4px; }
.principles p { margin: 0; font-size: .93rem; }

/* ---------- Capability cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(15 23 42 / .03); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe9de; }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--emerald-50); border: 1px solid var(--emerald-100); }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--emerald-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--text-muted); font-size: .94rem; }
.card__note { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--border); font-size: .84rem !important; color: var(--text-soft) !important; }

/* ---------- Showcase ---------- */
.showcase { display: grid; gap: 88px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.feature--flip .shot { order: 2; }
.feature__text h3 { font-size: 1.5rem; margin: 14px 0 10px; }
.feature__text p { color: var(--text-muted); }
.checks--sm { margin-top: 18px; gap: 8px; }
.checks--sm li { font-size: .93rem; padding-left: 28px; }
.checks--sm li::before { width: 18px; height: 18px; background-size: 11px; }
.showcase .shot__frame { border-color: #d5dde8; box-shadow: 0 2px 4px rgb(15 23 42 / .04), 0 18px 48px rgb(15 23 42 / .12); }

/* Click-to-enlarge screenshots */
a.shot__frame { display: block; color: inherit; text-decoration: none; cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
a.shot__frame:hover { transform: translateY(-2px); }
.shot.is-missing a.shot__frame { cursor: default; }
.lightbox { width: min(96vw, 1600px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: var(--navy-950); box-shadow: 0 30px 90px rgb(0 0 0 / .6); overflow: auto; }
.lightbox::backdrop { background: rgb(5 10 20 / .82); backdrop-filter: blur(3px); }
.lightbox img { display: block; width: 100%; height: auto; }
.lightbox__close { position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; z-index: 2; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; background: rgb(10 19 34 / .85); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--navy-700); }

/* ---------- Architecture ---------- */
#architecture { background: radial-gradient(800px 400px at 50% 0%, rgb(16 185 129 / .10), transparent 70%), var(--navy-900); }
.arch { max-width: 980px; margin: 0 auto; }
.arch__row { display: flex; justify-content: center; }
.arch__row--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.node { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; min-width: 0; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--navy-700); text-align: center; transition: border-color .25s, transform .25s; }
.arch__row:not(.arch__row--3) .node { width: min(100%, 520px); }
.node:hover { border-color: rgb(52 211 153 / .5); transform: translateY(-2px); }
.node strong { font-size: 1.02rem; color: #fff; }
.node small { color: var(--navy-300); font-size: .82rem; line-height: 1.45; }
.node__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-400); }
.node--ui, .node--api { background: linear-gradient(180deg, #17304a, var(--navy-800)); }
.node--core { border-color: rgb(16 185 129 / .55); background: linear-gradient(180deg, #123a37, var(--navy-800)); box-shadow: 0 0 0 4px rgb(16 185 129 / .08); }
.node--store { background: var(--navy-950); }
.arch__link { position: relative; height: 40px; display: flex; justify-content: center; align-items: center; }
.arch__link::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--emerald-500) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: flow 1.2s linear infinite; opacity: .8; }
.arch__link span { position: relative; z-index: 1; padding: 2px 10px; border-radius: 999px; background: var(--navy-900); border: 1px solid var(--navy-700); font-size: .72rem; color: var(--navy-200); }
@keyframes flow { to { background-position: 0 12px; } }
.arch__planned { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; padding: 18px; border: 1px dashed var(--navy-600); border-radius: var(--radius); }
.arch__planned-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-300); margin-right: 6px; }
.chip { padding: 5px 12px; border-radius: 999px; font-size: .82rem; color: var(--navy-200); border: 1px dashed var(--navy-600); }
.arch__note { text-align: center; margin: 22px 0 0; color: var(--navy-300); font-size: .88rem; }

/* ---------- Developers ---------- */
.split--code { grid-template-columns: 1fr 1.05fr; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-muted); }
.checks li strong { color: var(--text); }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--emerald-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1322' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.code { margin: 0; border-radius: var(--radius); background: var(--navy-950); border: 1px solid var(--navy-700); box-shadow: var(--shadow-lg); overflow: hidden; }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--navy-800); font-family: var(--mono); font-size: .8rem; color: var(--navy-300); }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font-family: var(--mono); font-size: .86rem; line-height: 1.7; color: #dbe3ee; }
.code .c { color: #6b7f99; } .code .k { color: #c4a7ff; } .code .s { color: #6ee7b7; } .code .f { color: #7dd3fc; } .code .n { color: #fbbf77; }
.code figcaption { padding: 14px 20px 18px; border-top: 1px solid var(--navy-800); font-size: .85rem; color: var(--navy-300); line-height: 1.55; }

/* ---------- Open source ---------- */
.links-panel { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid #cfe9de; box-shadow: var(--shadow); }
.links-panel h3 { margin-bottom: 14px; }
.links-panel ul { display: grid; gap: 10px; }
.res { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color .2s, background-color .2s; }
a.res:hover { border-color: var(--emerald-500); background: var(--emerald-50); }
.res > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.res small { color: var(--text-soft); font-size: .82rem; line-height: 1.45; }
.res__arrow { color: var(--emerald-600); font-weight: 700; }
.res.is-pending { background: var(--bg-tint); }
.links-panel__note { margin: 16px 0 0; font-size: .84rem; color: var(--text-soft) !important; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.stage { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; border-top: 4px solid var(--emerald-500); }
.stage--progress { border-top-color: #f59e0b; }
.stage--planned { border-top-color: #94a3b8; background: var(--bg-tint); }
.stage h3 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.stage li { position: relative; padding: 7px 0 7px 22px; font-size: .92rem; color: var(--text-muted); border-bottom: 1px solid #f1f5f9; }
.stage li:last-child { border-bottom: 0; }
.stage li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--emerald-500); }
.stage--done li::before { background: var(--emerald-500); }
.stage--progress li::before { border-color: #f59e0b; background: linear-gradient(90deg, #f59e0b 50%, transparent 50%); }
.stage--planned li::before { border-color: #94a3b8; }

/* ---------- CTA ---------- */
.cta { padding: 96px 0; background:
  radial-gradient(700px 360px at 90% 120%, rgb(16 185 129 / .22), transparent 65%),
  radial-gradient(600px 300px at 0% -20%, rgb(45 212 191 / .12), transparent 60%), var(--navy-950); }
.cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 16em; }
.cta p { color: var(--navy-200); font-size: 1.08rem; margin: 0; }
.cta .actions { justify-content: flex-end; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--navy-300); padding: 64px 0 28px; border-top: 1px solid rgb(255 255 255 / .06); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__about { margin-top: 16px; max-width: 30em; }
.footer__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--navy-200); text-decoration: none; }
.site-footer a:hover { color: var(--emerald-400); }
.site-footer .is-pending { opacity: .6; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .07); font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__legal { margin-top: 8px !important; font-size: .78rem; color: var(--navy-300); opacity: .85; }
.nowrap { white-space: nowrap; }
.tagline { font-weight: 650; color: var(--emerald-700) !important; }


/* ---------- Configuration lifecycle ---------- */
#lifecycle { background: radial-gradient(800px 380px at 15% 0%, rgb(45 212 191 / .10), transparent 70%), var(--navy-950); }
.envs { display: flex; align-items: flex-start; justify-content: center; gap: 18px; margin: 0 0 40px; padding: 0; list-style: none; }
.envs li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.envs small { color: var(--navy-300); font-size: .8rem; }
.env { display: grid; place-items: center; min-width: 120px; padding: 14px 22px; border-radius: var(--radius); border: 1px solid var(--navy-600); background: var(--navy-800); font-weight: 800; letter-spacing: .08em; color: #fff; }
.env--prod { border-color: rgb(16 185 129 / .6); box-shadow: 0 0 0 4px rgb(16 185 129 / .08); }
.envs__arrow { align-self: center; margin-top: -26px; color: var(--emerald-400); font-size: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.step { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px; border-radius: var(--radius); background: var(--navy-900); border: 1px solid var(--navy-700); }
.step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: 14px; background: rgb(16 185 129 / .14); color: var(--emerald-400); font-weight: 700; font-size: .9rem; }
.step h3 { color: #fff; font-size: 1rem; }
.step p { color: var(--navy-300); font-size: .88rem; margin-bottom: 16px; }
.step .status { margin-top: auto; }
.lifecycle__note { max-width: 860px; margin: 32px auto 0; padding: 16px 20px; border-radius: var(--radius); border: 1px dashed var(--navy-600); color: var(--navy-200); font-size: .9rem; text-align: center; }
.lifecycle__note strong { color: #fff; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgb(15 23 42 / .03); }
.plan--featured { border: 2px solid var(--emerald-500); box-shadow: 0 18px 40px rgb(5 150 105 / .12); }
.plan__flag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--navy-900); color: var(--emerald-400); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan__head { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan__head h3 { font-size: 1.25rem; margin-bottom: 12px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.plan__amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.plan__amount--text { font-size: 1.9rem; }
.plan__period { color: var(--text-soft); font-weight: 500; }
.plan__vat { margin: 4px 0 0; font-size: .8rem; color: var(--text-soft); }
.plan__for { margin: 14px 0 0; color: var(--text-muted); font-size: .93rem; }
.plan__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-700); }
.plan__list { display: grid; gap: 10px; margin-bottom: 22px; }
.plan__list li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text-muted); line-height: 1.5; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--emerald-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; border: 1px solid var(--emerald-100); }
.plan__list--services li::before { background: #f1f5f9; border-color: var(--border); }
.plan__list small { display: block; color: var(--text-soft); font-size: .8rem; }
.plan__list .status { margin-left: 4px; font-size: .68rem; padding: 1px 8px; }
.plan__cta { margin-top: auto; width: 100%; }
.plan__fine { margin: 12px 0 0; font-size: .8rem; color: var(--text-soft); text-align: center; }
.btn--outline { color: var(--navy-900); border-color: var(--input, #cbd5e1); background: #fff; }
.btn--outline:hover { border-color: var(--emerald-500); background: var(--emerald-50); }
.pricing__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.pricing__notes p { margin: 0; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; }
.pricing__notes strong { display: block; color: var(--text); margin-bottom: 4px; }

/* ---------- Reveal on scroll (only when JS runs and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid, .split, .split--code { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 28px; }
  .feature--flip .shot { order: 0; }
  .showcase { gap: 64px; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing__notes { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 24px; background: var(--navy-950); border-bottom: 1px solid rgb(255 255 255 / .08); display: none; }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .06); font-size: 1rem; }
  .no-js .nav__toggle { display: none; }
  .no-js .nav__menu { position: static; display: flex; }
}
@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .cards, .roadmap, .arch__row--3, .steps { grid-template-columns: 1fr; }
  .envs { gap: 8px; }
  .env { min-width: 0; padding: 12px 14px; }
  .envs small { font-size: .72rem; text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .actions .btn { flex: 1 1 100%; }
  .section__head { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound .brand { margin-bottom: 48px; }
