/* morphobrowser.com marketing pages (/<lang>/...). Shared tokens, header and footer are in style.css. */

.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico-lg { width: 52px; height: 52px; border-radius: 14px; }
.ico-lg svg { width: 26px; height: 26px; }

/* ---------- hero (dark, with the metal butterfly) ---------- */
.hero { position: relative; overflow: hidden; background: #060B20; color: #B8C4E6; padding: 80px 0 64px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding-top: 100px; } }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(900px 620px at 50% 66%, rgba(46, 123, 255, .30), transparent 64%),
  radial-gradient(520px 380px at 50% 70%, rgba(0, 210, 255, .16), transparent 70%),
  radial-gradient(640px 420px at 12% 12%, rgba(0, 210, 255, .10), transparent 70%),
  radial-gradient(700px 480px at 90% 8%, rgba(123, 92, 255, .14), transparent 70%); }
.hero-bg::after, .page-hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); }
.hero-copy { max-width: 980px; margin: 0 auto; text-align: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #DCE4FA; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); margin: 0 0 28px; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 210, 255, .18); }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px; }
html:lang(ar) .hero h1, html:lang(zh-CN) .hero h1, html:lang(ja) .hero h1, html:lang(ko) .hero h1 { letter-spacing: 0; line-height: 1.25; }
html:lang(ru) .hero h1, html:lang(uk) .hero h1, html:lang(de) .hero h1, html:lang(vi) .hero h1 { font-size: clamp(34px, 5.2vw, 64px); }
.shine { background: linear-gradient(92deg, #9CC2FF 0%, #5EE3FF 45%, #C2B3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: #C2CCEA; max-width: 40em; margin: 0 auto 34px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { font-size: 14px; color: #95A2C9; margin: 20px 0 0; }

/* butterfly diagram: the metal mark in the middle, lines from its wings to six glass cards */
.morph { position: relative; margin: 72px auto 0; max-width: 1140px; }
.morph-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; display: none; filter: drop-shadow(0 0 5px rgba(0, 210, 255, .55)); }
.morph-grid { position: relative; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.morph-core { grid-column: 1 / -1; justify-self: center; position: relative; width: 300px; display: grid; place-items: center; margin-bottom: 8px; z-index: 1; }
.morph-core::before { content: ""; position: absolute; width: 120%; height: 70%; top: 22%; left: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 210, 255, .30), rgba(46, 123, 255, .12) 55%, transparent); filter: blur(10px); z-index: -1; }
.morph-core img { width: 100%; height: auto; animation: hover 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes hover { 0%, 100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-10px) scaleX(.97); } }
.feat-card { position: relative; border-radius: var(--r); padding: 18px 18px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .11); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, transform .2s, background .2s; }
.feat-card:hover { border-color: rgba(94, 227, 255, .5); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); transform: translateY(-2px); }
.feat-card h2 { font-size: 16.5px; color: #fff; margin: 12px 0 4px; letter-spacing: -0.01em; }
.feat-card p { font-size: 14.5px; color: #B0BCDD; margin: 0; line-height: 1.5; }
.feat-card .ico { width: 40px; height: 40px; background: rgba(0, 210, 255, .12); color: #5EE3FF; box-shadow: inset 0 0 0 1px rgba(94, 227, 255, .18); }
.feat-card .ico svg { width: 21px; height: 21px; }
@media (min-width: 980px) {
  .morph-lines { display: block; }
  .morph-grid { grid-template-columns: 1fr 440px 1fr; grid-template-rows: repeat(3, auto); gap: 26px 0; align-items: center; }
  .morph-core { grid-column: 2; grid-row: 1 / span 3; width: 440px; margin: 0; }
  .feat-card { max-width: 320px; }
  .l1, .l2, .l3 { grid-column: 1; justify-self: start; }
  .r1, .r2, .r3 { grid-column: 3; justify-self: end; }
  .l1, .r1 { grid-row: 1; } .l2, .r2 { grid-row: 2; } .l3, .r3 { grid-row: 3; }
  .l1, .l3 { margin-inline-start: 52px; } .r1, .r3 { margin-inline-end: 52px; }
}
.morph-path { fill: none; stroke: rgba(94, 227, 255, .6); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 7; }
.morph-path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.morph-dot { fill: #FFFFFF; }
.morph-end { fill: #0B1230; stroke: #5EE3FF; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) {
  .morph-core img { animation: none; }
  .morph-path.draw { animation: none; stroke-dashoffset: 0; }
  .morph-dot { display: none; }
}
.works { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.works-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8994BC; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; direction: ltr; }
.works li { font: 600 15px/1 "Sora", "Segoe UI", sans-serif; color: #C8D2EE; letter-spacing: -0.01em; }
@media (max-width: 620px) {
  .morph-grid { grid-template-columns: 1fr; }
  .morph-core { width: 220px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- facts strip ---------- */
.facts { background: #0B1230; border-top: 1px solid rgba(255, 255, 255, .06); }
.facts-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.facts-grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 30px 20px; border-inline-start: 1px solid rgba(255, 255, 255, .07); }
.facts-grid > div:first-child { border-inline-start: 0; }
@media (max-width: 859px) { .facts-grid > div:nth-child(odd) { border-inline-start: 0; } .facts-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); } }
.facts dd { margin: 0; font: 700 clamp(30px, 3.4vw, 42px)/1 "Sora", var(--font-head); color: #fff; letter-spacing: -0.02em; }
.facts dt { color: #AEBADD; font-size: 15px; line-height: 1.4; }

/* ---------- feature rows with screenshots ---------- */
.row { display: grid; gap: 40px; align-items: center; margin-bottom: 104px; }
.row:last-of-type { margin-bottom: 40px; }
@media (min-width: 980px) { .row { grid-template-columns: .85fr 1.15fr; gap: 64px; } .row-flip .row-copy { order: 2; } }
.row-copy h2, .fsec-copy h2 { font-size: clamp(26px, 3vw, 38px); }
.row-lead { font-size: 18px; color: var(--muted); }
.checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 32px; color: var(--text); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%231C66EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks .badge { margin-inline-start: 4px; }
.checks-2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .checks-2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; } }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue-dd); }
.more:hover { color: var(--ink); }
.shot-cap { text-align: center; font-size: 13.5px; color: var(--muted); margin: 0; }
.window { margin: 0; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-2); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #F3F5FA; border-bottom: 1px solid var(--line); direction: ltr; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D7DDEA; }
.window-bar span { margin-inline-start: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.window-dialog { background: #EEF2F9; padding: clamp(16px, 4vw, 40px); display: grid; place-items: center; }
.window-dialog img { max-width: 520px; width: 100%; border-radius: 14px; box-shadow: var(--sh-2); }
.window-dark { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.window-dark .window-bar { background: #151D3F; border-bottom-color: rgba(255, 255, 255, .08); }
.window-dark .window-bar i { background: rgba(255, 255, 255, .18); }
.window-dark .window-bar span { color: #9AA6CC; }

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tiles-2 { grid-template-columns: 1fr 1fr; } .tiles-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.tile:hover { border-color: rgba(46, 123, 255, .45); transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--text); }
.tile h2, .tile h3 { font-size: 18px; margin: 14px 0 4px; }
.tile p { margin: 0 0 10px; font-size: 15px; }
.tile .badge { margin-top: auto; }
.tile-lg { padding: 32px 30px; }
.tile .more { margin-top: auto; }

/* ---------- use cases grid (home) ---------- */
.cases { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { display: block; border-radius: var(--r-lg); padding: 30px 28px 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s; }
.case:hover { transform: translateY(-2px); border-color: rgba(46, 123, 255, .4); color: var(--text); }
.case h3 { font-size: 20px; margin: 18px 0 8px; }
.case p { margin: 0; }
.case-dark { background: var(--navy); border-color: var(--navy); }
.case-dark h3 { color: #fff; }
.case-dark p, .case-dark:hover { color: #C9D2EE; }
.case-dark .ico { background: rgba(0, 210, 255, .12); color: var(--cyan); }
.case-tint { background: linear-gradient(160deg, #EEF5FF 0%, #F7FBFF 60%); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-1); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 700 18px/1 "Sora", var(--font-head); color: #fff; background: linear-gradient(135deg, var(--blue-d), #00A9D6); margin-bottom: 18px; }
.steps h3 { font-size: 20px; }
.steps p { margin: 0; }

/* ---------- comparison ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-1); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; }
@media (max-width: 600px) { .cmp th, .cmp td { padding: 12px 10px !important; font-size: 14px; } .cmp thead th { font-size: 11px; letter-spacing: .02em; } }
.cmp th, .cmp td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.cmp thead th { font: 700 13px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp td { width: 22%; text-align: center; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .cmp-us { background: rgba(46, 123, 255, .045); }
.cmp thead .cmp-us { color: var(--blue-dd); background: var(--blue-soft); }
[class^="mark-"] { display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; background: no-repeat center/14px; }
.mark-yes { background-color: #E3F6EE; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%230B8A5F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mark-no { background-color: #F3F4F8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3.5 3.5 5 5m0-5-5 5' fill='none' stroke='%238A94B0' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mark-partial { background-color: #FFF4DF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%23B5770A' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cmp .badge { margin-top: 6px; }

/* ---------- dark band (security) ---------- */
.band { background: var(--navy); color: #C3CDEA; padding: 104px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 760px; height: 760px; inset-inline-end: -260px; top: -280px; background: radial-gradient(closest-side, rgba(46, 123, 255, .22), transparent); pointer-events: none; }
.band-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .band-in { grid-template-columns: .95fr 1.05fr; } }
.band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.band .eyebrow { color: var(--cyan); }
.band-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.band-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.band-list h3 { color: #fff; font-size: 17px; margin: 0 0 2px; }
.band-list p { margin: 0; color: #B9C4E4; }
.band-list .ico { background: rgba(0, 210, 255, .12); color: var(--cyan); }
.band .badge { background: rgba(255, 196, 92, .16); color: #FFD58A; }

/* ---------- faq ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.faq details[open] { border-color: rgba(46, 123, 255, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; padding-inline-end: 60px; position: relative; }
.faq summary h3 { font: 600 17px/1.4 var(--font-head); color: var(--ink); letter-spacing: -0.01em; margin: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--blue-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%231C66EC' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; max-width: 70ch; }

/* ---------- download strip (home) ---------- */
.dl-strip { padding: 0 0 72px; }
.dl-strip-in { display: grid; gap: 24px; align-items: center; padding: 36px clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
@media (min-width: 900px) { .dl-strip-in { grid-template-columns: 1.4fr auto; } }
.dl-strip h2 { font-size: clamp(24px, 2.6vw, 30px); }
.dl-strip p:last-child { margin: 0; color: var(--muted); }
.dl-strip-act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dl-strip-meta { font-size: 14px; color: var(--muted); }

/* ---------- closing CTA ---------- */
.closing { padding: 0 0 104px; }
.section + .closing, .section-alt + .closing { padding-top: 0; }
.closing-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: linear-gradient(135deg, #0B1230 0%, #142A78 55%, #1E5BE0 100%); color: #D2DBF5; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .closing-card { grid-template-columns: 1.3fr auto; } }
.closing-card h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 10px; }
.closing-card p { margin: 0; font-size: 17px; max-width: 34em; }
.closing-card .mark { position: absolute; inset-inline-end: -30px; bottom: -90px; width: 380px; opacity: .22; pointer-events: none; }
.closing-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
#faq + .closing, .feature-list + .closing, .uc-list + .closing { padding-top: 0; }

/* ---------- sub-page hero, breadcrumbs, chips ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: #060B20; color: #C2CCEA; padding: 44px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; max-width: 18em; margin: 0 0 18px; }
html:lang(ar) .page-hero h1, html:lang(zh-CN) .page-hero h1, html:lang(ja) .page-hero h1, html:lang(ko) .page-hero h1 { line-height: 1.3; }
.page-hero .eyebrow { color: var(--cyan); }
.page-lead { font-size: clamp(17px, 1.6vw, 19.5px); max-width: 44em; margin: 0; color: #C2CCEA; }
.crumbs ol { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: #95A2C9; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { color: #C2CCEA; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #95A2C9; }
.chips ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #DCE4FA; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-decoration: none; }
.chips a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.chips svg { width: 16px; height: 16px; color: #5EE3FF; }

/* ---------- features page ---------- */
.fsec { padding: 88px 0; border-bottom: 1px solid var(--line); }
.fsec-alt { background: var(--bg-2); }
.fsec-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .fsec-in { grid-template-columns: 1fr 1.1fr; gap: 64px; } .fsec-alt .fsec-copy { order: 2; } .fsec-noimg { grid-template-columns: minmax(0, 820px); } }
.fsec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
@media (max-width: 760px) { .fsec { padding: 60px 0; } }

/* ---------- use cases page ---------- */
.uc { display: grid; gap: 28px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.uc:first-child { padding-top: 0; }
@media (min-width: 900px) { .uc { grid-template-columns: 1fr 1fr; gap: 56px; } }
.uc-side h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 18px; }
.uc-side p { color: var(--muted); font-size: 17px; }
.uc-main { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.uc-main h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-dd); font-family: var(--font-body); font-weight: 700; }
.note-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin-top: 48px; padding: 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); }
.note-card p { margin: 0 0 10px; }
.note-card p:last-child { margin: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 940px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-1); }
.plan-main { border: 2px solid var(--blue); box-shadow: 0 30px 70px -30px rgba(46, 123, 255, .45); }
.plan-flag { position: absolute; top: -13px; inset-inline-start: 24px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--blue-d); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan h2 { font-size: 22px; margin: 0 0 8px; }
.plan-price { font: 700 40px/1.1 var(--font-head); color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; }
.plan-price-soft { font-size: 26px; color: var(--text); padding: 8px 0 6px; }
.plan-desc { color: var(--muted); margin-bottom: 22px; }
.plan .checks { flex: 1; }
.plans-note { text-align: center; color: var(--muted); max-width: 46em; margin: 28px auto 0; }
.included { margin-top: 72px; padding: 36px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.included h2 { font-size: 24px; margin-bottom: 22px; }

/* ---------- download ---------- */
.dl-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .dl-grid { grid-template-columns: 1.35fr 1fr; } }
.dl-card, .panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: clamp(24px, 4vw, 36px); }
.dl-side { display: grid; gap: 24px; }
.dl-main { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.dl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-file { font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
.dl-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.dl-meta dt { font-size: 13px; color: var(--muted); }
.dl-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.dl-sha { grid-column: 1 / -1; }
.dl-sha code { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; word-break: break-all; }
.dl-text { margin: 20px 0 0; font-size: 15.5px; }
.dl-muted { color: var(--muted); }
.dl-warn { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm); background: #FFF8EC; border: 1px solid #F0DCB2; color: #5E3D00; font-size: 15px; }
.dl-warn p { margin: 4px 0 0; }
.dl-soon { text-align: start; }
.dl-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dd); margin-bottom: 14px; }
.dl .more { margin-top: 18px; }
.mini-steps { margin: 0 0 18px; padding-inline-start: 22px; display: grid; gap: 10px; }
@media (max-width: 560px) { .dl-meta { grid-template-columns: 1fr 1fr; } }

/* ---------- changelog ---------- */
.releases { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; }
.release { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--sh-1); }
.release-next { border-style: dashed; border-color: #E8C98A; }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.release-head h2 { margin: 0; font-size: 26px; }
.release-date { font-size: 14px; color: var(--muted); }
.release .checks { margin: 0; }
.legal-note { padding: 12px 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }

/* ---------- help ---------- */
.help-more { margin-top: 40px; }
.article-sec { padding-top: 56px; }
.article-grid { display: grid; gap: 32px; align-items: start; }
.article-grid > *, .row > *, .fsec-in > *, .uc > *, .band-in > *, .dl-grid > * { min-width: 0; }
@media (min-width: 980px) { .article-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } .toc { position: sticky; top: calc(var(--topbar-h) + 24px); } }
.toc { font-size: 14.5px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.toc-h { font-weight: 700; color: var(--ink); margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.toc ol, .toc ul { margin: 0 0 18px; padding-inline-start: 18px; display: grid; gap: 7px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a[aria-current] { color: var(--blue-dd); }
.toc a[aria-current] { font-weight: 600; }
.doc { padding-top: 0; }
.doc h2:first-child { margin-top: 0; }
.code { background: #0B1230; color: #DCE4FA; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 1.2em; text-align: left; }
.code code { font-size: inherit; white-space: pre; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.api { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.api th, .api td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.api thead th { background: var(--bg-2); font-size: 13px; color: var(--muted); }
.api tr:last-child td { border-bottom: 0; }
.method { font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; }
.method-get { background: #E3F6EE; color: #0A6B4A; }
.method-post { background: var(--blue-soft); color: var(--blue-dd); }

/* ---------- about / contact / legal ---------- */
.about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.about-copy { padding: 0; }
.about-mark img { width: min(320px, 70%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(46, 123, 255, .25)); }
.kv-list { margin: 0 0 32px; display: grid; border-top: 1px solid var(--line); }
.kv-list > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .kv-list > div { grid-template-columns: 220px 1fr; } }
.kv-list dt { font-weight: 700; color: var(--ink); }
.kv-list dd { margin: 0; }
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 360px 1fr; gap: 56px; } }
.contact-card { padding: 30px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.contact-card h2 { margin-top: 18px; }
.contact-mail { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; margin: 0; }
.contact-grid .prose { padding: 0; }
.legal .prose { padding: 0; margin: 0 auto; }
.legal-links { margin-top: 40px; }

/* ---------- error pages ---------- */
.error-page { position: relative; overflow: hidden; isolation: isolate; background: #060B20; color: #C2CCEA; padding: 72px 0 96px; text-align: center; }
.error-in { display: grid; justify-items: center; }
.error-mark { width: 150px; margin-bottom: 18px; opacity: .95; }
.error-code { font-weight: 600; color: #95A2C9; margin: 0 0 12px; }
.error-code span { color: #5EE3FF; }
.error-page h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); }
.error-page .page-lead { margin: 0 auto 30px; }
.error-page .btn-row { justify-content: center; }
.error-links { margin-top: 44px; }
.error-links p { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #95A2C9; }
.error-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.error-links a { color: #DCE4FA; }
