/* =========================================================
   Nordex Global Sourcing — shared design system
   ========================================================= */

:root {
  --navy: #081f33;
  --navy-2: #0d2c47;
  --navy-3: #10425c;
  --blue: #135091;
  --blue-2: #1d6fb8;
  --green: #79c143;
  --green-2: #a8e878;
  --green-ink: #3d7a1f;
  --teal: #1aa39b;
  --amber: #b26a00;
  --ink: #12212f;
  --muted: #5d7184;
  --faint: #8a9aaa;
  --line: #e3e9ef;
  --line-strong: #d4dde6;
  --bg: #f6f8fa;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(8, 31, 51, 0.1);
  --shadow-soft: 0 10px 30px rgba(8, 31, 51, 0.06);
  --max: 1200px;
  --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; }
[hidden] { display: none !important; }

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

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p { margin-top: 0; }

::selection {
  background: rgba(121, 193, 67, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(8, 31, 51, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: auto;
  height: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 10px 11px;
  border-radius: 8px;
  color: #33485c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--blue);
  background: #f3f7fb;
  outline: none;
}

.nav-link.active { color: var(--blue); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fafc;
  color: #52697d;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(121, 193, 67, 0.18);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover { background: #f5f8fa; }

/* =========================================================
   Buttons / utility
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: #06210f;
  box-shadow: 0 10px 26px rgba(121, 193, 67, 0.26);
}

.btn-primary:hover {
  background: #8ad154;
  box-shadow: 0 14px 32px rgba(121, 193, 67, 0.34);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--navy-2); }

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section.tight { padding: 72px 0; }

.section.alt { background: var(--bg); }

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.78;
}

/* =========================================================
   Home hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  background: #04101d;
  color: #fff;
  --mx: 0;
  --my: 0;
}

.hero-art {
  position: absolute;
  inset: -5%;
  z-index: 0;
  transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -8px), 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hero-art-inner {
  position: absolute;
  inset: 0;
  animation: heroZoom 30s ease-in-out infinite alternate;
  transform-origin: 52% 46%;
}

.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero .cloud-a {
  animation: cloudDrift 52s ease-in-out infinite alternate;
}

.hero .cloud-b {
  animation: cloudDrift 74s ease-in-out infinite alternate-reverse;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 15, 26, 0.96) 0%,
      rgba(4, 15, 26, 0.9) 26%,
      rgba(4, 15, 26, 0.6) 54%,
      rgba(4, 15, 26, 0.18) 76%,
      rgba(4, 15, 26, 0.46) 100%
    ),
    linear-gradient(180deg, rgba(4, 15, 26, 0.32) 0%, transparent 30%, rgba(4, 15, 26, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(68px, 9vh, 110px) 0 96px;
}

.hero-copy { max-width: 930px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #a9c4d8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(121, 193, 67, 0.16);
}

.hero-title {
  max-width: 850px;
  margin: 24px 0 26px;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.22);
}

.hero-title .accent { color: var(--green-2); }

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: rgba(233, 243, 249, 0.78);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-meta div {
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-meta div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-meta b {
  display: block;
  color: #e2eef5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span {
  display: block;
  margin-top: 4px;
  color: rgba(214, 232, 242, 0.55);
  font-size: 11.5px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255, 255, 255, 0.65), transparent);
  animation: cuePulse 2.2s ease-in-out infinite;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.065); }
}

@keyframes cloudDrift {
  from { transform: translateX(-26px); }
  to { transform: translateX(26px); }
}

@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   Feature cards
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-card:hover::before { opacity: 1; }

.feature-num {
  color: #9aabbb;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 18px 0 16px;
  border-radius: 12px;
  background: #eef7e7;
  color: var(--green-ink);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-link span { transition: transform 0.18s ease; }
.feature-card:hover .feature-link span { transform: translateX(3px); }

/* =========================================================
   News
   ========================================================= */

.news-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: start;
}

.featured-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.featured-visual {
  height: 268px;
}

.featured-body { padding: 26px 28px 28px; }

.featured-body h3 {
  margin: 10px 0 10px;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.featured-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-cat { color: var(--blue); }

.news-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.news-list-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.news-list-item:last-child { border-bottom: 0; }

.news-list-item:hover { background: #f8fafc; }

.date-block {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.date-block span {
  display: block;
  color: var(--faint);
  font-weight: 600;
}

.news-list-item h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.news-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* =========================================================
   Dark band
   ========================================================= */

.band {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: linear-gradient(135deg, #061826 0%, var(--navy-2) 56%, #104653 100%);
  color: #fff;
}

.band::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.band .wrap { position: relative; z-index: 1; }

.band h2 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.band .lead {
  max-width: 660px;
  margin: 0;
  color: rgba(224, 238, 246, 0.66);
  font-size: 15px;
  line-height: 1.75;
}

.band .kicker { color: var(--green-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.step {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.step b {
  display: block;
  margin-bottom: 10px;
  color: var(--green-2);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: rgba(222, 237, 246, 0.62);
  font-size: 12.5px;
  line-height: 1.65;
}

/* =========================================================
   Subpage hero / layout
   ========================================================= */

.page-hero {
  padding: 54px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%, rgba(121, 193, 67, 0.12), transparent 38%),
    linear-gradient(180deg, #eef4f7 0%, #ffffff 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--blue); }
.breadcrumb span { color: #b6c3ce; }

.page-title {
  margin: 14px 0 16px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.page-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #ead8b5;
  border-radius: 999px;
  background: #fffaf0;
  color: #8a6116;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.page-body { padding: 46px 0 86px; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.page-main { min-width: 0; }

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.side-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.side-card p:last-child { margin-bottom: 0; }

.side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.side-list li:last-child { padding-bottom: 0; border-bottom: 0; }

.side-list b {
  color: var(--ink);
  font-weight: 650;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2f9e55;
  box-shadow: 0 0 0 3px rgba(47, 158, 85, 0.14);
}

.status-dot.warn {
  background: #d18b00;
  box-shadow: 0 0 0 3px rgba(209, 139, 0, 0.14);
}

/* =========================================================
   Stat strip
   ========================================================= */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.stat b {
  display: block;
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

/* =========================================================
   Filters
   ========================================================= */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* =========================================================
   Regulation cards
   ========================================================= */

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.reg-group + .reg-group { margin-top: 36px; }

.group-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.group-head span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.regulation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.reg-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.reg-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(19, 80, 145, 0.18);
  border-radius: 7px;
  background: #eef4fa;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reg-market {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.reg-market small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status.inforce { background: #e8f6ec; color: #237a3b; }
.status.review { background: #fff4e2; color: #a35b00; }
.status.draft { background: #e8f0fb; color: #1d5c9e; }
.status.watch { background: #eef1f4; color: #5d7184; }

.reg-card h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.reg-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.62;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  padding: 3px 7px;
  border-radius: 5px;
  background: #f2f5f8;
  color: #6b7f91;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
}

.sample-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9a7a3c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5a13e;
}

/* =========================================================
   Timeline
   ========================================================= */

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.tl-item {
  position: relative;
  padding: 0 0 32px 18px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #eef7e7;
}

.tl-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tl-item h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.tl-item p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.impact {
  display: inline-flex;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f3f7e9;
  color: #52721f;
  font-size: 11px;
  font-weight: 650;
}

/* =========================================================
   Tables
   ========================================================= */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  background: #f7fafb;
  color: var(--faint);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  vertical-align: top;
}

tr:last-child td { border-bottom: 0; }

td strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

td code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f1f5f8;
  color: #476174;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
}

.table-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.6;
}

/* =========================================================
   News cards
   ========================================================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.news-visual {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2239, var(--blue));
}

.news-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(121, 193, 67, 0.55), transparent 42%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px);
}

.news-visual::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -96px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.045),
    0 0 0 56px rgba(255, 255, 255, 0.028);
}

.vis-port { background: linear-gradient(135deg, #0b2239, #0f5a63); }
.vis-route { background: linear-gradient(135deg, #0b2239, #135091); }
.vis-industry { background: linear-gradient(135deg, #12351f, #4f9127); }
.vis-policy { background: linear-gradient(135deg, #2b1f14, #a35b00); }
.vis-tech { background: linear-gradient(135deg, #151a33, #4c4bb3); }
.vis-supply { background: linear-gradient(135deg, #102b3a, #1aa39b); }

.vis-chip {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(4, 15, 26, 0.4);
  color: rgba(255, 255, 255, 0.86);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 19px 20px 20px;
}

.news-body h3 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.34;
  letter-spacing: -0.012em;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.news-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
}

.news-card.large { grid-column: span 2; }
.news-card.large .news-visual { height: 220px; }
.news-card.large .news-body h3 { font-size: 21px; }

@media (max-width: 700px) {
  .news-card.large { grid-column: span 1; }
  .news-card.large .news-visual { height: 180px; }
  .stat-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 56px 0 28px;
  background: #061826;
  color: #c7d8e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: auto;
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-footer p {
  max-width: 360px;
  margin: 16px 0 0;
  color: #8fa8ba;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
}

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

.footer-note {
  color: #7f96aa;
  font-size: 11px;
  line-height: 1.75;
  text-align: right;
}

.footer-note b {
  display: block;
  margin-bottom: 4px;
  color: #b9cede;
  font-size: 11.5px;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #6f8799;
  font-size: 10.5px;
}

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regulation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-layout { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }

  .header-inner { gap: 18px; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 30px rgba(8, 31, 51, 0.08);
  }

  .main-nav.open { display: flex; }

  .nav-link { padding: 12px 10px; }

  .nav-link.active::after { left: 10px; right: auto; width: 26px; }

  .menu-toggle { display: inline-flex; }

  .header-pill { display: none; }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; text-align: left; }
  .hero-meta div { margin-bottom: 14px; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 20px; }

  .brand img { height: 26px; }

  .hero { min-height: calc(100vh - var(--header-h)); }

  .hero-content { padding: 56px 0 72px; }

  .hero-title { font-size: clamp(40px, 12vw, 58px); }

  .hero-lead { font-size: 15.5px; }

  .hero-meta {
    margin-top: 38px;
    padding-top: 18px;
  }

  .hero-meta div {
    width: 100%;
    padding: 0 0 14px;
    margin: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-meta div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

  .scroll-cue { display: none; }

  .section { padding: 68px 0; }
  .section.tight { padding: 54px 0; }

  .feature-grid,
  .news-grid,
  .regulation-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .featured-visual { height: 210px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .page-hero { padding: 38px 0 34px; }
  .page-body { padding: 34px 0 64px; }

  .group-head { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .page-title { font-size: 34px; }

  .featured-body { padding: 22px; }

  .news-list-item { grid-template-columns: 1fr; gap: 8px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Maritime watch — 6-hour window
   ========================================================= */

.source-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #cfe6c0;
  border-radius: 999px;
  background: #eef7e7;
  color: #3d7a1f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.source-summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f9127;
  box-shadow: 0 0 0 3px rgba(79, 145, 39, 0.16);
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfd;
}

.status-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.status-main .status-dot {
  flex: none;
  margin-top: 6px;
}

.status-main strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.status-main span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.status-dot.empty { background: #9aa8b4; box-shadow: 0 0 0 3px rgba(154, 168, 180, 0.16); }
.status-dot.error { background: #c34434; box-shadow: 0 0 0 3px rgba(195, 68, 52, 0.16); }

.status-times {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-times b {
  color: var(--ink);
  font-weight: 700;
}

.compliance-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border: 1px solid #ead8b5;
  border-radius: 14px;
  background: #fffaf0;
  color: #6d531d;
  font-size: 11.5px;
  line-height: 1.65;
}

.compliance-banner svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #b07a12;
}

.compliance-banner strong { color: #5a4211; }

.loading-note {
  padding: 42px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.empty-state {
  padding: 44px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fbfcfd;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.empty-state p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.empty-state code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f1f5f8;
  color: #476174;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.source-item:first-child { padding-top: 0; }
.source-item:last-child { padding-bottom: 0; border-bottom: 0; }

.source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.source-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.source-tier {
  flex: none;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.source-tier.free { background: #e8f6ec; color: #237a3b; }
.source-tier.paid { background: #fff1e6; color: #a34f00; }

.source-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.source-status { font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.source-status.ok { color: #2f7d4a; }
.source-status.empty { color: #7c8b99; }
.source-status.error { color: #b23b2e; }
.source-status.link { color: #a35b00; }
.source-status.pending { color: #7c8b99; }

.source-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.source-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-link:hover { color: var(--blue-2); }

.news-body h3 a { transition: color 0.18s ease; }
.news-body h3 a:hover { color: var(--blue); }

.news-source a {
  color: var(--blue);
  font-weight: 700;
}

.news-source a:hover { color: var(--blue-2); }

@media (max-width: 700px) {
  .status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .status-times {
    width: 100%;
    justify-content: space-between;
  }

  .compliance-banner {
    padding: 13px 14px;
  }
}

/* =========================================================
   Maritime archive — initial layout + live archive data
   ========================================================= */

.page-meta .demo-note {
  max-width: 100%;
  align-items: flex-start;
  padding: 8px 12px;
  border-radius: 14px;
  line-height: 1.5;
  white-space: normal;
}

.archive-line {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
}

.archive-line b {
  color: var(--ink);
  font-weight: 650;
}

.stat b.stat-date {
  padding-top: 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.load-more-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.load-more-count {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .load-more-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .stat b.stat-date {
    font-size: 16px;
  }
}
