:root {
  color-scheme: light;
  --orange: #f26419;
  --orange-dark: #b6400a;
  --orange-soft: #fff0e8;
  --green: #187757;
  --green-soft: #e8f5ef;
  --ink: #202327;
  --muted: #656d74;
  --line: #e3e6e8;
  --surface: #ffffff;
  --page: #f5f6f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: 100%;
  height: 68px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 7px;
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange-dark);
}

.hero {
  min-height: calc(100vh - 220px);
  overflow: hidden;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 56px;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 54px 0 68px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin: 0;
  max-width: 560px;
  font-size: 58px;
  line-height: 1.12;
}

.hero-summary {
  max-width: 520px;
  margin: 25px 0 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.primary-link {
  min-width: 130px;
  height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.product-scene {
  min-width: 0;
  padding: 50px 0 60px;
  position: relative;
}

.product-scene::before {
  content: "";
  position: absolute;
  inset: 25px -30vw 25px 22%;
  background: var(--orange);
  border-radius: 8px 0 0 8px;
}

.score-board {
  width: 100%;
  min-height: 510px;
  padding: 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8dcdf;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(62, 31, 16, 0.18);
}

.score-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.score-board-head > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.board-label,
.round-label {
  color: var(--muted);
  font-size: 13px;
}

.score-board-head strong {
  font-size: 22px;
}

.round-label {
  padding: 6px 9px;
  background: var(--orange-soft);
  border-radius: 5px;
  color: var(--orange-dark);
  font-weight: 700;
}

.totals {
  margin: 25px 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.totals > div {
  min-width: 0;
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.totals > div:last-child {
  border-right: 0;
}

.totals span,
.totals strong {
  display: block;
}

.totals span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.totals strong {
  margin-top: 7px;
  font-size: 20px;
}

.positive {
  color: var(--green);
}

.negative,
.round-row b:not(.positive) {
  color: #bb453c;
}

.rounds {
  border-top: 1px solid var(--line);
}

.round-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 0.7fr repeat(4, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.round-row b {
  font-size: 14px;
}

.round-head {
  min-height: 42px;
  background: var(--page);
  color: #747b82;
  font-size: 12px;
}

.score-action {
  height: 46px;
  margin-top: 25px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 6px;
  font-weight: 700;
}

.features,
.about {
  padding: 92px 0;
}

.section-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.3;
}

.feature-list {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list article {
  min-width: 0;
  padding: 36px 34px 38px;
  border-right: 1px solid var(--line);
}

.feature-list article:first-child {
  padding-left: 0;
}

.feature-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.feature-number {
  width: 38px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.feature-number-green {
  color: var(--green);
  background: var(--green-soft);
}

.feature-number-dark {
  color: #ffffff;
  background: var(--ink);
}

.feature-list h3 {
  margin: 22px 0 10px;
  font-size: 21px;
}

.feature-list p,
.about-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.about {
  background: var(--page);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 90px;
}

.about-inner > p {
  max-width: 650px;
  font-size: 17px;
}

.site-footer {
  width: min(1080px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #747b82;
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding: 54px 0 12px;
  }

  .product-scene {
    width: min(620px, 100%);
    padding: 44px 0 58px;
    justify-self: center;
  }

  .product-scene::before {
    inset: 25px -30vw 35px 18%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 60px;
    padding: 0 18px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .site-nav a:last-child {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .site-footer {
    width: calc(100% - 36px);
  }

  .hero-copy {
    padding: 40px 0 2px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-summary {
    margin: 18px 0 25px;
    font-size: 16px;
    line-height: 1.7;
  }

  .product-scene {
    padding: 28px 0 36px;
  }

  .product-scene::before {
    inset: 14px -30vw 18px 14%;
  }

  .score-board {
    min-height: 0;
    padding: 14px;
  }

  .score-board-head strong {
    font-size: 19px;
  }

  .totals {
    margin: 14px 0 12px;
  }

  .totals > div {
    padding: 10px 4px;
  }

  .totals strong {
    font-size: 16px;
  }

  .round-row {
    min-height: 34px;
    font-size: 12px;
  }

  .round-head {
    min-height: 32px;
  }

  .score-action {
    height: 40px;
    margin-top: 16px;
  }

  .features,
  .about {
    padding: 68px 0;
  }

  h2 {
    font-size: 29px;
  }

  .feature-list {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .feature-list article,
  .feature-list article:first-child,
  .feature-list article:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-list article:last-child {
    border-bottom: 0;
  }

  .about-inner {
    gap: 22px;
  }

  .about-inner > p {
    font-size: 15px;
  }

  .site-footer {
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
