:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #646464;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --lime: #d7ff24;
  --red: #f04438;
  --blue: #4f8fd8;
  --pink: #ff4f9a;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 86px;
  height: auto;
}

.brand span {
  white-space: nowrap;
}

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

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

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 72px));
  overflow: hidden;
  background: #f2f4ef;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("product-green.jpg") center right / min(900px, 70vw) auto no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 4vw;
  bottom: 4vh;
  width: 22vw;
  max-width: 320px;
  min-width: 180px;
  aspect-ratio: 1;
  border: 16px solid var(--lime);
  content: "";
  opacity: 0.7;
  transform: rotate(10deg);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: auto;
  padding: 72px 0 96px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 7px 11px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--lime);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 106px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 0;
  color: #303030;
  font-size: 20px;
}

.hero-note {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section.dark {
  color: #fff;
  background: #171717;
}

.section.red-band {
  color: #fff;
  background: var(--red);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 4px;
  color: var(--muted);
}

.dark .section-heading p {
  color: #c7c7c7;
}

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

.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product figcaption {
  display: flex;
  min-height: 78px;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.swatch {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.swatch.blue { background: var(--blue); }
.swatch.pink { background: var(--pink); }
.swatch.red { background: var(--red); }
.swatch.green { background: var(--lime); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #444;
}

.fact {
  min-height: 210px;
  padding: 34px 28px 28px 0;
  border-right: 1px solid #444;
}

.fact + .fact {
  padding-left: 28px;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 18px;
}

.fact p {
  margin-bottom: 0;
  color: #d4d4d4;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.company-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}

.company-grid dl {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.company-grid dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.company-grid dt {
  font-weight: 700;
}

.company-grid dd {
  margin: 0;
}

.company-grid a {
  font-weight: 700;
}

.site-footer {
  padding: 40px 0;
  color: #e8e8e8;
  background: #101010;
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-size: 13px;
}

.legal-main {
  padding: 64px 0 96px;
  background: #f5f5f2;
}

.legal-article {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto;
  padding: 50px 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.legal-article h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin-bottom: 38px;
  padding: 18px;
  border-left: 5px solid var(--lime);
  background: var(--soft);
  color: #444;
  font-size: 14px;
}

.legal-article h2 {
  margin: 42px 0 14px;
  font-size: 23px;
  line-height: 1.35;
}

.legal-article h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.legal-article li + li {
  margin-top: 7px;
}

.legal-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-article th,
.legal-article td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-article th {
  background: var(--soft);
}

.legal-callout {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #222;
  border-radius: 4px;
  background: var(--lime);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero::before {
    background: url("product-green.jpg") center bottom / 112% auto no-repeat;
  }

  .hero-inner {
    align-self: start;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 440px;
    font-size: 18px;
  }

  .section-heading,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .facts {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact + .fact {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #444;
  }

  .fact:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 62px;
  }

  .brand img {
    width: 70px;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background: url("product-green.jpg") 56% bottom / auto 55% no-repeat;
  }

  .hero::after {
    right: -20px;
    bottom: 20px;
    min-width: 150px;
    border-width: 12px;
  }

  h1 {
    font-size: 54px;
  }

  .section {
    padding: 62px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .company-grid dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-inner {
    display: grid;
  }

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

  .legal-main {
    padding: 28px 0 64px;
  }

  .legal-article {
    padding: 30px 22px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-article table {
    display: block;
    overflow-x: auto;
  }
}
