:root {
  --bg: #08111f;
  --panel: #101d31;
  --panel-2: #142640;
  --line: #29415f;
  --text: #edf5ff;
  --muted: #9db0c8;
  --accent: #67e8b1;
  --accent-2: #78b8ff;
  --warm: #ffd28a;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(8, 17, 31, 0.92);
  border-bottom: 1px solid rgba(41, 65, 95, 0.8);
  backdrop-filter: blur(16px);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 108px 0 92px;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 740px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #06131a;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.source-line {
  color: #7e93ad;
  font-size: 0.8rem;
}

.contact-line {
  color: #9db0c8;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.contact-line a,
.contact-line code {
  color: var(--accent);
}

.signal-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 29, 49, 0.72);
}

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

.signal-grid div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.signal-grid div:first-child {
  border-left: 1px solid var(--line);
}

.signal-grid strong {
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 104px 0;
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 29, 49, 0.35);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.card,
.offer-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.card-index {
  display: block;
  margin-bottom: 48px;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h3,
.offer-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.card-detail {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: #7590b0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 240px 28px;
  align-items: center;
  gap: 16px;
  padding: 25px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.work-item:hover .work-title {
  color: var(--accent);
}

.work-number,
.work-meta,
.work-arrow {
  color: #7892b2;
  font-size: 0.78rem;
}

.work-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 720;
  transition: color 160ms ease;
}

.work-arrow {
  color: var(--accent);
  font-size: 1.3rem;
  text-align: right;
}

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

.step {
  padding: 22px 0;
  border-top: 2px solid var(--accent);
}

.step > span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-section {
  border-top: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 16px;
}

.offer-card {
  min-height: 0;
}

.offer-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #122c3a, var(--panel));
}

.offer-label {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.price {
  margin-bottom: 6px;
  color: var(--warm);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-card li::before {
  margin-right: 8px;
  color: var(--accent);
  content: "✓";
}

.offer-note {
  max-width: 700px;
  margin: 24px 0 0;
  color: #7e93ad;
  font-size: 0.8rem;
}

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

.source-grid a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent-2);
  font-size: 0.9rem;
  text-decoration: none;
}

.source-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-shell {
  padding: 76px 0 20px;
}

.article-intro {
  max-width: 860px;
  padding: 56px 0 38px;
}

.back-link {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent-2);
  font-size: 0.86rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.article-intro h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.article-dek {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.2rem;
}

.article {
  max-width: 860px;
  padding: 66px 0;
  border-top: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  color: #7892b2;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta span:first-child {
  color: var(--accent);
}

.article h2 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.article h3 {
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.45rem;
}

.article p,
.article li {
  color: #b6c7dc;
}

.article .lead {
  max-width: 760px;
  margin-bottom: 36px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.45;
}

.article ul,
.article ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.article li::marker {
  color: var(--accent);
}

.article-callout {
  display: grid;
  gap: 6px;
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--panel);
}

.article-callout strong {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-callout span {
  color: var(--text);
}

.article .source-line {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #7188a5;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

@media (max-width: 820px) {
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .hero {
    padding-top: 76px;
  }

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

  .step {
    min-height: 0;
  }

  .work-item {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
  }

  .work-meta {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

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

  .signal-grid div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .offer-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
  }
}
