/* Mac Launcher by Macwap: night black, charcoal glass, white type, one soft blue */
:root {
  --night: #050608;
  --coal: #111318;
  --glass: rgba(255, 255, 255, .06);
  --glass-hi: rgba(255, 255, 255, .12);
  --edge: rgba(255, 255, 255, .12);
  --text: #f4f5f7;
  --sub: #9aa0aa;
  --blue: #5b8cff;
  --blue-hi: #9db8ff;
  --radius: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--night); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, backdrop-filter .35s, box-shadow .35s; }
.nav.solid { background: rgba(5, 6, 8, .72); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--edge); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.08rem; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-size: .68rem; color: var(--sub); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-top: -3px; }
.links { display: flex; gap: 28px; align-items: center; }
.links a { color: var(--sub); font-size: .94rem; transition: color .25s; }
.links a:hover { color: #fff; }
.menu { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.menu span { display: block; height: 2px; width: 22px; margin: 5px auto; background: currentColor; transition: transform .3s, opacity .3s; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .25s, background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: #000; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .45); }
.btn-ghost { border: 1px solid var(--edge); color: #fff; background: var(--glass); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-hi); }
.links .btn { color: #000; }
.play-badge { display: inline-flex; align-items: center; gap: 14px; background: #000; color: #fff; border-radius: 14px; padding: 10px 22px 10px 16px; border: 1px solid rgba(255, 255, 255, .25); transition: transform .25s, box-shadow .25s; }
.play-badge:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -18px rgba(91, 140, 255, .8); }
.play-badge svg { width: 30px; height: 30px; }
.play-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.play-badge small { font-size: .68rem; letter-spacing: .6px; text-transform: uppercase; opacity: .8; }
.play-badge b { font-size: 1.28rem; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; padding: 110px 0 70px;
  background: radial-gradient(1200px 700px at 75% 30%, #1b2333 0%, transparent 60%), radial-gradient(900px 600px at 10% 90%, #12182a 0%, transparent 60%), var(--night); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.planet { position: absolute; width: 1100px; height: 1100px; right: -420px; bottom: -640px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a3246 0%, #11151f 45%, #050608 70%);
  box-shadow: inset 30px 30px 80px rgba(157, 184, 255, .18), 0 0 120px rgba(91, 140, 255, .18); opacity: .9; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--blue-hi); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 300; letter-spacing: -1.5px; margin: 18px 0 20px; }
h1 b { font-weight: 600; }
.lead { color: var(--sub); font-size: 1.12rem; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; align-items: center; }
.soon { font-size: .82rem; color: var(--sub); display: block; margin-top: 10px; }
.trust { display: flex; gap: 34px; flex-wrap: wrap; }
.trust div { color: var(--sub); font-size: .86rem; }
.trust b { display: block; color: #fff; font-size: 1.5rem; font-weight: 600; }

/* phones */
.stage { position: relative; height: 620px; }
.phone { position: absolute; width: 270px; aspect-ratio: 1 / 2; border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #3a3f4a, #0d0f13 40%, #23262d);
  box-shadow: 0 40px 80px -30px #000, 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.stage .p1 { left: 6%; top: 40px; transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.stage .p2 { right: 4%; top: 0; transform: rotate(6deg); animation: float 7s ease-in-out -3.5s infinite; z-index: 1; }
@keyframes float { 50% { translate: 0 -16px; } }
.glow { position: absolute; inset: 15% 10%; background: radial-gradient(closest-side, rgba(91, 140, 255, .35), transparent); filter: blur(30px); }

/* ---------- sections ---------- */
section { padding: 110px 0; position: relative; }
.head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.head .eyebrow { justify-content: center; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -1px; line-height: 1.1; margin: 14px 0 14px; }
h2 b { font-weight: 600; }
.head p { color: var(--sub); font-size: 1.05rem; }

/* the three looks */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.look { background: linear-gradient(180deg, var(--glass-hi), var(--glass)); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; transition: transform .35s, border-color .35s; }
.look:hover { transform: translateY(-6px); border-color: rgba(157, 184, 255, .4); }
.mock { height: 230px; border-radius: 18px; background: radial-gradient(circle at 80% 90%, #2a3246, #0b0d12 60%); margin-bottom: 22px; padding: 18px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.look h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.look p { color: var(--sub); font-size: .95rem; }
/* tiny drawn homes */
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 62%; margin: 18px auto 0; }
.m-grid i { aspect-ratio: 1; border-radius: 30%; background: var(--c, #5b8cff); opacity: .92; }
.m-dock { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 40px; border-radius: 16px; background: rgba(255,255,255,.1); display: flex; justify-content: space-around; align-items: center; }
.m-dock i { width: 24px; height: 24px; border-radius: 30%; background: var(--c); }
.m-clock { height: 14px; width: 46%; border-radius: 7px; background: rgba(255,255,255,.75); }
.m-ios .m-clock { margin: 0 auto; width: 52%; height: 20px; }
.m-ios .m-grid i { border-radius: 26%; }
.m-ios .m-dock { border-radius: 20px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.m-pill { position: absolute; left: 50%; bottom: 60px; translate: -50% 0; width: 64px; height: 14px; border-radius: 7px; background: rgba(255,255,255,.25); }
.m-min .day { font-weight: 100; font-size: 2.6rem; letter-spacing: 8px; text-align: center; line-height: 1; color: #fff; }
.m-min ul { list-style: none; margin-top: 14px; }
.m-min li { display: flex; align-items: center; gap: 10px; color: #dfe3ea; font-size: .8rem; font-weight: 300; margin: 7px 0; }
.m-min li::before { content: ""; width: 12px; height: 12px; border: 1.5px solid #fff; border-radius: 50%; }
.m-min .az { position: absolute; right: 10px; top: 20px; bottom: 20px; display: flex; flex-direction: column; justify-content: space-between; font-size: .5rem; color: #fff; opacity: .8; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--glass); border: 1px solid var(--edge); border-radius: 20px; padding: 26px; transition: background .3s, transform .3s; }
.card:hover { background: var(--glass-hi); transform: translateY(-4px); }
.ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(91, 140, 255, .14); margin-bottom: 16px; }
.ic svg { width: 22px; height: 22px; stroke: var(--blue-hi); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--sub); font-size: .94rem; }

/* show rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 110px; }
.row:last-child { margin-bottom: 0; }
.row.flip .txt { order: 2; }
.txt h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; letter-spacing: -.5px; line-height: 1.15; margin: 12px 0 14px; }
.txt p { color: var(--sub); }
.ticks { list-style: none; margin-top: 20px; }
.ticks li { padding-left: 28px; position: relative; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue-hi); border-bottom: 2px solid var(--blue-hi); transform: rotate(-45deg); }
.solo { position: relative; height: 600px; display: grid; place-items: center; }
.solo .phone { position: relative; }

/* privacy band */
.band { text-align: center; padding: 90px 0; background: linear-gradient(180deg, transparent, #0b0e15 40%, transparent); }
.chips { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.chip { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass); font-size: .95rem; }

/* download */
.download { text-align: center; overflow: hidden; }
.download img.logo { width: 92px; margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 20px 60px -20px rgba(91, 140, 255, .7); }
.download p { color: var(--sub); max-width: 520px; margin: 0 auto 30px; }

/* footer */
footer { border-top: 1px solid var(--edge); padding: 40px 0; color: var(--sub); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a:hover { color: #fff; }
.copy { width: 100%; font-size: .82rem; }

/* documents (privacy, support) */
.doc { padding: 130px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 6px; }
.doc .muted { color: var(--sub); margin-bottom: 30px; }
.doc h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: 0; margin: 36px 0 10px; }
.doc p, .doc li { color: #c9ced6; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc a { color: var(--blue-hi); }
details { background: var(--glass); border: 1px solid var(--edge); border-radius: 16px; padding: 18px 22px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (max-width: 960px) {
  .hero-in, .row { grid-template-columns: 1fr; }
  .row.flip .txt { order: 0; }
  .stage { height: 540px; max-width: 520px; margin: 0 auto; width: 100%; }
  .looks, .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: rgba(5, 6, 8, .96); backdrop-filter: blur(18px); padding: 10px 16px 20px; transform: translateY(-120%); transition: transform .35s; }
  .links.open { transform: none; }
  .links a { padding: 14px 0; width: 100%; text-align: center; }
  .menu { display: block; }
  .looks, .grid { grid-template-columns: 1fr; }
  .phone { width: 210px; }
  .stage { height: 460px; }
  .solo { height: 470px; }
  section { padding: 80px 0; }
  .planet { width: 700px; height: 700px; right: -360px; bottom: -420px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
