:root {
  color-scheme: dark;
  --bg: #07110f;
  --surface: #10201c;
  --surface-2: #172b25;
  --line: #284940;
  --text: #f5fff9;
  --muted: #bdd1c8;
  --accent: #7cff9b;
  --accent-2: #ffd166;
  --hot: #ff6b6b;
  --radius: 8px;
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}
a { color: inherit; }
.cg-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 4vw, 52px);
  background: rgba(7, 17, 15, .9);
  border-bottom: 1px solid rgba(124, 255, 155, .18);
  backdrop-filter: blur(14px);
}
.cg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}
.cg-brand img { border-radius: 6px; }
.cg-top nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.cg-top nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.cg-top nav a[aria-current="page"], .cg-top nav a:hover {
  border-color: rgba(124, 255, 155, .45);
  color: var(--text);
  background: rgba(124, 255, 155, .1);
}
a:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}
.cg-hero {
  min-height: 64vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  align-items: end;
  gap: clamp(18px, 4vw, 42px);
  overflow: hidden;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 6vw, 84px) 56px;
  background:
    linear-gradient(135deg, rgba(124, 255, 155, .12), transparent 36%),
    linear-gradient(180deg, #0b1715, #07110f);
}
.cg-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(124, 255, 155, .2);
}
.cg-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  min-width: 0;
}
.cg-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  max-width: 850px;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}
.cg-lede {
  max-width: 760px;
  margin: 0;
  color: #ecfff4;
  font-size: clamp(17px, 1.55vw, 21px);
}
.cg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cg-actions a {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  background: var(--accent);
  color: #03130c;
  font-weight: 900;
  text-decoration: none;
}
.cg-actions a + a {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}
.cg-hero-device {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 380px;
  min-width: 0;
}
.cg-hero-device img {
  width: min(100%, 560px);
  max-height: 520px;
  object-fit: contain;
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, .42));
}
.cg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 24px;
  padding: 46px clamp(18px, 5vw, 72px);
  background: #0b1916;
  border-top: 1px solid rgba(124, 255, 155, .14);
  border-bottom: 1px solid rgba(124, 255, 155, .14);
}
.cg-intro h2, .cg-compare h2, .cg-app-strip h2, .cg-faq h2, .cg-responsible h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}
.cg-intro p { margin: 0; color: var(--muted); font-size: 18px; }
.cg-intro aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}
.cg-intro strong { color: var(--accent-2); }
.cg-intro ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.cg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 48px clamp(18px, 5vw, 72px);
}
.cg-block {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  overflow: hidden;
}
.cg-block img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.cg-block h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.14;
}
.cg-block p { margin: 0; color: var(--muted); }
.cg-compare {
  padding: 50px clamp(18px, 5vw, 72px);
  background: #12231f;
}
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
th, td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  width: 28%;
  color: var(--accent);
}
.cg-app-strip {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 28px;
  padding: 52px clamp(18px, 5vw, 72px);
  overflow: hidden;
}
.cg-app-strip p { color: var(--muted); font-size: 18px; }
.cg-app-visual img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #091613;
}
.cg-phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  min-width: 0;
}
.cg-phone-row img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .35));
}
.cg-picture-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 48px;
}
.cg-picture-strip figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1916;
  overflow: hidden;
}
.cg-picture-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.cg-picture-strip figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}
.cg-faq {
  max-width: 980px;
  padding: 18px clamp(18px, 5vw, 72px) 54px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0;
  padding: 14px 16px;
  background: var(--surface);
}
summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}
details p { color: var(--muted); }
.cg-responsible {
  margin: 0 clamp(18px, 5vw, 72px) 52px;
  padding: 22px;
  border-left: 6px solid var(--hot);
  background: var(--surface-2);
}
.cg-responsible p { margin: 0; color: var(--muted); }
footer {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #050b0a;
  color: var(--muted);
}
footer strong { color: var(--text); }
footer p { margin: 6px 0 0; }
footer nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px 16px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover { color: var(--accent); }
@media (max-width: 820px) {
  .cg-top { align-items: center; flex-direction: row; gap: 10px; }
  .cg-brand span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .cg-top nav { flex-wrap: wrap; justify-content: flex-end; width: auto; }
  .cg-top nav a { padding: 6px 8px; font-size: 13px; }
  .cg-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 42px; align-items: start; }
  .cg-hero-device { min-height: 0; align-items: center; }
  .cg-hero-device img { max-height: 360px; }
  .cg-intro, .cg-grid, .cg-app-strip { grid-template-columns: 1fr; }
  .cg-picture-strip { grid-template-columns: 1fr; }
  .cg-phone-row { grid-template-columns: repeat(3, minmax(76px, 1fr)); overflow: hidden; }
  .cg-grid { padding-top: 32px; }
  footer { grid-template-columns: 1fr; }
  footer nav { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  th, td { display: block; width: 100%; }
  th { padding-bottom: 4px; }
  td { padding-top: 4px; }
}
@media (max-width: 520px) {
  .cg-top { position: relative; flex-direction: column; align-items: flex-start; }
  .cg-top nav { justify-content: flex-start; }
  .cg-top nav a:nth-child(n+5) { display: none; }
  h1 { font-size: clamp(31px, 10vw, 42px); }
  .cg-hero, .cg-intro, .cg-grid, .cg-app-strip, .cg-compare, .cg-picture-strip { padding-left: 16px; padding-right: 16px; }
  .cg-phone-row { grid-template-columns: 1fr; }
  .cg-phone-row img { max-height: 280px; object-fit: contain; }
  footer nav { grid-template-columns: 1fr; }
}
