:root {
  --bg: #f6f9fc;
  --panel: #ffffff;
  --panel-soft: #eef6ff;
  --text: #0b1f3a;
  --muted: #5b6b82;
  --line: #d9e5f2;
  --blue: #1677ff;
  --blue-strong: #075ee4;
  --cyan: #18c7d8;
  --green: #16b89a;
  --orange: #ff8a3d;
  --shadow: 0 24px 70px rgba(12, 43, 82, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  background:
    radial-gradient(circle at top right, rgba(24, 199, 216, 0.14), transparent 32rem),
    linear-gradient(180deg, #fafdff 0%, var(--bg) 44%, #fff 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(217, 229, 242, 0.86);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(12, 43, 82, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #0d2a52, #0c6dba);
}

.brand-mark img {
  width: 94px;
  height: auto;
}

.brand-name {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 15px;
  color: #243851;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--blue);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: #eef5fd;
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero {
  --hero-card-x: 0px;
  --hero-card-y: 0px;
  --hero-grid-x: 0px;
  --hero-grid-y: 0px;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  padding-top: 116px;
}

.hero::before {
  position: absolute;
  inset: -20% 0 auto -25%;
  height: 220px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 40%, rgba(22, 119, 255, 0.12) 48%, rgba(24, 199, 216, 0.14) 52%, transparent 61%);
  filter: blur(16px);
  opacity: 0.75;
  animation: heroSweep 14s linear infinite;
}

.hero::after {
  position: absolute;
  inset: 84px 0 auto 54%;
  z-index: -1;
  width: 420px;
  height: 420px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(22, 119, 255, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(24, 199, 216, 0.18), transparent 34%),
    conic-gradient(from 140deg, transparent 0 24%, rgba(22, 119, 255, 0.2) 28%, transparent 34% 68%, rgba(24, 199, 216, 0.18) 74%, transparent 82% 100%);
  opacity: 0.72;
  transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0);
  animation: heroOrbit 18s linear infinite;
  mask-image: radial-gradient(circle, #000 0 56%, transparent 72%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: gridDrift 20s linear infinite;
  mask-image: linear-gradient(180deg, #000, transparent 68%);
  transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0);
}

.hero-bg-grid::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.44) 50%, transparent 100%);
  background-size: 100% 220px;
  opacity: 0.34;
  mix-blend-mode: screen;
  animation: gridPulse 12s linear infinite;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
}

.hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 38px rgba(22, 119, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button-danger {
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.22);
  background: rgba(255, 245, 244, 0.92);
}

.button-danger:hover {
  color: #fff;
  border-color: #d92d20;
  background: #d92d20;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 9px 12px;
  color: #21415f;
  font-size: 14px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.visual-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: #0b1625;
  box-shadow: var(--shadow);
  transform: translate3d(var(--hero-card-x), var(--hero-card-y), 0) rotateX(var(--hero-tilt-y)) rotateY(var(--hero-tilt-x));
  transform-style: preserve-3d;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.visual-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 199, 216, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(24, 199, 216, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(120deg, rgba(2, 16, 37, 0.2), rgba(24, 199, 216, 0.16)),
    linear-gradient(180deg, transparent, rgba(2, 16, 37, 0.64));
  background-size: 54px 54px, 54px 54px, auto, auto;
  background-position: 0 0;
  animation: visualGridShift 16s linear infinite;
}

.visual-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateY(-120%);
  animation: cardScan 10s ease-in-out infinite;
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

.hero-visual:hover .visual-card {
  transform: translate3d(var(--hero-card-x), calc(var(--hero-card-y) - 4px), 0) rotateX(var(--hero-tilt-y)) rotateY(var(--hero-tilt-x));
  box-shadow: 0 30px 74px rgba(12, 43, 82, 0.18);
}

.hero-visual:hover .visual-card img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.02);
}

.visual-overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(10, 27, 50, 0.72);
  backdrop-filter: blur(12px);
}

.visual-overlay span {
  color: #9be9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.visual-overlay strong {
  font-size: 18px;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: #163150;
  font-weight: 800;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(11, 31, 58, 0.14);
  backdrop-filter: blur(10px);
  transform: translateZ(0);
  animation: floatPanel 6.5s ease-in-out infinite;
}

.panel-a {
  top: 36px;
  left: -24px;
  animation-delay: 0s;
}

.panel-b {
  top: 170px;
  right: -20px;
  animation-delay: 1.2s;
}

.panel-c {
  bottom: -4px;
  left: 42px;
  animation-delay: 2.1s;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.section-heading p,
.about-copy p,
.contact p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-card,
.solution-card,
.timeline article,
.contact-card,
.stack-node,
.about-image {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(33, 65, 95, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease,
    background 220ms ease;
}

.capability-card {
  position: relative;
  min-height: 390px;
  padding: 26px;
  overflow: hidden;
}

.capability-media {
  position: relative;
  margin: -26px -26px 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(22, 119, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(237, 247, 255, 0.9), rgba(255, 255, 255, 0.92)),
    #fff;
}

.capability-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.7) 48%, rgba(24, 199, 216, 0.22) 52%, transparent 76%),
    linear-gradient(180deg, transparent 52%, rgba(4, 22, 43, 0.08));
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 220ms ease,
    transform 700ms ease;
}

.capability-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 620ms ease,
    filter 620ms ease;
}

.capability-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
}

