

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }


body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61;
  background: var(--bg);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--fg-2);
  font-weight: 500; font-size: 15px; transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: var(--fg); background: var(--surface-3); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.mobile-nav {
  display: grid; gap: 4px; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.mobile-nav a:not(.btn) { padding: 14px 4px; text-decoration: none; font: 600 20px/1.2 var(--font-display); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; }
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .header-inner { gap: 10px; height: 64px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { padding: 0 14px; }
}


.hero { position: relative; overflow: hidden; padding-top: 40px; isolation: isolate; }
.hero-bg { position: absolute; inset: -72px 0 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  filter: blur(10px);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center;
  padding-block: 32px 72px;
}
.hero-copy { min-width: 0; }
.hero-status { margin-bottom: 26px; }
.hero-title {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.045em;
}
.ht-line { display: block; white-space: nowrap; }
.ht-accent {
  background: linear-gradient(100deg, var(--ember) 10%, var(--ember-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.06em;
}
.ht-bars { display: inline-flex; align-items: flex-end; gap: 0.06em; height: 0.66em; margin-left: 0.16em; vertical-align: baseline; }
.ht-bars i {
  width: 0.11em; border-radius: 0.06em; background: var(--ember);
  animation: bar-in 0.9s var(--ease) both;
}
.ht-bars i:nth-child(1) { height: 30%; animation-delay: 0.5s; }
.ht-bars i:nth-child(2) { height: 52%; animation-delay: 0.62s; }
.ht-bars i:nth-child(3) { height: 76%; animation-delay: 0.74s; }
.ht-bars i:nth-child(4) { height: 100%; animation-delay: 0.86s; background: var(--ember-2); }
@keyframes bar-in { from { transform: scaleY(0.05); transform-origin: bottom; opacity: 0.2; } to { transform: scaleY(1); transform-origin: bottom; } }
.ht-line { animation: line-in 0.9s var(--ease) both; }
.ht-line:nth-child(2) { animation-delay: 0.08s; }
.ht-line:nth-child(3) { animation-delay: 0.16s; }
@keyframes line-in { from { transform: translateY(0.35em); opacity: 0; filter: blur(6px); } }

.hero-lead { margin: 28px 0 0; max-width: 34em; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--fg-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 6px; }
.hero-facts dt { font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.hero-facts dd { margin: 0; font: 600 30px/1 var(--font-display); letter-spacing: -0.03em; }
.hero-facts small { font-size: 0.55em; color: var(--fg-2); letter-spacing: 0; margin-left: 2px; }


.trace { position: relative; margin: 0; min-width: 0; }
.trace-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; }
.trace-rings i {
  position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid var(--ember); opacity: 0;
  animation: ring 5.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.trace-rings i:nth-child(2) { animation-delay: 1.8s; }
.trace-rings i:nth-child(3) { animation-delay: 3.6s; }
@keyframes ring { 0% { transform: scale(0.45); opacity: 0.5; } 100% { transform: scale(1.35); opacity: 0; } }

.trace-card {
  position: relative; border-radius: var(--r-xl); padding: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-2) 92%, transparent));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  animation: card-in 1s var(--ease) 0.25s both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(26px) rotate(1.2deg); } }
