/* Every Studio hub (home page, 2026-10-31). A neutral "family of apps" look: night ink, a spectrum mark for the studio,
   and each app keeps its own accent (--a1/--a2). System fonts only. Other pages keep styles.css / media.css. */
:root {
  color-scheme: dark;
  --ink: #0b0912; --ink-2: #110e19; --raised: #16121f; --raised-2: #1d1828; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --fg: #f6f2fa; --muted: #a59db3; --dim: #6f6880;
  --spectrum: linear-gradient(100deg, #ff7a59 0%, #e24c7a 26%, #a855f7 52%, #3b82f6 76%, #22d3ee 100%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--fg); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #a855f7; outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.025em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: -70px; left: 16px; padding: 12px 16px; background: #fff; color: #000; border-radius: 8px; }
.skip-link:focus { top: 14px; }
.spectrum-text { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Per-app accents */
.a-companion { --a1: #e24c7a; --a2: #ff8a5c; }
.a-media     { --a1: #ff7333; --a2: #d94089; }
.a-mood      { --a1: #8b5cf6; --a2: #22d3ee; }
.a-dj        { --a1: #3b82f6; --a2: #a855f7; }
.a-player    { --a1: #84cc16; --a2: #10b981; }
.a-streams   { --a1: #06b6d4; --a2: #6366f1; }
.a-wayfriend { --a1: #ff7f6e; --a2: #ffd36e; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11,9,18,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.brand small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; opacity: .72; margin-top: 1px; line-height: 1; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--fg); }
.top-cta { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.top-cta:hover { background: rgba(255,255,255,.06); }
.menu { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-2); background: transparent; border-radius: 12px; padding: 0 10px; flex-direction: column; justify-content: center; gap: 4px; cursor: pointer; }
.menu span:not(.sr-only) { display: block; height: 2px; background: var(--fg); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: var(--fg); color: var(--ink); }
.btn.ghost { border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,.05); }
.btn.accent { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; box-shadow: 0 12px 30px color-mix(in srgb, var(--a1) 35%, transparent); }
.btn svg { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto; height: 760px; pointer-events: none;
  background: radial-gradient(40% 50% at 70% 40%, rgba(168,85,247,.22), transparent 70%), radial-gradient(35% 45% at 30% 30%, rgba(226,76,122,.18), transparent 70%), radial-gradient(30% 40% at 85% 70%, rgba(34,211,238,.12), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); }
.kicker b { white-space: nowrap; flex: none; padding: 3px 9px; border-radius: 999px; background: var(--spectrum); color: #fff; font-size: 12px; }
.hero h1 { margin: 22px 0 20px; font-size: clamp(44px, 6.6vw, 82px); line-height: .98; }
.hero .lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stats { display: flex; gap: 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Launcher (hero visual): the Every family as a home-screen folder */
.launcher { position: relative; padding: 28px; border-radius: 36px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.launcher-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.launcher-head strong { font-size: 17px; }
.launcher-head span { font-size: 13px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 9px; text-decoration: none; text-align: center; }
.tile .ico { position: relative; width: 100%; max-width: 104px; aspect-ratio: 1; border-radius: 24%; overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.45); transition: transform .2s; }
a.tile:hover .ico { transform: translateY(-4px) scale(1.03); }
.tile .ico img { width: 100%; height: 100%; object-fit: cover; }
.tile .name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.tile .state { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.tile .state.live { color: #6ee7a8; }
.tile .state.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(110,231,168,.18); }
.tile.soon .ico { opacity: .62; }
/* Seven apps in a 3-column grid: the last one sits in the middle of its row. */
.tiles > .tile:last-child:nth-child(3n+1) { grid-column: 2; }
.glyph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, var(--a1), var(--a2)); }
.glyph svg { width: 46%; height: 46%; color: #fff; }

/* Category strip */
.cats { border-block: 1px solid var(--line); background: var(--ink-2); }
.cats .shell { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; flex-wrap: wrap; }
.cats span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.cats i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* Live app showcases */
.showcase { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 34px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; }
.showcase + .showcase { margin-top: 26px; }
.showcase::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--a1) 26%, transparent), transparent 72%); }
.showcase.flip::before { right: auto; left: -160px; }
.showcase.flip .copy { order: 2; }
.showcase > * { position: relative; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-id img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.app-id div { display: flex; flex-direction: column; }
.app-id strong { font-size: 19px; }
.app-id span { font-size: 13px; color: var(--muted); }
.showcase h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.showcase h3 em { background: linear-gradient(120deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.showcase .copy > p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; font-size: 15.5px; }
.ticks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); }
.ticks li { position: relative; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.chip.on { color: var(--fg); border-color: color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 14%, transparent); }
.showcase .actions { margin-top: 26px; }
.note { margin-top: 16px; font-size: 13px; color: var(--dim); }

.visual { position: relative; min-height: 520px; display: flex; justify-content: center; align-items: center; }
.phone { position: relative; width: 250px; aspect-ratio: 9/19.5; border-radius: 40px; padding: 7px; background: #07060b; border: 1px solid var(--line-2); box-shadow: 0 34px 80px rgba(0,0,0,.6); }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; background: #120e18; }
.phone.back { position: absolute; width: 214px; transform: translate(120px, 30px) rotate(6deg); opacity: .9; }
.phone.front { transform: translateX(-50px); z-index: 1; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; background: rgba(20,16,28,.86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.4); font-size: 13px; }
.float i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; }
.float strong { display: block; font-size: 13.5px; }
.float small { color: var(--muted); }
.faces { position: absolute; z-index: 2; display: flex; }
.faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--raised); margin-left: -14px; background: #241c2e; }
.faces img:first-child { margin-left: 0; }

/* Coming soon */
.soon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
/* Five apps on the way: three across, then two wider cards (reset to the 2- and 1-column grids below). */
.soon-grid > .soon-card { grid-column: span 2; }
.soon-grid > .soon-card:nth-child(n+4) { grid-column: span 3; }
.soon-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.soon-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a1) 45%, transparent); }
.soon-card .ico { width: 58px; height: 58px; border-radius: 16px; overflow: hidden; }
.soon-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.soon-card h3 { font-size: 20px; }
.soon-card p { color: var(--muted); font-size: 15px; flex: 1; }
.soon-card a { align-self: flex-start; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.soon-card a:hover { border-color: var(--a1); }

/* Availability */
.avail { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--raised); }
.avail th, .avail td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.avail tr:last-child td { border-bottom: 0; }
.avail thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--ink-2); }
.avail td:first-child { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.avail td:first-child .mini { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; flex: none; }
.avail td:first-child .mini img { width: 100%; height: 100%; object-fit: cover; }
.avail td:first-child .mini .glyph svg { width: 55%; height: 55%; }
.s-live { color: #6ee7a8; font-weight: 600; }
.s-soon { color: var(--muted); }
.s-later { color: var(--dim); }
.table-wrap { overflow-x: auto; }

/* One account */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { padding: 26px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); }
.pillar svg { width: 30px; height: 30px; margin-bottom: 16px; }
.pillar h3 { font-size: 18px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* About / closing */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 56px; border-radius: 34px; background: linear-gradient(135deg, rgba(168,85,247,.14), rgba(226,76,122,.1) 50%, rgba(34,211,238,.08)); border: 1px solid var(--line-2); }
.about h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.about p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.contact { display: grid; gap: 12px; }
.contact a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 18px; background: rgba(11,9,18,.55); border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; }
.contact a span { color: var(--muted); font-weight: 400; font-size: 14px; }
.contact a:hover { border-color: rgba(255,255,255,.3); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--fg); font-size: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot .blurb p { margin-top: 12px; max-width: 320px; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .showcase, .about { grid-template-columns: 1fr; }
  .showcase.flip .copy { order: 0; }
  .soon-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .soon-grid > .soon-card, .soon-grid > .soon-card:nth-child(n+4) { grid-column: auto; }
  .soon-grid > .soon-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot { grid-template-columns: 1fr 1fr; }
  .launcher { max-width: 520px; }
}
@media (max-width: 860px) {
  .menu { display: flex; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: rgba(11,9,18,.97); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .top-cta { display: none; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding: 56px 0 44px; }
  .showcase, .about { padding: 26px 20px; border-radius: 26px; }
  .soon-grid, .pillars, .foot { grid-template-columns: 1fr; }
  .visual { min-height: 440px; }
  .phone { width: 210px; }
  .phone.back { width: 176px; transform: translate(78px, 26px) rotate(6deg); }
  .phone.front { transform: translateX(-34px); }
  .launcher { padding: 20px; border-radius: 28px; }
  .tiles { gap: 18px 10px; }
  .stats { gap: 22px; }
  .avail th, .avail td { padding: 13px 14px; font-size: 14px; }
}