.capability-card.highlighted {
  border-color: rgba(22, 119, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(237, 247, 255, 0.92), rgba(255, 255, 255, 0.96)),
    #fff;
}

.capability-card.highlighted::before {
  opacity: 1;
}

.capability-card:hover .capability-media::after {
  opacity: 1;
  transform: translateX(120%);
}

.capability-card:hover .capability-media img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.03);
}

.capability-card:hover,
.solution-card:hover,
.timeline article:hover,
.stack-node:hover,
.about-image:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(33, 65, 95, 0.12);
  border-color: rgba(22, 119, 255, 0.28);
}

.card-icon,
.solution-card > .lucide {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.capability-card .card-icon {
  display: none;
}

.card-icon .lucide,
.solution-card > .lucide {
  width: 23px;
  height: 23px;
}

.capability-card h3,
.solution-card h3,
.timeline h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.capability-card p,
.solution-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.capability-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #2d4863;
  list-style: none;
}

.capability-card li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.capability-card li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

.solution-band,
.partner-band {
  background:
    linear-gradient(180deg, rgba(239, 247, 255, 0.86), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 15% 20%, rgba(22, 119, 255, 0.12), transparent 26rem);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-card {
  min-height: 255px;
  padding: 26px;
}

.solution-card > .lucide {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.solution-card:hover > .lucide {
  transform: scale(1.06);
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.22);
}

.architecture-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: center;
}

.stack-map {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.stack-map::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 24%, rgba(22, 119, 255, 0.1), transparent 16%),
    radial-gradient(circle at 76% 74%, rgba(24, 199, 216, 0.1), transparent 18%);
  pointer-events: none;
}

.stack-node {
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid #dceaf7;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.stack-node .lucide {
  width: 25px;
  height: 25px;
  color: var(--blue);
}

.stack-node strong {
  font-size: 18px;
}

.stack-node span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.stack-link {
  position: relative;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.stack-link::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.7) 22%, rgba(24, 199, 216, 0.95) 58%, rgba(22, 119, 255, 0.98) 100%);
  box-shadow: 0 0 16px rgba(24, 199, 216, 0.78);
  transform: translateY(-50%);
  animation: stackFlowX 2.8s linear infinite;
}

.stack-link:nth-of-type(2)::after {
  animation-delay: 0s;
}

.stack-link:nth-of-type(4)::after {
  animation-delay: 0.9s;
}

.stack-link:nth-of-type(6)::after {
  animation-delay: 1.8s;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before,
.timeline::after {
  position: absolute;
  top: 50px;
  right: 9%;
  left: 9%;
  height: 2px;
  content: "";
  pointer-events: none;
}

.timeline::before {
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.08), rgba(24, 199, 216, 0.3), rgba(22, 119, 255, 0.08));
}

.timeline::after {
  width: 90px;
  right: auto;
  background: linear-gradient(90deg, transparent, rgba(24, 199, 216, 0.96), transparent);
  filter: drop-shadow(0 0 10px rgba(24, 199, 216, 0.66));
  animation: timelineFlow 4.8s ease-in-out infinite;
}

.timeline article {
  position: relative;
  z-index: 1;
  padding: 26px;
  overflow: hidden;
}

.timeline article::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 16%, rgba(22, 119, 255, 0.11), transparent 22%),
    linear-gradient(135deg, rgba(24, 199, 216, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.timeline article:hover::before {
  opacity: 1;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.partner-marquee {
  --partner-gap: 14px;
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.partner-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--partner-gap);
  min-width: max-content;
  animation: partnerMarquee 30s linear infinite;
  will-change: transform;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 178px;
  width: 178px;
  height: 84px;
  padding: 16px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(33, 65, 95, 0.06);
  color: #7d8790;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    background 220ms ease;
}

.partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) saturate(0.12) opacity(0.58);
  transition: filter 220ms ease, opacity 220ms ease;
}

.partner-logo span {
  position: absolute;
  inset: 8px 12px;
  display: none;
  place-items: center;
  text-align: center;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 16px);
  overflow: hidden;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.partner-logo.is-fallback img {
  display: none;
}

.partner-logo.is-fallback span {
  display: grid;
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.03);
  color: var(--partner-color, var(--blue));
  border-color: color-mix(in srgb, var(--partner-color, var(--blue)) 35%, transparent);
  background: #fff;
  box-shadow: 0 18px 34px rgba(33, 65, 95, 0.1);
}

.partner-logo:hover img {
  filter: grayscale(0) saturate(1.05) opacity(1);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.about-image {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(24, 199, 216, 0.16)),
    #f4f9ff;
}

.about-image::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: var(--radius);
}

.about-image img {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0 auto;
  transition: transform 360ms ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-tags span {
  padding: 10px 12px;
  color: #21415f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-actions {
  margin-top: 28px;
}

.about-page {
  background:
    radial-gradient(circle at 82% 7%, rgba(24, 199, 216, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f6f9fc 42%, #fff 100%);
}

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(2, 13, 27, 0.9) 0%, rgba(7, 44, 77, 0.78) 48%, rgba(6, 67, 101, 0.48) 100%),
    url("assets/site/about-hero.jpeg") center/cover;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(24, 199, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 199, 216, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.72), transparent 90%);
  animation: gridDrift 24s linear infinite;
}

