:root {
  color-scheme: light;
  --ink: #121826;
  --muted: #607083;
  --line: #dce3ea;
  --page: #f6f8fb;
  --paper: #ffffff;
  --blue: #1687ff;
  --green: #46968f;
  --gold: #f4df91;
  --shadow: 0 22px 56px rgba(18, 24, 38, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 227, 234, 0.78);
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 36px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.home-hero {
  width: min(1120px, calc(100% - 36px));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 74px);
}

.hero-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 2.3vw, 21px);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(18, 24, 38, 0.22);
}

.button.secondary {
  color: #1f6761;
  background: #fff;
  border: 1px solid rgba(70, 150, 143, 0.22);
}

.hero-products {
  min-height: 610px;
  position: relative;
}

.product-preview {
  position: absolute;
  display: block;
  width: min(46vw, 310px);
  padding: 12px;
  border: 1px solid rgba(220, 227, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.product-preview span {
  display: block;
  margin: 2px 2px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.product-preview img {
  width: 100%;
  border-radius: 8px;
}

.coachflow-preview {
  left: 0;
  top: 34px;
}

.dolphin-preview {
  right: 0;
  top: 118px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.section-title {
  margin-bottom: 28px;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(30px, 5vw, 48px);
}

.section-lead {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

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

.product-card {
  min-height: 340px;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(18, 24, 38, 0.07);
}

.product-card-coachflow {
  border-top: 5px solid var(--blue);
}

.product-card-dolphin {
  border-top: 5px solid var(--green);
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(18, 24, 38, 0.14);
}

.product-kicker {
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.14;
}

.product-card p:not(.product-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
}

.text-link {
  margin-top: 26px;
  color: var(--blue);
  font-weight: 850;
}

.product-card-dolphin .text-link {
  color: #24726b;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #121826;
  font-size: 13px;
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .home-hero,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-products {
    min-height: 520px;
  }

  .product-preview {
    width: min(58vw, 292px);
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .home-hero,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .home-hero {
    padding-top: 36px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-products {
    min-height: 430px;
  }

  .product-preview {
    width: min(64vw, 250px);
    padding: 9px;
  }

  .coachflow-preview {
    top: 10px;
  }

  .dolphin-preview {
    top: 96px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
