@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #0b1f33;
  --ink-soft: #3a556d;
  --paper: #f3f8fc;
  --foam: #ffffff;
  --tide: #0e6b8a;
  --tide-deep: #084a63;
  --lagoon: #1aa6c1;
  --coral: #e85d4c;
  --sand: #d7e8f2;
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(14, 107, 138, 0.14);
  --shadow: 0 18px 40px rgba(8, 74, 99, 0.12);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
  --promo-gap: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 166, 193, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 93, 76, 0.12), transparent 55%),
    linear-gradient(180deg, #e9f4fa 0%, var(--paper) 38%, #eef6fb 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tide);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

.xb-wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.xb-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.xb-skip:focus {
  left: 12px;
  z-index: 100;
  background: var(--foam);
  padding: 8px 12px;
}

/* top promo */
.xb-promo {
  background: linear-gradient(90deg, #07384d, #0e6b8a 55%, #126f7a);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.xb-promo-inner {
  padding: 10px 0 6px;
}

.xb-promo-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin: 0 0 6px;
  text-align: center;
}

.xb-ad-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
}

.xb-ad-grid figure {
  margin: 0;
  width: 70px;
  text-align: center;
}

.xb-ad-grid img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  background: #fff;
}

.xb-ad-grid .caption {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.86);
  height: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xb-ad-grid a {
  text-decoration: none;
}

/* masthead */
.xb-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: var(--glass);
  border-bottom: 1px solid var(--line);
}

.xb-mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 12px;
}

.xb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.xb-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(14, 107, 138, 0.2);
}

.xb-brand strong {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.xb-brand span {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.xb-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.xb-burger i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s ease;
}

.xb-mast.is-open .xb-burger i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.xb-mast.is-open .xb-burger i:nth-child(2) {
  opacity: 0;
}

.xb-mast.is-open .xb-burger i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.xb-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 18px;
  box-shadow: var(--shadow);
}

.xb-mast.is-open .xb-nav {
  display: block;
}

.xb-nav a {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
}

.xb-nav a:hover,
.xb-nav a.is-active {
  background: rgba(26, 166, 193, 0.12);
  color: var(--tide-deep);
}

@media (min-width: 860px) {
  .xb-burger {
    display: none;
  }

  .xb-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }

  .xb-nav a {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* sticky download rail */
.xb-rail {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  display: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.xb-rail.is-show {
  display: block;
}

.xb-rail .xb-ad-grid figure {
  width: calc(20% - 6px);
  max-width: 72px;
}

.xb-rail .xb-ad-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.xb-rail .caption {
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .xb-rail .xb-ad-grid figure {
    width: calc(12.5% - 8px);
  }
}

/* hero */
.xb-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}

.xb-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(26, 166, 193, 0.28), transparent 68%);
  pointer-events: none;
}

.xb-hero-panel {
  position: relative;
  border-radius: 28px;
  padding: 28px 22px 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(231, 246, 252, 0.75)),
    linear-gradient(120deg, rgba(14, 107, 138, 0.08), rgba(232, 93, 76, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.xb-hero-panel::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1px;
  height: 70px;
  background:
    radial-gradient(120% 80% at 20% 100%, #0e6b8a 0%, transparent 55%),
    radial-gradient(100% 90% at 80% 100%, #1aa6c1 0%, transparent 50%);
  opacity: 0.9;
  pointer-events: none;
}

.xb-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tide);
  font-weight: 700;
  margin-bottom: 10px;
}

.xb-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  line-height: 1.28;
  font-weight: 900;
}

.xb-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 36em;
}

.xb-wave-mark {
  margin-top: 22px;
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1aa6c1, #f0c94d, #e85d4c);
  animation: xb-shimmer 3.2s ease-in-out infinite;
}

@keyframes xb-shimmer {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.85;
  }
  50% {
    transform: scaleX(1.18);
    opacity: 1;
  }
}

/* crumbs */
.xb-crumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.xb-crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.xb-crumb a:hover {
  color: var(--tide);
}

.xb-crumb span {
  color: var(--ink);
}

/* content blocks */
.xb-main {
  padding: 10px 0 48px;
}

.xb-block {
  margin: 28px 0;
  animation: xb-rise 0.7s ease both;
}

@keyframes xb-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.xb-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3.8vw, 1.7rem);
  line-height: 1.35;
}

.xb-block h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
  color: var(--tide-deep);
}

.xb-block p {
  margin: 0 0 14px;
  color: var(--ink);
}

.xb-plain {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}

.xb-split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.xb-split.is-flip .xb-media {
  order: -1;
}

@media (min-width: 780px) {
  .xb-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }

  .xb-split.is-flip .xb-media {
    order: 0;
  }

  .xb-split.is-flip {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .xb-split.is-flip .xb-media {
    order: 2;
  }
}

.xb-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.xb-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(8, 74, 99, 0.16);
}

.xb-media img {
  width: 100%;
  display: block;
}

.xb-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}

.xb-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 166, 193, 0.12);
  color: var(--tide-deep);
  font-size: 12px;
  font-weight: 600;
}

.xb-mosaic {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .xb-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

.xb-tile {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(8, 74, 99, 0.08);
  transition: transform 0.3s ease;
}

.xb-tile:hover {
  transform: translateY(-3px);
}

.xb-tile img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 420px;
}

.xb-tile-body {
  padding: 14px 14px 16px;
}

.xb-tile-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.xb-tile-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.xb-quote {
  border-left: 4px solid var(--lagoon);
  padding: 8px 0 8px 16px;
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.xb-feature-band {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .xb-feature-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

.xb-feature {
  background: linear-gradient(180deg, #fff, #f2f9fc);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.xb-feature strong {
  display: block;
  margin-bottom: 6px;
  color: var(--tide-deep);
}

.xb-feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.xb-legal {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 28px;
}

.xb-legal h1 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.xb-legal h2 {
  margin: 26px 0 10px;
  font-size: 1.15rem;
  color: var(--tide-deep);
}

.xb-legal p,
.xb-legal li {
  color: var(--ink);
  font-size: 0.96rem;
}

.xb-legal ul {
  padding-left: 1.2em;
}

.xb-status {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.xb-status-card {
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 24px;
  box-shadow: var(--shadow);
}

.xb-status-card .code {
  font-family: Syne, sans-serif;
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1;
  background: linear-gradient(120deg, #0e6b8a, #1aa6c1 45%, #e85d4c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.xb-status-card h1 {
  margin: 10px 0 8px;
  font-size: 1.4rem;
}

.xb-status-card p {
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.xb-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tide), var(--lagoon));
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(14, 107, 138, 0.28);
}

.xb-link-btn:hover {
  filter: brightness(1.05);
}

/* footer */
.xb-foot {
  margin-top: 20px;
  background: linear-gradient(180deg, #0a3d52, #072f40);
  color: rgba(255, 255, 255, 0.88);
  padding: 28px 0 36px;
}

.xb-foot a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.xb-foot a:hover {
  color: #9fe6f5;
}

.xb-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.xb-foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.xb-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0 18px;
  font-size: 14px;
}

.xb-foot small {
  display: block;
  opacity: 0.72;
  font-size: 12px;
}

.xb-note {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
