:root {
  --mist: #f5f8ff;
  --sky: #e6f0ff;
  --sail: #bfd9ff;
  --ocean: #7fb4ff;
  --deep: #2563eb;
  --navy: #0f1f3d;
  --graphite: #64748b;
  --white: #ffffff;
  --line: #d9e7fb;
  --line-strong: #b8d3f7;
  --panel: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 70px rgba(15, 31, 61, 0.09);
  --width: 1180px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Inter", "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--mist) 48%, #edf5ff 100%);
  color: var(--navy);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(191, 217, 255, 0.22), transparent 36%),
    linear-gradient(310deg, rgba(230, 240, 255, 0.72), transparent 42%);
}

a {
  color: var(--deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  position: relative;
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #010b1e url("./brand/vela-workflow-mark.png") center / cover no-repeat;
  border: 1px solid rgba(184, 211, 247, 0.45);
  box-shadow: 0 14px 32px rgba(15, 31, 61, 0.18);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.94rem;
}

.lang-switch a,
.lang-switch .active {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.lang-switch .active {
  color: var(--navy);
  background: var(--sky);
  border-color: var(--sail);
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 34px;
  align-items: center;
  padding: 38px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.9));
  box-shadow: var(--shadow);
}

.hero.compact {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #5b7fbd;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-mark {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 0 20px;
  border-radius: 28px;
  border: 1px solid rgba(184, 211, 247, 0.5);
  box-shadow: 0 22px 50px rgba(15, 31, 61, 0.16);
}

h1,
h2,
h3 {
  color: var(--navy);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.4vw, 6rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 .sans {
  font-family: var(--font-sans);
  font-size: 0.88em;
  font-weight: 760;
}

.hero p,
.section-head p,
.card p,
.card li,
.note,
.caption {
  color: var(--graphite);
  line-height: 1.72;
}

.hero p {
  margin: 0 0 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  font-weight: 780;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--deep), var(--ocean));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}

.hero-visual img,
.visual-card img,
.wide-visual img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(15, 31, 61, 0.1);
}

.hero-visual.symbol img {
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 30px;
}

.section {
  margin-top: 30px;
}

.identity-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(15, 31, 61, 0.06);
}

.identity-strip h2 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.18;
}

.brand-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-card {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.role-card.active {
  border-color: rgba(37, 99, 235, 0.32);
  background: linear-gradient(145deg, rgba(230, 240, 255, 0.92), rgba(255, 255, 255, 0.9));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.1);
}

.role-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.38rem;
  letter-spacing: 0.14em;
}

.role-card span {
  display: block;
  color: var(--deep);
  font-weight: 780;
  line-height: 1.35;
}

.role-card p {
  margin: 10px 0 0;
  color: var(--graphite);
  line-height: 1.6;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  min-width: 0;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(15, 31, 61, 0.07);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.card p {
  margin: 0;
}

.card ul,
.card ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.card li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wide-visual {
  margin-top: 30px;
}

.caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  text-align: center;
}

code,
pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  background: #f0f6ff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

code {
  padding: 2px 6px;
}

pre {
  margin: 14px 0 0;
  padding: 16px;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 31, 61, 0.05);
}

th,
td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--graphite);
  line-height: 1.58;
}

th {
  color: var(--navy);
  background: rgba(230, 240, 255, 0.72);
}

.guide-list {
  margin: 0;
  padding-left: 20px;
}

.guide-list li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero,
  .identity-strip,
  .split {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .brand-pair {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 26px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
