:root { --ink: #16181d; --text: #2b2f36; --line: #e3e5e9; --bg: #fafaf8; --accent: #1f4fd1; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; text-wrap: pretty; }
.top, main, footer { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.top { padding-top: 72px; padding-bottom: 40px; }
h1 { margin: 0 0 16px; font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.lead { margin: 0; max-width: 640px; font-size: 22px; color: var(--ink); }
.project { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: 32px; letter-spacing: -0.01em; }
h2 a { color: var(--accent); text-decoration: none; }
h2 a:hover { text-decoration: underline; }
.text p { margin: 0; max-width: 440px; }
.shots { position: relative; display: block; padding-right: 9%; padding-bottom: 6%; }
.shots img { display: block; height: auto; border: 1px solid var(--line); background: #fff; }
.shots .desktop { width: 100%; border-radius: 10px; box-shadow: 0 12px 40px rgba(22, 24, 29, .10); }
.shots .phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 18px; border: 4px solid var(--ink); box-shadow: 0 12px 32px rgba(22, 24, 29, .22); }
footer { padding-top: 32px; padding-bottom: 56px; }
main { border-bottom: 1px solid var(--line); }
footer p { margin: 0; color: var(--text); }
@media (max-width: 820px) {
  .top { padding-top: 48px; }
  h1 { font-size: 44px; }
  .lead { font-size: 20px; }
  .project { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .shots .phone { width: 30%; }
}
