/* nextapi.link homepage patch "home-v2": glue between the live HomeView (Sub2API frontend) and the added sections.
   Everything is scoped to .nextapi-home.nxh2 (the class the script adds to the live home root), to the added
   .nxh2-x blocks, or to the two added header items, so no other page and no Vue-rendered element changes look,
   except: the live one-line footer is hidden (the new footer replaces it) and the page background moves to .nh-top-bg.
   Source: site/nextapi-home/assets/home-extra.css (preview); preview-only rules (static header, Tailwind fallbacks
   for the copied header, body) are left out. GENERATED into nextapi-home-v2.css by build.mjs. */

/* ---------- page background: keep the hero glow where the live page has it (Lei's preview feedback #1) ----------
   Live: the glow is a radial gradient on .nextapi-home "at 67% 34%" of the whole page, plus .nh-grid (inset 0) and two
   aurora blobs. The page is ~3x taller now, so these move onto .nh-top-bg, a box with the live page's geometry:
   header + hero + strip + steps (--nxh2-top, measured by the script) + the live 71px footer. */
.nextapi-home.nxh2 { background: linear-gradient(135deg, #010711 0%, #03101e 52%, #020916 100%); overflow: hidden; overflow: clip; }
html:not(.dark) .nextapi-home.nxh2 { background: linear-gradient(135deg, #f8fcfe 0%, #edf7fb 55%, #f5f8ff 100%); }
.nextapi-home.nxh2 > .nh-grid, .nextapi-home.nxh2 > .nh-aurora { display: none; }
.nextapi-home.nxh2 > .nh-top-bg { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--nxh2-top, 100vh) + 71px); pointer-events: none; overflow: hidden; overflow: clip;
  background: radial-gradient(circle at 67% 34%, rgba(18, 181, 194, .12), transparent 30%), radial-gradient(circle at 88% 82%, rgba(102, 55, 219, .14), transparent 25%); }
html:not(.dark) .nextapi-home.nxh2 > .nh-top-bg { background: radial-gradient(circle at 67% 34%, rgba(26, 189, 193, .12), transparent 31%), radial-gradient(circle at 88% 82%, rgba(111, 79, 235, .08), transparent 28%); }
.nextapi-home.nxh2 > .nh-shell > .nh-footer { display: none; }

/* ---------- header (home): align the header content with the 1600px .nh-shell column on wide screens ---------- */
@media (min-width: 1201px) { .nextapi-home.nxh2 .site-header { padding-left: max(40px, calc((100% - 1600px) / 2)); padding-right: max(40px, calc((100% - 1600px) / 2)); } }
/* phones: a slightly tighter nav gap so the longer ja/de labels fit in one row */
@media (max-width: 480px) { .nextapi-home.nxh2 .site-header .site-links { gap: 18px; } }

/* ---------- the two added header items (every page with the public header) ---------- */
.site-header .site-link-client { display: inline-flex; align-items: center; gap: 6px; }
.site-header .nh-new { display: inline-block; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 17px; color: #04221f; background: linear-gradient(120deg, #39e2df, #7cf5d9); box-shadow: 0 0 12px rgba(57, 226, 223, .45); }
.site-header .nh-dl { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; border: 1px solid rgba(112, 255, 246, .55); background: linear-gradient(120deg, #29b8ae, #55d3c7); box-shadow: rgba(40, 207, 195, .26) 0 8px 24px; transition: .24s; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.site-header .nh-dl:hover { transform: translateY(-2px); box-shadow: rgba(40, 207, 195, .36) 0 12px 30px; color: #fff; }
.site-header .nh-dl svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 480px) { .site-header .nh-dl { height: 38px; width: 38px; padding: 0; justify-content: center; } .site-header .nh-dl span { display: none; } }

/* ---------- hero: second button ---------- */
.nextapi-home.nxh2 .nh-secondary-cta[data-nxh2-item] svg { width: 18px; height: 18px; flex: none; }

/* ---------- added sections (scoped copy of the download page's styles is in the same file, prefix .nxh2-x) ---------- */
.nxh2-x h1, .nxh2-x h2, .nxh2-x h3 { color: inherit; }
.nxh2-more { position: relative; z-index: 1; }
.nxh2-x .wrap { width: 100%; }
.nxh2-x .cl { position: relative; z-index: 1; padding: 96px 0 0; }
.nxh2-x .cl-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.nxh2-x .cl-head .lead { margin: 14px auto 0; }
.nxh2-x .cl-title { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -.04em; font-weight: 820; margin: 16px 0 0; }
.nxh2-x .cl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.nxh2-x .cl-hero .lead { max-width: 640px; font-size: 1.05rem; }
.nxh2-x .cl-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.nxh2-x .cl-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.nxh2-x .cl-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.nxh2-x .cl-points li b { color: var(--text); font-weight: 650; }
.nxh2-x .cl-points .tick { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--tint); border: 1px solid var(--tint-2); }
.nxh2-x .cl-points .tick svg { width: 13px; height: 13px; }
.nxh2-x .cl-grid3 { margin-top: 28px; }
.nxh2-x .cl-grid3 .card h3 { margin-top: 14px; font-size: 1.02rem; }
.nxh2-x .cl-grid3 .card p { margin: 8px 0 0; }
.nxh2-x .cl-grid2 { margin-top: 18px; }
.nxh2-x .cl-grid2 h2 { font-size: 1.15rem; }
.nxh2-x .cl-win { max-width: 640px; justify-self: end; width: 100%; }
@media (min-width: 1600px) { .nxh2-x .cl-grid3, .nxh2-x .cl-grid2 { gap: 24px; } .nxh2-x .cl-grid3 .card.pad, .nxh2-x .cl-grid2 .card.pad { padding: 30px; } }
.nxh2-x .cl-win .card-b { display: grid; gap: 10px; }
.nxh2-x .cl-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.nxh2-x .cl-stat { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--solid) 55%, transparent); }
.nxh2-x .cl-stat small { display: block; font-size: .72rem; color: var(--muted); }
.nxh2-x .cl-stat b { display: block; margin-top: 2px; font-size: 1.3rem; letter-spacing: -.02em; }
.nxh2-x .cl-stat b.amber { color: var(--amber); }
.nxh2-x .cl-score { display: flex; align-items: center; gap: 10px; }
.nxh2-x .cl-ring { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: var(--green); background: conic-gradient(var(--green) 100%, var(--line) 0); position: relative; }
.nxh2-x .cl-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--solid); }
.nxh2-x .cl-ring span { position: relative; }
.nxh2-x .cl-score b { font-size: .9rem; margin: 0; }
.nxh2-x .cl-score small { color: var(--green); font-weight: 600; }
.nxh2-x .cl-cta { margin: 96px auto 0; padding: 52px 28px; text-align: center; border-radius: 26px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: radial-gradient(600px 220px at 50% 0%, rgba(57, 226, 223, .18), transparent 70%), var(--card); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.nxh2-x .cl-cta h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.nxh2-x .cl-cta p { color: var(--muted); margin: 10px 0 0; }
.nxh2-x .cl-cta .row { justify-content: center; margin-top: 26px; }
.nxh2-x.nh-foot { margin-top: 80px; }
.nxh2-x.nh-foot a { color: inherit; }
.nxh2-x.nh-foot .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; color: var(--text); }
.nxh2-x.nh-foot .foot-in { padding: 26px 0 34px; }
/* footer content in the page column (issue #19: at 1920px the logo sat on the left edge and the links ran off the right) */
.nxh2-x.nh-foot > .nxh2-foot-col { margin-left: auto; margin-right: auto; }
.nxh2-x.nh-foot .brand img { width: 26px; height: 26px; object-fit: contain; }
.nxh2-x .h-5 { height: 20px; } .nxh2-x .w-5 { width: 20px; }
@media (max-width: 900px) {
  .nxh2-x .cl { padding-top: 64px; }
  .nxh2-x .cl-hero { grid-template-columns: 1fr; gap: 36px; }
  .nxh2-x .cl-win { justify-self: center; }
  .nxh2-x .cl-cta { margin-top: 64px; }
}
@media (max-width: 560px) {
  .nxh2-x .cl-acct { grid-template-columns: 1fr; }
  .nxh2-x .cl-badges .btn.lg { width: 100%; }
}


