:root {
  color-scheme: light;
  --background: #f6f3e9;
  --ink: #252a20;
  --muted: #5d6253;
  --line: #e0dccc;
  --paper: #fffcf3;
  --accent: #f0bc54;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #725300; outline-offset: 5px; }
.frame { width: min(1120px, 100% - 64px); margin-inline: auto; }
.site-nav { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.site-nav nav { display: flex; gap: 28px; }
.site-nav a, .site-footer a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand img { border-radius: 10px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 42px; padding-block: 42px 64px; }
.hero h1 { margin: 0; font-size: clamp(39px, 5.2vw, 72px); line-height: 1.16; letter-spacing: -.055em; }
.hero-copy > p { max-width: 440px; margin: 23px 0; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--accent); }
.button.primary:hover { background: #f5c76d; }
.button.secondary { border-color: #cbc6b2; }
.button.secondary:hover { background: var(--paper); }
.hero-copy .requirements { margin: 13px 0 0; font-size: 12px; }
.preview { position: relative; display: grid; min-height: 410px; overflow: hidden; place-items: center; border-radius: 28px; background: #e7e5d0; }
.phone { z-index: 1; width: min(246px, 72%); padding: 19px 14px 0; transform: rotate(-6deg) translateX(-24px); border: 5px solid #30362b; border-radius: 29px; background: #f7f7ef; box-shadow: 8px 20px 28px #30362b2b; }
.phone-top, .phone-heading, .phone-bottom { display: flex; justify-content: space-between; align-items: center; }
.phone-top span { font-size: 8px; }
.phone-heading { margin: 12px 0 8px; font-size: 17px; }
.phone-heading span, .task small { color: var(--muted); font-size: 10px; }
.task { display: flex; gap: 8px; align-items: start; margin: 7px 0; padding: 9px; border: 1px solid #e8e7da; border-radius: 9px; background: white; font-size: 12px; }
.task small { display: block; }
.check { flex: none; width: 15px; height: 15px; margin-top: 2px; border: 1px solid #aaa995; border-radius: 50%; }
.check.done { color: #fff; background: #597448; border-color: #597448; text-align: center; line-height: 13px; }
.phone-bottom { padding: 11px 3px 12px; color: var(--muted); font-size: 10px; }
.phone-bottom b { color: #745004; }
.preview-paper { position: absolute; right: 8%; bottom: 12%; z-index: 2; width: 150px; padding: 12px 14px; transform: rotate(9deg); border-radius: 12px; background: #ffdf92; box-shadow: 4px 8px 18px #51432126; }
.preview-paper span, .preview-paper strong { display: block; font-size: 12px; }
.preview-paper strong { font-size: 15px; }
.preview-paper div { display: flex; gap: 5px; align-items: end; height: 34px; }
.preview-paper i { flex: 1; height: 52%; border-radius: 3px; background: #9b6824; }
.preview-paper i:nth-child(2n) { height: 76%; }
.preview-paper i:nth-child(3n) { height: 32%; }
.preview-paper i:last-child { height: 100%; }
.features, .install { padding-block: 34px 42px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 18px; font-size: clamp(23px, 3vw, 32px); }
h3 { margin: 0 0 7px; font-size: 18px; }
article p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-grid, .install-grid { display: grid; gap: 14px; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid article, .install-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.install-grid a { display: inline-block; margin-top: 11px; font-size: 14px; font-weight: 700; }
.privacy, .site-footer { color: var(--muted); font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; padding-block: 18px 26px; border-top: 1px solid var(--line); }

@media (max-width: 850px) {
  .hero { gap: 22px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .frame { width: calc(100% - 32px); }
  .site-nav { min-height: 62px; }
  .hero { grid-template-columns: 1fr; padding-block: 25px 35px; }
  .hero-copy > p { margin-block: 17px; font-size: 15px; }
  .hero-copy .requirements { margin-bottom: 0; font-size: 12px; }
  .preview { min-height: 330px; border-radius: 19px; }
  .preview-paper { right: 5%; bottom: 12%; }
  .install-grid { grid-template-columns: 1fr; }
  .feature-grid article, .install-grid article { padding: 14px; }
}
