*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #141414;
  --muted: #5c5a56;
  --border: rgba(20, 20, 20, 0.12);
  --accent: #ff5a1f;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding-inline: 24px; }

/* NAV */
nav { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -0.5px; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero { padding-block: 72px 96px; border-bottom: 1px solid var(--border); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; letter-spacing: -2px; font-weight: 700; max-width: 14ch; }
.hero p { margin-top: 28px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 52ch; }

/* SECTIONS */
section { padding-block: 80px; border-bottom: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; font-weight: 700; }
.section-head .count { color: var(--muted); font-size: 15px; }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--border); }
.service { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--border); }
.service .num { font-size: 13px; color: var(--accent); font-weight: 500; }
.service h3 { font-size: 21px; margin-top: 10px; letter-spacing: -0.3px; }
.service p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* APPS */
.app-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; text-decoration: none; transition: transform .15s ease, border-color .15s ease;
}
.app-card:hover { transform: translateY(-2px); border-color: var(--text); }
.app-icon {
  width: 140px; height: 72px; border-radius: 18px; background: #0f0f0f;
  display: grid; place-items: center; flex-shrink: 0;
}
.app-icon img { width: 104px; height: auto; }
.app-info { flex: 1; min-width: 200px; }
.app-info h3 { font-size: 22px; letter-spacing: -0.3px; }
.app-info p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.app-link { font-weight: 500; font-size: 15px; white-space: nowrap; }
.app-link::after { content: " →"; color: var(--accent); }
.more { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* CONTACT */
.contact a.mail { font-size: clamp(26px, 5vw, 52px); font-weight: 700; letter-spacing: -1px; text-decoration: none; border-bottom: 3px solid var(--accent); }
.contact p { color: var(--muted); margin-bottom: 20px; }

/* FOOTER */
footer { margin-top: auto; padding-block: 32px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero { padding-block: 40px 64px; }
  section { padding-block: 56px; }
  .nav-links { gap: 16px; }
}
