/* blinky.social. Dark by default; html[data-theme="light"] switches. The blue top stays in both. */

@font-face {
	font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
	src: url("fonts/figtree-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
	src: url("fonts/figtree-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--top: #1f6fe8; --top-text: #ffffff; --top-soft: #dbe9ff; --top-lead: #e6f0ff;
	--bg: #0c1424; --band: #0a1120; --card: #142039; --ink: #ffffff; --body: #c6d0e3; --muted: #8fa0bd;
	--line: rgba(255, 255, 255, .07); --link: #8fc0ff; --link-hover: #ffffff;
	--phone: #0d0f12; --phone-ring: rgba(255, 255, 255, .5); --shadow: rgba(0, 8, 30, .6);
	--ghost: rgba(255, 255, 255, .4); --ghost-hover: #ffffff;
	--foot: #060b16; --foot-text: #8fa0bd;
	color-scheme: dark;
}
html[data-theme="light"] {
	--bg: #ffffff; --band: #f3f6fb; --card: #ffffff; --ink: #0f1720; --body: #3b4452; --muted: #5b6472;
	--line: #e3e7ee; --link: #1a5cff; --link-hover: #0f3fc2;
	--phone: #0d0f12; --phone-ring: #b9bec6; --shadow: rgba(15, 23, 32, .22);
	--foot: #0f1720; --foot-text: #8b94a3;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5;
	-webkit-font-smoothing: antialiased; transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; font-weight: 800; line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.section-head h2, .row h2 { font-size: 44px; }
.dot { display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: #ff4b55; box-shadow: 0 0 18px rgba(255, 75, 85, .7); vertical-align: .12em; margin-right: .28em; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
	border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.white { background: #ffffff; color: #0c1424; }
.btn.white:hover { background: #e3efff; color: #0c1424; }
.btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px var(--ghost); }
.btn.ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--ghost-hover); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Blue top: navigation, hero, the store artwork */
.top { background: var(--top); color: var(--top-text); }
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.brand img { border-radius: 10px; }
.menu { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.menu .link { color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 4px; }
.menu .link:hover { color: var(--top-soft); }
.switch {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4);
}
.switch:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.switch .moon { display: none; }
html[data-theme="light"] .switch .sun { display: none; }
html[data-theme="light"] .switch .moon { display: block; }
.hero { padding-top: 72px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero .eyebrow { color: var(--top-soft); }
.hero h1 { font-size: 80px; line-height: 1.0; letter-spacing: -0.03em; max-width: 860px; }
.hero .lead { max-width: 640px; font-size: 21px; color: var(--top-lead); }
.hero .actions { justify-content: center; margin-top: 8px; }
.art { padding-top: 24px; }
.art img { display: block; width: 100%; border-radius: 32px 32px 0 0; box-shadow: 0 -20px 60px rgba(0, 8, 30, .3); }

/* How it works */
.how { padding: 96px 32px 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
	display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s ease;
}
.card h3 { font-size: 22px; font-weight: 700; }
.card p { font-size: 16px; color: var(--body); }
.step { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--top); color: #fff; font-weight: 800; font-size: 18px; }

/* Rows with phones */
.subtitles { padding: 40px 32px 96px; }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.row.flip { grid-template-columns: 7fr 5fr; }
.subtitles .row { padding-top: 40px; border-top: 1px solid var(--line); }
.row .txt { display: flex; flex-direction: column; gap: 16px; }
.row .txt h3 { font-size: 34px; }
.row .txt p { font-size: 18px; color: var(--body); }
.row .vis { display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.phone {
	background: var(--phone); box-shadow: 0 0 0 2px var(--phone-ring), 0 30px 70px var(--shadow);
	padding: 9px; border-radius: 42px; flex: 0 1 250px; max-width: 46%;
}
.phone img { display: block; width: 100%; border-radius: 34px; }
.phone.lower { margin-top: 56px; }
.band { background: var(--band); transition: background-color .25s ease; }
.feeds { padding: 96px 0; }

/* Support */
.support { padding: 96px 32px; }
.link-card { text-decoration: none; color: var(--ink); gap: 10px; }
.link-card:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--link); }
.link-card .card-title { font-size: 20px; font-weight: 700; }
.link-card span:not(.card-title) { font-size: 16px; color: var(--body); }

/* Footer */
.foot { background: var(--foot); color: var(--foot-text); padding: 56px 0 40px; transition: background-color .25s ease; }
.foot .wrap { display: flex; flex-direction: column; gap: 32px; }
.foot .brand { color: #fff; font-size: 20px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot-top nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.foot a { color: var(--foot-text); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.foot-bottom a { color: #c6d0e3; }
.legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* Smaller screens */
@media (max-width: 960px) {
	.row, .row.flip { grid-template-columns: 1fr; gap: 40px; }
	.row.flip .txt { order: -1; }
	.hero h1 { font-size: 52px; }
	.section-head h2, .row h2 { font-size: 36px; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 20px; }
	.grid3, .grid2 { grid-template-columns: 1fr; }
	.hero h1 { font-size: 40px; }
	.how, .subtitles, .support { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body, .btn, .card, .band, .foot { transition: none; }
}
