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

:root {
  --brand: #6f9cf0;
  --brand-dim: #5b83cf;
  --text: #e6e8ee;
  --muted: #9197a7;
  --bg: #101218;
  --bg-nav: #14161d;
  --bg-card: #191c25;
  --border: #262a36;
  --radius: 10px;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--brand);
  text-decoration: none;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(20, 22, 29, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s ease;
}

nav a:hover { color: var(--text); }

nav a.active {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--brand);
}

/* Page */
main.page {
  flex: 1;
  padding: 72px 24px 88px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 620px;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.intro {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 48ch;
  margin-bottom: 44px;
}

/* Contact list */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.contact-item {
  display: flex;
  gap: 24px;
  align-items: baseline;
}

.contact-item a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.contact-item a:hover { border-color: var(--brand); }

.contact-label {
  flex: 0 0 64px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}

address {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
}

/* App entry */
.app-entry {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.app-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.app-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
}

.app-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
}

.app-screenshot-wrap {
  display: flex;
  justify-content: center;
}

.app-screenshot {
  width: 210px;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  padding: 26px;
  font-size: 0.84rem;
}

/* Wider screens: lay the app out side by side */
@media (min-width: 680px) {
  .app-entry {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }
  .app-screenshot-wrap { flex: 0 0 auto; }
}

/* Mobile */
@media (max-width: 600px) {
  main.page { padding: 48px 20px 64px; }
  nav ul { gap: 20px; }
  .intro { font-size: 1.1rem; }
}
