:root {
  color-scheme: dark;
  --ink: #f5f7ff;
  --muted: #aeb8d4;
  --line: rgba(255, 255, 255, .12);
  --panel: rgba(20, 28, 58, .72);
  --accent: #8d9cff;
  --accent-2: #67e8d2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, #24306b 0, #11172f 42%, #080b18 100%);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent-2); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
header { padding: 28px 0; border-bottom: 1px solid var(--line); }
nav { display: flex; gap: 22px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: .02em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
nav .links { display: flex; gap: 18px; flex-wrap: wrap; }
nav .links a { text-decoration: none; color: var(--muted); }
main { padding: 72px 0 90px; }
.hero { max-width: 760px; }
.eyebrow { color: var(--accent-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1 { margin: 12px 0 18px; font-size: clamp(2.8rem, 8vw, 5.8rem); line-height: .98; letter-spacing: -.06em; }
h2 { margin-top: 2.2rem; line-height: 1.2; }
.lead { color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 650px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-block; padding: 11px 17px; border-radius: 999px; background: var(--accent); color: #0b1026; font-weight: 700; text-decoration: none; }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.app-store-placeholder { opacity: .78; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 54px; }
.card { position: relative; isolation: isolate; overflow: hidden; min-height: 174px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.card:hover, .card:focus-visible { transform: translateY(-3px); border-color: rgba(141, 156, 255, .75); }
.card::before { position: absolute; z-index: -2; inset: 0; content: ""; opacity: .9; }
.card::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(135deg, rgba(8, 11, 24, .82), rgba(8, 11, 24, .42)); }
.card.sonuvi-server::before { background: url("assets/sonuvi-app-icon.png") center / cover no-repeat; }
.card.files-drive::before { background: radial-gradient(circle at 78% 18%, #dff7ff 0 7%, transparent 28%), linear-gradient(135deg, #2563eb, #38bdf8 52%, #dbeafe); }
.card.apple-music::before { background: radial-gradient(circle at 75% 22%, #ffb4df 0 8%, transparent 27%), linear-gradient(135deg, #fa233b, #a855f7 54%, #5b21b6); }
.card.google-drive::before { background: conic-gradient(from 215deg at 78% 20%, #34a853 0 28%, #fbbc04 28% 54%, #4285f4 54% 78%, #34a853 78%); }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.card-more { display: block; margin-top: 22px; color: var(--accent-2); font-size: .9rem; font-weight: 700; }
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--muted); }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
footer { padding: 25px 0 45px; color: var(--muted); border-top: 1px solid var(--line); font-size: .92rem; }
@media (max-width: 620px) { nav { align-items: flex-start; flex-direction: column; } main { padding-top: 48px; } }
