:root {
  --bg: #f4f1ea;
  --ink: #151a1d;
  --muted: #5d6667;
  --surface: #fffdf8;
  --line: rgba(21, 26, 29, 0.14);
  --dark: #101619;
  --green: #0e6f63;
  --blue: #274a73;
  --amber: #c7832f;
  --red: #a3312b;
  --soft-green: #e6f1eb;
  --shadow: 0 24px 70px rgba(16, 22, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(14, 111, 99, 0.08), transparent 36%),
    linear-gradient(290deg, rgba(199, 131, 47, 0.12), transparent 34%),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

img,
iframe {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.concept-switcher {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 22, 25, 0.94);
  backdrop-filter: blur(18px);
}

.concept-button {
  min-height: 44px;
  min-width: 92px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.concept-button:hover,
.concept-button:focus-visible,
.concept-button.is-active {
  color: #fff;
  background: var(--green);
  outline: none;
  transform: translateY(-1px);
}

.topbar {
  position: sticky;
  top: 65px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) 0;
}

.concept {
  display: none;
}

.concept.is-active {
  display: block;
}

.hero,
.variant-hero {
  min-height: calc(100dvh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7.6vw, 94px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 950px;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

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

.cta-note {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;
  background: var(--green);
}

.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.command-panel {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(14, 111, 99, 0.38), transparent 42%),
    linear-gradient(315deg, rgba(199, 131, 47, 0.34), transparent 38%),
    var(--dark);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #62d6b6;
  box-shadow: 0 0 0 7px rgba(98, 214, 182, 0.15);
}

.kpi-board,
.market-grid,
.fit-grid,
.team-grid,
.pricing-grid,
.proof-grid,
.source-grid,
.variant-grid,
.radar-grid {
  display: grid;
  gap: 16px;
}

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

.kpi-board div {
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.kpi-board strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.kpi-board span,
.command-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-head p,
.market-card p,
.team-grid p,
.price-card li,
.disclaimer,
.split p {
  color: var(--muted);
}

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

.fit-grid article,
.market-card,
.price-card,
.team-grid article,
.source-grid a,
.close-card,
.variant-grid article,
.radar-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.fit-grid article {
  min-height: 210px;
  padding: 24px;
}

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

.market-card {
  min-height: 290px;
  padding: 24px;
}

.market-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 900;
}

.market-card.dark {
  color: #fff;
  background: var(--dark);
}

.market-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.market-card.amber {
  background: #fff3de;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.flow b,
.role,
.text-link {
  color: var(--green);
}

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

.team-grid article {
  overflow: hidden;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--line);
  background: var(--soft-green);
  transition: transform 220ms ease, filter 220ms ease;
}

.team-grid a:hover .team-photo {
  transform: scale(1.025);
  filter: contrast(1.05);
}

.team-grid h3,
.team-grid .role,
.team-grid p,
.team-grid .text-link {
  margin-left: 20px;
  margin-right: 20px;
}

.team-grid h3 {
  margin-top: 18px;
}

.role {
  min-height: 50px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 900;
  transition: transform 180ms ease;
}

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

.price-card {
  padding: 24px;
}

.featured {
  border-color: rgba(14, 111, 99, 0.45);
  background: #eef7f2;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--green);
  background: var(--soft-green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  color: var(--blue);
  font-size: 27px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 9px;
}

.close-card {
  max-width: 880px;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(120deg, rgba(14, 111, 99, 0.09), transparent 55%),
    var(--surface);
}

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

.source-grid a {
  min-height: 110px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--blue);
  font-weight: 800;
}

.disclaimer {
  max-width: 980px;
  margin-top: 24px;
  font-size: 14px;
}

/* Concept variants */
body[data-concept="shield"] {
  --bg: #f7f3ed;
  --green: #852d26;
  --blue: #1f344f;
}

body[data-concept="control"] {
  --bg: #eef3f4;
  --green: #0f5f70;
  --blue: #183d54;
}

body[data-concept="signal"] {
  --bg: #f7f7ef;
  --green: #265f46;
  --blue: #593f84;
}

.shield-hero {
  color: #fff;
  width: 100%;
  padding-left: max(18px, calc((100vw - 1200px) / 2));
  padding-right: max(18px, calc((100vw - 1200px) / 2));
  background:
    linear-gradient(90deg, rgba(16, 22, 25, 0.94), rgba(133, 45, 38, 0.86)),
    radial-gradient(circle at 72% 48%, rgba(255, 255, 255, 0.22), transparent 34%);
}

.shield-hero .lead,
.signal-hero .lead,
.control-hero .lead {
  color: inherit;
  opacity: 0.76;
}

.shield-map {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.shield-map strong {
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  color: var(--dark);
  background: #fff;
  font-size: 24px;
}

.shield-map span {
  position: absolute;
  min-width: 104px;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.16);
}

.shield-map span:nth-child(1) { top: 12%; left: 14%; }
.shield-map span:nth-child(2) { top: 12%; right: 12%; }
.shield-map span:nth-child(3) { left: 4%; bottom: 30%; }
.shield-map span:nth-child(4) { right: 5%; bottom: 30%; }
.shield-map span:nth-child(5) { bottom: 9%; left: 36%; }

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

.variant-grid article,
.radar-grid article {
  min-height: 220px;
  padding: 26px;
}

.variant-grid b {
  color: var(--green);
}

.control-hero {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1200px) / 2));
  padding-right: max(18px, calc((100vw - 1200px) / 2));
  background:
    linear-gradient(180deg, #e8eff0, #f8fbfb 72%),
    var(--bg);
}

