:root {
  color-scheme: light;
  --bg: #f7f8f9;
  --panel: #ffffff;
  --text: #16202f;
  --muted: #586270;
  --line: #d9dee5;
  --blue: #245aa7;
  --blue-dark: #173f78;
  --green: #14785f;
  --coral: #b94d39;
  --shadow: 0 18px 44px rgba(27, 39, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

.hero {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 44px auto 76px;
  padding: 54px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
  max-width: 720px;
}

.launch-strip {
  display: inline-block;
  margin: 26px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 87, 51, 0.34);
  border-radius: 8px;
  background: rgba(255, 87, 51, 0.08);
  color: var(--text);
  font-weight: 750;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 750;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.section {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: 0 auto 72px;
}

.section-heading {
  margin-bottom: 24px;
}

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

.product-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.product-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 850;
}

.product-mark.rockspin {
  background: var(--coral);
}

.product-mark.cleanclip {
  background: var(--green);
}

.product-mark.markdown-ready {
  background: #ff5733;
}

.product-card p,
.split p,
.content p,
.content li {
  color: var(--muted);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.app-icon {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

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

.feature-grid section {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.product-card p {
  margin: 0;
}

.card-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
}

.split {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.split p {
  margin: 0;
  font-size: 18px;
}

.content {
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 38px auto 72px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.content h1 {
  font-size: 46px;
  line-height: 1.05;
}

.content h2 {
  margin: 32px 0 10px;
  font-size: 22px;
}

.content code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #eef1f5;
  color: var(--text);
}

.support-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.support-list section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin: auto auto 0;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    margin-top: 26px;
    padding: 40px 0 48px;
  }

  .lead {
    font-size: 18px;
  }

  .product-grid,
  .feature-grid,
  .product-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 136px;
    height: 136px;
    border-radius: 28px;
  }

  .content {
    padding: 28px;
  }
}
