:root {
  --ink: #0b0d12;
  --muted: #5b6270;
  --line: #e7e9ee;
  --bg: #fafbfc;
  --card: #ffffff;
  --accent: #2f5bff;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(20px, calc((100vw - 1040px) / 2));
  padding-top: max(16px, env(safe-area-inset-top));
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700;
}
.nav nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 24px; }

.hero { padding: 104px 0 88px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px); line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 700; max-width: 14ch;
}
.lede { margin-top: 24px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px;
  border: 1px solid var(--line); background: var(--card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11, 13, 18, 0.08); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: #d5d9e2; box-shadow: 0 12px 30px rgba(11, 13, 18, 0.07); }
.card img { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #f2f4f7; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin-top: 4px; }
.url { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }

.about p, .contact p { font-size: 19px; max-width: 60ch; }
.contact h2 { text-transform: none; letter-spacing: -0.02em; font-size: clamp(28px, 4vw, 40px); color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.contact p { color: var(--muted); margin-bottom: 28px; }

footer {
  max-width: 1040px; margin: 0 auto; padding: 32px 20px calc(40px + env(safe-area-inset-bottom));
  font-size: 14px; color: var(--muted);
}

@media (max-width: 720px) {
  .nav nav { gap: 16px; font-size: 14px; }
  .brand { font-size: 15px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; }
  .contact .btn { width: 100%; }
}
@media (max-width: 400px) {
  .nav nav a:nth-child(2) { display: none; }
}