.trace-head { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-2); padding: 2px 4px 18px; }
.trace-head .pill { margin-left: auto; }
.trace-dots { display: inline-flex; gap: 6px; }
.trace-dots i { width: 10px; height: 10px; border-radius: 50%; color: #ff6058; background: currentColor; }
.trace-dots i:nth-child(2) { color: #ffbd2e; }
.trace-dots i:nth-child(3) { color: #28c840; }
@media (prefers-reduced-motion: no-preference) {
  .trace-dots i { animation: trace-dot-pulse 3s ease-in-out infinite; }
  .trace-dots i:nth-child(2) { animation-delay: 1s; }
  .trace-dots i:nth-child(3) { animation-delay: 2s; }
  @keyframes trace-dot-pulse {
    0%, 36%, 100% { opacity: .75; }
    18% { opacity: 1; box-shadow: 0 0 6px currentColor; }
  }
}

.hops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hop {
  --dot: var(--ice);
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px; border-radius: 18px; border: 1px solid transparent;
  animation: hop-in 0.7s var(--ease) both;
}
.hop:nth-child(1) { animation-delay: 0.45s; }
.hop:nth-child(2) { animation-delay: 0.6s; }
.hop:nth-child(3) { animation-delay: 0.75s; }
.hop:nth-child(4) { animation-delay: 0.9s; }
@keyframes hop-in { from { opacity: 0; transform: translateX(16px); } }
.hop + .hop { margin-top: 18px; }

.hop + .hop::before {
  content: ""; position: absolute; left: 36px; top: -19px; width: 2px; height: 20px;
  background: repeating-linear-gradient(180deg, var(--line-2) 0 3px, transparent 3px 6px);
}
.hop + .hop::after {
  content: ""; position: absolute; left: 33px; top: -21px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 12px var(--dot);
  animation: packet 1.6s linear infinite;
}
.hop:nth-child(3)::after { animation-delay: 0.4s; }
.hop:nth-child(4)::after { animation-delay: 0.8s; --dot: var(--ember); }
@keyframes packet { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

.hop-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--fg-2); border: 1px solid var(--line);
}
.hop-ic svg { width: 21px; height: 21px; }
.hop-body { display: grid; gap: 3px; min-width: 0; }
.hop-body b { font-weight: 600; font-size: 15.5px; }
.hop-body .mono { font-size: 12px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hop-ms { font-size: 12px; color: var(--fg-3); }
.hop-hot { background: var(--ember-soft); border-color: color-mix(in srgb, var(--ember) 30%, transparent); }
.hop-hot .hop-ic { background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: var(--ember-ink); border-color: transparent; box-shadow: 0 8px 24px -8px var(--ember); }
.hop-hot .hop-ms { color: var(--ember); }

.trace-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding: 16px 14px 4px; border-top: 1px dashed var(--line-2);
}
.trace-foot > div { display: grid; gap: 4px; font-size: 12.5px; }
.trace-foot strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.trace-spark { width: 160px; height: 40px; flex: none; overflow: visible; }
.trace-spark path { fill: none; stroke: var(--ember); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }


.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }

.tk { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; white-space: nowrap; font-weight: 500; color: var(--fg-2); }
.tk .mono { font-size: 12px; font-weight: 600; color: var(--fg); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); }
.tk::after { content: "/"; margin-left: 28px; color: var(--fg-3); opacity: 0.6; }
@keyframes ticker { to { transform: translateX(-50%); } }


.section { padding-block: clamp(72px, 10vw, 140px) 0; scroll-margin-top: 72px; }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); justify-items: start; }
.section-head.row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 16px 48px; }
.section-head.row > div { display: grid; gap: 16px; justify-items: start; }
.section-title {
  margin: 0; font: 700 clamp(30px, 4.2vw, 56px)/1.04 var(--font-display); letter-spacing: -0.04em; text-wrap: balance;
}
.section-lead { margin: 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--fg-2); max-width: 36em; }
@media (max-width: 760px) { .section-head.row { grid-template-columns: 1fr; } }


.card {
  position: relative; border-radius: var(--r-l); background: var(--surface);
  border: 1px solid var(--line); padding: 28px; overflow: hidden; isolation: isolate;
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--ember-soft), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.f-cdn { grid-column: span 7; }
.f-auto { grid-column: span 5; }
.f-price, .f-pool, .f-shield { grid-column: span 4; }
.card h3 { margin: 18px 0 10px; font: 600 22px/1.2 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.card p { margin: 0; color: var(--fg-2); }
.f-top { display: flex; align-items: center; justify-content: space-between; }
.f-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); color: var(--ember); }
.f-ic svg { width: 22px; height: 22px; }

.cdn-flow { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.cf-node {
  flex: none; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  font: 600 13px/1 var(--font-mono); letter-spacing: 0.04em; background: var(--surface-2);
}
.cf-mid { color: var(--ice); border-color: color-mix(in srgb, var(--ice) 40%, transparent); }
.cf-hot { background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: var(--ember-ink); border-color: transparent; }
.cf-line { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); }
.cf-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: flow 2.2s linear infinite; }
.cf-line + .cf-node + .cf-line i { animation-delay: 1.1s; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
@keyframes flow { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; line-height: 1.3; border-radius: 12px; background: var(--surface-2); font-size: 14px; font-weight: 500; }
.checklist li > [data-icon] { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); flex: none; }
.checklist li svg { width: 14px; height: 14px; stroke-width: 2.4; }

