/* tiksky.xyz — one stylesheet for every page. Tiksky palette; text pairs keep at least 4.5:1 contrast. */
:root {
  --night: #0A2D34;      /* background */
  --ink: #0A1518;        /* deepest surfaces */
  --deep: #0F3A44;
  --panel: #10353d;
  --line: rgba(244, 236, 219, 0.12);
  --teal: #1C8C9E;
  --sky: #9FE3EC;        /* Open Sky: links, highlights (10.9:1 on night) */
  --lagoon: #3BB3C3;
  --gold: #E9B04B;       /* Dawn Gold: Apple Intelligence */
  --coral: #FF8A73;      /* Sunrise Coral: likes, live, record */
  --cream: #F4ECDB;      /* Cloud Cream: text (13.6:1 on night) */
  --mute: #B9C9C9;       /* secondary text (8.4:1 on night) */
  --radius: 28px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--cream);
  background: var(--ink);
  background-image: radial-gradient(1200px 700px at 50% -10%, #155A63 0%, rgba(21, 90, 99, 0) 70%), linear-gradient(180deg, var(--night) 0%, var(--ink) 1200px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.pixel { image-rendering: pixelated; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(10, 21, 24, 0.72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 22px; font-size: 14px; }
.top nav a { color: var(--mute); }
.top nav a:hover, .top nav a[aria-current] { color: var(--cream); text-decoration: none; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } .top nav { gap: 16px; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lagoon); margin: 0 0 14px; }
.eyebrow.gold { color: var(--gold); }
.eyebrow.coral { color: var(--coral); }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--mute); max-width: 36em; }
.lede strong { color: var(--cream); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 110px) 0 40px; text-align: center; overflow: hidden; }
.hero .icon { width: 132px; height: 132px; margin: 0 auto 28px; border-radius: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.hero h1 { font-size: clamp(52px, 9vw, 104px); font-weight: 800; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--sky), var(--cream) 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 22px auto 30px; text-align: center; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 17px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--cream); color: var(--ink); }
.btn.primary:hover { background: #fff; }
.btn.ghost { border-color: rgba(159, 227, 236, 0.45); color: var(--sky); }
.btn.ghost:hover { background: rgba(159, 227, 236, 0.08); }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 16px; background: #000; border: 1px solid rgba(244, 236, 219, 0.25); color: var(--cream); text-align: left; line-height: 1.15; }
.soon svg { width: 26px; height: 26px; fill: var(--cream); flex: none; }
.soon small { display: block; font-size: 11px; color: var(--mute); letter-spacing: 0.02em; }
.soon b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.platforms { margin-top: 14px; font-size: 14px; color: var(--mute); }

/* ---------- phones ---------- */
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 40px); margin-top: 56px; }
.phone { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.5; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #3a4a4d, #12191b 40%, #2b3638);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); flex: none; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone.side { width: min(250px, 30vw); opacity: 0.96; }
@media (max-width: 760px) { .phone.side { display: none; } }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 31%; height: 26px; background: #000; border-radius: 20px; z-index: 3; }

/* the live Tiksky mockup: real app chrome over a pixel-art sky */
.tk { position: absolute; inset: 0; color: #fff; font-size: 12px; }
.tk .video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; image-rendering: pixelated; animation: drift 24s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.06); } }
.tk .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.62) 100%); }
.tk .seg { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(20, 30, 32, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); white-space: nowrap; }
.tk .seg span { padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 11px; color: rgba(255,255,255,0.75); }
.tk .seg span.on { background: var(--teal); color: #fff; }
.tk .rail { position: absolute; right: 8px; bottom: 112px; display: flex; flex-direction: column; gap: 9px; align-items: center; }
.tk .rail div { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 9.5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.tk .rail img { width: 38px; height: 38px; padding: 6px; border-radius: 50%; background: rgba(20, 30, 32, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); image-rendering: pixelated; }
.tk .rail .disc { width: 34px; height: 34px; padding: 0; background: none; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tk .meta { position: absolute; left: 12px; right: 58px; bottom: 74px; text-shadow: 0 1px 3px rgba(0,0,0,0.65); }
.tk .who { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.tk .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); border: 1.5px solid var(--sky); font-weight: 700; font-size: 11px; color: var(--sky); text-shadow: none; }
.tk .who b { font-size: 12.5px; display: block; line-height: 1.1; }
.tk .who small { font-size: 10px; opacity: 0.85; }
.tk .cap { font-size: 12px; line-height: 1.35; margin: 0 0 4px; }
.tk .cap em { font-style: normal; color: var(--sky); font-weight: 600; }
.tk .snd { font-size: 10px; opacity: 0.9; }
.tk .bar { position: absolute; left: 12px; right: 12px; bottom: 64px; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.28); overflow: hidden; }
.tk .bar i { display: block; height: 100%; width: 38%; background: #fff; animation: play 14s linear infinite; }
@keyframes play { from { width: 0; } to { width: 100%; } }
.tk .tabs { position: absolute; left: 8px; right: 8px; bottom: 10px; height: 48px; border-radius: 26px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  background: rgba(30, 36, 38, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.14); font-size: 8.5px; text-align: center; font-weight: 600; color: rgba(255,255,255,0.8); }
.tk .tabs span.on { color: var(--sky); }
.tk .heart { position: absolute; left: 50%; top: 42%; width: 84px; transform: translate(-50%, -50%) scale(0.4); opacity: 0; image-rendering: pixelated; animation: burst 7s ease-out infinite 2s; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.4); } 4% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } 9% { transform: translate(-50%,-50%) scale(1); } 18% { opacity: 1; } 26%, 100% { opacity: 0; transform: translate(-50%,-80%) scale(1.05); } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 10vw, 128px) 0; scroll-margin-top: 60px; }
[id] { scroll-margin-top: 72px; }
section.tight { padding-top: 24px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } .split .art { justify-self: center; } }
.split h2, .center h2 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 750; margin-bottom: 18px; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--mute); }
.points li img { width: 44px; height: 44px; image-rendering: pixelated; }
.points li b { color: var(--cream); display: block; font-size: 17px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, rgba(28, 140, 158, 0.12), rgba(15, 58, 68, 0.35)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card img { width: 72px; height: 72px; image-rendering: pixelated; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }

.dials { margin-top: 30px; display: grid; gap: 16px; max-width: 460px; }
.dial { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; font-size: 15px; color: var(--mute); }
.dial .track { position: relative; height: 6px; border-radius: 3px; background: rgba(244, 236, 219, 0.14); }
.dial .track i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.dial .track i::after { content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); transform: translateY(-50%); box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.prompt { margin-top: 26px; padding: 16px 18px; border-radius: 18px; background: rgba(233, 176, 75, 0.09); border: 1px solid rgba(233, 176, 75, 0.35); color: var(--cream); font-size: 16px; max-width: 460px; }
.prompt b { color: var(--gold); font-weight: 600; display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }

.studio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 760px) { .studio { grid-template-columns: 1fr 1fr; } }
.step { border-radius: 22px; padding: 22px; background: rgba(10, 21, 24, 0.55); border: 1px solid var(--line); }
.step span { font-size: 13px; font-weight: 700; color: var(--coral); letter-spacing: 0.1em; }
.step h3 { font-size: 19px; margin: 8px 0 6px; }
.step p { margin: 0; font-size: 15px; color: var(--mute); }

