:root {
  --ink: #0f172a;
  --muted: #526173;
  --paper: #f8fafc;
  --panel: #ffffff;
  --hot: #e11d48;
  --hot-dark: #9f1239;
  --green: #059669;
  --blue: #0369a1;
  --amber: #b45309;
  --line: rgba(225, 29, 72, 0.18);
  --soft: #fff1f2;
  --cream: #eff6ff;
  --shadow: 0 24px 70px rgba(127, 29, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(186, 230, 253, 0.72), transparent 30rem),
    radial-gradient(circle at 78% 18%, rgba(209, 250, 229, 0.52), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(255, 228, 230, 0.70), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

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

.nav a:hover {
  color: var(--hot-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--hot);
  color: #ffffff;
  cursor: pointer;
  font-weight: 950;
  padding: 0 18px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(225, 29, 72, 0.2);
}

.button:hover {
  background: var(--hot-dark);
}

.button.secondary {
  border: 2px solid rgba(3, 105, 161, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--blue);
  box-shadow: none;
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: calc(88vh - 78px);
  padding: 22px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--hot-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  font-size: 68px;
  line-height: 0.95;
}

h2 {
  max-width: 720px;
  font-size: 42px;
  line-height: 1.02;
}

h3 {
  font-size: 20px;
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

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

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.status-pill {
  min-height: 72px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.status-pill strong {
  display: block;
  color: var(--hot-dark);
  font-size: 22px;
  line-height: 1;
}

.status-pill span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.product-preview {
  border: 1px solid rgba(127, 29, 29, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 10px) 1fr;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(127, 29, 29, 0.12);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fb7185;
}

.browser-bar span:nth-child(2) {
  background: #f59e0b;
}

.browser-bar span:nth-child(3) {
  background: #14b8a6;
}

.browser-url {
  min-width: 0;
  height: 26px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 26px;
  overflow: hidden;
  padding: 0 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 242px;
  gap: 22px;
  min-height: 370px;
  padding: 24px;
}

.article-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.article-lines span {
  height: 16px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.16);
}

.article-lines span:first-child {
  width: 86%;
  height: 44px;
}

.article-lines span:nth-child(2) {
  width: 95%;
}

.article-lines span:nth-child(3) {
  width: 68%;
}

.article-lines span:nth-child(4) {
  width: 82%;
}

.task-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 18px;
  border: 3px solid rgba(225, 29, 72, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 241, 242, 0.98), rgba(254, 243, 199, 0.98) 52%, rgba(204, 251, 241, 0.96)),
    #fff7ed;
  box-shadow: 0 18px 44px rgba(225, 29, 72, 0.22);
  text-align: center;
}

.task-card small {
  color: var(--hot-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.task-card strong {
  color: var(--hot-dark);
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.task-card span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.task-card button {
  align-self: center;
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: var(--hot);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  padding: 0 14px;
}

.section {
  margin: 0 0 24px;
  padding: 30px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(127, 29, 29, 0.08);
}

.section.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.section-copy p:not(.eyebrow),
.plain-page p,
.plain-page li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

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

.feature {
  min-height: 174px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: #ffffff;
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #e0f2fe;
  color: var(--blue);
  font-weight: 950;
}

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

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.download-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 2px solid rgba(3, 105, 161, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.detected-browser {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.detected-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 950;
}

.detected-browser strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.15;
}

.detected-browser p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.browser-grid article {
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: #f8fafc;
}

.browser-grid article[data-active] {
  border-color: rgba(225, 29, 72, 0.64);
  background: #fff1f2;
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.12);
}

.browser-grid strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.browser-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.browser-grid article[data-active] span {
  color: var(--hot-dark);
}

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

.step {
  padding: 18px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(180, 83, 9, 0.22);
}

.step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hot);
  color: #ffffff;
  font-size: 16px;
}

.step h3 {
  margin-top: 14px;
}

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

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border-radius: 8px;
  background: var(--soft);
}

.pricing-card strong {
  display: block;
  color: var(--hot-dark);
  font-size: 22px;
}

.pricing-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 22px;
}

.contact-direct {
  font-weight: 850;
}

.contact-direct a {
  color: var(--hot-dark);
}

.button:disabled {
  background: #94a3b8;
  cursor: wait;
  box-shadow: none;
}

.form-status {
  min-height: 42px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-status[data-type="success"] {
  background: #ecfdf5;
  color: var(--green);
}

.form-status[data-type="error"] {
  background: #fff1f2;
  color: var(--hot-dark);
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  padding: 11px 12px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--hot);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16);
}

.plain-page {
  max-width: 860px;
  padding: 58px 0 46px;
}

.plain-page h1 {
  font-size: 52px;
}

.plain-page h2 {
  margin-top: 30px;
  font-size: 26px;
}

.plain-page ul {
  padding-left: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .section.intro,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

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

@media (max-width: 640px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 20px, 1160px);
  }

  .nav {
    width: 100%;
  }

  .nav .button {
    width: 100%;
  }

  h1,
  .plain-page h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .status-row,
  .feature-grid,
  .browser-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .browser-page {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .article-lines {
    display: none;
  }

  .section {
    padding: 20px;
  }

  .pricing-card,
  .site-footer {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