.about-hero-bg {
  position: absolute;
  top: 80px;
  right: max(32px, calc((100vw - 1180px) / 2));
  z-index: -1;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(155, 233, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(24, 199, 216, 0.34), transparent 38%),
    conic-gradient(from 90deg, transparent 0 18%, rgba(24, 199, 216, 0.46) 28%, transparent 36% 72%, rgba(22, 119, 255, 0.34) 82%, transparent 90% 100%);
  filter: blur(0.2px);
  opacity: 0.88;
  animation: heroOrbit 20s linear infinite;
  mask-image: radial-gradient(circle, #000 0 60%, transparent 74%);
}

.about-hero-inner {
  position: relative;
  width: min(920px, var(--container));
  padding: 86px 0 76px;
  text-align: center;
}

.about-hero .eyebrow {
  color: #9be9ff;
}

.about-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
}

.about-hero p {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(239, 249, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.about-hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.about-tab-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  max-width: 980px;
  gap: 8px;
  margin: -32px auto 0;
  padding: 8px;
  border: 1px solid rgba(209, 226, 242, 0.88);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(20, 54, 86, 0.1);
  backdrop-filter: blur(18px);
}

.about-tab-nav a {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  color: #40566d;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.about-tab-nav a:hover {
  color: var(--blue);
  background: rgba(22, 119, 255, 0.06);
}

.about-tab-nav a.is-active {
  color: var(--blue);
  background: linear-gradient(180deg, rgba(235, 247, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.16), 0 10px 24px rgba(22, 119, 255, 0.12);
}

.about-tab-nav a.is-active::after {
  position: absolute;
  right: 22%;
  bottom: 9px;
  left: 22%;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.about-profile,
.about-history,
.about-join {
  scroll-margin-top: 150px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 76px;
}

.about-stat-grid div {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 26px 18px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(22, 119, 255, 0.16), rgba(24, 199, 216, 0.22)) border-box;
  box-shadow: 0 16px 38px rgba(33, 65, 95, 0.05);
}

.about-stat-grid strong {
  color: #3498db;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.95;
}

.about-stat-grid span {
  color: #4b596b;
  font-size: 18px;
}

.about-story {
  max-width: 980px;
  margin: 0 auto;
  color: #4b596b;
  font-size: 21px;
  line-height: 1.95;
}

.about-story > p {
  margin: 0 0 56px;
}

.about-story article + article {
  margin-top: 48px;
}

.about-story h2 {
  margin: 0 0 12px;
  color: #35445a;
  font-size: 28px;
  font-weight: 500;
}

.about-story p {
  margin: 0;
}

.about-history {
  background:
    linear-gradient(180deg, #fff 0%, rgba(239, 247, 255, 0.72) 100%),
    radial-gradient(circle at 80% 16%, rgba(24, 199, 216, 0.12), transparent 26rem);
}

.history-shell {
  max-width: 980px;
}

.history-list {
  display: grid;
  gap: 58px;
}

.history-list article {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
}

.history-list article::before {
  position: absolute;
  top: 18px;
  bottom: -44px;
  left: 186px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(22, 119, 255, 0.38), rgba(24, 199, 216, 0.08));
}

.history-list article:last-child::before {
  display: none;
}

.history-list h3 {
  margin: 0;
  color: #3498db;
  font-size: 40px;
  line-height: 1.1;
}

.history-list ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: #46566b;
  font-size: 20px;
  line-height: 1.72;
  list-style: none;
}

.history-list li {
  position: relative;
  padding-left: 24px;
}

.history-list li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #52606f;
}

.history-list li span {
  display: inline-block;
  min-width: 54px;
  color: #334155;
  font-weight: 700;
}

.join-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 0;
  align-items: stretch;
  max-width: 1180px;
  overflow: hidden;
  border: 1px solid rgba(22, 119, 255, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.join-contact-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: 620px;
  padding: 72px 62px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 18, 27, 0.86), rgba(5, 18, 27, 0.88)),
    url("assets/site/about-park.png") center bottom/cover;
}

.join-contact-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(24, 199, 216, 0.08), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
}

.join-contact-panel img {
  width: 260px;
  margin-bottom: 58px;
}

.join-contact-panel dl {
  display: grid;
  gap: 28px;
  margin: 0;
}

.join-contact-panel dl div {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.join-contact-panel dt {
  margin-bottom: 12px;
  color: rgba(226, 240, 249, 0.72);
  font-size: 17px;
}

.join-contact-panel dd {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.7;
}

.join-contact-panel dd a:hover {
  color: #9be9ff;
}

.join-hours {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  color: rgba(226, 240, 249, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.join-form-area {
  display: grid;
  align-content: center;
  min-height: 620px;
  padding: 72px 70px;
}

.join-form-area h2 {
  max-width: 720px;
  margin: 0;
  color: #202938;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.join-form-area > strong {
  margin-top: 8px;
  color: #2b3342;
  font-size: 36px;
  font-weight: 500;
}

.join-form-area p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.join-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 34px;
}

.join-role-tags span {
  padding: 8px 12px;
  color: #21415f;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.join-form {
  display: grid;
  gap: 18px;
}

.join-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.join-form label {
  display: grid;
  gap: 8px;
}

.join-form label span {
  color: #65758b;
  font-size: 14px;
  font-weight: 700;
}

.join-form input,
.join-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  color: #173451;
  font: inherit;
  background: #edf2f7;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.join-form input {
  height: 56px;
  padding: 0 18px;
}

.join-form textarea {
  min-height: 190px;
  resize: vertical;
  padding: 17px 18px;
}

.join-form input::placeholder,
.join-form textarea::placeholder {
  color: #9aa7b5;
}

.join-form input:focus,
.join-form textarea:focus {
  border-color: rgba(22, 119, 255, 0.36);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.08);
}