.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 21, 24, 0.45); }
.network { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream); font-size: 15px; background: rgba(244,236,219,0.04); }
.chip b { color: var(--sky); font-weight: 600; }

.macs { margin-top: 48px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0b1416; box-shadow: 0 30px 80px rgba(0,0,0,0.5); max-width: 980px; margin-left: auto; margin-right: auto; }
.macs .bar { height: 34px; display: flex; gap: 8px; align-items: center; padding: 0 14px; background: #162124; }
.macs .bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .macs .bar i:nth-child(2) { background: #febc2e; } .macs .bar i:nth-child(3) { background: #28c840; }
.macs .body { display: grid; grid-template-columns: 180px 1fr 280px; min-height: 380px; }
@media (max-width: 760px) { .macs .body { grid-template-columns: 1fr; } .macs .side, .macs .comments { display: none; } }
.macs .side { padding: 18px 14px; border-right: 1px solid var(--line); font-size: 14px; color: var(--mute); display: grid; align-content: start; gap: 6px; }
.macs .side span { padding: 7px 10px; border-radius: 9px; } .macs .side span.on { background: rgba(28,140,158,0.3); color: var(--cream); }
.macs .player { display: grid; place-items: center; padding: 18px; background: #000; }
.macs .player img { height: 340px; width: auto; border-radius: 14px; image-rendering: pixelated; }
.macs .comments { padding: 18px; border-left: 1px solid var(--line); font-size: 14px; display: grid; align-content: start; gap: 14px; }
.macs .comments b { color: var(--cream); } .macs .comments p { margin: 2px 0 0; color: var(--mute); }
.macs .comments .h { font-weight: 700; font-size: 15px; }
.keys { margin-top: 16px; text-align: center; color: var(--mute); font-size: 15px; }
kbd { font-family: var(--font); font-size: 13px; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(244,236,219,0.3); color: var(--cream); background: rgba(244,236,219,0.06); }

.final { text-align: center; padding-bottom: 40px; }
.final img.mark { width: min(420px, 90vw); margin: -40px auto -10px; image-rendering: pixelated; }

/* ---------- legal + support ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 800; margin-bottom: 10px; }
.doc .updated { color: var(--mute); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: #DCE3DF; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--cream); }
.summary { border-radius: 22px; padding: 22px 24px; background: rgba(28, 140, 158, 0.12); border: 1px solid rgba(159, 227, 236, 0.25); }
.summary h2 { margin-top: 0; font-size: 20px; }
.summary ul { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--cream); font-weight: 600; } td { color: #DCE3DF; }
.tablewrap { overflow-x: auto; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--sky); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details summary::-webkit-details-marker { display: none; }
details p, details ul { margin: 10px 0 0; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 26px 0; }
.contact a { display: block; border-radius: 20px; padding: 20px; background: rgba(244,236,219,0.05); border: 1px solid var(--line); color: var(--cream); }
.contact a:hover { text-decoration: none; border-color: rgba(159,227,236,0.5); }
.contact a b { display: block; font-size: 17px; } .contact a span { color: var(--sky); font-size: 15px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0 56px; font-size: 14px; color: var(--mute); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .credit { grid-column: 1 / -1; } }
footer h4 { margin: 0 0 10px; font-size: 13px; color: var(--cream); letter-spacing: 0.06em; text-transform: uppercase; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
footer a { color: var(--mute); } footer a:hover { color: var(--cream); }
.credit { display: flex; gap: 14px; align-items: flex-start; }
.credit img { width: 52px; height: 52px; border-radius: 12px; image-rendering: pixelated; flex: none; }
.credit p { margin: 0 0 6px; }
.credit .by { color: var(--cream); font-weight: 600; font-size: 15px; }
.fine { max-width: var(--max); margin: 30px auto 0; padding: 0 24px; font-size: 12.5px; color: #93A6A6; line-height: 1.5; }

/* moved out of inline styles (the CSP forbids them) */
.soon img { border-radius: 8px; }
.tk .video.rev { animation-direction: alternate-reverse; }
.tk .bar.late i { animation-delay: -5s; }
.dial .track i.w72 { width: 72%; } .dial .track i.w48 { width: 48%; } .dial .track i.w63 { width: 63%; } .dial .track i.w88 { width: 88%; }
.center > img.pixel { margin: 0 auto 18px; }
.notfound { text-align: center; }
.notfound img { margin: 20px auto 10px; }
.notfound .lede { margin: 0 auto 28px; }

/* privacy table: stacked cards on phones */
@media (max-width: 640px) {
  .tablewrap table, .tablewrap tbody, .tablewrap tr, .tablewrap td { display: block; width: 100%; }
  .tablewrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tablewrap tr { border: 1px solid var(--line); border-radius: 18px; padding: 6px 4px; margin: 0 0 12px; background: rgba(244,236,219,0.03); }
  .tablewrap td { border: 0; padding: 6px 12px; }
  .tablewrap td:nth-child(2)::before { content: "Why"; display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lagoon); }
  .tablewrap td:nth-child(3)::before { content: "Where"; display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lagoon); }
}
