/* madebydomo.com: shared base, nav, buttons, footer and the home page. */
:root {
  --bg: #000;
  --surface: #0c0c0d;
  --surface-2: #161618;
  --surface-3: #1f1f22;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #0a84ff;
  --red: #ff453a;
  --font: -apple-system, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
kbd {
  font: 600 0.85em var(--mono); padding: 2px 7px; border-radius: 6px;
  background: var(--surface-3); box-shadow: 0 0 0 1px var(--hairline);
  white-space: nowrap;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 650; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px;
  border-radius: 10px; font-weight: 600; font-size: 15px; transition: background .15s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2b95ff; }
.btn-small { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }

/* ---------- home ---------- */
.home-hero { padding: 140px 0 80px; text-align: center; }
.home-hero h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.home-hero p { margin-top: 18px; font-size: 20px; color: var(--text-2); }

.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-bottom: 120px; }
.app-card {
  flex: 0 1 330px; position: relative; padding: 28px; border-radius: 22px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline); display: grid; gap: 18px; min-height: 280px;
  transition: background .2s;
}
a.app-card:hover { background: var(--surface-2); }
.app-card img { width: 64px; height: 64px; border-radius: 16px; }
.app-card h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 640; }
.app-card .app-meta { display: flex; gap: 8px; align-self: end; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 550; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.app-card .arrow { position: absolute; top: 28px; right: 28px; width: 20px; height: 20px; fill: none; stroke: var(--text-3); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.app-card:hover .arrow { stroke: var(--text); }
.app-card.soon { background: transparent; }
.app-card.soon .ph {
  width: 64px; height: 64px; border-radius: 16px; border: 1.5px dashed var(--surface-3);
  display: grid; place-items: center; color: var(--text-3); font-size: 26px;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); padding: 34px 0 48px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
}
