/* Elite Home Trading — IT infrastructure site */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-raised: #FFFFFF;
  --fg: #1D1D1F;
  --fg-2: #424245;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #ECECF0;

  --navy: #14213D;
  --accent: #14213D;
  --accent-hover: #22335A;
  --accent-fg: #FFFFFF;
  --hi: #0B84C6;            /* electric blue on light */
  --hi-soft: #E5F3FB;
  --eyebrow: var(--hi);
  --link: #0B6FA8;
  --link-hover: #14213D;

  --ink: #0B1220;
  --ink-2: #131C2E;
  --ink-3: #1B263B;
  --ink-fg: #F5F5F7;
  --ink-muted: #9AA5B8;
  --ink-hi: #38BDF8;        /* electric blue on dark */
  --ink-ok: #34D399;

  --nav-bg: rgba(255, 255, 255, 0.62);
  --nav-glass: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px -12px rgba(0, 0, 0, .14);
  --nav-line: rgba(0, 0, 0, 0.08);

  --radius-xl: 30px;
  --radius-l: 24px;
  --radius-m: 18px;
  --radius-pill: 980px;

  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #161617;
    --surface-raised: #232325;
    --fg: #F5F5F7;
    --fg-2: #D2D2D7;
    --muted: #8E8E93;
    --line: #424245;
    --line-soft: #2C2C2E;

    --accent: #38BDF8;
    --accent-hover: #67CEFA;
    --accent-fg: #04121C;
    --hi: #38BDF8;
    --hi-soft: #0E2633;
    --link: #67CEFA;
    --link-hover: #A5E2FC;

    --ink: #0A0F1A;
    --ink-2: #111827;
    --ink-3: #182235;

    --nav-bg: rgba(30, 30, 32, 0.6);
    --nav-glass: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 30px -12px rgba(0, 0, 0, .6);
    --nav-line: rgba(255, 255, 255, 0.1);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.wrap--text { max-width: 900px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--eyebrow); }
.mono { font-family: var(--mono); }
.display { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.headline { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; }
.title { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); }
.lead--hero { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; }
.hl { color: var(--hi); }
.body { font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.small { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-fg);
  font: inherit; font-size: 17px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: var(--accent-fg); }
