:root {
  --ink: #1d2118;
  --muted: #686d61;
  --paper: #f3f0e7;
  --surface: #fbfaf5;
  --line: #d9d8cf;
  --moss: #536334;
  --moss-dark: #35421c;
  --lime: #dce8ad;
  --blue: #4089b8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button { font: inherit; }

.site-header,
main,
footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.06rem; text-decoration: none; letter-spacing: -.02em; }
.brand b { color: var(--moss); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: var(--moss); font-weight: 800; }
.quiet-link { color: var(--muted); text-underline-offset: 5px; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding: 60px 0 100px; }
.eyebrow { color: var(--moss); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .76rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.hero-lead { max-width: 600px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.actions { display: flex; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.download { border: 0; border-radius: 999px; padding: 16px 24px; background: var(--moss); color: white; font-weight: 750; text-decoration: none; }
.download:hover { background: var(--moss-dark); }
.download:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.release-note { color: var(--muted); font-size: .9rem; }

.phone-stage { position: relative; min-height: 570px; display: grid; place-items: center; }
.phone { position: relative; z-index: 2; width: 294px; padding: 10px; border-radius: 42px; background: #151711; box-shadow: 0 42px 70px #3a3b2b3b, inset 0 0 0 1px #ffffff30; transform: rotate(3deg); }
.phone-top { height: 28px; display: grid; place-items: center; }
.phone-top i { width: 76px; height: 17px; border-radius: 20px; background: #060705; }
.phone-screen { min-height: 550px; padding: 34px 22px; border-radius: 31px; background: #f7f8f3; overflow: hidden; }
.phone-screen > small { color: var(--moss); letter-spacing: .16em; font-weight: 800; }
.phone-screen h2 { margin: 18px 0 10px; font-size: 1.65rem; line-height: 1.06; }
.phone-screen > p { color: var(--muted); font-size: .82rem; }
.scan-button { margin: 30px 0 18px; padding: 16px; border-radius: 16px; background: var(--moss); color: white; font-weight: 700; text-align: center; font-size: .9rem; }
.destination { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 13px; border-radius: 16px; background: white; box-shadow: 0 8px 20px #4b503012; }
.destination > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--lime); color: var(--moss-dark); }
.destination span { font-size: .82rem; font-weight: 700; }
.destination small { display: block; margin-top: 2px; color: #7d8178; font-weight: 500; }
.paper { position: absolute; width: 260px; height: 350px; border-radius: 4px; background: white; box-shadow: 0 20px 40px #4c4b3730; }
.paper-back { transform: translate(-100px, 40px) rotate(-17deg); background: #dfe4c8; }
.paper-front { transform: translate(115px, 15px) rotate(15deg); padding: 60px 30px; }
.paper-front span { display: block; height: 7px; margin-bottom: 18px; border-radius: 9px; background: #d9dbd4; }
.paper-front span:nth-child(2) { width: 70%; }
.paper-front span:nth-child(4) { width: 84%; }

.flow { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .destinations h2, .release h2 { max-width: 680px; font: 500 clamp(2.4rem, 5vw, 4.7rem)/1 Georgia, serif; letter-spacing: -.04em; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 70px 0 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.steps li { min-height: 280px; padding: 34px; background: var(--surface); }
.steps span { color: var(--moss); font-size: .8rem; font-weight: 800; }
.steps h3 { margin: 82px 0 12px; font-size: 1.5rem; }
.steps p, .destinations p, .release > p { color: var(--muted); line-height: 1.65; }

.destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 120px 0; }
.destinations > div:first-child > p:last-child { max-width: 560px; }
.service-list { align-self: center; }
.service-list article { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin-bottom: 6px; }
.service-list p { margin-bottom: 0; }
.service-mark { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: white; font-weight: 800; }
.paperless { background: var(--moss); }
.nextcloud { background: var(--blue); }

.release { margin-bottom: 100px; padding: clamp(38px, 7vw, 80px); border-radius: 34px; background: var(--moss-dark); color: white; }
.release .eyebrow { color: var(--lime); }
.release > p { color: #d8ddcc; }
.checksum { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; margin-top: 38px; padding-top: 26px; border-top: 1px solid #ffffff35; }
.checksum span { color: #b9c0ae; }
.checksum code { overflow-wrap: anywhere; }

.installation { margin-bottom: 100px; padding: 10px 0 80px; }
.installation h2 { max-width: 760px; font: 500 clamp(2.4rem, 5vw, 4.7rem)/1 Georgia, serif; letter-spacing: -.04em; }
.installation ol { max-width: 760px; padding-left: 1.4rem; color: var(--muted); line-height: 1.7; }
.installation li { padding: .35rem 0 .35rem .5rem; }
.installation > p:last-child { max-width: 760px; color: var(--muted); line-height: 1.65; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 36px 0 50px; border-top: 1px solid var(--line); color: var(--muted); }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 70px; }
  .phone-stage { min-height: 620px; }
  .steps, .destinations { grid-template-columns: 1fr; }
  .destinations { gap: 40px; }
}

@media (max-width: 540px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .quiet-link { display: none; }
  .hero { min-height: auto; padding: 55px 0 80px; }
  h1 { font-size: 3.5rem; }
  .phone-stage { min-height: 560px; transform: scale(.88); margin: -30px; }
  .steps { display: block; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps h3 { margin-top: 45px; }
  .checksum { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: settle .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(30px) rotate(6deg); } }
}
