:root {
  --bg: #0f0d12;
  --card: #18151d;
  --line: #2a2530;
  --text: #ece7f0;
  --muted: #9b93a3;
  --accent: #F1AA1C;
  --radius: 22px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f7f5f2; --card: #ffffff; --line: #e6e1da; --text: #1b1820; --muted: #6c6572; color-scheme: light; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
main, .top, .foot { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.brand { color: var(--text); font-weight: 800; letter-spacing: -0.01em; font-size: 19px; }
.top nav a { color: var(--muted); margin-left: 22px; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); text-decoration: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
h2 { font-size: 24px; margin-top: 1.6em; }
h3 { font-size: 22px; margin-bottom: 2px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.sub { color: var(--accent); font-weight: 600; margin: 0 0 10px; font-size: 15px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; margin-top: 28px; }

.hero { padding: 56px 0 36px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 18px; padding-bottom: 60px; }
.card {
  position: relative; display: flex; gap: 20px; padding: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p { margin: 0 0 10px; }
.card .links { position: relative; z-index: 1; font-size: 15px; font-weight: 600; margin: 0; }
.card-link { position: absolute; inset: 0; border-radius: var(--radius); }
.icon { border-radius: 22.5%; flex: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.icon.big { width: 128px; height: 128px; }

.app-hero { display: flex; gap: 32px; align-items: flex-start; padding: 48px 0 28px; }
.app-hero h1 { margin-bottom: 4px; }
.button {
  display: inline-block; background: var(--accent); color: #111; font-weight: 700; padding: 12px 22px;
  border-radius: 999px; margin-top: 6px;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.disabled { background: var(--line); color: var(--muted); }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0 18px; scroll-snap-type: x mandatory; }
.shots img { height: 520px; max-height: 70vh; width: auto; border-radius: 18px; scroll-snap-align: start; border: 1px solid var(--line); }

.prose { max-width: 720px; padding-bottom: 60px; }
.features { padding-left: 20px; }
.features li { margin-bottom: 8px; }
.features strong { display: block; }
.policy { padding-top: 40px; }
.crumb { margin: 0 0 8px; font-weight: 600; }

.about { display: flex; gap: 36px; align-items: flex-start; padding: 56px 0; }
.avatar { width: 160px; height: 160px; border-radius: 50%; flex: none; object-fit: cover; }
.initials { display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font-size: 52px; font-weight: 800; color: var(--muted); }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 40px; }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .card { flex-direction: column; gap: 14px; }
  .icon { width: 72px; height: 72px; }
  .app-hero, .about { flex-direction: column; gap: 20px; padding-top: 28px; }
  .icon.big { width: 96px; height: 96px; }
  .shots img { height: 420px; }
  .lead { font-size: 18px; }
}