.btn:active { transform: scale(.97); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 17px; text-decoration: none; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.actions--center { justify-content: center; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .38s; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid var(--nav-line); box-shadow: var(--nav-glass);
}
.nav__bar { max-width: 1240px; margin: 0 auto; padding: 0 22px; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--fg); }
.logo:hover { color: var(--fg); }
.logo__mark { flex: none; }
.logo__name { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name b { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.logo__name small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 34px; font-size: 14px; }
.nav__links a { color: var(--fg-2); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.nav__end { display: flex; align-items: center; gap: 4px; }
.menu-btn { display: none; border: 0; background: transparent; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--fg); margin-right: -10px; }
@media (max-width: 820px) {
  .nav__bar { flex-wrap: wrap; height: auto; min-height: var(--nav-h); }
  .nav__links { display: none; }
  .nav__links.open { display: flex; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; padding: 4px 0 12px; }
  .nav__links.open a { padding: 14px 0; border-top: 1px solid var(--nav-line); font-size: 17px; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--ink-fg); }
.section--ink .lead, .section--ink .small { color: var(--ink-muted); }
.section--ink .eyebrow, .section--ink .hl { color: var(--ink-hi); }
.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 56px; }
.section__head--center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .section { padding: 84px 0; } .section--tight { padding: 64px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 108px 0 0; text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__copy .lead { max-width: 740px; }
.hero--page { padding: 104px 0 72px; }

/* ---------- Hero: two divisions ---------- */
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { background: var(--surface); color: var(--fg); }
.duo { display: flex; gap: 0; margin-top: 6px; border-radius: 18px; background: var(--surface); padding: 6px; max-width: 100%; }
.duo__half { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 13px; text-decoration: none; color: var(--fg-2); font-size: 14px; text-align: left; transition: background-color .25s; }
.duo__half:hover { background: var(--surface-raised); color: var(--fg); }
@media (min-width: 901px) { .duo__v { white-space: nowrap; } }
.duo__half + .duo__half { border-left: 1px solid var(--line); border-radius: 0 13px 13px 0; }
.duo__half + .duo__half:hover { border-radius: 13px; }
.duo__k { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 980px; background: var(--hi-soft); color: var(--hi); font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.duo__half--trade .duo__k { background: #F4EBE1; color: #9A6B3C; }
@media (prefers-color-scheme: dark) { .duo__half--trade .duo__k { background: #2A241E; color: #E2B98C; } }
@media (max-width: 900px) {
  .duo { flex-direction: column; width: 100%; }
  .duo__half + .duo__half { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 13px 13px; }
}

/* ---------- Infrastructure diagram ---------- */
.infra {
  margin: 72px auto 0; max-width: 1120px; border-radius: var(--radius-xl);
  background: radial-gradient(120% 120% at 50% 0%, #17284A 0%, var(--ink) 62%);
  color: var(--ink-fg); padding: 22px; position: relative; overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(11, 18, 32, .55);
}
.infra__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 8px 18px; font-size: 13px; color: var(--ink-muted); }
.infra__bar b { color: var(--ink-fg); font-weight: 600; font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-ok); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }
.infra__map { position: relative; border-radius: 18px; background-color: var(--ink-2); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.infra__map svg { width: 100%; height: auto; }
.infra .wire { fill: none; stroke: rgba(148, 163, 184, .28); stroke-width: 1.6; }
.infra .flow { fill: none; stroke: var(--ink-hi); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 18; animation: flow 1.6s linear infinite; opacity: .9; }
.infra .flow--slow { animation-duration: 2.6s; }
.infra .flow--ok { stroke: var(--ink-ok); }
@keyframes flow { to { stroke-dashoffset: -48; } }
.infra .node rect { fill: var(--ink-3); stroke: rgba(148, 163, 184, .22); stroke-width: 1; }
.infra .node--core rect { fill: #1E3A5F; stroke: rgba(56, 189, 248, .55); }
.infra .node text { fill: #E5EAF2; font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.infra .node .sub { fill: #8C98AD; font-size: 12px; font-weight: 500; font-family: var(--mono); letter-spacing: 0; }
.infra .node .ic { fill: none; stroke: var(--ink-hi); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.infra .dot { fill: var(--ink-ok); }
.infra__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 8px 4px; font-size: 13px; color: var(--ink-muted); }
.infra__legend span { display: inline-flex; align-items: center; gap: 8px; }
.infra__legend i { width: 18px; height: 2px; border-radius: 2px; background: var(--ink-hi); }
.infra__legend i.ok { background: var(--ink-ok); }
.infra__mob { display: none; }
@media (max-width: 700px) {
  .infra { margin-top: 56px; padding: 16px; border-radius: 24px; }
  .infra__map { display: none; }
  .infra__mob { display: flex; flex-direction: column; gap: 0; position: relative; }
  .infra__mob::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--ink-hi), var(--ink-ok)); opacity: .55; }
  .infra__mob li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px; margin: 4px 0; border-radius: 14px; background: var(--ink-3); text-align: left; }
  .infra__mob li span:first-child { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--ink-hi); }
  .infra__mob li b { font-size: 15px; font-weight: 600; }
  .infra__mob li small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-ok); }
  .infra__bar { padding-bottom: 12px; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
}

/* interactive map */
.infra__bar { flex-wrap: wrap; }
.infra__bar .live { margin-left: auto; }
.infra__tools { display: none; gap: 8px; }
.infra.is-live .infra__tools { display: inline-flex; }
.tbtn {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 980px;
  border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .12); color: #E5F6FE;
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s;
}
.tbtn:hover { background: rgba(56, 189, 248, .22); }
.tbtn:disabled { opacity: .55; cursor: progress; }
.tbtn--ghost { background: transparent; border-color: rgba(255,255,255,.14); color: var(--ink-muted); }
.tbtn--ghost:hover { background: rgba(255,255,255,.06); color: var(--ink-fg); }
.infra:not(.moved) .tbtn--ghost { opacity: .45; }
.infra .node { cursor: grab; outline: none; touch-action: none; }
.infra .node .box { transition: stroke .25s, fill .25s; }
.infra .node:hover .box { stroke: rgba(56, 189, 248, .6); }
.infra .node:focus-visible .box { stroke: #FFFFFF; stroke-width: 1.6; }
.infra .node.sel .box { stroke: var(--ink-hi); stroke-width: 1.8; fill: #1E3A5F; }
.infra .node.dragging { cursor: grabbing; }
.infra .node.dragging .box { stroke: var(--ink-hi); filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.infra.is-dragging { user-select: none; -webkit-user-select: none; }
.infra .edge path { transition: opacity .3s, stroke-width .3s; }
.infra.has-sel .edge:not(.on) path { opacity: .12; }
.infra.has-sel .node:not(.sel):not(.near) { opacity: .45; }
.infra .node { transition: opacity .3s; }
.infra.has-sel .edge.on .flow { stroke-width: 2.6; }
.infra.has-sel .edge.on .wire { stroke: rgba(56, 189, 248, .4); }
.infra .node.ok-flash .box { animation: okflash .9s ease-out; }
.infra .node.ok-flash .dot { animation: okdot .9s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes okflash { 0% { stroke: var(--ink-ok); stroke-width: 2.4; } 100% { stroke: rgba(148,163,184,.22); stroke-width: 1; } }
@keyframes okdot { 0% { transform: scale(2.4); } 100% { transform: scale(1); } }
.infra__info { display: none; margin-top: 14px; border-radius: 16px; background: var(--ink-2); padding: 16px 18px; min-height: 92px; display: none; align-items: center; }
.infra.is-live .infra__info { display: flex; }
.infra__info > * { width: 100%; }
.infra__hint { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.infra__hint svg { color: var(--ink-hi); flex: none; }
.infra__hint[hidden] { display: none; }
.infra__detail { display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; align-items: start; text-align: left; }
.infra__detail[hidden] { display: none; }
.infra__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; grid-row: span 2; }
.infra__head b { font-size: 17px; font-weight: 600; color: var(--ink-fg); }
.pill { font-family: var(--mono); font-size: 11.5px; color: var(--ink-ok); background: rgba(52, 211, 153, .12); border-radius: 980px; padding: 4px 10px; }
.infra__detail p { font-size: 15px; line-height: 1.55; color: #C9D2DF; }
.infra__links { font-size: 13px !important; color: var(--ink-muted) !important; }
.infra__links span:first-child { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-hi); margin-right: 6px; }
@media (max-width: 700px) {
  .infra.is-live .infra__tools, .infra.is-live .infra__info { display: none; }
  .infra__bar .live { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .infra .node.ok-flash .box, .infra .node.ok-flash .dot { animation: none; } }

/* ---------- Service grid ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border-radius: var(--radius-l); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px; color: var(--fg); text-decoration: none;
  transition: transform .4s var(--ease), background-color .3s;
}
a.card:hover { color: var(--fg); transform: translateY(-4px); }
.section--surface .card { background: var(--surface-raised); }
.card__ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--hi-soft); color: var(--hi); margin-bottom: 8px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.card em { font-style: normal; font-size: 15px; color: var(--link); margin-top: auto; padding-top: 6px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- Featured service: user support & AI ---------- */
.feat {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  border-radius: var(--radius-xl); padding: 40px;
  background: radial-gradient(120% 120% at 0% 0%, #1A3360 0%, var(--ink) 60%); color: var(--ink-fg);
}
.feat__copy { display: flex; flex-direction: column; gap: 14px; }
.feat__k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-hi); }
.feat h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
.feat p { font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.feat .btn { background: #FFFFFF; color: #1D1D1F; }
.feat .btn:hover { background: #E8E8ED; color: #1D1D1F; }
.feat .panel { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); box-shadow: none; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; } }
@media (max-width: 520px) { .feat .div__list { grid-template-columns: 1fr; } }

/* ---------- Process (dark) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-l); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--ink-hi); }
.step h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.step__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: auto; }
.step__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ink-hi), var(--ink-ok)); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--surface); border-radius: var(--radius-l); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.section--surface .pillar { background: var(--surface-raised); }
.pillar__ico { color: var(--hi); }
.pillar h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta {
  border-radius: var(--radius-xl); padding: 72px 40px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #1A3360 0%, var(--ink) 62%);
  color: var(--ink-fg); display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta .lead { color: var(--ink-muted); max-width: 620px; }
.cta .hl { color: var(--ink-hi); }
.cta .link-arrow { color: var(--ink-hi); }
.cta .btn { background: #FFFFFF; color: #1D1D1F; }
.cta .btn:hover { background: #E8E8ED; color: #1D1D1F; }

/* ---------- Service rows (services page) ---------- */
.srow { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line-soft); }
.srow:first-of-type { border-top: 0; padding-top: 24px; }
.srow:nth-of-type(even) .panel { order: 2; }
.srow__copy { display: flex; flex-direction: column; gap: 16px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 8px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.ticks svg { flex: none; margin-top: 2px; color: var(--hi); }
@media (max-width: 860px) {
  .srow { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .srow:nth-of-type(even) .panel { order: 0; }
}
@media (max-width: 520px) { .ticks { grid-template-columns: 1fr; } }

/* mini console panel */
.panel {
  background: var(--ink); color: var(--ink-fg); border-radius: var(--radius-l); padding: 18px;
  box-shadow: 0 40px 80px -48px rgba(11, 18, 32, .5);
}
.panel__top { display: flex; align-items: center; gap: 12px; padding: 2px 6px 14px; }
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3550; }
.panel__title { font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.panel__body { background: var(--ink-2); border-radius: 14px; padding: 8px 16px; }
.prow { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.prow:first-child { border-top: 0; }
.prow__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--ink-3); color: var(--ink-hi); display: flex; align-items: center; justify-content: center; }
.prow__k { font-weight: 500; }
.prow__v { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
.prow__v.ok { color: var(--ink-ok); }
.prow__v.hi { color: var(--ink-hi); }
.meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; width: 110px; flex: none; }
.meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ink-hi), var(--ink-ok)); }

/* ---------- Trading & retail bridge ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { background: var(--surface-raised); border-radius: var(--radius-l); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.use h3 { font-size: 18px; letter-spacing: -0.02em; font-weight: 600; }
.use p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.section__head .link-arrow { align-self: flex-start; }
@media (max-width: 1000px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* ---------- Two divisions ---------- */
.divs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.div { border-radius: var(--radius-xl); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.div h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.div p { font-size: 16px; line-height: 1.6; }
.div .link-arrow { margin-top: auto; padding-top: 10px; }
.div__k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.div--it { background: radial-gradient(120% 120% at 0% 0%, #1A3360 0%, var(--ink) 60%); color: var(--ink-fg); }
.div--it .div__k, .div--it .link-arrow { color: var(--ink-hi); }
.div--it p { color: var(--ink-muted); }
.div__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 6px; }
.div__list li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; color: #DCE3EE; }
.div__list svg { flex: none; color: var(--ink-ok); margin-top: 1px; }
.div--trade { background: linear-gradient(160deg, #F7F1EA 0%, #EFE4D8 100%); color: #1D1D1F; }
.div--trade .div__k { color: #9A6B3C; }
.div--trade p { color: #4A4540; }
.div--trade .link-arrow { color: #8A5A2B; }
.dchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dchips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 980px; background: rgba(255,255,255,.7); font-size: 14px; color: #2C2A27; }
.dchip__ic { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #9A6B3C; display: inline-flex; align-items: center; justify-content: center; }
@media (prefers-color-scheme: dark) {
  .div--trade { background: linear-gradient(160deg, #2A241E 0%, #1E1A16 100%); color: var(--fg); }
  .div--trade p { color: #C9BFB3; }
  .div--trade .div__k, .div--trade .link-arrow { color: #E2B98C; }
  .dchips li { background: rgba(255,255,255,.06); color: var(--fg-2); }
  .dchip__ic { background: rgba(255,255,255,.08); color: #E2B98C; }
}
@media (max-width: 900px) { .divs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .div { padding: 30px 24px; } .div__list { grid-template-columns: 1fr; } }

/* ---------- Trading page ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 980px; background: var(--surface); color: var(--fg-2); font-size: 13px; font-weight: 500; text-decoration: none; }
.chip:hover { color: var(--fg); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--hi); }
.tart { aspect-ratio: 5 / 4; border-radius: var(--radius-l); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tart::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,0)); }
.tart svg { position: relative; width: 40%; color: #3A3A3C; opacity: .34; }
.tart--flowers { background: linear-gradient(160deg, #FBE7E4 0%, #F4D3D0 100%); }
.tart--perfume { background: linear-gradient(160deg, #FCEBDD 0%, #F2D2B6 100%); }
.tart--jewel { background: linear-gradient(160deg, #F7EEDC 0%, #EBDBBB 100%); }
.tart--textile { background: linear-gradient(160deg, #EFEAE2 0%, #E0D7C9 100%); }
.tart--garment { background: linear-gradient(160deg, #E8ECF2 0%, #D3DAE6 100%); }
@media (prefers-color-scheme: dark) {
  .tart::before { background: radial-gradient(closest-side, rgba(255,255,255,.08), rgba(255,255,255,0)); }
  .tart svg { color: #E5E5EA; }
  .tart--flowers { background: linear-gradient(160deg, #3A2626, #2A1C1D); }
  .tart--perfume { background: linear-gradient(160deg, #3D2C20, #2B2018); }
  .tart--jewel { background: linear-gradient(160deg, #3A3122, #2A2318); }
  .tart--textile { background: linear-gradient(160deg, #34302A, #25221E); }
  .tart--garment { background: linear-gradient(160deg, #262C38, #1C212B); }
}
.srow:nth-of-type(even) .tart { order: 2; }
@media (max-width: 860px) { .srow:nth-of-type(even) .tart { order: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-size: 13px; padding: 7px 12px; border-radius: 980px; background: var(--surface); color: var(--fg-2); }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { background: var(--surface-raised); border-radius: var(--radius-l); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.model__k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--hi); }
.model h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.model p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.quote { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .body + .body { margin-top: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.facts { background: var(--surface-raised); border-radius: var(--radius-l); padding: 12px 30px; }
.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { font-size: 16px; font-weight: 500; line-height: 1.45; }
.facts .num { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; }
@media (max-width: 560px) { .facts { padding: 6px 22px; } .facts div { grid-template-columns: 1fr; gap: 4px; } }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.goals li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.45; }
.goals li span { flex: none; width: 30px; color: var(--hi); font-family: var(--mono); font-size: 14px; padding-top: 4px; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: var(--surface-raised); border-radius: var(--radius-m); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.value h3 { font-size: 18px; letter-spacing: -0.02em; font-weight: 600; }
.value p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard { background: var(--surface); border-radius: var(--radius-l); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; color: var(--fg); text-decoration: none; transition: transform .4s var(--ease); }
a.ccard:hover { color: var(--fg); transform: translateY(-3px); }
.ccard__ico { width: 44px; height: 44px; border-radius: 13px; background: var(--hi-soft); color: var(--hi); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ccard b { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ccard span { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.4; word-break: break-word; }
.ccard em { font-style: normal; font-size: 15px; color: var(--link); margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .ccards { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--surface); border-radius: var(--radius-xl); padding: 40px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--fg-2); }
.field label .small { font-size: inherit; line-height: inherit; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; height: 50px; }
.field textarea { height: auto; min-height: 140px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--hi); outline-offset: 0; border-color: transparent; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; padding: 26px 20px; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; margin: 40px 0 12px; }
.legal p { font-size: 17px; line-height: 1.65; color: var(--fg-2); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); padding: 72px 0 40px; font-size: 14px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__about { display: flex; flex-direction: column; gap: 16px; max-width: 340px; line-height: 1.6; }
.footer h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--fg-2); text-decoration: none; }
.footer a:hover { color: var(--fg); text-decoration: underline; }
.footer address { font-style: normal; display: flex; flex-direction: column; gap: 14px; line-height: 1.55; }
.footer address div { display: flex; gap: 12px; }
.footer address svg { flex: none; margin-top: 2px; color: var(--hi); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; }
.footer__base nav { flex-direction: row; gap: 20px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .infra .flow, .live i { animation: none; }
  html { scroll-behavior: auto; }
}