.big-num { margin: 2px 0 12px !important; font: 700 64px/1 var(--font-display) !important; letter-spacing: -0.05em; color: var(--fg) !important; }
.big-num span:not([data-bind]) { font-size: 0.34em; color: var(--fg-3); letter-spacing: 0; margin-left: 4px; }

.pool-demo { margin-top: 24px; display: grid; gap: 10px; }
.pool-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; background: var(--surface-3); overflow: hidden; }
.pool-bar i { width: var(--w); background: var(--ember); border-radius: 3px; transform-origin: left; animation: grow 1.2s var(--ease) both; }
.pool-bar i:nth-child(2) { background: var(--ember-2); animation-delay: 0.12s; }
.pool-bar i:nth-child(3) { background: var(--ice); animation-delay: 0.24s; }
.pool-bar i:first-child { border-radius: 7px 3px 3px 7px; }
@keyframes grow { from { transform: scaleX(0); } }
.pool-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--fg-2); }
.pool-legend span:not(.faint)::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--ember); }
.pool-legend span:nth-child(2)::before { background: var(--ember-2); }
.pool-legend span:nth-child(3)::before { background: var(--ice); }

.rules { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; line-height: 1.8; color: var(--fg-2); overflow-x: auto; }
.r-ok { color: var(--good); font-weight: 600; }
.r-no { color: var(--bad); font-weight: 600; }

@media (max-width: 1080px) {
  .f-cdn, .f-auto { grid-column: span 12; }
  .f-price, .f-pool, .f-shield { grid-column: span 6; }
  .f-shield { grid-column: span 12; }
}
@media (max-width: 680px) {
  .bento > * { grid-column: span 12 !important; }
  .card { padding: 22px; }
  .checklist { grid-template-columns: 1fr; }
}


.plans { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.plan { border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); padding: 30px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.plan h3 { margin: 6px 0 0; font: 700 28px/1.1 var(--font-display); letter-spacing: -0.03em; }
.plan-main {
  grid-row: span 2; gap: 26px; justify-items: stretch;
  border-color: color-mix(in srgb, var(--ember) 45%, var(--line));
  background:
    radial-gradient(600px circle at 100% 0%, var(--ember-soft), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}
.plan-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.plan-head > div:first-child { display: grid; gap: 10px; justify-items: start; }
.plan-head p { margin: 0; max-width: 26em; }
.plan-price { text-align: right; display: grid; gap: 4px; flex: none; }
.plan-price span { font: 700 44px/1 var(--font-display); letter-spacing: -0.04em; }
.plan-price small { color: var(--fg-3); font-size: 13px; }
.plan-price-sm { margin: 0; color: var(--fg-2); }
.plan-price-sm span { font: 700 26px/1 var(--font-display); letter-spacing: -0.03em; color: var(--fg); }
.plan-off p { margin: 0; }
.plan-off .btn { margin-top: 8px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg-2); }
.plan-list li span { color: var(--ember); flex: none; margin-top: 2px; }
.plan-list svg { width: 18px; height: 18px; stroke-width: 2.2; }

.calc { border-radius: 18px; padding: 22px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 12px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-label { font-weight: 600; font-size: 14.5px; }
.calc-gb { font-size: 22px; font-weight: 600; color: var(--ember); }
.calc-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-3); margin-top: -4px; }
.calc-sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.calc-parts { display: flex; gap: 8px; font-size: 13px; color: var(--fg-2); flex-wrap: wrap; }
.calc-total { display: grid; gap: 2px; text-align: right; font-size: 12.5px; }
.calc-total strong { font: 700 36px/1 var(--font-display); letter-spacing: -0.04em; }
.calc .hint { margin: 0; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer;
  --p: 10%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--ember) 0 var(--p), var(--surface-3) var(--p) 100%);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--surface-3); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--ember); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%;
  background: var(--surface); border: 6px solid var(--ember); box-shadow: 0 4px 14px -4px var(--ember);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 6px solid var(--ember); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--ember-soft); }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan-main { grid-row: auto; }
}
@media (max-width: 560px) {
  .plan, .plan-main { padding: 22px; }
  .plan-head { flex-direction: column; }
  .plan-price { text-align: left; }
  .plan-list { grid-template-columns: 1fr; }
  .calc { padding: 18px; }
  .calc-total { text-align: left; }
}


