:root {
  --ink: #172019;
  --muted: #687068;
  --line: #dfe4dc;
  --paper: #f5f7f2;
  --card: #fff;
  --lime: #c9ff57;
  --blue: #dcecff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.nav {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 76px;
  padding: 0 max(24px, 4vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 25, 0.08);
  background: rgba(245, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}
.brand-lens {
  width: 30px;
  height: 30px;
  border: 7px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--lime);
}
nav {
  display: flex;
  gap: 34px;
}
nav a {
  padding: 25px 2px 22px;
  color: var(--muted);
  font-size: 14px;
}
nav a.active {
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
}
.nav-cta {
  justify-self: end;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  color: #18200f;
  font-weight: 700;
  background: var(--lime);
  cursor: pointer;
}
.hero {
  min-height: 690px;
  padding: 92px max(28px, 8vw) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  align-items: center;
  gap: 7vw;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 18px;
  color: #526031;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.92;
}
.hero h1 em {
  color: #789e20;
  font-style: normal;
}
.lead {
  max-width: 650px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.primary {
  padding: 15px 23px;
  border-radius: 16px;
  color: white;
  font-weight: 750;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 32, 25, 0.2);
}
.viewfinder {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 600px;
  overflow: hidden;
  border: 10px solid #171d19;
  border-radius: 42px;
  background: linear-gradient(145deg, #8ca0a5, #445451);
  box-shadow: 0 35px 80px rgba(30, 41, 33, 0.24);
}
.viewfinder:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    transparent 40%
  );
}
.vf-top,
.vf-bottom {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.vf-bottom {
  bottom: 0;
  justify-content: space-around;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.vf-bottom button {
  width: 70px;
  height: 70px;
  border: 5px solid white;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}
.watermark-demo {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 18%;
  padding: 17px 19px;
  display: flex;
  flex-direction: column;
  color: white;
  border-left: 5px solid var(--lime);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  background: rgba(15, 21, 17, 0.34);
}
.watermark-demo b {
  font-size: 42px;
  line-height: 1.1;
}
.watermark-demo span {
  font-size: 12px;
  line-height: 1.6;
}
.vf-focus {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
}
.feature-strip {
  padding: 0 max(28px, 8vw) 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: linear-gradient(
    90deg,
    transparent 8%,
    var(--line) 8%,
    var(--line) 92%,
    transparent 92%
  );
}
.feature-strip article {
  padding: 36px;
  background: var(--paper);
}
.feature-strip small {
  color: #7f9d40;
  font-weight: 800;
}
.feature-strip h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}
.feature-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.template-callout {
  margin: 0 max(28px, 5vw) 80px;
  padding: 70px max(30px, 5vw);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  color: white;
  border-radius: 36px;
  background: var(--ink);
}
.template-callout h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.03;
}
.template-callout > div:last-child {
  align-self: end;
  color: #c5ccc6;
  line-height: 1.8;
}
.template-callout a {
  display: inline-block;
  margin-top: 22px;
  color: var(--lime);
  font-weight: 750;
}
.copy-dialog {
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--lime);
  cursor: pointer;
}
dialog {
  width: min(92vw, 440px);
  padding: 34px;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}
dialog::backdrop {
  background: rgba(14, 20, 16, 0.62);
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 15px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  font-size: 23px;
  background: #eef1eb;
}
.qr-image {
  width: 260px;
  max-width: 100%;
  margin: 15px auto;
  display: block;
}
.qr-tip {
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.copy-dialog {
  width: 100%;
}
dialog li {
  margin: 12px 0;
  line-height: 1.6;
}
footer {
  padding: 28px max(28px, 5vw);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav nav {
    display: none;
  }
  .hero {
    padding-top: 55px;
    grid-template-columns: 1fr;
  }
  .viewfinder {
    width: min(100%, 430px);
    margin: auto;
  }
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .template-callout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .viewfinder {
    border-radius: 30px;
  }
  .feature-strip article {
    padding: 28px 0;
  }
  .template-callout {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 25px;
  }
  .nav {
    padding: 0 16px;
  }
}