.join-form .button {
  justify-self: center;
  min-width: 170px;
  margin-top: 2px;
}

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 39, 76, 0.94), rgba(12, 96, 150, 0.9)),
    url("assets/site/hero-visual.jpeg") center/cover;
}

.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
  background-size: 180% 100%;
  opacity: 0.22;
  animation: contactSweep 16s linear infinite;
  pointer-events: none;
}

.contact::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  pointer-events: none;
}

.contact .eyebrow,
.contact .section-heading p,
.contact p {
  color: #d5eeff;
}

.contact .eyebrow::before {
  background: linear-gradient(90deg, var(--cyan), #fff);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.contact-card a,
.contact-card p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  color: #173451;
  line-height: 1.7;
}

.contact-card .lucide {
  margin-top: 3px;
  color: var(--blue);
}

.contact-card a:hover span {
  color: var(--blue-strong);
}

.contact-card a:hover .lucide,
.contact-card p:hover .lucide {
  transform: translateY(-1px);
}

.site-footer {
  color: #d7e6f4;
  background: #0b1625;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #95a9bd;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #b9cce0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 18px 0 28px;
  color: #91a6bb;
  font-size: 13px;
  border-top: 1px solid rgba(185, 204, 224, 0.16);
}

.footer-legal a:hover {
  color: #fff;
}

.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition:
    transform 620ms ease,
    filter 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  filter: none;
}

.reveal.is-visible {
  transform: translateY(0);
  filter: blur(0);
}

.hero-copy .reveal,
.hero-visual.reveal {
  transform: translateY(30px);
}

.hero-copy .reveal.is-visible,
.hero-visual.reveal.is-visible {
  transform: translateY(0);
}

.has-motion .hero-copy > *:nth-child(1) {
  transition-delay: 40ms;
}

.has-motion .hero-copy > *:nth-child(2) {
  transition-delay: 130ms;
}

.has-motion .hero-copy > *:nth-child(3) {
  transition-delay: 220ms;
}

.has-motion .hero-actions {
  transition-delay: 300ms;
}

.has-motion .hero-proof {
  transition-delay: 380ms;
}

@keyframes heroSweep {
  0% {
    transform: translateX(-12%);
  }
  50% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-12%);
  }
}

@keyframes heroOrbit {
  0% {
    transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0) rotate(0deg);
  }
  100% {
    transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0) rotate(360deg);
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 44px 44px, 44px 44px;
  }
}

@keyframes visualGridShift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 54px 54px, 54px 54px, 0 0, 0 0;
  }
}

@keyframes gridPulse {
  0% {
    transform: translateY(-18%);
  }
  100% {
    transform: translateY(18%);
  }
}

@keyframes timelineFlow {
  0% {
    left: 9%;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    left: calc(91% - 90px);
    opacity: 0;
  }
}

@keyframes floatPanel {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes cardScan {
  0% {
    transform: translateY(-120%);
  }
  40% {
    transform: translateY(0%);
  }
  60% {
    transform: translateY(120%);
  }
  100% {
    transform: translateY(120%);
  }
}

@keyframes stackFlowX {
  0% {
    left: -4px;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 4px);
    opacity: 0;
  }
}

@keyframes partnerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - (var(--partner-gap) / 2)), 0, 0);
  }
}