.how-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.how .section-head { position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px;
  border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.step:hover { border-color: var(--line-2); transform: translateX(4px); }
.step-n {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 26px; font-weight: 600; color: var(--ember); background: var(--ember-soft);
}
.step h3 { margin: 4px 0 8px; font: 600 21px/1.25 var(--font-display); letter-spacing: -0.025em; }
.step p { margin: 0; color: var(--fg-2); }
.key-demo {
  margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.key-val { color: var(--ember); }
@media (max-width: 900px) {
  .how-inner { grid-template-columns: 1fr; gap: 0; }
  .how .section-head { position: static; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; }
  .step-n { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
}


.board { border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.board-head, .b-row {
  display: grid; grid-template-columns: 90px minmax(0, 1.4fr) minmax(0, 1fr) 170px; gap: 16px; align-items: center;
  padding: 0 26px;
}
.board-head { height: 48px; font: 600 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.board-body { display: grid; grid-template-columns: 1fr 1fr; }
.b-row { height: 66px; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.b-row:hover { background: var(--surface-2); }
.board-body .b-row:nth-child(odd) { border-right: 1px solid var(--line); }
.board-head { grid-template-columns: 90px minmax(0, 1.4fr) minmax(0, 1fr) 170px; }
@media (min-width: 1000px) {
  .board-head { display: none; }
  .b-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .b-row .b-reg { display: none; }
}
.flap {
  display: inline-flex; gap: 2px;
}
.flap span {
  width: 22px; height: 30px; display: grid; place-items: center; border-radius: 5px;
  background: var(--fg); color: var(--bg); font: 700 15px/1 var(--font-mono);
  position: relative; overflow: hidden;
}
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bg); opacity: 0.5; }
.b-country { font-weight: 600; font-size: 16px; }
.b-reg { color: var(--fg-3); font-size: 14px; }
.b-slots { justify-self: end; }
.board-note { margin-top: 16px; }
.board-note a { color: var(--ember); }
@media (max-width: 999px) {
  .board-body { grid-template-columns: 1fr; }
  .board-body .b-row:nth-child(odd) { border-right: 0; }
}
@media (max-width: 560px) {
  .board-head { display: none; }
  .b-row { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 0 16px; gap: 12px; }
  .b-reg { display: none; }
}


.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.faq-list details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font: 600 17px/1.35 var(--font-body);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-3) center / 14px no-repeat;
  background-image: linear-gradient(var(--fg), var(--fg)), linear-gradient(var(--fg), var(--fg));
  background-size: 12px 2px, 2px 12px; background-position: center;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--ember-soft); }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--fg-2); max-width: 60ch; }
.faq-list details[open] p { animation: faq-open 0.4s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; gap: 0; }
  .faq .section-head { position: static; }
}


.cta { padding-block: clamp(72px, 10vw, 140px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: var(--r-xl); padding: clamp(48px, 8vw, 100px) clamp(22px, 5vw, 60px);
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember-2) 100%);
  color: var(--ember-ink);
}
.cta-card h2 { margin: 0 auto; max-width: 14em; font: 800 clamp(32px, 5vw, 64px)/1.02 var(--font-display); letter-spacing: -0.045em; text-wrap: balance; }
.cta-card p { margin: 20px auto 0; max-width: 34em; font-size: 18px; opacity: 0.82; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-card .btn-primary { background: var(--ember-ink); color: var(--ember-2); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6); }
.cta-card .btn-ghost { border-color: color-mix(in srgb, var(--ember-ink) 35%, transparent); color: var(--ember-ink); }
.cta-card .btn-ghost:hover { background: color-mix(in srgb, var(--ember-ink) 10%, transparent); }
.cta-rings { position: absolute; left: 50%; top: 50%; z-index: -1; }
.cta-rings i { position: absolute; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ember-ink) 18%, transparent); transform: translate(-50%, -50%); animation: breathe 6s ease-in-out infinite; }
.cta-rings i:nth-child(1) { width: 320px; height: 320px; }
.cta-rings i:nth-child(2) { width: 560px; height: 560px; animation-delay: 0.6s; }
.cta-rings i:nth-child(3) { width: 820px; height: 820px; animation-delay: 1.2s; }
.cta-rings i:nth-child(4) { width: 1100px; height: 1100px; animation-delay: 1.8s; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.55; } }


