@font-face { font-family: "Fredoka"; src: url("/assets/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
	--ink: #16283a;
	--sky: #2f9dff;
	--sky-2: #7fd0ff;
	--sand: #fff3d6;
	--sun: #ffb21f;
	--orange: #ff7a2f;
	--violet: #7a4dff;
	--lime: #c6f24a;
	--night: #101a33;
	--display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
	--body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--isl: #ffb21f;
	--isl-bg: #12305a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 18px/1.6 var(--body); color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand, .btn, .badge, .kicker, .chips button, .facts b { font-family: var(--display); }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }

/* nav */
.nav { position: fixed; z-index: 40; top: 12px; left: 50%; transform: translateX(-50%); width: min(1120px, 100% - 24px);
	display: flex; align-items: center; gap: 24px; padding: 8px 10px 8px 12px; border-radius: 22px;
	background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 6px 0 rgba(22, 40, 58, .12), 0 0 0 2px rgba(22, 40, 58, .08); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; text-decoration: none; }
.brand img { border-radius: 11px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 16px; }
.nav nav a { text-decoration: none; opacity: .8; }
.nav nav a:hover { opacity: 1; }

/* buttons and store badges */
.btn, .badge { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 16px; border: 0; cursor: pointer;
	background: var(--orange); color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; line-height: 1.2;
	box-shadow: 0 5px 0 #c9521a; transition: transform .1s, box-shadow .1s; }
.btn:hover, a.badge:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c9521a; }
.btn:active, a.badge:active { transform: translateY(3px); box-shadow: 0 2px 0 #c9521a; }
.btn.small { padding: 10px 16px; font-size: 16px; border-radius: 14px; box-shadow: 0 4px 0 #c9521a; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 rgba(22, 40, 58, .25); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { background: var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.badge.soon { background: rgba(255, 255, 255, .22); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); cursor: default; }

/* phone */
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 16; border-radius: 40px; padding: 9px; background: #14202e;
	box-shadow: 0 30px 60px rgba(10, 30, 60, .35), 0 0 0 2px rgba(255, 255, 255, .15) inset; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #7fd0ff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 150px; color: #fff;
	background: linear-gradient(180deg, #1f86f2 0%, #46b2ff 55%, #8fdcff 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-weight: 600; font-size: 16px; margin-bottom: 18px; }
h1 { font-size: clamp(64px, 11vw, 148px); line-height: .88; font-weight: 700; letter-spacing: -0.02em; text-shadow: 0 6px 0 rgba(13, 66, 140, .35); }
h1 span { color: var(--lime); display: inline-block; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 6px 0 rgba(40, 90, 10, .45); }
.lead { margin: 28px 0 28px; max-width: 30em; font-size: clamp(18px, 1.8vw, 21px); color: #eaf6ff; }
.hero-phone { position: relative; justify-self: center; perspective: 900px; }
.hero-phone .phone { transform: rotate(4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out; }
.coin { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe680, #ffb21f 60%, #e08a00); box-shadow: 0 4px 0 #b86f00, inset 0 0 0 4px rgba(255, 255, 255, .35); animation: bob 3s ease-in-out infinite; }
.c1 { left: -34px; top: 16%; } .c2 { right: -28px; top: 44%; width: 34px; height: 34px; animation-delay: -1s; } .c3 { left: -6px; bottom: 12%; width: 28px; height: 28px; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(12deg); } }
.clouds i { position: absolute; width: 220px; height: 64px; border-radius: 64px; background: rgba(255, 255, 255, .5); animation: drift 60s linear infinite; }
.clouds i::after { content: ""; position: absolute; left: 44px; top: -30px; width: 100px; height: 70px; border-radius: 50%; background: inherit; }
.clouds i:nth-child(1) { top: 14%; left: -10%; } .clouds i:nth-child(2) { top: 34%; left: 40%; transform: scale(.6); animation-duration: 90s; }
.clouds i:nth-child(3) { top: 8%; left: 70%; transform: scale(.8); animation-duration: 75s; } .clouds i:nth-child(4) { top: 58%; left: 15%; transform: scale(.5); animation-duration: 110s; }
@keyframes drift { to { translate: 110vw 0; } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--ink); }

/* facts */
.facts { background: var(--ink); color: #fff; padding: 8px 0 44px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.facts b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--sun); }
.facts span { font-size: 16px; opacity: .85; }

/* section heads */
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; font-weight: 700; }
.sub { margin-top: 12px; max-width: 34em; font-size: 19px; opacity: .85; }

/* islands */
.islands { padding: 100px 0; color: #fff; background: var(--isl-bg); transition: background .5s; overflow: hidden; }
.islands-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 17px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.chips button:hover { border-color: #fff; transform: translateY(-1px); }
.chips button[aria-selected="true"] { background: var(--isl); border-color: var(--isl); color: var(--ink); font-weight: 600; }
.island-card { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .1); min-height: 132px; }
.island-card h3 { font-size: 30px; color: var(--isl); margin-bottom: 6px; transition: color .5s; }
.more { margin-top: 18px; opacity: .75; font-size: 16px; }
.islands-phone { justify-self: center; position: relative; }
.islands-phone::before { content: ""; position: absolute; inset: -12% -22%; border-radius: 50%; background: var(--isl); opacity: .28; filter: blur(50px); transition: background .5s; }
.islands-phone .phone { transform: rotate(-3deg); }

/* features */
.features { padding: 100px 0; background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { --k: var(--sky); padding: 26px 24px 28px; border-radius: 26px; background: color-mix(in srgb, var(--k) 13%, #fff); box-shadow: 0 6px 0 color-mix(in srgb, var(--k) 40%, #fff); transition: transform .15s; }
.card:hover { transform: translateY(-4px) rotate(-.6deg); }
.card svg { width: 54px; height: 54px; padding: 10px; border-radius: 16px; background: var(--k); fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { font-size: 24px; margin-bottom: 6px; }
.card p { font-size: 16.5px; opacity: .85; }
.k1 { --k: var(--sky); } .k2 { --k: var(--orange); } .k3 { --k: var(--violet); } .k4 { --k: #12b5c9; } .k5 { --k: #ff5d8f; } .k6 { --k: #3cba54; }

/* get */
.get { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; color: #fff; background: var(--violet); }
.rays { position: absolute; left: 50%; top: 50%; width: 2200px; height: 2200px; translate: -50% -50%; opacity: .16;
	background: repeating-conic-gradient(#fff 0 9deg, transparent 9deg 18deg); animation: spin 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.get-in { position: relative; display: grid; justify-items: center; gap: 16px; }
.get img { border-radius: 30px; box-shadow: 0 8px 0 rgba(0, 0, 0, .2); animation: bob 3.4s ease-in-out infinite; }
.get p { font-size: 20px; opacity: .92; }
.get .badges { justify-content: center; margin-top: 8px; }

/* footer */
.foot { background: var(--ink); color: #c6d3df; padding: 30px 0 36px; font-size: 15px; }
.foot-in { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; }

@media (max-width: 900px) {
	.hero { padding: 120px 0 130px; }
	.hero-in, .islands-in { grid-template-columns: 1fr; }
	.hero-text { text-align: center; } .lead { margin-inline: auto; } .hero .badges { justify-content: center; }
	.grid { grid-template-columns: repeat(2, 1fr); }
	.facts-in { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.islands-phone { order: -1; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.nav nav { display: none; } .nav { justify-content: space-between; }
	.grid { grid-template-columns: 1fr; }
	.islands, .features { padding: 70px 0; }
	.badge, .btn { font-size: 16px; padding: 13px 18px; }
	.coin { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.coin, .clouds i, .rays, .get img { animation: none; }
	.hero-phone .phone { transition: none; }
}
