:root {
  --ink: #122033;
  --muted: #5a6675;
  --line: #d7dee8;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --navy: #14324d;
  --blue: #1f5f99;
  --green: #187455;
  --amber: #a46500;
  --red: #9f3434;
  --soft-blue: #e5f0fb;
  --soft-green: #e4f3ed;
  --soft-amber: #fff0d2;
  --soft-red: #f9e2e2;
  --shadow: 0 18px 50px rgba(18, 32, 51, .16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #dfe6ee;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  background: var(--paper);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid #0f263b;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.mark {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0f263b;
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  margin-top: 2px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.menu a {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 9px 11px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(255, 255, 255, .13);
  outline: 0;
}

.content {
  padding: 34px;
}

.top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero,
.security-panel,
.card,
.upgrade,
.standard,
.footer {
  border-radius: 8px;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px 26px;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef3f8;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

h1 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

.tagline {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.note {
  margin-top: 18px;
  border: 1px solid #efd08a;
  border-radius: 8px;
  background: var(--soft-amber);
  color: #5e3d00;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
}

.security-panel {
  background: var(--navy);
  color: #fff;
  border: 1px solid #0f263b;
  min-height: 232px;
  padding: 18px 20px;
}

.security-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.security-panel p {
  margin: 0;
  color: #eef6ff;
  font-size: 15px;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .13);
  padding: 7px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
}

.card-image {
  height: 148px;
  border-bottom: 1px solid var(--line);
  background: #eef3f8;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.platform-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.platform-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 auto;
}

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

.green {
  background: var(--green);
}

.amber {
  background: var(--amber);
}

.red {
  background: var(--red);
}

.platform-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.platform-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

li {
  margin: 5px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--navy);
  color: #fff;
}

.btn.secondary {
  background: var(--amber);
  border-color: var(--navy);
  color: #fff;
}
.btn.success {
  background: var(--green);
  border-color: var(--navy);
  color: #fff;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.upgrade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  margin-bottom: 18px;
}

.upgrade h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.upgrade p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--red);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.standard {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.standard h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

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

.standard-item {
  border-left: 4px solid var(--blue);
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
}

.standard-item:nth-child(2) {
  border-left-color: var(--green);
}

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

.standard-item:nth-child(4) {
  border-left-color: var(--red);
}

.standard-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.standard-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.footer {
  margin-top: 18px;
  background: var(--navy);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.footer span {
  color: #dbeafe;
}

.footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.security-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.security-block h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.security-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.code-line {
  display: block;
  margin: 7px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 9px 10px;
  color: #243447;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 980px) {
  .page {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  .content {
    padding: 24px;
  }

  .top,
  .security-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  body {
    background: var(--paper);
  }

  .page {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .nav,
  .section-head,
  .footer,
  .upgrade {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    padding: 14px 16px;
  }

  .menu {
    justify-content: flex-start;
  }

  .content {
    padding: 16px;
  }

  .hero,
  .security-panel,
  .card-body,
  .upgrade,
  .standard,
  .security-block {
    padding: 16px;
  }

  h1 {
    font-size: 32px;
  }

  .tagline {
    font-size: 16px;
  }

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

  .card-image {
    height: 150px;
  }

  .upgrade {
    display: flex;
  }
}

@media (max-width: 420px) {
  .content {
    padding: 12px;
  }

  .hero,
  .security-panel,
  .card-body,
  .upgrade,
  .standard,
  .security-block {
    padding: 14px;
  }

  .mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 28px;
  }

  .menu a,
  .btn {
    width: 100%;
  }
}