.site-footer { border-top: 1px solid var(--line); padding-top: 56px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.footer-brand p { margin: 14px 0 0; max-width: 22em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h3 { margin: 0 0 14px; font: 600 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.footer-cols a { display: block; padding: 5px 0; text-decoration: none; color: var(--fg-2); font-size: 15px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--ember); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .bento > *, .plan, .step, .board, .board-note, .faq-list details, .cta-card {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes rise { from { transform: translateY(36px) scale(0.98); } }


@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 16px 56px; }
  .trace { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 16px; }
  .hero-title { font-size: clamp(36px, 11vw, 52px); }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 18px 28px; }
  .hero-facts dd { font-size: 24px; }
  .trace-card { padding: 14px; border-radius: 24px; }
  .hop { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 10px; }
  .hop-ic { width: 40px; height: 40px; border-radius: 12px; }
  .hop + .hop::before { left: 29px; }
  .hop + .hop::after { left: 26px; }
  .trace-spark { width: 110px; }
  .trace-rings i { left: -180px; top: -180px; width: 360px; height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .trace-rings, .cta-rings, .hop + .hop::after, .cf-line i { display: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
}


.plan-side { align-content: start; }
.plan-side h3 { font-size: 22px; }
.pay-facts { margin: 6px 0 0; display: grid; gap: 0; width: 100%; }
.pay-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pay-facts > div:last-child { border-bottom: 0; }
.pay-facts dt { font: 600 11.5px/1.6 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.pay-facts dd { margin: 0; color: var(--fg-2); font-size: 15px; }
.hero-title, .section-title, .cta-card h2 { letter-spacing: -0.02em; }
.hero-title { font-weight: 600; line-height: 1.02; }

.hero-blob { position: absolute; right: -40px; top: 10px; width: 520px; height: 950px; opacity: 1; z-index: -1; transform: rotate(14deg); }
.hero-blob svg { width: 100%; height: 100%; animation: blob-float 9s ease-in-out infinite; }
@keyframes blob-float { 50% { transform: translateY(-14px) rotate(-2deg); } }
.cta-blob { position: absolute; left: -40px; top: -60px; width: 260px; height: 480px; z-index: -1; opacity: 0.55; }
.cta-blob svg { width: 100%; height: 100%; }
@media (max-width: 1080px) { .hero-blob { right: -60px; top: 30px; width: 260px; height: 480px; opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .hero-blob svg { animation: none; } }


.how-inner > *, .faq-inner > *, .hero-inner > *, .step > div { min-width: 0; }
@media (max-width: 900px) {
  .how-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); }
}
.calc-gb { white-space: nowrap; }
.trace-head .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1080px) { .hero-blob { right: -150px; top: 40px; opacity: 0.22; } }
.plan-sk { min-height: 520px; }
.sk-plan { height: 100%; min-height: 480px; border-radius: 18px; }
.ticker-dup { display: contents; }
.pool-bar i { width: var(--w, 0%); }
@media (min-width: 901px) { .plans.single { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.plan-alt { gap: 12px; }
.plan-alt .plan-price-sm { margin: 0; }

.skeleton { border-radius: 12px; background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.plan-list li svg { color: var(--ember); flex: none; margin-top: 2px; width: 18px; height: 18px; stroke-width: 2.2; }


.legal-wrap { padding-block: 40px 80px; max-width: 860px; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.legal-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--fg-2); font-weight: 600; font-size: 14px; }
.legal-tabs a[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.legal h1 { margin: 0 0 18px; font: 700 clamp(28px, 4vw, 44px)/1.08 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.legal h2 { margin: 40px 0 12px; font: 600 21px/1.3 var(--font-display); scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--fg-2); line-height: 1.7; max-width: 70ch; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal-note { padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--fg) !important; }
.legal-intro { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-toc { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); }
.legal-toc ol { margin: 12px 0 0; padding-left: 0; list-style: none; columns: 2; column-gap: 24px; }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { color: var(--fg); text-decoration: none; font-size: 14.5px; }
.legal-toc a:hover { text-decoration: underline; }
.legal-src { margin-top: 40px; }
.legal-src a { color: var(--fg); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }




.flag {
  display: inline-block; flex: none; width: 24px; height: 16px; border-radius: 4px; object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px -2px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}
.flag-code { display: inline-grid; place-items: center; min-width: 24px; height: 16px; padding: 0 4px; border-radius: 4px; font-size: 10px; font-weight: 700; border: 1px solid var(--line-2); color: var(--fg); }
.tk { gap: 10px; }
.tk .flag { width: 22px; height: 15px; }


.b-flag { display: inline-flex; align-items: center; gap: 10px; }
.b-flag .flag { width: 30px; height: 20px; border-radius: 5px; }
.b-code { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--fg-3); }
.board-head, .b-row { grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1fr) 170px; }
@media (min-width: 1000px) { .b-row { grid-template-columns: 84px minmax(0, 1fr) auto; } }
@media (max-width: 560px) { .b-row { grid-template-columns: 76px minmax(0, 1fr) auto; height: 60px; } .b-country { font-size: 15px; } }

.board-body.in .b-row { animation: row-in 0.7s var(--ease-soft) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }


.plan > .calc, .plan > .plan-list, .plan > .btn-block, .plan > .pay-facts, .plan-head { justify-self: stretch; width: 100%; min-width: 0; }
@media (max-width: 560px) {
  .pay-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .calc-row { flex-wrap: wrap; }
  .calc-label { flex: 1 1 auto; min-width: 0; }
  .calc-sum { flex-direction: column; align-items: stretch; }
  .calc-parts { gap: 4px 8px; }
  .plan-price span { font-size: 40px; }
}


.big-num { display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }


@media (max-width: 420px) {
  .cdn-flow { gap: 6px; }
  .cf-node { padding: 10px 11px; font-size: 12px; }
}


.ht-line { animation: line-in 1.1s var(--ease-soft) both; }
@keyframes line-in { from { transform: translateY(0.18em); opacity: 0; } }
.trace-card { animation: card-in 1.2s var(--ease-soft) 0.2s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.hop { animation: hop-in 0.9s var(--ease-soft) both; }
@keyframes hop-in { from { opacity: 0; transform: translateX(8px); } }
.hop + .hop::after { animation: packet 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.cf-line i { animation: flow 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.cf-line + .cf-node + .cf-line i { animation-delay: 1.6s; }
.trace-rings i { animation-duration: 7s; }
@keyframes ring { 0% { transform: scale(0.5); opacity: 0.32; } 100% { transform: scale(1.3); opacity: 0; } }
.pool-bar i { animation: grow 1.6s var(--ease-soft) both; }
.step { transition: border-color 0.4s, transform 0.6s var(--ease-soft); }
.step:hover { transform: translateX(2px); }
.faq-list details[open] p { animation: faq-open 0.5s var(--ease-soft); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-3px); } }
.faq-list summary::after { transition: transform 0.5s var(--ease-soft), background-color 0.3s; }
.trace-spark path { transition: d 1.5s var(--ease-soft); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .bento > *, .plan, .step, .board, .board-note, .faq-list details, .cta-card {
      animation: rise var(--ease-soft) both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes rise { from { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .trace-spark path { transition: none; }
}

.ticker-track { animation-duration: 64s; }
@keyframes blob-float { 50% { transform: translateY(-6px); } }
.hero-blob svg { animation-duration: 12s; }
@keyframes bar-in { from { transform: scaleY(0.6); transform-origin: bottom; opacity: 0.2; } to { transform: scaleY(1); transform-origin: bottom; } }
.plan-list li span { min-width: 0; }
@media (max-width: 420px) { .rules { white-space: pre-wrap; overflow-wrap: anywhere; } }

@media (max-width: 1180px) { .main-nav { display: none; } .menu-btn { display: inline-grid; } }

@media (max-width: 400px) {
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 38px; height: 38px; border-radius: 11px; }
  .header-actions .lang-btn { min-width: 38px; padding: 0 8px; }
  .header-actions .btn-primary { padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 400px) { .site-header .logo-word { display: none; } }
@media (max-width: 560px) { .plan-list { grid-template-columns: minmax(0, 1fr); } .plan-list li { min-width: 0; } .plan-list li span { overflow-wrap: anywhere; } }

.plan-list li > span { flex: 1 1 auto; margin-top: 0; }
