:root {
  --bg: #050607;
  --bg-2: #0b0d10;
  --panel: #121417;
  --panel-2: #181b1f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: #8f97a3;
  --green: #11d69a;
  --green-2: #09b87d;
  --chip: rgba(17, 214, 154, 0.1);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius: 34px;
  --radius-sm: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(17, 214, 154, 0.12), transparent 20%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.03), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #030405 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
}

.shell {
  position: relative;
  width: min(1540px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0 44px;
}

.topbar,
.panel {
  background: linear-gradient(180deg, rgba(24, 27, 31, 0.96), rgba(17, 19, 22, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  min-height: 84px;
  border-radius: 30px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #052118;
  font-size: 24px;
  font-weight: 700;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", sans-serif;
}

.brand-text strong {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.brand-text span {
  color: #868b95;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

.pill-button,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

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

.pill-button {
  background: #f6f7f8;
  color: #101214;
}

.cta.primary {
  color: #04150f;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.cta.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.cta.wide {
  width: 100%;
}

.hero-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.52fr 0.52fr;
  gap: 18px;
}

.panel {
  border-radius: var(--radius);
}

.hero-panel,
.metrics-panel,
.mini,
.feature-card,
.wide-card,
.android-card,
.downloads-panel,
.trial-copy,
.trial-form-card,
.faq-panel {
  padding: 28px;
}

.hero-panel {
  grid-row: span 2;
  min-height: 760px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "⌘";
  position: absolute;
  top: 48px;
  right: 36px;
  font-size: 420px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.panel-label,
.section-kicker,
.mini-title {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 214, 154, 0.18);
  background: rgba(17, 214, 154, 0.08);
  color: var(--green);
  font: 700 13px/1 "Consolas", "SFMono-Regular", monospace;
  letter-spacing: 0.04em;
}

.mini-title,
.section-kicker {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 700 12px/1.1 "Trebuchet MS", sans-serif;
}

h1,
h2,
h3,
p,
pre,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
.metric strong {
  font-family: "Franklin Gothic Medium", "Arial Narrow", sans-serif;
}

h1 {
  margin-top: 42px;
  max-width: 8ch;
  font-size: clamp(62px, 8vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--green);
}

.hero-copy,
.section-copy,
.feature-card p,
.download-card p,
.faq-grid p,
.mini p,
.trial-bullets li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-copy {
  margin-top: 30px;
  max-width: 21ch;
  font-size: 24px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-list {
  margin-top: 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-list li {
  color: #d7dde5;
  font-size: 16px;
}

.hero-list li::before {
  content: "•";
  margin-right: 10px;
  color: var(--green);
}

.mini {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mini h2 {
  margin-top: 18px;
  font-size: 44px;
  line-height: 0.96;
}

.code-panel pre {
  margin-top: 22px;
  color: #b9c1cc;
  white-space: pre-wrap;
  font: 500 17px/1.55 "Consolas", "SFMono-Regular", monospace;
}

.code-panel pre::first-line {
  color: var(--green);
}

.metrics-panel {
  min-height: 304px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.metric {
  padding: 0 26px;
}

.metric:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.metric strong {
  display: block;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: #7f8691;
  letter-spacing: 0.18em;
  font-size: 12px;
}

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

.feature-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(17, 214, 154, 0.08);
  color: var(--green);
  font-size: 28px;
}

.feature-card h3,
.download-card h3,
.faq-grid h3 {
  margin-top: 22px;
  font-size: 44px;
  line-height: 0.98;
}

.feature-card p {
  margin-top: 18px;
}

.content-grid,
.trial-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
}

.wide-card,
.downloads-panel,
.faq-panel {
  min-height: 420px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

h2 {
  margin-top: 16px;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-copy {
  margin-top: 24px;
  max-width: 50ch;
}

.steps {
  margin-top: 24px;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.steps li {
  color: #d9dee5;
  font-size: 17px;
  line-height: 1.55;
}

.android-shot {
  margin-top: 22px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f0eef7 0%, #e8e2ff 100%);
  color: #2a2640;
}

.android-top,
.android-tabs {
  display: flex;
  align-items: center;
}

.android-top {
  justify-content: space-between;
  gap: 12px;
}

.android-top strong {
  flex: 1;
  font-size: 17px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", sans-serif;
}

.android-tabs {
  margin-top: 12px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(85, 73, 154, 0.2);
}

.android-tabs span {
  padding: 10px 0 12px;
  color: #8c85b4;
  font: 700 13px/1 "Franklin Gothic Medium", sans-serif;
}

.android-tabs .active {
  color: #7765ff;
  border-bottom: 3px solid #7765ff;
}

.android-note {
  margin-top: 16px;
  color: #797399;
  font-size: 14px;
  line-height: 1.55;
}

.android-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.android-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(85, 73, 154, 0.14);
}

.android-list em {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #7765ff;
  color: #fff;
  font-style: normal;
}

.download-grid,
.faq-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-card,
.faq-grid article {
  min-height: 250px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.download-links {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-links a {
  color: var(--green);
  text-decoration: none;
  font: 700 14px/1.2 "Trebuchet MS", sans-serif;
}

.trial-copy,
.trial-form-card {
  min-height: 380px;
}

.trial-bullets {
  margin: 24px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.trial-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #c9cfd7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0d0f12;
  color: var(--text);
  padding: 0 16px;
}

.trial-result {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.trial-result.success {
  border-color: rgba(17,214,154,0.22);
}

.trial-result.error {
  border-color: rgba(255,100,100,0.22);
}

.trial-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trial-result .mini-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17,214,154,0.09);
  color: #d7fff0;
  border: 1px solid rgba(17,214,154,0.18);
  text-decoration: none;
  font: 700 13px/1 "Trebuchet MS", sans-serif;
}

.result-meta,
.trial-result code {
  color: #cbd1d9;
}

.trial-result code {
  display: block;
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #0a0c0e;
  font-family: "SFMono-Regular", ui-monospace, monospace;
  word-break: break-all;
}

.faq-grid h3 {
  font-size: 26px;
  line-height: 1.08;
}

.faq-grid p {
  margin-top: 14px;
}

@media (max-width: 1240px) {
  .hero-grid,
  .cards-grid,
  .content-grid,
  .trial-grid,
  .download-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .metrics-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .metric:not(:first-child) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
  }
}

@media (max-width: 920px) {
  .topbar {
    min-height: auto;
    padding: 18px;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 16px, 1540px);
  }

  .hero-panel,
  .metrics-panel,
  .mini,
  .feature-card,
  .wide-card,
  .android-card,
  .downloads-panel,
  .trial-copy,
  .trial-form-card,
  .faq-panel {
    padding: 20px;
  }

  h1 {
    margin-top: 26px;
    font-size: clamp(46px, 16vw, 76px);
    max-width: none;
  }

  .hero-copy {
    font-size: 20px;
  }

  h2 {
    font-size: clamp(32px, 10vw, 52px);
  }

  .hero-actions,
  .trial-actions {
    flex-direction: column;
  }

  .cta,
  .pill-button,
  .trial-result .mini-button {
    width: 100%;
  }
}