@keyframes contactSweep {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-inner,
  .architecture-inner,
  .about-inner,
  .join-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 42px;
  }

  .capability-grid,
  .solution-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-inner {
    gap: 0;
  }

  .join-contact-panel,
  .join-form-area {
    min-height: auto;
    padding: 48px;
  }

  .join-contact-panel img {
    width: 220px;
    margin-bottom: 36px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 32px, 1180px);
  }

  .section-pad {
    padding: 64px 0;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 16px;
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark img {
    width: 98px;
    max-width: none;
  }

  .home-origin .brand-mark,
  .about-origin .brand-mark,
  .articles-page .brand-mark,
  .article-page .brand-mark {
    width: 112px;
    height: 36px;
  }

  .home-origin .brand-mark img,
  .about-origin .brand-mark img,
  .articles-page .brand-mark img,
  .article-page .brand-mark img {
    width: 94px;
    max-width: 100%;
  }

  .brand-name {
    font-size: 16px;
  }

  .site-nav {
    top: 66px;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero-inner {
    padding: 80px 0 68px;
  }

  .about-hero h1 {
    font-size: 38px;
  }

  .about-hero p {
    font-size: 16px;
  }

  .about-hero-actions {
    display: grid;
  }

  .about-hero-bg {
    top: 46px;
    right: -84px;
    width: 260px;
  }

  .about-tab-nav {
    top: 66px;
    grid-template-columns: repeat(3, 1fr);
    width: calc(100% - 24px);
    max-width: none;
    margin-top: -18px;
    padding: 6px;
    border-radius: 9px;
  }

  .about-tab-nav a {
    min-height: 50px;
    padding: 0 8px;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .section-heading p,
  .about-copy p,
  .contact p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-card {
    height: 330px;
  }

  .floating-panel {
    position: static;
    margin: 10px 8px 0 0;
  }

  .capability-grid,
  .solution-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .about-stat-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 48px;
  }

  .about-stat-grid div {
    padding: 22px 16px;
  }

  .about-stat-grid strong {
    font-size: 48px;
  }

  .about-story {
    font-size: 17px;
    line-height: 1.85;
  }

  .about-story h2 {
    font-size: 23px;
  }

  .history-list {
    gap: 42px;
  }

  .history-list article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .history-list article::before {
    display: none;
  }

  .history-list h3 {
    font-size: 34px;
  }

  .history-list ul {
    font-size: 16px;
  }

  .history-list li span {
    min-width: 46px;
  }

  .join-inner {
    width: min(100vw - 32px, 1180px);
  }

  .join-contact-panel,
  .join-form-area {
    padding: 34px 22px;
  }

  .join-contact-panel img {
    width: 190px;
    margin-bottom: 28px;
  }

  .join-contact-panel dl {
    gap: 20px;
  }

  .join-contact-panel dl div {
    padding-bottom: 18px;
  }

  .join-contact-panel dd {
    font-size: 17px;
  }

  .join-hours {
    font-size: 15px;
  }

  .join-form-area h2 {
    font-size: 38px;
  }

  .join-form-area > strong {
    font-size: 30px;
  }

  .join-form-area p {
    font-size: 16px;
  }

  .join-form-row {
    grid-template-columns: 1fr;
  }

  .join-form textarea {
    min-height: 160px;
  }

  .timeline::before,
  .timeline::after {
    display: none;
  }

  .capability-card {
    min-height: auto;
  }

  .stack-map {
    grid-template-columns: 1fr;
  }

  .stack-link {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .stack-link::after {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    animation-name: stackFlowY;
  }

  .partner-marquee {
    --partner-gap: 10px;
    padding: 6px 0;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }

  .partner-track {
    animation-duration: 24s;
  }

  .partner-logo {
    flex-basis: 142px;
    width: 142px;
    height: 70px;
    padding: 12px 16px;
  }

  .partner-logo span {
    inset: 7px 10px;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 14px);
    font-size: 12px;
    line-height: 1.2;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    padding: 28px 0;
  }
}

@keyframes stackFlowY {
  0% {
    top: -4px;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 4px);
    opacity: 0;
  }
}

/* Original-site aligned homepage */
.home-origin {
  background: #fff;
}

.home-origin .site-header {
  position: fixed;
  right: 0;
  left: 0;
  color: #fff;
  border-bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.home-origin .site-header.is-scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.home-origin .site-nav {
  color: inherit;
}

.home-origin .brand-name {
  color: inherit;
}

.origin-hero {
  position: relative;
  height: 592px;
  overflow: hidden;
  background: #061220;
}

.origin-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 48%),
    url("assets/site/hero-visual.jpeg") center/cover;
  transform: scale(1.02);
  animation: originHeroZoom 16s ease-in-out infinite alternate;
}

.origin-hero-dot {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.origin-about {
  background: #fff;
}

.origin-about-inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.origin-about-copy {
  position: relative;
  padding-top: 30px;
}

.origin-watermark {
  position: absolute;
  top: -20px;
  left: -4px;
  color: rgba(0, 0, 0, 0.06);
  font-size: 106px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.origin-about h1 {
  position: relative;
  margin: 0 0 56px 120px;
  color: #111;
  font-size: 30px;
}

.origin-about h1::after {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 66px;
  height: 3px;
  content: "";
  background: #21b8e8;
  box-shadow: 82px 0 0 #c9c9c9, 164px 0 0 #c9c9c9, 246px 0 0 #c9c9c9;
}

.origin-about p {
  margin: 0 0 28px;
  color: #111;
  font-size: 18px;
  line-height: 1.78;
  text-indent: 2em;
}

.origin-about-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 54px;
  text-align: center;
}

.origin-about-icons div {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.origin-about-icons .lucide {
  width: 90px;
  height: 90px;
  padding: 23px;
  color: #fff;
  border-radius: 50%;
  background: #20b7e8;
}

.origin-about-icons strong {
  color: #111;
  font-size: 16px;
}

.origin-about-visual {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 470px;
}

.origin-about-visual img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.origin-about-visual span {
  position: absolute;
  top: 150px;
  right: -18px;
  color: rgba(0, 0, 0, 0.08);
  font-size: 32px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.origin-slogan {
  padding: 72px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 26, 41, 0.82), rgba(10, 26, 41, 0.82)),
    url("assets/site/about-hero.jpeg") center/cover;
}

.origin-slogan h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0;
}

.origin-slogan p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0;
}

.origin-section-title {
  margin-bottom: 56px;
  text-align: center;
}

.origin-section-title h2 {
  margin: 0;
  color: #111;
  font-size: 40px;
  letter-spacing: 0;
}

.origin-section-title p {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
  text-transform: uppercase;
}

.origin-tech-grid {
  display: grid;
  gap: 76px;
}

.origin-tech-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
  align-items: center;
}

.origin-tech-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.origin-tech-card div {
  color: #111;
}

.origin-tech-card-media-left div,
.origin-tech-card-media-right div {
  text-align: left;
}

.origin-tech-card-media-left:nth-child(1) div,
.origin-tech-card-media-left:nth-child(3) div {
  text-align: right;
}

.origin-tech-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
}