.ops-console {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.ops-console div {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ops-console span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 900;
}

.ops-console strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.process-lane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.process-lane div {
  min-height: 210px;
  padding: 24px;
  color: #fff;
  background: var(--dark);
}

.process-lane div:nth-child(even) {
  background: #19323b;
}

.signal-hero {
  color: #fff;
  width: 100%;
  padding-left: max(18px, calc((100vw - 1200px) / 2));
  padding-right: max(18px, calc((100vw - 1200px) / 2));
  background:
    linear-gradient(135deg, #172018, #593f84),
    var(--dark);
}

.signal-board {
  display: grid;
  gap: 12px;
}

.signal-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.signal-row span {
  font-weight: 900;
}

.signal-row b {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.signal-row.hot { border-left: 8px solid #ef6b5b; }
.signal-row.warm { border-left: 8px solid #e1b85d; }
.signal-row.calm { border-left: 8px solid #79d59d; }

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

/* Profile pages */
.profile-page {
  background: #f6f3ec;
}

.profile-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.profile-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.profile-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-top: 18px;
}

.profile-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft-green);
  font-weight: 900;
}

.profile-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.resume-frame {
  width: 100%;
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

@media (max-width: 1100px) {
  .market-grid,
  .fit-grid,
  .pricing-grid,
  .team-grid,
  .source-grid,
  .variant-grid,
  .radar-grid,
  .process-lane {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .variant-hero,
  .split,
  .profile-top,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 280px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .concept-switcher {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 12px;
    scrollbar-width: none;
  }

  .concept-switcher::-webkit-scrollbar {
    display: none;
  }

  .concept-button {
    flex: 0 0 auto;
    min-width: 84px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .topbar {
    top: 61px;
    padding: 10px 14px;
  }

  nav {
    display: none;
  }

  .section,
  .profile-shell {
    width: min(calc(100vw - 32px), 1200px);
    padding: 42px 0;
  }

  .hero,
  .variant-hero {
    min-height: auto;
    gap: 22px;
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .shield-hero,
  .control-hero,
  .signal-hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.02;
  }

  h2 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.12;
  }

  h3 {
    font-size: 19px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    text-align: center;
  }

  .command-panel,
  .close-card,
  .profile-top,
  .profile-card {
    padding: 18px;
  }

  .kpi-board,
  .market-grid,
  .fit-grid,
  .pricing-grid,
  .team-grid,
  .source-grid,
  .variant-grid,
  .radar-grid,
  .process-lane {
    grid-template-columns: 1fr;
  }

  .flow div {
    grid-template-columns: 1fr;
  }

  .market-card,
  .fit-grid article,
  .price-card,
  .variant-grid article,
  .radar-grid article,
  .source-grid a {
    min-height: auto;
    padding: 18px;
  }

  .team-grid article {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 14px;
  }

  .team-grid article > a:first-child {
    grid-row: 1 / span 4;
  }

  .team-photo {
    width: 96px;
    height: 96px;
    aspect-ratio: 1;
    border-radius: 8px;
  }

  .team-grid h3,
  .team-grid .role,
  .team-grid p,
  .team-grid .text-link {
    margin-left: 0;
    margin-right: 0;
  }

  .team-grid h3,
  .team-grid .role,
  .team-grid p {
    text-align: left;
  }

  .team-grid h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }

  .team-grid .role,
  .team-grid p {
    font-size: 13px;
    line-height: 1.38;
  }

  .pricing-grid {
    gap: 12px;
  }

  .price-card.featured {
    transform: none;
  }

  .shield-map {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 18px;
  }

  .shield-map strong {
    order: -1;
    width: 112px;
    height: 112px;
    margin: 4px 100%;
    font-size: 18px;
  }

  .shield-map span {
    position: static;
    min-width: 0;
    flex: 1 1 42%;
    padding: 9px 10px;
    font-size: 13px;
  }

  .ops-console {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
  }

  .ops-console div {
    min-height: 104px;
    padding: 14px;
  }

  .ops-console strong {
    margin-top: 12px;
    font-size: 30px;
  }

  .process-lane {
    gap: 8px;
  }

  .process-lane div {
    min-height: auto;
    border-radius: 8px;
    padding: 18px;
  }

  .signal-row {
    min-height: auto;
    display: grid;
    gap: 8px;
    padding: 16px;
  }

  .signal-row b {
    font-size: 24px;
    line-height: 1.1;
  }

  .source-grid {
    gap: 10px;
  }

  .resume-frame {
    min-height: 560px;
  }
}

@media (max-width: 430px) {
  .section,
  .profile-shell {
    width: min(calc(100vw - 24px), 1200px);
  }

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

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 23px;
  }

  .team-grid article {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 12px;
  }

  .team-photo {
    width: 84px;
    height: 84px;
  }

  .ops-console {
    grid-template-columns: 1fr;
  }
}
