/* Sheliak website. Colours from brand/Sheliak-Logo-v1.0/08-colour; no third-party resources. */

@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Lao"; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-lao-lao-400-normal.woff2") format("woff2"); unicode-range: U+0E80-0EFF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Lao"; font-weight: 600 700; font-display: swap; src: url("fonts/noto-sans-lao-lao-600-normal.woff2") format("woff2"); unicode-range: U+0E80-0EFF, U+200C-200D, U+25CC; }

:root {
  --indigo: #3A3FD1;
  --indigo-deep: #2B2FA8;
  --lyra: #9A9DF5;
  --ink: #121316;
  --ink-2: #1B1D24;
  --ink-line: #2C2F3A;
  --paper: #FFFFFF;
  --mist: #F4F5F9;
  --line: #DDE1E8;
  --text: #121316;
  --muted: #5B6472;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A9AEBD;
  --good: #3FB27F;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans Lao", sans-serif;
  --display: "Sora", var(--sans);
  --radius: 16px;
  --wrap: 1120px;
}
:lang(lo) { --sans: "Noto Sans Lao", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--sans); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:lang(lo) h1, :lang(lo) h2, :lang(lo) h3 { line-height: 1.45; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lyra); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
:lang(zh) .eyebrow, :lang(lo) .eyebrow { letter-spacing: 0.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(18, 19, 22, 0.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--ink-line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--on-dark); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--ink-line); border-radius: 999px; }
.langs button { font: 600 13px/1 var(--sans); color: var(--on-dark-muted); background: none; border: 0; border-radius: 999px; padding: 7px 10px; cursor: pointer; }
.langs button[lang="lo"] { font-family: "Noto Sans Lao", var(--sans); }
.langs button:hover { color: var(--on-dark); }
.langs button[aria-pressed="true"] { background: var(--lyra); color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: 88px 0 104px; }
.hero .eyebrow { color: var(--lyra); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; margin-bottom: 20px; }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 32px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .15s, border-color .15s; }
.btn.primary { background: var(--indigo); color: #fff; }
.btn.primary:hover { background: #4B50E0; }
.btn.ghost { border: 1px solid var(--ink-line); color: var(--on-dark); }
.btn.ghost:hover { border-color: var(--lyra); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(63, 178, 127, 0.18); }

/* Decorative binary orbit (not the logo) */
.orbit { position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; margin-top: -450px; opacity: 0.9; pointer-events: none; }
.orbit-line { fill: none; stroke: var(--ink-line); stroke-width: 1.25; }
.orbit-line.faint { stroke-dasharray: 2 8; }
.pair { transform-origin: 400px 400px; animation: spin 48s linear infinite; }
.star-a { fill: var(--lyra); opacity: 0.22; }
.star-b { fill: var(--lyra); opacity: 0.5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Phone mock-up */
.phone { margin: 0; justify-self: center; width: 300px; padding: 12px; border-radius: 44px; background: #0B0C0F; border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -30px rgba(58, 63, 209, 0.55); }
.phone-screen { background: var(--paper); color: var(--ink); border-radius: 34px; padding: 14px 16px 18px; overflow: hidden; font-size: 13px; }
.ph-bar { display: flex; justify-content: space-between; font-weight: 600; font-size: 12px; padding: 0 6px 10px; }
.ph-icons { width: 40px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 26px, var(--ink) 26px); opacity: 0.85; }
.ph-head { padding: 4px 4px 14px; }
.ph-head img { height: 16px; width: auto; }
.ph-total { background: var(--indigo); color: #fff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ph-label { font-size: 12px; opacity: 0.8; }
.ph-amount { font: 700 26px/1.2 var(--display); }
.ph-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 10px; }
.ph-actions span { text-align: center; background: var(--mist); border-radius: 10px; padding: 8px 0; font-weight: 600; font-size: 12px; }
.ph-list { list-style: none; margin: 0; padding: 0; }
.ph-list li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--mist); }
.tok { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.t-usdt { background: #26A17B; } .t-btc { background: #F7931A; } .t-eth { background: #627EEA; }
.t-bnb { background: #C99400; } .t-sol { background: #7B5CF0; } .t-trx { background: #D8263B; }
.tok-name, .tok-val { display: flex; flex-direction: column; font-weight: 600; line-height: 1.25; }
.tok-val { text-align: right; align-items: flex-end; font-variant-numeric: tabular-nums; }
.tok-name small, .tok-val small { font-weight: 400; font-size: 11px; color: var(--muted); }

/* Chains strip */
.chains { border-bottom: 1px solid var(--line); background: var(--mist); }
.chains-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.chains h2 { font-size: 20px; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { font: 600 14px/1 var(--display); padding: 10px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* Features */
.features { padding: 104px 0; }
.features h2, .roadmap h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 18em; margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); font-size: 16px; }
.ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(58, 63, 209, 0.08); fill: none; stroke: var(--indigo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }

/* Security */
.security { background: var(--indigo); color: #fff; padding: 104px 0; }
.security .eyebrow { color: #fff; opacity: 0.75; }
.security h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.security .lead { color: rgba(255, 255, 255, 0.82); margin-bottom: 48px; }
.flow { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.node { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); padding: 22px; }
.node.key { background: #fff; color: var(--ink); border-color: #fff; }
.node.key p { color: var(--muted); }
.node h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.node p { font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.hop { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; padding: 0 8px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.hop::after { content: ""; display: block; width: 100%; height: 12px; margin-top: 6px; background:
  linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)) left center / calc(100% - 8px) 1.5px no-repeat,
  conic-gradient(from 225deg at 100% 50%, rgba(255, 255, 255, 0.6) 0 90deg, transparent 90deg) right center / 9px 12px no-repeat; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 40px; }
.points h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.points p { font-size: 16px; color: rgba(255, 255, 255, 0.82); }

/* Roadmap */
.roadmap { padding: 104px 0; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stage { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stage.now { border-color: var(--indigo); box-shadow: inset 0 0 0 1px var(--indigo); }
.stage h3, .planned h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; margin-bottom: 16px; }
.tag { font: 600 12px/1 var(--sans); padding: 6px 9px; border-radius: 999px; background: var(--mist); color: var(--muted); }
.now .tag { background: var(--indigo); color: #fff; }
.stage ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.stage li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; }
.stage li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--lyra); }
.now li::before { background: var(--indigo); border-color: var(--indigo); }
.planned { display: flex; gap: 20px; align-items: flex-start; border-radius: var(--radius); padding: 28px; background: var(--mist); }
.planned .ic { flex: none; margin: 0; background: var(--paper); }
.planned .tag { background: var(--paper); border: 1px solid var(--line); }
.planned h3 { margin-bottom: 8px; }
.planned p { color: var(--muted); max-width: 46em; }

/* Name */
.name { background: var(--ink); color: var(--on-dark); padding: 72px 0; }
.name-row { display: flex; align-items: center; gap: 40px; }
.name img { width: 112px; height: auto; flex: none; }
.name h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.name p { color: var(--on-dark-muted); max-width: 44em; }

/* Footer */
.foot { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--ink-line); padding: 40px 0 48px; font-size: 14px; }
.foot-row { display: flex; gap: 48px; align-items: flex-start; }
.foot img { height: 18px; width: auto; margin-top: 3px; flex: none; }
.foot-text { display: flex; flex-direction: column; gap: 6px; }
.copy { margin-top: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .orbit { top: auto; bottom: -260px; margin-top: 0; right: 50%; margin-right: -450px; }
  .cards, .stages, .points { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .hop { width: auto; flex-direction: row-reverse; gap: 10px; padding: 12px 0; }
  .hop::after { width: 12px; height: 28px; margin: 0; background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)) center top / 1.5px calc(100% - 8px) no-repeat,
    conic-gradient(from 135deg at 50% 100%, rgba(255, 255, 255, 0.6) 0 90deg, transparent 90deg) center bottom / 12px 9px no-repeat; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .langs { margin-left: auto; }
  .brand img { height: 20px; }
  .lead { font-size: 17px; }
  .features, .security, .roadmap { padding: 72px 0; }
  .cards, .stages, .points { grid-template-columns: 1fr; }
  .chains-row { flex-direction: column; align-items: flex-start; }
  .planned { flex-direction: column; }
  .name-row, .foot-row { flex-direction: column; gap: 20px; align-items: flex-start; }
  .name img { width: 84px; }
}
@media (max-width: 360px) {
  .phone { width: 100%; }
  .langs button { padding: 7px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pair { animation: none; }
}
