/* Maestro Devices — home. A quiet "hallway" page that just points to the apps.
   Minimal / Swiss: one narrow column, monochrome, hairlines, no shadows or gradients.
   Light by default, dark when the device is in dark mode. */

:root {
  --bg: #f7f7f5;
  --text: #111112;
  --text-2: #5f5f63;     /* 6.1:1 on --bg */
  --line: #e2e2de;
  --hover: #efefec;
  --focus: #111112;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --text: #f2f2f3;
    --text-2: #9d9da3;   /* 7.4:1 on --bg */
    --line: #232326;
    --hover: #151517;
    --focus: #f2f2f3;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main { width: 100%; max-width: 460px; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.name {
  margin: 0;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.line {
  margin: 18px 0 44px;
  max-width: 30em;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.5;
}
.line strong { color: var(--text); font-weight: 600; }

/* App list */
.apps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.apps li { border-bottom: 1px solid var(--line); }

.apps a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  transition: background-color 180ms ease-out;
}
.apps a:hover { background: var(--hover); }

.apps img { width: 40px; height: 40px; }
.apps img.ios { width: 36px; height: 36px; margin: 2px; border-radius: 22.4%; }

.app-name { display: block; font-weight: 600; font-size: 16px; }
.app-what { display: block; color: var(--text-2); font-size: 14px; }

.arrow { color: var(--text-2); font-size: 18px; transition: transform 180ms ease-out, color 180ms ease-out; }
.apps a:hover .arrow { transform: translateX(3px); color: var(--text); }

.foot {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
