:root {
  --ink: #101624;
  --muted: #5a6272;
  --line: #d8dde7;
  --surface: #ffffff;
  --page: #f4f7fb;
  --night: #151b2c;
  --blue: #1f3a8a;
  --teal: #0f766e;
  --amber: #a36500;
  --red: #b23b52;
  --radius: 8px;
  --font:
    Inter,
    "IBM Plex Sans",
    -apple-system,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: var(--page);
  color-scheme: light;
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf1f6 54%, #f7f9fc 100%);
  font-size: 15px;
  line-height: 1.5;
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(16, 22, 36, 0.1);
}

.brand,
.nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 34px;
  display: block;
}

.nav {
  gap: 6px;
}

.nav a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.nav a:hover {
  background: rgba(31, 58, 138, 0.08);
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 58px 0 70px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  max-width: 840px;
}

.kicker {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 0.99;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

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

.primary:hover {
  background: var(--blue);
}

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

.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.band,
.data-section,
.system-section,
.flow-section,
.progress-section,
.ai-section,
.offer-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid rgba(16, 22, 36, 0.1);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head h2,
.ai-copy h2,
.progress-copy h2 {
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.12;
}

.evidence-grid,
.productivity-grid {
  display: grid;
  gap: 14px;
}

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

.metric,
.productivity-grid article {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(16, 22, 36, 0.06);
}

.metric {
  min-height: 292px;
  padding: 24px;
}

.metric span,
.productivity-grid strong {
  color: var(--teal);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.metric:nth-child(2) span,
.productivity-grid article:nth-child(2) strong {
  color: var(--blue);
}

.metric.caution span,
.productivity-grid article:nth-child(3) strong {
  color: var(--amber);
}

.metric h3 {
  font-size: 1.08rem;
}

.metric p,
.productivity-grid p,
.progress-copy p,
.progress-headline p,
.progress-facts p {
  color: var(--muted);
  line-height: 1.55;
}

.metric a,
.productivity-grid a,
.progress-copy a {
  align-self: end;
  justify-self: start;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.metric a:hover,
.productivity-grid a:hover,
.progress-copy a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.productivity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.productivity-grid article {
  min-height: 230px;
  padding: 22px;
}

.data-label {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(31, 58, 138, 0.09);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

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

.offer-group {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    var(--surface);
  box-shadow: 0 18px 46px rgba(16, 22, 36, 0.07);
}

.offer-group.internal {
  background:
    linear-gradient(135deg, rgba(21, 27, 44, 0.98), rgba(30, 39, 62, 0.98)),
    var(--night);
  color: #fff;
}

.offer-group h3 {
  font-size: 1.7rem;
  line-height: 1.08;
}

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

.offer-group.internal p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-links {
  display: grid;
  gap: 10px;
}

.offer-link {
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(16, 22, 36, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.offer-group.internal .offer-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.offer-link:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.offer-link strong {
  font-size: 1.04rem;
}

.offer-link span {
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-group.internal .offer-link span {
  color: rgba(255, 255, 255, 0.68);
}

.card {
  display: grid;
  gap: 14px;
  min-height: 418px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(16, 22, 36, 0.06);
}

.tag {
  width: max-content;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.card:nth-child(2) .tag {
  background: rgba(31, 58, 138, 0.1);
  color: var(--blue);
}

.card:nth-child(3) .tag {
  background: rgba(163, 101, 0, 0.14);
  color: var(--amber);
}

.card h3 {
  color: var(--ink);
  font-size: 1.2rem;
}

.card p,
.flow p,
.notes p,
.operating-grid p,
.radar-principle p,
.radar-usage p,
.radar-rules p,
.ai-copy p:last-child {
  color: var(--muted);
}

.card p,
.flow p,
.notes p,
.operating-grid p,
.radar-principle p,
.radar-usage p,
.radar-rules p,
.ai-copy p:last-child {
  line-height: 1.55;
}

.app-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card a {
  align-self: end;
  justify-self: start;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 850;
}

.card a:hover {
  color: var(--teal);
  text-decoration: underline;
}

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

.operating-grid article,
.radar-principle,
.radar-usage article,
.radar-rules article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.operating-grid article {
  min-height: 220px;
  padding: 22px;
}

.operating-grid span,
.radar-usage span,
.radar-rules span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.operating-grid article:nth-child(2) span,
.radar-usage article:nth-child(2) span,
.radar-rules article:nth-child(2) span {
  color: var(--blue);
}

.operating-grid article:nth-child(3) span {
  color: var(--amber);
}

.operating-grid h3,
.radar-principle h3 {
  font-size: 1.12rem;
}

.radar-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.radar-strip span {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.radar-strip span:first-child {
  border-left: 0;
}

.radar-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 14px;
  margin-top: 14px;
}

.radar-principle {
  padding: 24px;
  border-left: 4px solid var(--teal);
}

.radar-principle a {
  justify-self: start;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 850;
}

.radar-principle a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.radar-usage {
  display: grid;
  gap: 12px;
}

.radar-usage article {
  padding: 18px;
}

.radar-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.radar-rules article {
  padding: 20px;
  border-top: 4px solid var(--teal);
}

.radar-rules article:nth-child(2) {
  border-top-color: var(--blue);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.flow article {
  display: grid;
  gap: 14px;
  min-height: 236px;
  padding: 22px;
  border-left: 1px solid var(--line);
}

.flow article:first-child {
  border-left: 0;
}

.flow span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.flow h3,
.notes span {
  color: var(--ink);
}

.flow h3 {
  font-size: 1.1rem;
}

.progress-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.progress-copy {
  display: grid;
  gap: 16px;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.progress-chart {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 22, 36, 0.07);
}

.progress-headline {
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
}

.progress-headline span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-headline strong {
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 1.08;
}

.progress-lane {
  display: grid;
  grid-template-columns: 56px minmax(120px, 1fr) minmax(120px, 0.5fr);
  gap: 12px;
  align-items: center;
}

.progress-lane span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.progress-lane div {
  height: 16px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.progress-lane i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.progress-lane strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.progress-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.progress-facts article {
  display: grid;
  gap: 6px;
}

.progress-facts span {
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.ai-copy {
  position: sticky;
  top: 40px;
  display: grid;
  gap: 16px;
}

.ai-copy p:last-child {
  font-size: 1.04rem;
}

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

.notes article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 22, 36, 0.06);
}

.notes article:nth-child(2) {
  border-left-color: var(--blue);
}

.notes article:nth-child(3) {
  border-left-color: var(--amber);
}

.notes span {
  font-size: 1rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .progress-section,
  .ai-section,
  .offer-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 62px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .cards,
  .evidence-grid,
  .productivity-grid,
  .operating-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .radar-strip span:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .radar-strip span:nth-child(5),
  .radar-strip span:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .radar-guide {
    grid-template-columns: 1fr;
  }

  .flow article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flow article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .ai-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: min(100% - 28px, 1180px);
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .band,
  .data-section,
  .system-section,
  .flow-section,
  .progress-section,
  .ai-section,
  .offer-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 28px;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.04;
  }

  .lead {
    font-size: 1.02rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-head h2,
  .progress-copy h2,
  .ai-copy h2 {
    font-size: 1.72rem;
  }

  .cards,
  .evidence-grid,
  .productivity-grid,
  .operating-grid,
  .radar-rules,
  .flow {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .metric,
  .operating-grid article,
  .productivity-grid article {
    min-height: 0;
  }

  .radar-strip {
    grid-template-columns: 1fr;
  }

  .radar-strip span,
  .radar-strip span:nth-child(4),
  .radar-strip span:nth-child(5),
  .radar-strip span:nth-child(6) {
    min-height: 54px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .radar-strip span:first-child {
    border-top: 0;
  }

  .metric span,
  .productivity-grid strong {
    font-size: 2.45rem;
  }

  .progress-chart {
    padding: 18px;
  }

  .progress-headline strong {
    font-size: 1.55rem;
  }

  .progress-lane {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .progress-lane strong {
    grid-column: 1 / -1;
  }

  .progress-facts {
    grid-template-columns: 1fr;
  }

  .flow article,
  .flow article:nth-child(3),
  .flow article:nth-child(4) {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flow article:first-child {
    border-top: 0;
  }
}
