:root {
  --ink: #1f3a93;
  --ink-deep: #142a6e;
  --paper: #fbfaf7;
  --desk: #efece5;
  --text: #1c1c20;
  --muted: #5f5e66;
  --line: #dcd7cc;
  --gold: #ffd98a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--desk); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.nav .brand img { width: 32px; height: 32px; }
.nav .links { display: flex; gap: 22px; font-size: 15px; }
.nav .links a { color: var(--muted); text-decoration: none; }
.nav .links a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font: 600 clamp(40px, 6vw, 64px)/1.05 var(--serif); letter-spacing: -0.01em; margin: 0 0 20px; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: var(--paper); color: var(--text); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:hover { filter: brightness(1.06); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

.sheet {
  position: relative; background: var(--paper); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(30, 25, 15, .08), 0 24px 60px rgba(30, 25, 15, .18);
  padding: 34px 36px 30px; transform: rotate(-2deg);
}
.sheet .title { font: 700 22px var(--serif); margin-bottom: 18px; }
.sheet .bar { height: 9px; border-radius: 5px; background: #e6e2d8; margin: 10px 0; }
.sheet .sig { position: relative; margin-top: 34px; height: 130px; }
.sheet .sig img { position: absolute; left: -6px; bottom: 10px; width: 92%; }
.sheet .sig .rule { position: absolute; left: 0; right: 18%; bottom: 14px; border-top: 2px solid #2a2a30; }
.sheet .label { font-size: 13px; color: #8a8890; }

.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(30, 25, 15, .1), 0 20px 50px rgba(30, 25, 15, .16); border: 1px solid var(--line); background: #fff; }

section { padding: 64px 0; }
h2 { font: 600 clamp(28px, 4vw, 40px)/1.15 var(--serif); margin: 0 0 14px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 4px 0; }

.private { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: #f3f1ea; }
.private h2 { color: #fff; }
.private .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.private h3 { margin: 0 0 6px; color: var(--gold); font-size: 18px; }
.private p { margin: 0; color: #dcdcea; font-size: 16px; }
.private a { color: var(--gold); }

.legal { font-size: 15px; color: var(--muted); max-width: 46em; }
.legal h2 { font-size: 26px; }

.install ol { padding-left: 22px; color: var(--muted); }
.install code { background: #e6e2d8; padding: 1px 6px; border-radius: 5px; font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer a { color: var(--muted); }

.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 36px 40px; margin: 24px auto 64px; max-width: 820px; }
.doc h1 { font: 600 36px/1.15 var(--serif); margin-top: 0; }
.doc h2 { font-size: 24px; margin-top: 32px; }

@media (max-width: 860px) {
  .hero, .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .text { order: 0; }
  .steps, .private .grid { grid-template-columns: 1fr; }
  .sheet { transform: none; }
  .doc { padding: 24px 20px; }
  .nav .links { gap: 14px; }
}
