@font-face {
  font-family: "SQK Noto Serif SC";
  src: url("./assets/fonts/sqk-noto-serif-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #050507;
  --ink-soft: #0b0a10;
  --panel: rgba(17, 16, 23, .72);
  --ivory: #f4efe5;
  --muted: #a7a0a4;
  --muted-deep: #69646a;
  --gold: #d6b36a;
  --gold-deep: #8c6c39;
  --violet: #9271ff;
  --coral: #ef704e;
  --signal: #d6b36a;
  --line: rgba(244, 239, 229, .14);
  --font-sans: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  --font-serif: "SQK Noto Serif SC", "Noto Serif SC", "Songti SC", STSong, serif;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--font-sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; margin: 0; min-width: 320px; background: var(--ink); }
body::before { content: ""; position: fixed; z-index: -3; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(146,113,255,.16), transparent 26rem), radial-gradient(circle at 15% 65%, rgba(239,112,78,.09), transparent 30rem), var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.sky { position: fixed; z-index: -2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.noise { position: fixed; z-index: 20; inset: 0; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.site-header { position: fixed; z-index: 10; top: 0; left: 50%; display: flex; width: min(1280px, calc(100% - 64px)); height: 90px; align-items: center; justify-content: space-between; transform: translateX(-50%); border-bottom: 1px solid rgba(255,255,255,.11); transition: height .25s ease, background .25s ease, border-color .25s ease; }
.site-header.is-scrolled { width: 100%; height: 72px; padding: 0 max(32px, calc((100% - 1280px) / 2)); border-color: rgba(255,255,255,.08); background: rgba(5,5,7,.72); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); font-size: 18px; font-weight: 750; letter-spacing: .18em; text-decoration: none; }
.brand img { display: block; width: 54px; height: 39px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; color: #b1aaac; font-size: 12px; letter-spacing: .08em; text-decoration: none; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; transform: scaleX(0); background: var(--gold); transition: transform .2s ease; }
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; height: 40px; align-items: center; gap: 16px; padding: 0 16px; border: 1px solid rgba(214,179,106,.44); color: #e7d4aa; background: rgba(18,15,13,.5); font-size: 11px; letter-spacing: .08em; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.header-cta:hover { border-color: var(--gold); color: #15100a; background: var(--gold); }

.hero { position: relative; display: grid; width: min(1280px, calc(100% - 64px)); min-height: calc(100svh - 24px); margin: 0 auto; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 40px; padding: 140px 0 100px; }
.hero-copy { position: relative; z-index: 2; }
.kicker, .section-kicker { margin: 0; color: var(--gold); font: 650 10px/1.2 ui-monospace, "Cascadia Mono", monospace; letter-spacing: .23em; }
.kicker { display: flex; align-items: center; gap: 11px; }
.kicker span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-intro { margin: 34px 0 0; color: var(--ivory); font-family: var(--font-serif); font-size: clamp(34px, 3.55vw, 52px); font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.hero-intro span { display: block; }
.hero-intro span:first-child { margin-bottom: 8px; color: #c9c1c0; font-size: .66em; letter-spacing: .1em; }
.hero-intro em { color: var(--gold); font-style: normal; text-shadow: 0 0 26px rgba(214,179,106,.14); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; min-width: 184px; height: 54px; align-items: center; justify-content: space-between; gap: 28px; padding: 0 18px; border: 1px solid transparent; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button b { font-size: 17px; font-weight: 400; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #171008; background: linear-gradient(110deg, #e7c887, var(--gold) 48%, #c69254); box-shadow: 0 18px 50px rgba(151,99,42,.2); }
.button-primary:hover { box-shadow: 0 20px 70px rgba(214,179,106,.31); }
.button-ghost { border-color: var(--line); color: #d4ced0; background: rgba(12,11,16,.62); }
.button-ghost:hover { border-color: rgba(146,113,255,.6); background: rgba(24,19,38,.8); }

.hero-emblem { position: relative; width: min(47vw, 590px); aspect-ratio: 1; justify-self: end; filter: drop-shadow(0 0 55px rgba(117,75,255,.1)); }
.aurora { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .55; animation: breathe 8s ease-in-out infinite alternate; }
.aurora-one { inset: 16% 7% 9% 23%; background: conic-gradient(from 110deg, transparent, rgba(146,113,255,.65), rgba(239,112,78,.33), transparent 70%); }
.aurora-two { inset: 24% 18% 17% 9%; background: conic-gradient(from 290deg, rgba(214,179,106,.42), transparent 33%, rgba(98,75,195,.52), transparent 76%); animation-delay: -3s; }
.orbit { position: absolute; inset: 50%; border: 1px solid rgba(244,239,229,.15); border-radius: 50%; transform: translate(-50%,-50%); animation: orbit-spin 26s linear infinite; }
.orbit-outer { width: 95%; height: 95%; border-style: dashed; }
.orbit-middle { width: 72%; height: 72%; border-color: rgba(214,179,106,.3); animation-duration: 19s; animation-direction: reverse; }
.orbit-inner { width: 50%; height: 50%; border-color: rgba(146,113,255,.34); animation-duration: 13s; }
.orbit i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.orbit i:nth-child(1) { top: 11%; left: 22%; }
.orbit i:nth-child(2) { top: 36%; right: -3px; background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.orbit i:nth-child(3) { right: 21%; bottom: 8%; }
.orbit i:nth-child(4) { bottom: 24%; left: 4%; background: var(--coral); box-shadow: 0 0 16px var(--coral); }
.orbit i:nth-child(5) { top: -3px; left: 58%; }
.orbit i:nth-child(6) { right: 5%; bottom: 29%; background: var(--violet); }
.emblem-core { position: absolute; top: 50%; left: 50%; display: grid; width: 230px; height: 268px; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(214,179,106,.42); background: linear-gradient(145deg, rgba(20,18,24,.9), rgba(6,6,8,.72)); box-shadow: inset 0 0 50px rgba(214,179,106,.06), 0 30px 90px rgba(0,0,0,.46); backdrop-filter: blur(18px); }
.emblem-core::before, .emblem-core::after { content: ""; position: absolute; width: 15px; height: 15px; border-color: var(--gold); }
.emblem-core::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.emblem-core::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.emblem-core img { width: 142px; height: auto; margin-top: 24px; }
.emblem-core span { align-self: end; margin-bottom: 38px; font-family: var(--font-serif); font-size: 27px; font-weight: 700; letter-spacing: .34em; text-indent: .34em; }
.emblem-core small { position: absolute; bottom: 18px; color: var(--muted-deep); font: 8px/1 ui-monospace, monospace; letter-spacing: .2em; }
.guest-tag { position: absolute; padding: 7px 9px; border: 1px solid rgba(255,255,255,.13); color: #777178; background: rgba(7,7,10,.74); font: 8px/1 ui-monospace, monospace; letter-spacing: .16em; backdrop-filter: blur(8px); }
.tag-one { top: 13%; right: 9%; }
.tag-two { right: 3%; bottom: 25%; }
.tag-three { bottom: 10%; left: 16%; }
.scroll-cue { position: absolute; bottom: 35px; left: 0; display: flex; align-items: center; gap: 14px; color: #5e5960; font: 8px/1 ui-monospace, monospace; letter-spacing: .22em; text-decoration: none; }
.scroll-cue i { position: relative; display: block; overflow: hidden; width: 72px; height: 1px; background: #27242a; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: var(--gold); animation: scan 2.4s ease-in-out infinite; }

.api-gateway { position: relative; display: grid; overflow: hidden; width: min(1440px, calc(100% - 32px)); min-height: 100svh; margin: 0 auto; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(56px, 7vw, 112px); padding: 130px clamp(48px, calc((100vw - 1280px) / 2), 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(10,9,14,.96), rgba(8,7,11,.94)); }
.api-gateway::before { content: ""; position: absolute; top: 0; right: 10%; width: 44%; height: 1px; background: linear-gradient(90deg, transparent, var(--signal), transparent); box-shadow: 0 0 32px rgba(214,179,106,.34); }
.api-gateway::after { content: "API / RELAY / 02"; position: absolute; right: 28px; bottom: 25px; color: rgba(214,179,106,.2); font: 8px/1 ui-monospace, monospace; letter-spacing: .22em; writing-mode: vertical-rl; }
.api-copy { position: relative; z-index: 1; }
.api-copy h2 { margin: 24px 0 0; font-family: var(--font-serif); font-size: clamp(46px, 5.1vw, 72px); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; }
.api-copy h2 em { color: var(--signal); font-style: normal; text-shadow: 0 0 30px rgba(214,179,106,.12); }
.api-copy > p:nth-of-type(2) { max-width: 510px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.api-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.api-points span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 11px; border: 1px solid rgba(214,179,106,.22); color: #b7afb0; background: rgba(214,179,106,.04); font-size: 10px; }
.api-points span::before { content: ""; width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px rgba(214,179,106,.72); }
.api-button { margin-top: 38px; color: #171008; background: linear-gradient(110deg, #e7c887, var(--gold) 48%, #c69254); box-shadow: 0 18px 52px rgba(151,99,42,.2); }
.api-button:hover { box-shadow: 0 22px 70px rgba(214,179,106,.3); }
.api-console { position: relative; z-index: 1; overflow: hidden; display: block; min-width: 0; border: 1px solid rgba(244,239,229,.16); color: inherit; background: rgba(8,7,10,.9); box-shadow: 0 38px 100px rgba(0,0,0,.42), inset 0 0 80px rgba(214,179,106,.025); text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.api-console::before { content: ""; position: absolute; z-index: 2; top: 42px; bottom: 0; left: 0; width: 1px; background: linear-gradient(transparent, var(--signal), transparent); opacity: .65; }
.api-console:hover { transform: translateY(-6px); border-color: rgba(214,179,106,.42); box-shadow: 0 45px 120px rgba(0,0,0,.5), 0 0 42px rgba(214,179,106,.07); }
.console-bar { display: grid; height: 43px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 15px; border-bottom: 1px solid rgba(244,239,229,.1); background: #0d0e11; }
.console-bar > span { display: flex; gap: 6px; }
.console-bar > span i { width: 6px; height: 6px; border-radius: 50%; background: #514c51; }
.console-bar > span i:nth-child(2) { background: var(--gold-deep); }
.console-bar > span i:nth-child(3) { background: var(--violet); }
.console-bar small { color: #716c72; font: 7px/1 ui-monospace, monospace; letter-spacing: .2em; }
.console-bar > b { justify-self: end; color: var(--signal); font: 7px/1 ui-monospace, monospace; letter-spacing: .18em; }
.console-body { padding: clamp(24px, 4vw, 44px); }
.endpoint-row { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(244,239,229,.1); }
.endpoint-row small { color: #68646a; font: 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.endpoint-row code { overflow: hidden; color: #d8cdb8; font: 11px/1.5 ui-monospace, "Cascadia Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.connect-flow { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: center; gap: 8px; padding: 36px 0; }
.connect-flow > div { display: flex; min-width: 0; min-height: 106px; flex-direction: column; justify-content: center; padding: 16px; border-left: 1px solid rgba(214,179,106,.38); background: linear-gradient(90deg, rgba(214,179,106,.045), transparent); }
.connect-flow > div b { color: var(--signal); font: 9px/1 ui-monospace, monospace; }
.connect-flow > div span { margin-top: 17px; font-family: var(--font-serif); font-size: 15px; font-weight: 650; }
.connect-flow > div small { overflow: hidden; margin-top: 7px; color: #5f5b61; font: 6px/1 ui-monospace, monospace; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; }
.connect-flow > i { position: relative; height: 1px; background: rgba(214,179,106,.28); }
.connect-flow > i::after { content: ""; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; transform: rotate(45deg); border-top: 1px solid var(--signal); border-right: 1px solid var(--signal); }
.request-preview { display: flex; min-height: 154px; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 23px; border: 1px solid rgba(244,239,229,.1); background: #090a0c; color: #7f7a80; }
.request-preview span { margin-bottom: 7px; color: #8c878d; font: 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.request-preview span b { margin-right: 8px; color: var(--signal); font-weight: 650; }
.request-preview code { font: 10px/1.4 ui-monospace, "Cascadia Mono", monospace; }
.request-preview code:nth-of-type(2) { color: #d0b778; }
.request-preview code:nth-of-type(3) { color: #b7a8e8; }
.console-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 23px; color: #666168; font: 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.console-foot > span { display: flex; align-items: center; }
.console-foot > span i { width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 9px rgba(214,179,106,.72); }
.console-foot > b { color: #d8cdb8; font-size: 9px; font-weight: 500; }
.console-foot strong { margin-left: 8px; color: var(--signal); font-size: 14px; font-weight: 400; }

.section { width: min(1280px, calc(100% - 64px)); margin: 0 auto; padding: 150px 0; }
.services { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; border-top: 1px solid var(--line); }
.section-head { position: sticky; top: 130px; align-self: start; }
.section h2 { margin: 22px 0 0; font-family: var(--font-serif); font-size: clamp(44px, 6vw, 82px); font-weight: 650; line-height: 1.14; letter-spacing: -.045em; }
.services .section-head h2 { font-size: clamp(44px, 5.1vw, 70px); }
.services .section-head h2 em { display: inline-block; font-size: .8em; white-space: nowrap; }
.section h2 em, .closing h2 em { color: var(--gold); font-style: normal; }
.section-head > p:last-child, .tools-intro > p:last-of-type { max-width: 410px; margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; min-height: 360px; flex-direction: column; padding: 28px; border: 1px solid var(--line); color: inherit; background: linear-gradient(145deg, rgba(21,19,27,.82), rgba(8,8,11,.92)); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.service-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle 220px at var(--mx) var(--my), rgba(146,113,255,.16), transparent 68%); transition: opacity .25s ease; }
.service-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border: 1px solid rgba(214,179,106,.12); border-radius: 50%; box-shadow: 0 0 50px rgba(214,179,106,.05); }
.service-card:hover { z-index: 2; transform: translateY(-5px); border-color: rgba(214,179,106,.42); }
.service-card:hover::before { opacity: 1; }
.service-code { position: relative; z-index: 1; color: var(--gold); font: 9px/1 ui-monospace, monospace; letter-spacing: .17em; }
.service-symbol { position: relative; z-index: 1; width: 82px; height: 82px; margin: 52px 0 38px; }
.service-symbol i { position: absolute; display: block; }

/* 充值：支付卡片 + 明确的加号徽标 */
.symbol-plus i:first-child { top: 9px; left: 2px; width: 70px; height: 50px; border: 4px solid var(--ivory); border-radius: 5px; background: rgba(244,239,229,.025); box-shadow: inset 0 0 22px rgba(214,179,106,.05); }
.symbol-plus i:nth-child(2) { top: 25px; left: 6px; width: 62px; height: 8px; background: linear-gradient(90deg, var(--gold), rgba(214,179,106,.35)); }
.symbol-plus i:last-child { right: 0; bottom: 0; width: 31px; height: 31px; border: 3px solid #0c0b10; border-radius: 50%; background: var(--violet); box-shadow: 0 0 20px rgba(146,113,255,.38); }
.symbol-plus i:last-child::before, .symbol-plus i:last-child::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ivory); transform: translate(-50%,-50%); }
.symbol-plus i:last-child::before { width: 14px; height: 3px; }
.symbol-plus i:last-child::after { width: 3px; height: 14px; }

/* 成品号：身份卡 + 已就绪认证章 */
.symbol-account i:first-child { top: 6px; left: 1px; width: 73px; height: 60px; border: 4px solid var(--ivory); border-radius: 4px; background: rgba(244,239,229,.02); }
.symbol-account i:nth-child(2) { top: 19px; left: 14px; width: 19px; height: 19px; border: 4px solid var(--gold); border-radius: 50%; }
.symbol-account i:nth-child(2)::after { content: ""; position: absolute; top: 24px; left: -7px; width: 25px; height: 13px; border: 4px solid var(--gold); border-bottom: 0; border-radius: 18px 18px 0 0; }
.symbol-account i:last-child { right: 0; bottom: 1px; width: 29px; height: 29px; border: 3px solid #0c0b10; border-radius: 50%; background: var(--violet); box-shadow: 0 0 20px rgba(146,113,255,.36); }
.symbol-account i:last-child::after { content: ""; position: absolute; top: 7px; left: 8px; width: 10px; height: 6px; border-bottom: 3px solid var(--ivory); border-left: 3px solid var(--ivory); transform: rotate(-45deg); }

/* 短效接码：手机 + 即时消息 + 闪电标识 */
.symbol-short i:first-child { top: 1px; left: 2px; width: 43px; height: 72px; border: 4px solid var(--ivory); border-radius: 8px; background: rgba(244,239,229,.02); }
.symbol-short i:first-child::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 10px; height: 2px; background: rgba(244,239,229,.65); transform: translateX(-50%); }
.symbol-short i:nth-child(2) { top: 13px; right: 0; width: 43px; height: 28px; border-radius: 3px; background: linear-gradient(135deg, var(--gold), #b89045); box-shadow: 0 9px 24px rgba(214,179,106,.12); }
.symbol-short i:nth-child(2)::before { content: ""; position: absolute; bottom: -8px; left: 7px; border-width: 8px 8px 0 0; border-style: solid; border-color: #b89045 transparent transparent transparent; }
.symbol-short i:nth-child(2)::after { content: ""; position: absolute; top: 12px; left: 10px; width: 4px; height: 4px; border-radius: 50%; background: #151219; box-shadow: 9px 0 #151219, 18px 0 #151219; }
.symbol-short i:last-child { right: 3px; bottom: 2px; width: 28px; height: 28px; border: 3px solid #0c0b10; border-radius: 50%; background: var(--coral); box-shadow: 0 0 20px rgba(239,112,78,.35); }
.symbol-short i:last-child::after { content: ""; position: absolute; top: 5px; left: 9px; width: 9px; height: 17px; background: var(--ivory); clip-path: polygon(48% 0,100% 0,66% 40%,100% 40%,18% 100%,38% 53%,0 53%); }

/* 长效接码：SIM 卡 + 持续循环符号 */
.symbol-long i:first-child { top: 3px; left: 3px; width: 70px; height: 70px; border: 4px solid rgba(244,239,229,.82); background: rgba(244,239,229,.02); clip-path: polygon(0 0,69% 0,100% 31%,100% 100%,0 100%); }
.symbol-long i:nth-child(2), .symbol-long i:last-child { top: 29px; width: 27px; height: 18px; border: 4px solid; border-radius: 50%; }
.symbol-long i:nth-child(2) { left: 15px; border-color: var(--gold); transform: rotate(18deg); }
.symbol-long i:last-child { left: 38px; border-color: var(--violet); transform: rotate(-18deg); box-shadow: 0 0 17px rgba(146,113,255,.22); }
.symbol-long::after { content: ""; position: absolute; bottom: 10px; left: 17px; width: 42px; height: 3px; background: linear-gradient(90deg, rgba(214,179,106,.2), var(--gold), rgba(146,113,255,.75)); }
.service-card h3 { position: relative; z-index: 1; margin: 0; font-size: 20px; }
.service-card p { position: relative; z-index: 1; margin: 13px 0 27px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.service-card b { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: auto; color: #b8afb1; font-size: 11px; font-weight: 500; }
.service-card b span { color: var(--gold); font-size: 15px; }

.tools { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.tools-intro { padding-top: 30px; }
.tools-intro > a { display: inline-flex; gap: 20px; margin-top: 36px; padding-bottom: 8px; border-bottom: 1px solid rgba(214,179,106,.5); color: #dfc995; font-size: 12px; text-decoration: none; }
.tool-list { border-top: 1px solid var(--line); }
.tool-list > a { display: grid; min-height: 134px; grid-template-columns: 64px 1fr auto; align-items: center; gap: 26px; padding: 22px 6px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .25s ease, background .25s ease; }
.tool-list > a:hover { padding-right: 20px; padding-left: 20px; background: linear-gradient(90deg, rgba(146,113,255,.08), rgba(214,179,106,.04)); }
.tool-list > a > span { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(214,179,106,.38); color: var(--gold); font: 9px/1 ui-monospace, monospace; letter-spacing: .07em; }
.tool-list small { color: #777078; font: 8px/1 ui-monospace, monospace; letter-spacing: .17em; }
.tool-list h3 { margin: 7px 0 0; font-size: 17px; }
.tool-list p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.tool-list b { color: var(--gold); font-size: 17px; font-weight: 400; }

.closing { position: relative; overflow: hidden; display: grid; width: min(1440px, calc(100% - 32px)); min-height: 650px; margin: 30px auto 0; grid-template-columns: 1fr .8fr; align-items: center; padding: 90px clamp(48px, calc((100vw - 1280px) / 2), 80px); border: 1px solid var(--line); background: #0a090e; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(146,113,255,.09), transparent 42%), radial-gradient(circle at 78% 38%, rgba(239,112,78,.12), transparent 30rem); }
.closing-light { position: absolute; right: -10%; bottom: -45%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 20deg, transparent, rgba(214,179,106,.3), rgba(146,113,255,.33), transparent 70%); filter: blur(50px); animation: light-spin 20s linear infinite; }
.closing-copy { position: relative; z-index: 1; min-width: 0; }
.closing h2 { margin: 22px 0 0; font-family: var(--font-serif); font-size: clamp(58px, 8vw, 108px); line-height: 1.04; letter-spacing: -.055em; }
.closing h2 > span, .closing h2 > em { display: block; white-space: nowrap; }
.closing-copy > p:nth-of-type(2) { margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.closing-mark { position: relative; z-index: 1; display: grid; width: min(32vw, 370px); aspect-ratio: 1; place-items: center; justify-self: center; border: 1px solid rgba(214,179,106,.35); transform: rotate(45deg); background: rgba(8,7,10,.66); box-shadow: inset 0 0 70px rgba(214,179,106,.06), 0 35px 100px rgba(0,0,0,.35); }
.closing-mark::before { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(146,113,255,.28); }
.closing-mark img { width: 45%; transform: rotate(-45deg); }
.closing-mark span { position: absolute; right: 12px; bottom: 18px; transform: rotate(-45deg); color: rgba(214,179,106,.48); font-family: var(--font-serif); font-size: 38px; }

footer { display: grid; width: min(1280px, calc(100% - 64px)); margin: 0 auto; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 40px; padding: 52px 0; color: #6f696f; font-size: 10px; }
.footer-brand { font-size: 14px; }
.footer-brand img { width: 43px; height: auto; }
footer p { margin: 0; }
footer div { display: flex; gap: 24px; }
footer div a { color: #8f878e; text-decoration: none; }
footer div a:hover { color: var(--gold); }
footer small { font-size: 9px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2), .tool-list a:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3), .tool-list a:nth-child(3) { transition-delay: .13s; }
.service-card:nth-child(4), .tool-list a:nth-child(4) { transition-delay: .18s; }

@keyframes orbit-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes light-spin { to { transform: rotate(360deg); } }
@keyframes breathe { from { transform: scale(.92) rotate(-8deg); opacity: .38; } to { transform: scale(1.08) rotate(8deg); opacity: .65; } }
@keyframes scan { 0%,20% { transform: translateX(-100%); } 70%,100% { transform: translateX(100%); } }

@media (max-width: 1000px) {
  .site-header, .hero, .section, footer { width: min(100% - 40px, 760px); }
  .nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }
  .hero-emblem { width: min(78vw, 560px); margin: 30px auto 20px; justify-self: center; }
  .scroll-cue { display: none; }
  .api-gateway { min-height: auto; grid-template-columns: 1fr; padding: 125px max(40px, calc((100% - 760px) / 2)); }
  .api-copy > p:nth-of-type(2) { max-width: 650px; }
  .services, .tools { grid-template-columns: 1fr; gap: 55px; }
  .section-head { position: static; }
  .closing { grid-template-columns: 1fr; gap: 70px; padding: 100px 48px; }
  .closing-mark { width: min(60vw, 340px); }
  footer { grid-template-columns: auto 1fr; }
  footer div { justify-content: flex-end; }
  footer small { text-align: right; }
}

@media (max-width: 640px) {
  .site-header, .hero, .section, footer { width: min(100% - 30px, 520px); }
  .site-header { height: 72px; }
  .site-header.is-scrolled { padding: 0 15px; }
  .brand { gap: 9px; font-size: 15px; }
  .brand img { width: 44px; height: auto; }
  .header-cta { height: 36px; padding: 0 11px; }
  .hero { padding: 110px 0 48px; }
  .hero-intro { font-size: 28px; line-height: 1.42; }
  .hero-intro span:first-child { margin-bottom: 5px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-emblem { width: 78%; margin-top: 18px; }
  .emblem-core { width: 175px; height: 205px; }
  .emblem-core img { width: 108px; margin-top: 20px; }
  .emblem-core span { margin-bottom: 32px; font-size: 20px; }
  .emblem-core small { bottom: 13px; font-size: 6px; }
  .guest-tag { display: none; }
  .api-gateway { width: calc(100% - 16px); gap: 64px; padding: 105px 15px; }
  .api-gateway::after { display: none; }
  .api-copy h2 { font-size: 44px; }
  .api-copy h2 br { display: none; }
  .api-copy > p:nth-of-type(2) { font-size: 12px; }
  .api-button { width: 100%; }
  .console-body { padding: 22px 16px; }
  .endpoint-row { grid-template-columns: 1fr; gap: 10px; }
  .endpoint-row code { font-size: 9px; }
  .connect-flow { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .connect-flow > div { min-height: 76px; }
  .connect-flow > div span { margin-top: 10px; }
  .connect-flow > i { width: 1px; height: 15px; margin-left: 22px; }
  .connect-flow > i::after { top: auto; right: -2px; bottom: 0; transform: rotate(135deg); }
  .request-preview { overflow: hidden; min-height: 145px; padding: 17px 14px; }
  .request-preview code { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .console-foot { align-items: flex-start; flex-direction: column; }
  .section { padding: 105px 0; }
  .section h2 { font-size: 47px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .tool-list > a { min-height: 120px; grid-template-columns: 49px 1fr auto; gap: 15px; }
  .tool-list > a > span { width: 45px; height: 45px; }
  .tool-list p { line-height: 1.6; }
  .closing { width: calc(100% - 16px); min-height: 750px; padding: 85px 22px; }
  .closing h2 { font-size: 50px; line-height: 1.08; }
  .closing-mark { width: min(74vw, 290px); }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  footer div { justify-content: flex-start; }
  footer small { text-align: left; }
}

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