.origin-tech-en {
  margin: 0 0 34px !important;
  color: #666 !important;
  font-size: 13px !important;
  text-transform: uppercase;
}

.origin-tech-card p {
  margin: 0 0 13px;
  color: #111;
  font-size: 18px;
  line-height: 1.55;
}

.origin-partners {
  background: #f6f8fb;
}

.origin-partners .partner-marquee {
  margin-top: -8px;
}

.origin-footer {
  color: #b9c6d4;
  background: #1f242b;
}

.origin-footer-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding: 58px 0;
}

.origin-footer-brand img {
  width: 210px;
  margin-bottom: 20px;
}

.origin-footer-brand p,
.origin-footer-links p {
  color: #8f9baa;
  line-height: 1.7;
}

.origin-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.origin-socials span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.origin-footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.origin-footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.origin-footer-links strong {
  color: #fff;
  margin-bottom: 8px;
}

.origin-footer-links a {
  color: #a7b4c2;
}

.origin-footer-links a:hover {
  color: #fff;
}

.origin-legal {
  justify-content: center;
  padding-bottom: 34px;
  color: #989898;
  border-color: rgba(255, 255, 255, 0.08);
}

.home-articles {
  background:
    linear-gradient(180deg, #fff 0%, #f6f8fb 100%),
    radial-gradient(circle at 80% 20%, rgba(24, 199, 216, 0.12), transparent 24rem);
}

.home-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-article-grid.has-featured {
  grid-template-columns: repeat(3, 1fr);
}

.home-featured-card {
  grid-column: 1 / -1;
  min-height: 260px;
}

.home-article-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.about-origin {
  background: #fff;
}

.about-origin-header {
  position: fixed;
  right: 0;
  left: 0;
  color: #fff;
  border-bottom: 0;
  background: rgba(0, 0, 0, 0.42);
}

.about-origin-header.is-scrolled,
.about-origin-header.is-open {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.about-origin-header .site-nav,
.about-origin-header .brand-name {
  color: inherit;
}

.about-origin .about-hero {
  min-height: 450px;
  padding-top: 72px;
  background:
    linear-gradient(90deg, rgba(0, 10, 18, 0.86), rgba(0, 36, 56, 0.68)),
    url("assets/site/about-origin-hero.png") center/cover;
}

.about-origin .about-hero-inner {
  padding: 86px 0 78px;
}

.about-origin .about-hero h1 {
  max-width: 1180px;
  font-size: clamp(30px, 3.1vw, 42px);
}

.about-origin .about-hero p {
  margin-top: 30px;
  font-size: 22px;
}

.about-hero-dot {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.about-origin .about-tab-nav {
  top: 72px;
  max-width: 1180px;
  width: min(100vw - 48px, 1180px);
}

.about-origin .about-profile {
  padding-top: 96px;
}

.about-origin .about-history {
  background:
    linear-gradient(180deg, #fff 0%, rgba(246, 248, 251, 0.94) 100%),
    radial-gradient(circle at 14% 20%, rgba(22, 119, 255, 0.1), transparent 22rem);
}

.about-origin .history-list li span {
  min-width: 92px;
}

.about-origin-footer {
  padding: 82px 0 24px;
  background: #fff;
}

.about-origin-footer .footer-legal {
  justify-content: center;
  color: #989898;
  border-top: 0;
}

.about-origin-legal-extra {
  padding-top: 8px;
}

@keyframes originHeroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.07);
  }
}

/* Article module */
.article-list-hero {
  padding: 132px 0 76px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(4, 17, 30, 0.92), rgba(8, 72, 108, 0.75)),
    url("assets/site/about-hero.jpeg") center/cover;
}

.article-list-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
}

.article-list-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.article-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-categories button,
.editor-block-toolbar button {
  min-height: 38px;
  padding: 0 14px;
  color: #21415f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.article-categories button.is-active {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-featured {
  margin-bottom: 42px;
}

.article-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  overflow: hidden;
  min-height: 330px;
  padding: 24px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(4, 17, 30, 0.94), rgba(8, 72, 108, 0.82)),
    radial-gradient(circle at 88% 16%, rgba(24, 199, 216, 0.38), transparent 24rem);
  box-shadow: 0 28px 70px rgba(12, 43, 82, 0.18);
}

.article-featured-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.article-featured-card div {
  display: grid;
  align-content: center;
}

.article-featured-card strong {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #08213c;
  border-radius: 999px;
  background: #9be9ff;
}