/* ===== download-page styles (site/nextapi-home/assets/client-portal.css, re-scoped to .nxh2-x) ===== */
/* ComputeLink client section — download-page styles (desktop.nextapi.link/portal/assets/portal.css), scoped to .nxh2-x.
   Theme follows the main site's html.dark class. Generated by scope-portal.mjs; do not edit by hand. */
.nxh2-x {
  --teal: #14b8a6; --teal-2: #2dd4bf; --cyan: #22d3ee; --blue: #3b82f6; --indigo: #6366f1; --violet: #a855f7;
  --amber: #f59e0b; --rose: #f43f5e; --green: #10b981;
  --bg: #f4fbfa; --bg-2: #eef6f8; --text: #0f172a; --muted: #64748b; --faint: #94a3b8; --line: rgba(15, 23, 42, .08);
  --card: rgba(255, 255, 255, .78); --solid: #fff; --input: #fff; --shadow: 0 10px 30px -14px rgba(15, 23, 42, .18);
  --accent: #0d9488; --tint: rgba(20, 184, 166, .08); --tint-2: rgba(20, 184, 166, .16); --code: #0b1220;
  --radius: 16px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color-scheme: light;
}
html.dark .nxh2-x {
  --bg: #030712; --bg-2: #07101f; --text: #f1f5f9; --muted: #94a3b8; --faint: #64748b; --line: rgba(148, 163, 184, .14);
  --card: rgba(15, 23, 42, .58); --solid: #0b1220; --input: rgba(2, 6, 23, .6); --shadow: 0 12px 40px -12px rgba(0, 0, 0, .65);
  --accent: #2dd4bf; --tint: rgba(45, 212, 191, .08); --tint-2: rgba(45, 212, 191, .16);
  color-scheme: dark;
}
.nxh2-x a.link { color: var(--accent); }
.nxh2-x a.link:hover { text-decoration: underline; }
.nxh2-x .muted { color: var(--muted); }
.nxh2-x .faint { color: var(--faint); }
.nxh2-x .small { font-size: .85rem; }
.nxh2-x .xs { font-size: .76rem; }
.nxh2-x .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nxh2-x .icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.nxh2-x .icon-btn:hover { border-color: var(--line); color: var(--text); }
html.dark .nxh2-x .i-moon, html:not(.dark) .nxh2-x .i-sun { display: none; }
.nxh2-x .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--solid); color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s, opacity .2s; white-space: nowrap; }
.nxh2-x .btn:hover { border-color: color-mix(in srgb, var(--teal) 55%, transparent); }
.nxh2-x .btn:active { transform: translateY(1px); }
.nxh2-x .btn[disabled] { opacity: .55; cursor: not-allowed; }
.nxh2-x .btn.sm { padding: 6px 12px; font-size: .82rem; border-radius: 9px; }
.nxh2-x .btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--teal), var(--teal-2) 60%, var(--cyan)); box-shadow: 0 10px 26px -10px rgba(20, 184, 166, .65); }
.nxh2-x .btn.primary:hover { box-shadow: 0 14px 34px -10px rgba(20, 184, 166, .8); transform: translateY(-1px); }
.nxh2-x .btn.ghost { background: transparent; }
.nxh2-x .btn.danger { color: var(--rose); }
.nxh2-x .btn.danger:hover { border-color: color-mix(in srgb, var(--rose) 55%, transparent); background: color-mix(in srgb, var(--rose) 7%, transparent); }
.nxh2-x .btn.lg { padding: 14px 24px; font-size: 1rem; border-radius: 13px; }
.nxh2-x .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--accent); border: 1px solid var(--tint-2); background: var(--tint); }
.nxh2-x .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); animation: cl-pulse 2s infinite; }
@keyframes cl-pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); } 70% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.nxh2-x h1 .accent, .nxh2-x .accent { background: linear-gradient(90deg, var(--teal), var(--teal-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nxh2-x .lead { color: var(--muted); font-size: 1.02rem; max-width: 680px; margin: 0; }
.nxh2-x .card { border-radius: var(--radius); background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nxh2-x .card.pad { padding: 24px; }
.nxh2-x .card-h { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.nxh2-x .card-h .sub { margin-left: auto; }
.nxh2-x .card-b { padding: 20px 22px; }
.nxh2-x .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--accent); background: var(--tint); border: 1px solid var(--tint-2); }
.nxh2-x .ic .i { width: 20px; height: 20px; }
.nxh2-x .ic.blue { color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); border-color: color-mix(in srgb, var(--blue) 22%, transparent); }
.nxh2-x .ic.violet { color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, transparent); border-color: color-mix(in srgb, var(--violet) 22%, transparent); }
.nxh2-x .ic.amber { color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); border-color: color-mix(in srgb, var(--amber) 24%, transparent); }
.nxh2-x .ic.rose { color: var(--rose); background: color-mix(in srgb, var(--rose) 9%, transparent); border-color: color-mix(in srgb, var(--rose) 22%, transparent); }
.nxh2-x .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nxh2-x .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nxh2-x .stack { display: grid; gap: 14px; }
.nxh2-x .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nxh2-x .badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.nxh2-x .badge.ok { color: var(--accent); border-color: var(--tint-2); background: var(--tint); }
.nxh2-x .badge.warn { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 35%, transparent); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.nxh2-x .badge.off { color: var(--faint); }
.nxh2-x .badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.nxh2-x pre.code { position: relative; margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--code); color: #e2e8f0; font-family: var(--mono); font-size: .82rem; line-height: 1.65; overflow-x: auto; border: 1px solid rgba(148, 163, 184, .14); }
.nxh2-x pre.code .c { color: #64748b; }
.nxh2-x pre.code .k { color: #5eead4; }
.nxh2-x pre.code .s { color: #fcd34d; }
.nxh2-x .foot { margin-top: 72px; border-top: 1px solid var(--line); }
.nxh2-x .foot-in { display: flex; align-items: center; gap: 18px; padding: 24px 0; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.nxh2-x .foot-in nav { margin-left: auto; display: flex; gap: 18px; }
.nxh2-x .foot-in nav a:hover { color: var(--accent); }
.nxh2-x .reveal { animation: cl-rise .6s ease both; }
.nxh2-x .reveal:nth-child(2) { animation-delay: .06s; }
.nxh2-x .reveal:nth-child(3) { animation-delay: .12s; }
.nxh2-x .reveal:nth-child(4) { animation-delay: .18s; }
.nxh2-x .reveal:nth-child(5) { animation-delay: .24s; }
.nxh2-x .reveal:nth-child(6) { animation-delay: .3s; }
@keyframes cl-rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1020px) {
  .nxh2-x .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nxh2-x .grid2, .nxh2-x .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nxh2-x .card-b, .nxh2-x .card.pad { padding: 18px; }
  .nxh2-x .card-h { padding: 16px 18px; }
  .nxh2-x .foot-in nav { margin-left: 0; }
}
.nxh2-x .tile { display: block; transition: transform .25s, border-color .25s, box-shadow .25s; }
.nxh2-x .tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--teal) 45%, transparent); box-shadow: var(--shadow), 0 20px 50px -26px rgba(20, 184, 166, .55); }
.nxh2-x .tile p { margin: 6px 0 14px; }
.nxh2-x .tile .go { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--accent); }
.nxh2-x .tile .go .i { width: 15px; height: 15px; transition: transform .2s; }
.nxh2-x .tile:hover .go .i { transform: translateX(3px); }
.nxh2-x .btn.lg .i { width: 20px; height: 20px; }
.nxh2-x .badge .i { width: 14px; height: 14px; }
.nxh2-x .dl-art { overflow: hidden; animation: cl-float 7s ease-in-out infinite; box-shadow: var(--shadow), 0 30px 80px -30px rgba(20, 184, 166, .45); }
@keyframes cl-float { 50% { transform: translateY(-8px); } }
.nxh2-x .win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.nxh2-x .win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.nxh2-x .win-bar i:nth-child(2) { background: #fbbf24; }
.nxh2-x .win-bar i:nth-child(3) { background: #34d399; }
.nxh2-x .win-bar span { margin-left: 8px; font-weight: 600; }
.nxh2-x .tool-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.nxh2-x .tool-row .badge { margin-left: auto; }
.nxh2-x .tl { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; overflow: hidden; }
.nxh2-x .tl img { display: block; }
.nxh2-x .tl-dark { background: #11151c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nxh2-x .tl-full img { width: 28px; height: 28px; border-radius: 7px; }
.nxh2-x .tl-full { box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.nxh2-x .kv { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.nxh2-x .kv li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: .9rem; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.nxh2-x .kv li:last-child { border: 0; padding: 0; }
.nxh2-x .kv b { color: var(--text); font-weight: 600; }
.nxh2-x .faq { border-bottom: 1px solid var(--line); padding: 11px 0; }
.nxh2-x .faq:last-child { border: 0; }
.nxh2-x .faq summary { cursor: pointer; font-weight: 600; font-size: .94rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.nxh2-x .faq summary::-webkit-details-marker { display: none; }
.nxh2-x .faq summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; line-height: 1; transition: transform .25s; }
.nxh2-x .faq[open] summary::after { transform: rotate(45deg); }
.nxh2-x .faq p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .nxh2-x .dl-art { max-width: 480px; }
}
@media (max-width: 560px) {
  .nxh2-x .kv li { grid-template-columns: 1fr; gap: 2px; }
}
