/* Wincendo "pro" theme – hub (agency) + templates (developer). Same palette as the family store. */
:root {
  --ink: #1D1B4C; --ink-2: #2C2970; --ink-3: #14123A;
  --text: #4A4870; --muted: #6B6990; --line: #E7E5F0; --line-2: #ECEAF4;
  --orange: #F97415; --orange-2: #FB8A35; --orange-text: #B4500A;
  --soft: #FBFAFE; --lav: #F3F1FA; --peach: #FFF1E6; --sky: #EAF2FD; --mint: #EAF6F0;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px; --r-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 104px 0; }
.sec--tight { padding: 64px 0; }
.sec--soft { background: var(--soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
@media (max-width: 767px) { .wrap { padding: 0 16px; } .sec { padding: 64px 0; } .sec--tight { padding: 44px 0; } }

.mono { font-family: var(--mono); }
.kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.kicker--light { color: var(--orange-2); }
.h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; font-weight: 700; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 600px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.sec-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
@media (max-width: 767px) { .sec-head--row { flex-direction: column; align-items: flex-start; } .lead { font-size: 17px; } }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 12px; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 24px; font-size: 16px; }
.btn--primary { background: var(--ink); color: #fff; } .btn--primary:hover { background: var(--ink-2); }
.btn--accent { background: var(--orange); color: var(--ink); } .btn--accent:hover { background: var(--orange-2); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); } .btn--line:hover { border-color: #CFCCE0; background: var(--soft); }
.btn--ghost-dark { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); } .btn--ghost-dark:hover { background: rgba(255,255,255,.1); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { color: var(--orange-text); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.hdr--dark { background: rgba(20,18,58,.82); border-bottom-color: rgba(255,255,255,.08); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo svg { height: 24px; width: auto; }
.logo b { font-family: 'Poppins', var(--sans); font-weight: 700; font-size: 22px; letter-spacing: .005em; line-height: 1; }
.logo i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; margin-left: 2px; }
.hdr--dark .logo { color: #fff; } .hdr--dark .logo i { color: #C9C7E0; border-color: rgba(255,255,255,.18); }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.hdr--dark .nav a { color: #C9C7E0; } .hdr--dark .nav a:hover { color: #fff; }
.hdr-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.hdr--dark .menu-btn { color: #fff; }
@media (max-width: 900px) {
  .hdr .wrap { height: 60px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; margin: 0; }
  .hdr--dark .nav { background: var(--ink-3); border-color: rgba(255,255,255,.08); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .hdr--dark .nav a { border-color: rgba(255,255,255,.08); }
  .hdr.open .nav { display: flex; }
  .hdr-cta { display: none; }
}

/* Dark hero (hub) */
.hero-dark { position: relative; background: var(--ink-3); color: #fff; overflow: hidden; margin-top: -69px; padding: 180px 0 112px; }
.hero-dark::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-dark::after { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -280px; background: radial-gradient(circle, rgba(249,116,21,.28), transparent 62%); pointer-events: none; }
.hero-dark .wrap { position: relative; z-index: 1; }
.hero-dark .h1 { color: #fff; max-width: 900px; }
.hero-dark .h1 em { font-style: normal; color: var(--orange-2); }
.hero-dark .lead { color: #C9C7E0; margin-top: 24px; }
.hero-dark .btns { margin-top: 36px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--mono); font-size: 13px; color: #A9A6CB; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: var(--orange); }
@media (max-width: 767px) { .hero-dark { padding: 132px 0 72px; margin-top: -61px; } .facts { margin-top: 44px; } }

/* Product lines (hub) */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }
.line-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.line-card:hover { border-color: #CFCCE0; box-shadow: 0 18px 48px rgba(29,27,76,.08); transform: translateY(-2px); }
.line-card .art { height: 280px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.line-card .body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.line-card .body p { color: var(--text); }
.line-card .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.line-card .go { margin-top: 10px; }
.art--peach { background: var(--peach); }
.art--peach img { position: absolute; width: 34%; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 30px rgba(29,27,76,.16); top: 44px; }
.art--peach .a1 { left: 9%; transform: rotate(-7deg); top: 64px; } .art--peach .a2 { left: 33%; z-index: 2; width: 36%; top: 30px; } .art--peach .a3 { right: 9%; transform: rotate(7deg); top: 64px; }
.art--grid { background-color: var(--soft); background-image: radial-gradient(#D9D6E8 1px, transparent 1px); background-size: 18px 18px; }
.art--grid img { position: absolute; left: 7%; right: 7%; top: 34px; width: 86%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(29,27,76,.12); }

/* Services / features grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.grid3 > div { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--lav); color: var(--ink); }
.ico--o { background: var(--peach); color: var(--orange-text); }
.feature { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.feature p, .grid3 p { font-size: 15px; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.ticks li { display: flex; gap: 8px; } .ticks li::before { content: '→'; color: var(--orange-text); font-family: var(--mono); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--orange-text); }
.step p { font-size: 15px; }

/* CTA band */
.cta-band { background: var(--ink); border-radius: 24px; padding: clamp(36px, 5vw, 64px); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(249,116,21,.32), transparent 62%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 { color: #fff; max-width: 620px; }
.cta-band p { color: #C9C7E0; margin-top: 12px; max-width: 560px; }

/* Developer hero (templates) */
.hero-dev { position: relative; padding: 88px 0 96px; border-bottom: 1px solid var(--line); background-color: #fff; background-image: radial-gradient(#DCD9EA 1px, transparent 1px); background-size: 22px 22px; }
.hero-dev::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 92%), radial-gradient(ellipse 50% 60% at 18% 40%, #fff 30%, rgba(255,255,255,0) 70%); pointer-events: none; }
.hero-dev .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-dev .copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; }
.badge b { font-weight: 500; background: var(--peach); color: var(--orange-text); border-radius: 999px; padding: 1px 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text); }
.checks span { display: inline-flex; gap: 7px; align-items: center; }
.checks svg { color: #1F9D63; }
@media (max-width: 960px) { .hero-dev .wrap { grid-template-columns: 1fr; gap: 44px; } .hero-dev { padding: 56px 0 64px; } }

/* Workflow diagram */
.flow { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 64px rgba(29,27,76,.10); overflow: hidden; }
.flow-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--soft); }
.flow-bar i { width: 10px; height: 10px; border-radius: 99px; background: #E3E1EE; display: inline-block; }
.flow-bar span { margin-left: 8px; } .flow-bar em { font-style: normal; margin-left: auto; color: #1F9D63; display: inline-flex; gap: 6px; align-items: center; }
.flow-bar em::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: #1F9D63; box-shadow: 0 0 0 3px rgba(31,157,99,.15); }
.flow-canvas { position: relative; height: 380px; background-image: radial-gradient(#E4E2EF 1px, transparent 1px); background-size: 16px 16px; }
.flow-canvas svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: #C9C6DC; stroke-width: 1.6; }
.wires path.live { stroke: var(--orange); stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .wires path.live { animation: none; } }
.node { position: absolute; z-index: 1; transform: translate(-50%, -29px); display: flex; flex-direction: column; align-items: center; gap: 7px; }
.node .box { width: 58px; height: 58px; border-radius: 14px; background: #fff; border: 1.5px solid #D9D6E8; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(29,27,76,.06); font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--ink); }
.node.trig .box { border-radius: 26px 14px 14px 26px; }
.node.ok .box { border-color: #1F9D63; }
.node .lbl { font-size: 11.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.node .sub { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: -5px; }
.out-tag { position: absolute; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.flow-foot { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--text); background: #fff; overflow-x: auto; white-space: nowrap; }
.flow-foot b { color: #1F9D63; font-weight: 500; }
@media (max-width: 560px) { .flow-canvas { height: 300px; } .node .box { width: 44px; height: 44px; font-size: 12px; border-radius: 11px; } .node .lbl { font-size: 10px; } .node .sub { display: none; } }

/* Use-case rows */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
.case { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: border-color .15s, background .15s; }
.case:hover { border-color: #CFCCE0; background: var(--soft); }
.case b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.case span { font-size: 14px; color: var(--text); }
.case small { font-family: var(--mono); font-size: 12px; color: var(--muted); display: block; margin-top: 8px; }

/* Template cards */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tcard:hover { border-color: #CFCCE0; box-shadow: 0 16px 40px rgba(29,27,76,.08); transform: translateY(-2px); }
.tcard .thumb { aspect-ratio: 16 / 10; background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.tcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tcard .tb { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard .tb p { font-size: 14.5px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: var(--lav); border-radius: 6px; padding: 3px 8px; }
.tcard .tf { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); font-family: var(--mono); }
.price { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 15px; }
.price--free { color: #1F9D63; }
.soon { border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 260px; background: var(--soft); }
.soon p { font-size: 14.5px; }

/* Code block */
.code { background: var(--ink-3); border-radius: var(--r-lg); overflow: hidden; border: 1px solid #2B2866; }
.code-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #2B2866; font-family: var(--mono); font-size: 12px; color: #A9A6CB; }
.code pre { margin: 0; padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #E8E6F5; overflow-x: auto; }
.code .k { color: #F9A15F; } .code .s { color: #9FE3C1; } .code .n { color: #8AB8FF; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 10px; font-size: 15px; }

/* Page header (listing / detail) */
.phead { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background-image: radial-gradient(#E4E2EF 1px, transparent 1px); background-size: 22px 22px; position: relative; }
.phead::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,.6)); }
.phead .wrap { position: relative; display: flex; flex-direction: column; gap: 14px; }
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters a { font-size: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 7px 14px; background: #fff; }
.filters a:hover { border-color: #CFCCE0; color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Template detail */
.tdetail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .tdetail { grid-template-columns: 1fr; } }
.shot { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.shot img { width: 100%; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.shots .shot { aspect-ratio: 16/10; } .shots img { height: 100%; object-fit: cover; object-position: top; }
.panel { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.panel-top { padding: 24px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.panel .big { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.panel .btn { width: 100%; }
.panel small { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; }
.specs { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.specs th, .specs td { text-align: left; padding: 11px 24px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--muted); width: 38%; white-space: nowrap; }
.specs td { color: var(--ink); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
@media (max-width: 960px) { .panel { position: static; } }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.prose p { font-size: 16.5px; line-height: 1.75; margin: 0 0 14px; }
.prose ul { padding: 0; margin: 0 0 14px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose li { display: flex; gap: 10px; font-size: 16px; } .prose li::before { content: '→'; color: var(--orange-text); font-family: var(--mono); }

/* Footer (pro) */
.ftr { background: var(--ink-3); color: #C9C7E0; font-size: 14.5px; }
.ftr a { color: #C9C7E0; text-decoration: none; } .ftr a:hover { color: #fff; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.ftr .logo { color: #fff; } .ftr .logo i { color: #A9A6CB; border-color: rgba(255,255,255,.18); }
.ftr-brand p { margin-top: 16px; max-width: 360px; line-height: 1.6; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col strong { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8B88B3; margin-bottom: 4px; }
.ftr-bot { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8B88B3; }
@media (max-width: 900px) { .ftr-top { grid-template-columns: 1fr 1fr; padding: 56px 0 36px; } .ftr-brand { grid-column: 1 / -1; } }

.buybar { display: none; }
@media (max-width: 960px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; }
  .has-buybar .ftr-bot { padding-bottom: 88px; }
}
.c404 { text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; padding: 120px 0; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }
.nav a.btn--accent, .nav a.btn--accent:hover { color: var(--ink); }
.code pre { white-space: pre-wrap; word-break: break-word; }

@media (max-width: 560px) { .node { transform: translate(-50%, -22px); } }