.article-featured-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.article-featured-card h2 {
  margin: 14px 0 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.article-featured-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.article-latest-section,
.article-rest-section {
  margin-top: 44px;
}

.article-subhead {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.article-subhead h2 {
  margin: 0;
  font-size: 28px;
}

.article-subhead p {
  margin: 0;
  color: var(--muted);
}

.article-row-list {
  display: grid;
  gap: 12px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.article-row:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 16px 34px rgba(33, 65, 95, 0.08);
}

.article-row span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.article-row h3 {
  margin: 8px 0;
  font-size: 21px;
  line-height: 1.35;
}

.article-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.article-row .lucide {
  color: var(--blue);
}

.article-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.article-pagination button {
  min-height: 38px;
  padding: 0 14px;
  color: #21415f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.article-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.article-pagination span {
  color: var(--muted);
  font-weight: 800;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(33, 65, 95, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 24px 52px rgba(33, 65, 95, 0.12);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card span,
.article-card h2,
.article-card p {
  display: block;
  margin-right: 22px;
  margin-left: 22px;
}

.article-card span {
  margin-top: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.article-card h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.article-card p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.article-empty {
  padding: 38px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.article-detail-shell {
  padding: 120px 0 80px;
}

.article-detail {
  max-width: 880px;
}

.article-detail-head {
  text-align: center;
}

.article-detail-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.article-detail-head h1 {
  margin: 16px 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.18;
}

.article-detail-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.article-detail-head small {
  color: #7c8ca0;
}

.article-cover {
  width: 100%;
  margin: 42px 0;
  border-radius: var(--radius);
}

.article-content {
  color: #283a50;
  font-size: 18px;
  line-height: 1.9;
}

.article-content h2 {
  margin: 42px 0 16px;
  color: var(--text);
  font-size: 30px;
}

.article-content p,
.article-content ul,
.article-content blockquote,
.article-content pre,
.article-content figure {
  margin: 0 0 24px;
}

.article-content ul {
  padding-left: 1.2em;
}

.article-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: #f0f7ff;
}

.article-content pre {
  overflow: auto;
  padding: 18px;
  color: #d7e6f4;
  border-radius: var(--radius);
  background: #0b1625;
}

.article-content figure img {
  width: 100%;
  border-radius: var(--radius);
}

.article-content figcaption {
  margin-top: 10px;
  color: #7c8ca0;
  font-size: 14px;
  text-align: center;
}

.article-detail-actions {
  max-width: 880px;
  margin-top: 38px;
}

/* Editor */
.article-editor-page {
  background: #eef4fa;
}

.editor-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(115deg, rgba(4, 17, 30, 0.9), rgba(8, 72, 108, 0.72)),
    url("assets/site/about-origin-hero.png") center/cover;
}

.editor-login[hidden] {
  display: none;
}

.editor-login-card {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.editor-login-card h1 {
  margin: 0 0 4px;
  font-size: 32px;
}

.editor-login-card label {
  display: grid;
  gap: 8px;
  color: #5b6b82;
  font-weight: 800;
}

.editor-login-card input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  background: #f8fbff;
}

.editor-login-card p {
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.article-editor {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 180ms ease;
}

.article-editor[hidden] {
  display: none;
}

.article-editor.is-sidebar-collapsed {
  grid-template-columns: 58px 1fr;
}

.editor-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  height: 100vh;
  overflow: auto;
  padding: 24px;
  color: #d7e6f4;
  background: #0b1625;
}

.editor-sidebar-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  justify-self: end;
  color: #d7e6f4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.editor-sidebar-toggle::before {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 9px;
  height: 9px;
  content: "";
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.editor-sidebar-toggle:hover {
  border-color: rgba(24, 199, 216, 0.44);
  background: rgba(24, 199, 216, 0.12);
}

.article-editor.is-sidebar-collapsed .editor-sidebar {
  padding: 16px 12px;
  overflow: hidden;
}

.article-editor.is-sidebar-collapsed .editor-sidebar-toggle {
  justify-self: center;
}

.article-editor.is-sidebar-collapsed .editor-sidebar-toggle::before {
  left: 10px;
  transform: rotate(-135deg);
}

.article-editor.is-sidebar-collapsed .editor-sidebar-content {
  display: none;
}

.editor-brand {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.editor-primary {
  width: 100%;
  min-height: 44px;
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  cursor: pointer;
}

.editor-search {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.editor-search span {
  color: #8da5bd;
  font-size: 12px;
  font-weight: 800;
}

.editor-search input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: #e8f3ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

.editor-search input::placeholder {
  color: #6f89a5;
}

.editor-search input:focus {
  border-color: rgba(24, 199, 216, 0.5);
  box-shadow: 0 0 0 3px rgba(24, 199, 216, 0.1);
}

.editor-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.editor-category {
  position: relative;
  display: grid;
  gap: 8px;
}

.editor-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 0 0 18px;
  margin: 0;
  color: #e8f3ff;
  text-align: left;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.editor-category-toggle::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid #7fa4c8;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 180ms ease;
}

.editor-category-toggle:hover {
  color: #fff;
}

.editor-category.is-draft-group .editor-category-toggle {
  color: #ffd18a;
}

.editor-category.is-draft-group .editor-category-toggle::before {
  border-top-color: #ffd18a;
}

.editor-category.is-draft-group .editor-category-toggle span {
  color: #ffd18a;
  border-color: rgba(255, 184, 77, 0.24);
  background: rgba(255, 184, 77, 0.08);
}

.editor-category-toggle span {
  display: inline-flex;
  min-width: 24px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #9ec5ec;
  font-size: 12px;
  border: 1px solid rgba(158, 197, 236, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.editor-category.is-collapsed .editor-category-toggle::before {
  transform: rotate(-90deg) translateX(1px);
}

.editor-category-items {
  display: grid;
  gap: 8px;
}

.editor-category.is-collapsed .editor-category-items {
  display: none;
}

.editor-category-items button {
  padding: 12px;
  color: #bdd2e8;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.editor-category-items button.is-active {
  color: #fff;
  border-color: rgba(24, 199, 216, 0.45);
  background: rgba(24, 199, 216, 0.12);
}

.editor-category-items button.is-pinned {
  border-color: rgba(255, 184, 77, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.13), rgba(24, 199, 216, 0.08));
}

.editor-category-items button.is-pinned span {
  color: #ffd18a;
}

.editor-category-items button span {
  display: block;
  margin-top: 6px;
  color: #86a1bd;
  font-size: 12px;
}

.editor-empty {
  margin: 0;
  padding: 14px 12px;
  color: #8da5bd;
  font-size: 13px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 22px;
  padding: 26px;
}

.editor-workspace-wide {
  display: block;
}

.editor-form,
.editor-preview {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(33, 65, 95, 0.06);
}

.editor-form-wide {
  max-width: 1120px;
  margin: 0 auto;
}

.editor-header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.editor-header h1,
.editor-preview h2 {
  margin: 0;
}

.editor-actions {
  display: flex;
  gap: 10px;
}

.editor-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.editor-switch {
  align-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.editor-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.editor-switch em {
  color: #7c8ca0;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.editor-fields label,
.editor-block label {
  display: grid;
  gap: 7px;
  color: #5b6b82;
  font-size: 13px;
  font-weight: 800;
}

.editor-fields input,
.editor-fields textarea,
.editor-fields select,
.editor-block input,
.editor-block textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: #f8fbff;
}

.editor-fields input,
.editor-fields select,
.editor-block input {
  height: 42px;
  padding: 0 12px;
}

.editor-fields textarea,
.editor-block textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.editor-fields .editor-switch input {
  width: 20px;
  height: 20px;
  padding: 0;
}

.editor-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.editor-file-input {
  display: none;
}

.editor-mini-button {
  min-height: 42px;
  padding: 0 12px;
  color: #21415f;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.editor-mini-button:hover {
  color: var(--blue);
  border-color: rgba(22, 119, 255, 0.34);
}

.editor-image-preview {
  width: min(260px, 100%);
  max-height: 160px;
  margin-top: 10px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.editor-image-preview[src=""],
.editor-image-preview:not([src]) {
  display: none;
}

.editor-image-tip {
  margin: 8px 0 0;
  color: #7c8ca0;
  font-size: 12px;
  line-height: 1.6;
}

.rich-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.rich-toolbar button {
  min-height: 36px;
  padding: 0 12px;
  color: #21415f;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.rich-toolbar button:hover {
  color: var(--blue);
  border-color: rgba(22, 119, 255, 0.34);
}

.rich-editor-shell {
  min-height: 720px;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #f8fbff;
}

.rich-editor {
  width: min(820px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 48px 0 70px;
  color: #26364b;
  font-size: 18px;
  line-height: 1.9;
  outline: none;
}

.rich-editor:empty::before {
  content: "从这里开始写正文。可以直接粘贴图片，或点击上方插入图片。";
  color: #98a6b8;
}

.rich-editor h2,
.rich-editor h3 {
  margin: 42px 0 16px;
  color: var(--text);
  line-height: 1.3;
}

.rich-editor h2 {
  font-size: 30px;
}

.rich-editor p,
.rich-editor ul,
.rich-editor blockquote,
.rich-editor figure {
  margin: 0 0 24px;
}

.rich-editor blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: #f0f7ff;
}

.rich-editor figure img {
  width: 100%;
  border-radius: var(--radius);
}

.rich-editor figcaption {
  margin-top: 10px;
  color: #7c8ca0;
  font-size: 14px;
  text-align: center;
}

.editor-block-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
}

.editor-blocks {
  display: grid;
  gap: 14px;
}

.editor-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.editor-block header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.editor-block header button {
  color: #b42318;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.editor-preview {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 52px);
  overflow: auto;
}

.editor-preview-article {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 1040px) {
  .origin-about-inner,
  .origin-tech-card,
  .origin-footer-main,
  .origin-footer-links,
  .home-article-grid,
  .article-list-grid,
  .article-featured-card,
  .editor-workspace {
    grid-template-columns: 1fr;
  }

  .article-editor {
    grid-template-columns: 1fr;
  }

  .article-editor.is-sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .editor-sidebar {
    position: static;
    height: auto;
  }

  .article-editor.is-sidebar-collapsed .editor-sidebar {
    padding: 24px;
    overflow: auto;
  }

  .article-editor.is-sidebar-collapsed .editor-sidebar-content {
    display: block;
  }

  .article-editor.is-sidebar-collapsed .editor-sidebar-toggle::before {
    left: 12px;
    transform: rotate(45deg);
  }

  .editor-preview {
    position: static;
    max-height: none;
  }

  .article-featured-card {
    min-height: auto;
  }

  .article-featured-card img {
    min-height: 210px;
  }
}

@media (max-width: 720px) {
  .home-origin .site-header {
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
  }

  .about-origin-header {
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
  }

  .origin-hero {
    height: 420px;
  }

  .about-origin .about-hero {
    min-height: 410px;
  }

  .origin-about h1 {
    margin-left: 0;
  }

  .origin-watermark {
    font-size: 70px;
  }

  .origin-about-icons,
  .editor-fields,
  .home-article-grid,
  .origin-footer-links {
    grid-template-columns: 1fr;
  }

  .origin-tech-card-media-left:nth-child(1) div,
  .origin-tech-card-media-left:nth-child(3) div {
    text-align: left;
  }

  .origin-footer-main,
  .article-toolbar,
  .article-subhead,
  .editor-header,
  .editor-actions {
    display: grid;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-list-hero {
    padding-top: 96px;
  }

  .editor-workspace,
  .editor-form,
  .editor-preview {
    padding: 16px;
  }
}
