/* Colours and shapes follow the Snakkes app (assets/css/master.css). */
:root {
  color-scheme: light;
  --ink: #29384a;
  --heading: #22394c;
  --muted: #74858f;
  --line: #dce9f0;
  --blue: #2186ae;
  --blue-dark: #176c91;
  --navy: #173a57;
  --night: #0f2539;
  --surface: #fff;
  --page: #f5faff;
  --online: #56bc6a;
  --shadow: 0 28px 80px rgba(38,83,113,.16), 0 4px 12px rgba(38,83,113,.06);
  --wide: 1180px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #5bb7d3; outline-offset: 3px; border-radius: 6px; }
.ti { display: inline-block; font-size: 18px; }

/* ---------- What's new, in the bar on top ---------- */

.announce { position: relative; z-index: 11; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 16px; color: #fff; background: linear-gradient(90deg, #e9782f, #f0a43c 35%, #4fb7cf 70%, #2186ae); background-size: 200% 100%; font-size: 14px; text-decoration: none; text-align: center; animation: announce-slide 10s ease-in-out infinite alternate; }
.announce:hover span strong { text-decoration: underline; }
.announce .ti { font-size: 16px; transition: transform .2s; }
.announce:hover .ti { transform: translateX(3px); }
.announce-pill { padding: 2px 9px; border-radius: 20px; color: #e9782f; background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@keyframes announce-slide { to { background-position: 100% 0; } }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 0 max(16px, calc((100vw - var(--wide)) / 2)); color: #e8f5fb; background: rgba(15,37,57,.82); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; }
.brand img { width: 24px; height: 20px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a { color: #bcd6e2; text-decoration: none; transition: color .15s; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-download { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 10px; color: #fff; background: linear-gradient(110deg,#2488ac,#49b3ce); box-shadow: 0 6px 16px rgba(73,179,206,.3); font-weight: 600; }
.site-nav .nav-download:hover { color: #fff; filter: brightness(1.08); }
.site-nav .nav-download .ti { font-size: 16px; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 52px max(24px, calc((100vw - var(--wide)) / 2)) 0; color: #f2fbff; background: radial-gradient(ellipse at 50% 120%, #2b7fa6 0%, transparent 55%), linear-gradient(180deg, var(--night) 0%, var(--navy) 55%, #1f5b80 100%); text-align: center; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: glow-drift 14s ease-in-out infinite alternate; }
.glow-one { width: 460px; height: 460px; left: -120px; top: 40px; background: #3fb4d6; }
.glow-two { width: 380px; height: 380px; right: -80px; top: 120px; background: #8b74d1; animation-delay: -5s; }
.glow-three { width: 300px; height: 300px; left: 42%; top: -160px; background: #f0a43c; opacity: .35; animation-delay: -9s; }
@keyframes glow-drift { to { transform: translate(40px, 30px) scale(1.12); } }
.hero-copy { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.version-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; color: #d9f1fa; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); transition: background .15s; }
.version-pill:hover { background: rgba(255,255,255,.15); }
.version-pill .ti { font-size: 15px; }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: #8fdbac; box-shadow: 0 0 0 0 rgba(143,219,172,.7); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 9px rgba(143,219,172,0); } 100% { box-shadow: 0 0 0 0 rgba(143,219,172,0); } }
.hero h1 { margin: 20px 0 16px; font-size: clamp(44px, 6.6vw, 80px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.hero-gradient { background: linear-gradient(100deg, #7fe0f2, #b6a4ff 45%, #ffc27a 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; margin: 0 auto; color: rgba(226,244,252,.85); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 20px 0 0; padding: 0; color: rgba(214,238,248,.8); font-size: 14px; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ti { color: #8fdbac; font-size: 17px; }

.download-button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 26px 13px 20px; border: 0; border-radius: 14px; color: var(--navy); background: #fff; box-shadow: 0 14px 34px rgba(5,20,35,.35), 0 0 0 4px rgba(255,255,255,.12); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(5,20,35,.42), 0 0 0 6px rgba(255,255,255,.16); }
.download-button .ti { color: var(--blue); font-size: 30px; }
.download-button span { display: grid; gap: 1px; text-align: left; }
.download-button strong { font-size: 16px; }
.download-button small { color: var(--muted); font-size: 12.5px; }
.download-button.is-soon:hover { transform: none; }
/* "Not on a Mac? Download for Windows" under the button (always on a dark background). */
.download-other { margin: 14px 0 0; color: rgba(214,238,248,.75); font-size: 13.5px; }
.download-other a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.download-other a:hover { color: #bfe9f7; }
.about-cta .download-other { margin-top: 6px; }
.ghost-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; color: #fff; background: rgba(255,255,255,.07); font-size: 15px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); transition: background .15s; }
.ghost-button:hover { background: rgba(255,255,255,.15); }
.ghost-button .ti { color: #ffc27a; }

/* The app, tilted back like it's lying on a desk, straightening as you scroll (script.js), with real bits floating around. */
.hero-stage { position: relative; z-index: 1; max-width: 1060px; margin: 48px auto 0; perspective: 1800px; }
.app-window { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.app-window img { display: block; width: 100%; }
.hero-window { border: 1px solid rgba(255,255,255,.25); border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 -10px 80px rgba(63,180,214,.35), 0 40px 120px rgba(0,0,0,.5); transform: rotateX(var(--tilt, 16deg)) scale(var(--tilt-scale, .94)); transform-origin: 50% 100%; transition: transform .1s linear; }
.float-card, .float-toast, .float-bubble { position: absolute; z-index: 2; border-radius: 16px; box-shadow: 0 24px 60px rgba(5,20,35,.38), 0 4px 12px rgba(5,20,35,.18); animation: bob 6s ease-in-out infinite; }
.float-card { background: #fff; }
.float-game { left: -70px; top: 38%; width: 230px; animation-delay: -1s; }
.float-suggest { right: -80px; top: 19%; width: 330px; animation-delay: -3s; }
.float-post { right: -40px; top: 52%; width: 360px; animation-delay: -4.5s; }
/* The group call: a dark strip, so it has no white card behind it. */
.float-call { top: 58%; width: 420px; background: #18303f; }
.float-toast { left: -40px; top: 8%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; color: #33495a; background: rgba(255,255,255,.97); text-align: left; animation-delay: -2s; }
.float-toast img { width: 40px; height: 40px; border-radius: 12px; }
.float-toast span { display: grid; line-height: 1.25; }
.float-toast strong { font-size: 14px; }
.float-toast small { color: #82929b; font-size: 12.5px; }
.float-toast i { position: absolute; left: 42px; top: 40px; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: var(--online); }
.float-bubble { right: 7%; top: 0; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 16px 16px 16px 4px; color: #3c8fb2; background: #fff; font-size: 18px; font-weight: 600; animation-delay: -3.5s; }
#hero-bubble { min-width: 2ch; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* ---------- Display pictures, sliding past ---------- */

.faces { overflow: hidden; padding: 110px 0 0; background: linear-gradient(180deg, #fff, var(--page)); text-align: center; }
.faces-copy { max-width: 640px; margin: 0 auto 46px; padding: 0 24px; }
.faces-copy h2, .section-heading h2, .story-copy h2, .privacy-intro h2, .download-card h2 { margin: 14px 0 12px; color: var(--heading); font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.faces-copy p, .section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
/* The fade at the sides also clips at the box's edges, so there's room above and below for the tilt and shadows. */
.faces-rows { display: grid; gap: 22px; padding: 16px 0 46px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* The padding after the last picture equals the gap, so half the row is exactly one set of pictures. */
.faces-row { display: flex; gap: 22px; width: max-content; padding-right: 22px; animation: faces-scroll 140s linear infinite; }
.faces-row-reverse { animation-direction: reverse; animation-duration: 160s; }
.faces-row img { width: 112px; height: 112px; border: 4px solid #fff; border-radius: 30px; box-shadow: 0 12px 30px rgba(38,83,113,.18); transition: transform .2s; }
.faces-row img:nth-child(3n) { transform: rotate(-4deg); }
.faces-row img:nth-child(3n+1) { transform: rotate(3deg); }
.faces-row:hover { animation-play-state: paused; }
.faces-row img:hover { transform: scale(1.12) rotate(0); }
@keyframes faces-scroll { to { transform: translateX(-50%); } }

/* ---------- Shared bits ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.new-badge { padding: 5px 12px; border-radius: 20px; color: #fff; background: linear-gradient(110deg, #f0a43c, #e9782f); font-size: 12px; letter-spacing: .08em; box-shadow: 0 4px 12px rgba(233,120,47,.3); }
.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.feature-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #fff; border-radius: 14px; color: #fff; box-shadow: 0 2px 6px rgba(46,69,80,.2); }
.feature-icon .ti { font-size: 22px; }
/* Same palette as the contact avatars in the app. */
.feature-icon.blue { background: linear-gradient(145deg,#7cc3e4,#3c97c6); }
.feature-icon.green { background: linear-gradient(145deg,#8fd2c7,#4fae8f); }
.feature-icon.gold { background: linear-gradient(145deg,#f4cc6f,#e0a43c); }
.feature-icon.lilac { background: linear-gradient(145deg,#b9a6ea,#8b74d1); }
.feature-icon.rose { background: linear-gradient(145deg,#f3a3a8,#e07a86); }
.feature-icon.slate { background: linear-gradient(145deg,#9aaebb,#687f8f); }
.feature-icon.peach { background: linear-gradient(145deg,#f8c39a,#e9906a); }
.feature-icon.sky { background: linear-gradient(145deg,#93d6ec,#4fa9cf); }

/* Things slide up softly as they come into view (script.js adds .is-visible). */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- What's new: tiles big and small ---------- */

.whatsnew { max-width: var(--wide); margin: 0 auto; padding: 110px 24px 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.tile { position: relative; overflow: hidden; margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 2px 8px rgba(43,70,80,.04); transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(38,83,113,.14); }
.tile h3 { margin: 18px 0 8px; color: var(--heading); font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.tile-card { display: block; width: 100%; border-radius: 14px; box-shadow: 0 16px 40px rgba(38,83,113,.16); }
/* Wide tiles: the words on the left, the picture from the app on the right. */
.tile-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: 40px; }
.tile-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px !important; padding: 6px 14px; border-radius: 999px; color: #2f7d55 !important; background: #dff3e7; font-size: 14px !important; font-weight: 600; }
.tile-ludo { background: linear-gradient(160deg, #e8f8ef, #fff 60%); }
.tile-ludo .tile-card { justify-self: end; max-width: 640px; }
.tile-friend { grid-column: span 4; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; background: linear-gradient(170deg, #fdeef5, #fff 60%); }
.tile-friend .tile-card { transform: rotate(1.5deg); }
/* Three in a row: the picture in a light panel that fills the rest of the tile, so they line up. */
.tile-third { grid-column: span 2; display: flex; flex-direction: column; }
.tile-art { flex: 1; min-height: 190px; display: grid; place-items: center; align-content: center; gap: 12px; margin-top: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.6); }
.tile-art .tile-card { width: auto; max-width: 100%; max-height: 190px; }
.tile-pin { background: linear-gradient(170deg, #eaf7fd, #fff 70%); }
.tile-pin .tile-card { border-radius: 12px; }
.tile-pin .tile-card:last-child { max-width: 88%; justify-self: end; transform: rotate(-1.5deg); }
.tile-vanish { background: linear-gradient(170deg, #f1edff, #fff 70%); }
.tile-vanish .tile-card { transform: rotate(-1.5deg); }
.tile-overlay { background: linear-gradient(170deg, #e8f8ef, #fff 70%); }
/* The card is a see-through window with its own shadow, so no second shadow or corner here. */
.tile-overlay .tile-card { border-radius: 0; box-shadow: none; transform: rotate(1.5deg); }
.tile-draft { background: linear-gradient(170deg, #fff1e6, #fff 70%); }
/* Drafts: three chats (Freja's chosen) and her half-written message with a blinking cursor. */
.draft-art { gap: 16px; }
.draft-chats { display: flex; gap: 10px; }
.draft-chats img { width: 40px; height: 40px; border-radius: 12px; opacity: .55; }
.draft-chats .is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #2394b8; opacity: 1; }
.draft-box { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; color: #33495a; background: #fff; box-shadow: 0 12px 30px rgba(38,83,113,.14); font-size: 14.5px; }
.draft-caret { display: inline-block; width: 2px; height: 17px; margin-left: 2px; vertical-align: -3px; background: #2394b8; animation: draft-blink 1s steps(1) infinite; }
@keyframes draft-blink { 50% { opacity: 0; } }
/* 1.0: drawn from the app's own pieces until the screenshots are taken. */
.tile-map { background: linear-gradient(160deg, #e8f8ef, #fff 60%); }
/* The friend map: the same 440 × 300 grid for the lines and the pictures, so they meet at any size. */
.map-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 22 / 15; justify-self: end; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: radial-gradient(circle at 50% 52%, #fff 0 18%, transparent 62%), linear-gradient(160deg, #dff3e7, #dcebfb); box-shadow: 0 16px 40px rgba(38,83,113,.12); }
.map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art path { fill: none; stroke: #9bb8c6; stroke-width: 2.5; stroke-linecap: round; opacity: .5; }
.map-art path.is-lit { stroke: var(--blue); stroke-width: 3.5; opacity: 1; }
.map-art img, .map-label { position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -50%); }
.map-art img { width: 13%; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(38,83,113,.18); opacity: .5; }
.map-art .is-near, .map-art .is-you { opacity: 1; }
.map-art .is-lit { opacity: 1; box-shadow: 0 0 0 3px var(--blue), 0 8px 20px rgba(33,134,174,.35); animation: map-lit 2.4s ease-in-out infinite; }
@keyframes map-lit { 50% { box-shadow: 0 0 0 7px rgba(33,134,174,.3), 0 8px 20px rgba(33,134,174,.35); } }
.map-art .is-you { width: 17%; }
.map-label { margin-top: 7%; padding: 2px 10px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 700; }
/* Your list, your way: two of your own groups, a friend being dragged within one. */
.tile-list { background: linear-gradient(170deg, #eaf7fd, #fff 70%); }
.list-art { width: min(100%, 240px); display: grid; gap: 2px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(38,83,113,.14); }
.list-art em { display: flex; align-items: center; gap: 4px; padding: 4px 6px 3px; color: #496274; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.list-art em .ti { font-size: 14px; }
.list-art > span { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 10px; color: #33495a; font-size: 14px; font-weight: 600; }
.list-art > span img { width: 26px; height: 26px; border-radius: 50%; }
.list-art > span i { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #c3ced5; }
.list-art > span i.is-online { background: var(--online); }
.list-art .is-dragged { background: #e8f4f8; box-shadow: 0 10px 24px rgba(38,83,113,.22); animation: list-drag 2.8s ease-in-out infinite; }
@keyframes list-drag { 0%, 100% { transform: translate(8px, 0) rotate(-2deg); } 50% { transform: translate(14px, -8px) rotate(-3deg); } }
/* In a call: friends with the purple status. */
.tile-incall { background: linear-gradient(170deg, #f1edff, #fff 70%); }
.call-row { width: min(100%, 220px); display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px rgba(90,70,150,.14); }
.call-row img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8b6fd6; }
.call-row > span { display: grid; }
.call-row strong { color: var(--heading); font-size: 15px; }
.call-row small { display: flex; align-items: center; gap: 6px; color: #7a5fd0; font-size: 13px; font-weight: 600; }
.call-row small::before { width: 8px; height: 8px; border-radius: 50%; background: #8b6fd6; content: ""; }
.call-row + .call-row { transform: translateX(18px); }
/* Names that shine: Prism turns through the rainbow, Neon sign glows and now and then flickers. */
.tile-names { background: linear-gradient(170deg, #fff6dc, #fff 70%); }
.names-art { gap: 6px; border: 0; background: linear-gradient(160deg, #22394a, #2a2540); }
.name-prism { background: linear-gradient(90deg, #ff6b6b, #f7c948, #5fd38d, #4fb7f0, #b48cf2, #ff6b6b) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 34px; font-weight: 800; animation: name-prism 4s linear infinite; }
@keyframes name-prism { to { background-position: 200% 0; } }
.name-neon { color: #ffe3f6; font-size: 30px; font-weight: 700; text-shadow: 0 0 6px #ff5fc8, 0 0 16px #ff5fc8, 0 0 30px #ff2fb3; animation: name-neon 5s steps(1) infinite; }
@keyframes name-neon { 0%, 70%, 74%, 78%, 100% { opacity: 1; } 72%, 76% { opacity: .45; } }
/* Seen by: your post with the faces of who has seen it. */
.tile-seen { grid-column: span 4; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; background: linear-gradient(170deg, #fdeef5, #fff 60%); }
.seen-art { display: grid; place-items: center; }
.seen-post { width: min(100%, 340px); display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(38,83,113,.16); transform: rotate(1.5deg); }
.seen-head { display: flex; align-items: center; gap: 10px; }
.seen-head img { width: 38px; height: 38px; border-radius: 50%; }
.seen-head > span { display: grid; }
.seen-head strong { color: var(--heading); font-size: 15px; }
.seen-head small, .seen-by { color: var(--muted); font-size: 13px; }
.seen-text { color: #33495a; font-size: 15.5px; }
.seen-by { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.seen-by > span { display: flex; }
.seen-by img { width: 24px; height: 24px; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; }
.seen-by img:first-child { margin-left: 0; }
/* A friendlier hello: the sign-in screen's logo tile and its little chat. */
.tile-signin { background: linear-gradient(170deg, #fff1e6, #fff 70%); }
.signin-art { gap: 10px; justify-items: stretch; }
.signin-logo { width: 54px; height: 54px; display: grid; place-items: center; justify-self: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(38,83,113,.12); }
.signin-logo img { width: 32px; }
.signin-bubble { width: max-content; padding: 8px 14px; border-radius: 16px; font-size: 14.5px; box-shadow: 0 6px 16px rgba(38,83,113,.1); }
.signin-bubble.is-theirs { border-top-left-radius: 4px; color: #33495a; background: #fff; }
.signin-bubble.is-mine { display: flex; gap: 4px; justify-self: end; padding: 12px 14px; border-top-right-radius: 4px; background: #d8f0f6; }
.signin-bubble i { width: 7px; height: 7px; border-radius: 50%; background: #4a9bb3; animation: signin-dot 1.2s ease-in-out infinite; }
.signin-bubble i:nth-child(2) { animation-delay: .15s; }
.signin-bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes signin-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.tile-more { grid-column: span 6; display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 22px 30px; list-style: none; color: #e6f4fb; background: linear-gradient(160deg, var(--navy), #1f5b80); border: 0; }
.tile-more li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; }
.tile-more .ti { flex: 0 0 auto; margin-top: 1px; color: #7fe0f2; font-size: 20px; }
.tile-more strong { display: block; color: #fff; font-size: 15px; }
.tile-more span { color: rgba(220,240,250,.75); }
.tile-more a { color: #9fe8f6; }

/* ---------- Stories ---------- */

.stories { max-width: var(--wide); margin: 0 auto; padding: 60px 24px 0; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; padding-top: 100px; }
/* Flipped: the screenshot on the left, still in the wide column. */
.story-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.story-flip .story-copy { order: 2; }
.story-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.story-points { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.story-points li { display: flex; align-items: center; gap: 12px; color: #3a5163; font-size: 15.5px; font-weight: 600; }
.story-points .ti { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #e3f3fa; font-size: 18px; }
.story-shot { border-radius: 18px; box-shadow: 0 40px 100px rgba(38,83,113,.22), 0 6px 18px rgba(38,83,113,.08); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .5s; }
.story-flip .story-shot { transform: perspective(1600px) rotateY(6deg) rotateX(2deg); }
.story-shot:hover { transform: none; }
.story-shot img { transition: opacity .25s; }
.look-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.look-tabs button { padding: 9px 16px; border: 0; border-radius: 10px; color: #5c7180; background: transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.look-tabs button:hover { color: var(--blue-dark); background: #f0f8fb; }
.look-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(110deg,#2488ac,#49b3ce); box-shadow: 0 4px 12px rgba(36,136,172,.28); }

/* ---------- Everything ---------- */

.everything, .how { max-width: var(--wide); margin: 0 auto; padding: 120px 24px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 2px 7px rgba(43,70,80,.04); transition: transform .2s, box-shadow .2s, opacity .7s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(38,83,113,.12); }
.feature h3 { margin: 16px 0 6px; color: #344558; font-size: 17px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Your data: stored in Denmark ---------- */

/* The Danish flag (Dannebrog) in CSS, since Windows shows flag emoji as letters. Proportions 37 × 28, cross at 12–16. */
.dk-flag { display: inline-block; flex: 0 0 auto; width: 21px; height: 16px; border-radius: 3px; background:
  linear-gradient(90deg, transparent 32.4%, #fff 32.4% 43.2%, transparent 43.2%),
  linear-gradient(180deg, transparent 42.9%, #fff 42.9% 57.1%, transparent 57.1%),
  #c8102e; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.18); }
.dk-flag-large { width: 37px; height: 28px; border-radius: 5px; }
.hero-facts .dk-flag { width: 18px; height: 13.5px; }
.privacy { max-width: var(--wide); margin: 0 auto; padding: 120px 24px 0; }
.privacy-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center; padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, #fff 0%, #f0f8fd 100%); box-shadow: var(--shadow); }
.privacy-seal { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 18px; border-radius: 22px; background: linear-gradient(145deg, #fff, #e3f3fa); box-shadow: 0 6px 18px rgba(38,83,113,.14); }
.privacy-seal .ti { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 30px; height: 30px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--online); font-size: 16px; }
.privacy-intro > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.privacy-points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.privacy-points li { display: flex; align-items: flex-start; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.privacy-points .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
.privacy-points .feature-icon .ti { font-size: 19px; }
.privacy-points li > span:last-child { display: grid; gap: 3px; }
.privacy-points strong { color: #344558; font-size: 15px; }
.privacy-points small { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- How it works ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg,#fff,#f8fcfe); }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(110deg,#2488ac,#49b3ce); font-size: 17px; font-weight: 700; box-shadow: 0 6px 14px rgba(36,136,172,.28); }
.steps h3 { margin: 18px 0 6px; color: #344558; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Download ---------- */

.download { position: relative; overflow: hidden; margin-top: 130px; padding: 130px 24px; color: #fff; background: radial-gradient(ellipse at 50% 0%, #2b7fa6 0%, transparent 60%), linear-gradient(180deg, #1f5b80, var(--night)); text-align: center; }
.download-faces img { position: absolute; width: 92px; height: 92px; border: 4px solid rgba(255,255,255,.9); border-radius: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: bob 7s ease-in-out infinite; }
.download-faces img:nth-child(1) { left: 8%; top: 18%; transform: rotate(-8deg); }
.download-faces img:nth-child(2) { left: 16%; bottom: 14%; width: 72px; height: 72px; animation-delay: -2s; }
.download-faces img:nth-child(3) { right: 9%; top: 16%; animation-delay: -4s; }
.download-faces img:nth-child(4) { right: 17%; bottom: 12%; width: 76px; height: 76px; animation-delay: -1s; }
.download-faces img:nth-child(5) { left: 4%; top: 54%; width: 64px; height: 64px; animation-delay: -3s; }
.download-faces img:nth-child(6) { right: 4%; top: 56%; width: 66px; height: 66px; animation-delay: -5s; }
.download-card { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.download-logo { width: 84px; height: 84px; display: inline-grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg,#fff,#dff3fa); box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 16px 40px rgba(0,0,0,.3); }
.download-logo img { width: 48px; }
.download-card h2 { color: #fff; font-size: clamp(38px, 6vw, 64px); }
.download-card > p { margin: 0 0 34px; color: rgba(226,244,252,.85); font-size: 19px; }
.download-card .download-note { margin: 26px auto 0; max-width: 520px; color: rgba(214,238,248,.75); font-size: 13px; line-height: 1.6; }
.download-note-trust { display: block; margin-top: 4px; }
.download-note-flag { white-space: nowrap; }
.download-note-trust .dk-flag { width: 14px; height: 10.5px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }

/* ---------- Footer ---------- */

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 26px max(24px, calc((100vw - var(--wide)) / 2)); color: #8fb0c0; background: var(--night); font-size: 13px; }
.site-footer .brand { color: #e8f5fb; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #9cc0d0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
  .float-game { left: -10px; width: 190px; }
  .float-suggest { right: -10px; width: 280px; }
  .float-post { right: 0; width: 300px; }
  .float-call { width: 340px; }
  .float-toast { left: 0; }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  /* One tile per row, the picture under the words. */
  .tile-wide, .tile-third, .tile-more { grid-column: span 2; }
  .tile-wide { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tile-ludo .tile-card { justify-self: center; }
  .tile-friend .tile-card { width: min(100%, 360px); justify-self: center; }
  .map-art { justify-self: center; }
  .tile-seen { grid-template-columns: minmax(0, 1fr); }
  .tile-more { grid-template-columns: repeat(2, 1fr); }
  .story, .story-flip { grid-template-columns: 1fr; gap: 34px; padding-top: 80px; }
  .story-flip .story-copy { order: 0; }
  .story-shot, .story-flip .story-shot { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .privacy-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .float-post, .float-game { display: none; }
}

@media (max-width: 600px) {
  .announce { font-size: 13px; }
  .site-nav a:not(.nav-download) { display: none; }
  .hero { padding: 56px 16px 0; }
  .hero-lead { font-size: 17px; }
  .hero-stage { margin-top: 44px; }
  .float-card, .float-toast, .float-bubble { display: none; }
  .faces { padding-top: 80px; }
  .faces-row img { width: 84px; height: 84px; border-radius: 22px; }
  .whatsnew, .stories, .everything, .how, .privacy { padding-left: 16px; padding-right: 16px; }
  .whatsnew, .everything, .how, .privacy { padding-top: 84px; }
  .tile { padding: 24px; border-radius: 22px; }
  .tile-more { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 24px 18px; }
  .download { padding: 100px 16px; }
  .download-faces img:nth-child(n+3) { display: none; }
  .download-faces img:nth-child(1) { left: 4%; top: 4%; width: 60px; height: 60px; }
  .download-faces img:nth-child(2) { left: auto; right: 4%; bottom: 3%; width: 56px; height: 56px; }
  .site-footer { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-window { transform: none; transition: none; }
  .tile, .feature, .download-button, .story-shot { transition: none; }
}

/* ---------- Screenshots, enlarged ---------- */

.app-window img, .tile-card { cursor: zoom-in; }
.app-window img:focus-visible { outline: 3px solid #5bb7d3; outline-offset: -3px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff; background: transparent; overflow: hidden; }
.lightbox::backdrop { background: rgba(10,26,40,.9); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .18s ease-out; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-figure { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 14px; margin: 0; padding: 56px 72px 28px; cursor: zoom-out; }
.lightbox-image { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.45); cursor: default; }
.lightbox-caption { max-width: 900px; color: rgba(240,249,255,.9); font-size: 15px; font-weight: 600; text-align: center; }
.lightbox-button { position: fixed; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); cursor: pointer; transition: background .15s; }
.lightbox-button:hover { background: rgba(255,255,255,.26); }
.lightbox-button .ti { font-size: 24px; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox-figure { padding: 64px 12px 84px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}

/* ---------- Beta ---------- */

/* Like the app's title bar: a small "BETA" after the name. */
.beta-badge { padding: 2px 7px; border: 1px solid rgba(143,219,240,.45); border-radius: 6px; color: #9fe0f0; background: rgba(127,224,242,.1); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }

/* ---------- What's new in 1.1.0 ---------- */

.tile-circles { background: radial-gradient(circle at 100% 0, rgba(195,168,255,.35), transparent 50%), linear-gradient(160deg, #f1ecfd, #fff 60%); }
.tile-circles .tile-note { color: #6a4fd0 !important; background: #ece5ff; }
/* The Circle's chat, with Circle of the week laid over its corner. */
.circles-art { position: relative; justify-self: end; width: min(100%, 520px); padding-bottom: 40px; }
.circles-art-chat { max-height: 340px; object-fit: cover; object-position: top; transform: rotate(1.5deg); }
.circles-art-featured { position: absolute; left: -36px; bottom: 0; width: 82%; border-radius: 12px; box-shadow: 0 20px 50px rgba(90,70,150,.28); transform: rotate(-2deg); }
.tile-podium { background: linear-gradient(170deg, #fff6dc, #fff 70%); }
.tile-skins { background: linear-gradient(170deg, #fdeaf2, #fff 70%); }
.tile-friends { background: linear-gradient(170deg, #eaf7fd, #fff 70%); }
.tile-friends .tile-card { max-height: 200px; transform: rotate(-2deg); }
.tile-half { grid-column: span 3; display: flex; flex-direction: column; }
.tile-noise { background: linear-gradient(170deg, #e8f8ef, #fff 70%); }
.tile-mail { background: linear-gradient(170deg, #e6f1fd, #fff 70%); }
/* Noise cancellation: your voice through, the noise around it low. */
.noise-art { grid-auto-flow: column; justify-content: center; gap: 22px; }
.noise-mic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #8fd2c7, #4fae8f); box-shadow: 0 12px 28px rgba(79,174,143,.35); }
.noise-mic .ti { font-size: 32px; }
.noise-wave { height: 70px; display: flex; align-items: center; gap: 6px; }
.noise-wave i { width: 8px; height: var(--h); border-radius: 4px; background: #c4e3d6; }
.noise-wave i.is-voice { background: linear-gradient(180deg, #5fc39a, #2f9b6c); animation: noise-voice 1.2s ease-in-out infinite; }
.noise-wave i.is-voice:nth-child(even) { animation-delay: .3s; }
@keyframes noise-voice { 50% { transform: scaleY(.55); } }
/* Emails: two of them, one behind the other. */
.mail-art { position: relative; }
.mail-card { display: flex; align-items: center; gap: 12px; width: min(100%, 330px); padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(38,83,113,.16); text-align: left; }
.mail-card img { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #eaf6fb; }
.mail-card > span { display: grid; line-height: 1.3; }
.mail-card strong { color: var(--heading); font-size: 15px; }
.mail-card small { color: var(--muted); font-size: 12.5px; }
.mail-card.is-back { opacity: .7; transform: translateX(26px) scale(.95); }

/* ---------- A little more shine ---------- */

/* Soft colour behind the sections, and a faint dot pattern. */
.whatsnew, .stories { position: relative; }
/* Each glow fades out inside its own area (closest-side), so there are no edges. */
.whatsnew::before, .stories::before { position: absolute; z-index: -1; inset: 0 0 auto; height: 640px; content: ""; background: radial-gradient(closest-side, rgba(127,224,242,.22), transparent) 0 0 / 60% 100% no-repeat, radial-gradient(closest-side, rgba(182,164,255,.2), transparent) 100% 10% / 55% 90% no-repeat; pointer-events: none; }
body { background: radial-gradient(rgba(33,134,174,.06) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--page); }
/* The eyebrow as a little chip. */
.section-heading .eyebrow, .story-copy .eyebrow, .faces-copy .eyebrow, .privacy-intro .eyebrow { padding: 6px 14px; border: 1px solid #d3ebf4; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: 0 4px 14px rgba(38,83,113,.06); }
/* A coloured glow behind each screenshot. */
.story-shot { position: relative; overflow: visible; }
.story-shot::before { position: absolute; z-index: -1; inset: 8% -6% -6%; border-radius: 40px; content: ""; background: radial-gradient(ellipse at 30% 40%, rgba(127,224,242,.45), transparent 65%), radial-gradient(ellipse at 75% 70%, rgba(182,164,255,.4), transparent 60%); filter: blur(30px); }
.story-circles .story-shot::before { background: radial-gradient(ellipse at 30% 40%, rgba(195,168,255,.55), transparent 65%), radial-gradient(ellipse at 75% 70%, rgba(255,163,196,.4), transparent 60%); }
.story-shot img { border-radius: 18px; }
/* Tiles and cards lift with a soft coloured edge. */
.tile:hover, .feature:hover { border-color: #bfe0ec; }
.feature .feature-icon { transition: transform .25s cubic-bezier(.2,1.6,.4,1); }
.feature:hover .feature-icon { transform: translateY(-3px) rotate(-6deg); }
.story-points li { transition: transform .2s; }
.story-points li:hover { transform: translateX(4px); }
/* The footer gets a thin gradient line on top. */
.site-footer { position: relative; }
.site-footer::before { position: absolute; top: 0; left: 0; right: 0; height: 2px; content: ""; background: linear-gradient(90deg, #7fe0f2, #b6a4ff 50%, #ffc27a); opacity: .6; }

@media (max-width: 900px) {
  .story-shot::before { inset: 8% 0 -4%; }
  .tile-half { grid-column: span 2; }
  .circles-art { justify-self: center; }
  .circles-art-featured { left: -12px; }
}
@media (max-width: 600px) {
  .circles-art-featured { width: 92%; }
  .mail-card.is-back { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feature .feature-icon, .story-points li { transition: none; }
}

/* ---------- Picture effects, Games, profile cards and skins (1.1.0) ---------- */

/* The effects, as in the app (master.css, .avatar-fx): a layer over the picture, sized in cqw. */
.fx { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; container-type: size; }
.fx::before, .fx::after { position: absolute; line-height: 1; pointer-events: none; }
.fx[data-effect="shine"] { background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.75) 50%, transparent 68%) no-repeat; background-size: 300% 100%; animation: fx-shine 3.6s ease-in-out infinite; }
@keyframes fx-shine { 0% { background-position: 140% 0; opacity: 0; } 8%, 47% { opacity: 1; } 55%, 100% { background-position: -40% 0; opacity: 0; } }
.fx[data-effect="sparkle"]::before, .fx[data-effect="sparkle"]::after { color: #fff; content: "✦"; text-shadow: 0 0 3px rgba(255,255,255,.9), 0 0 6px rgba(255,214,120,.8); animation: fx-twinkle 2.4s ease-in-out infinite; }
.fx[data-effect="sparkle"]::before { top: 6%; right: 8%; font-size: 34cqw; }
.fx[data-effect="sparkle"]::after { bottom: 10%; left: 10%; font-size: 24cqw; animation-delay: -1.2s; }
@keyframes fx-twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 35%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } 80% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.fx[data-effect="prism"] { animation: fx-prism 6s linear infinite; }
@keyframes fx-prism { from { backdrop-filter: hue-rotate(0deg) saturate(1.3); } to { backdrop-filter: hue-rotate(360deg) saturate(1.3); } }
.fx[data-effect="hearts"]::before, .fx[data-effect="hearts"]::after { bottom: -30%; color: #ff5c8a; content: "♥"; text-shadow: 0 0 3px rgba(255,255,255,.8); animation: fx-float 3s ease-in infinite; }
.fx[data-effect="hearts"]::before { left: 14%; font-size: 30cqw; }
.fx[data-effect="hearts"]::after { right: 14%; color: #ff8fb1; font-size: 22cqw; animation-delay: -1.5s; }
@keyframes fx-float { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-115cqh) scale(1.1); } }
.fx[data-effect="snow"] { background: radial-gradient(circle at 30% 20%, #fff 0 3.5%, rgba(120,160,190,.45) 4.5%, transparent 5.5%), radial-gradient(circle at 75% 60%, #fff 0 3%, rgba(120,160,190,.45) 4%, transparent 5%), radial-gradient(circle at 55% 35%, rgba(255,255,255,.9) 0 5%, rgba(120,160,190,.35) 6%, transparent 7.5%); background-size: 50% 50%, 50% 50%, 33.333% 33.333%; animation: fx-snow 4s linear infinite; }
@keyframes fx-snow { from { background-position: 0 0, 50% 0, 0 0; } to { background-position: 0 100%, 50% 100%, 0 50%; } }
.fx[data-effect="dreamy"] { background: linear-gradient(135deg, rgba(255,150,210,.45), rgba(170,190,255,.35) 35%, rgba(255,230,170,.4) 65%, rgba(255,150,210,.45)); background-size: 300% 300%; mix-blend-mode: screen; backdrop-filter: saturate(.85) brightness(1.05); animation: fx-dreamy 7s ease-in-out infinite alternate; }
@keyframes fx-dreamy { from { background-position: 0 0; } to { background-position: 100% 100%; } }
.fx[data-effect="golden"] { background: linear-gradient(200deg, rgba(255,200,90,.1), rgba(255,140,40,.4)); backdrop-filter: sepia(.35) saturate(1.35) brightness(1.04); animation: fx-golden 4s ease-in-out infinite alternate; }
@keyframes fx-golden { from { background-color: rgba(255,170,60,0); } to { background-color: rgba(255,170,60,.18); } }
.fx[data-effect="pop"] { backdrop-filter: saturate(1.9) contrast(1.15); }
.fx[data-effect="noir"] { background: radial-gradient(circle, transparent 55%, rgba(0,0,0,.35)); backdrop-filter: grayscale(1) contrast(1.2); }

/* The tile: a dark little contact list on the left, the words and chips on the right. */
.tile-effects { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: radial-gradient(circle at 0 100%, rgba(255,200,110,.3), transparent 50%), linear-gradient(160deg, #fff7e2, #fff 60%); }
.tile-effects .tile-note { color: #9a6410 !important; background: #fdf0d2; }
.fx-stage { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, #22394a, #2a2540); box-shadow: 0 24px 60px rgba(38,40,80,.28); }
.fx-avatar { position: relative; flex: 0 0 auto; width: 46px; height: 46px; border: 2px solid #5fd38d; border-radius: 14px; }
.fx-avatar img { display: block; width: 100%; height: 100%; border-radius: 12px; }
.fx-avatar .fx { border-radius: 12px; }
.fx-avatar > i { position: absolute; right: -5px; bottom: -5px; z-index: 1; width: 13px; height: 13px; border: 3px solid #253a4a; border-radius: 50%; background: var(--online); }
.fx-avatar > i.is-away { background: #f2b24c; }
.fx-card { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); }
.fx-card .fx-avatar { width: 96px; height: 96px; border-width: 3px; border-radius: 26px; }
.fx-card .fx-avatar img, .fx-card .fx-avatar .fx { border-radius: 23px; }
.fx-card .fx-avatar > i { width: 20px; height: 20px; border-width: 4px; }
.fx-who, .fx-list li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.fx-name { background: linear-gradient(90deg, #ff7eb6, #c08bff, #ff7eb6) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 28px; font-weight: 800; letter-spacing: -.02em; animation: name-prism 4s linear infinite; }
.fx-who small, .fx-list small { color: rgba(214,232,242,.7); font-size: 13px; }
.fx-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fx-list li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; }
.fx-list li:hover { background: rgba(255,255,255,.06); }
.fx-list strong { color: #eef6fb; font-size: 15px; }
.fx-list .fx-name-candy { color: #ff9cc8; }
.fx-list .fx-name-ice { color: #9fe0f6; text-shadow: 0 0 10px rgba(127,224,242,.5); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.fx-chips button { padding: 7px 13px; border: 1px solid #f0dcb3; border-radius: 999px; color: #7a5a1c; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.fx-chips button:hover { border-color: #e6b964; transform: translateY(-1px); }
.fx-chips button[aria-pressed="true"] { border-color: rgba(230,160,60,.35); color: #fff; background: #e6a03c; background-clip: padding-box; }

/* Games and profile cards. */
.tile-games { background: linear-gradient(170deg, #e8f8ef, #fff 70%); }
.tile-games .tile-card { max-height: none; border-radius: 16px; transform: rotate(-1deg); }
.tile-profile { background: linear-gradient(170deg, #fdeaf2, #fff 70%); }
/* Your card, with Freja's (menu open) laid over its corner. */
.profile-art { position: relative; display: block; min-height: 250px; padding: 18px 18px 0; overflow: hidden; }
.profile-art .tile-card { position: absolute; width: 62%; max-height: none; }
.profile-art-you { left: 6%; top: 18px; transform: rotate(-2deg); }
.profile-art-friend { right: 5%; top: 70px; box-shadow: 0 24px 50px rgba(120,50,80,.25); transform: rotate(2deg); }

/* Skins: round swatches, the chosen one ringed. */
.skin-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.skin-swatches button { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; color: #5c7180; background: none; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.skin-swatches button::before { width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(145deg, color-mix(in srgb, var(--swatch) 55%, #fff), var(--swatch)); box-shadow: 0 6px 16px rgba(38,83,113,.18); content: ""; transition: transform .15s, box-shadow .15s; }
.skin-swatches button:hover::before { transform: translateY(-2px); }
.skin-swatches button[aria-checked="true"] { color: var(--heading); }
.skin-swatches button[aria-checked="true"]::before { box-shadow: 0 0 0 3px var(--swatch), 0 8px 20px rgba(38,83,113,.22); }
.skin-swatches button:focus-visible { outline: 0; }
.skin-swatches button:focus-visible::before { outline: 2px solid #5bb7d3; outline-offset: 5px; }
.skin-more { margin-top: 18px !important; font-size: 14.5px !important; }
.skin-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.skin-more a:hover { color: var(--blue-dark); }
.story-skins .story-shot img { transition: none; }
.story-skins .story-shot::before { background: radial-gradient(ellipse at 30% 40%, rgba(255,163,196,.4), transparent 65%), radial-gradient(ellipse at 75% 70%, rgba(127,224,242,.4), transparent 60%); }

@media (max-width: 900px) {
  .tile-effects { grid-template-columns: minmax(0, 1fr); }
  .tile-effects .tile-copy { order: -1; }
  .profile-art { min-height: 300px; }
}
@media (max-width: 600px) {
  .fx-stage { padding: 16px; }
  .fx-card { padding: 12px; gap: 14px; }
  .fx-card .fx-avatar { width: 72px; height: 72px; border-radius: 20px; }
  .fx-card .fx-avatar img, .fx-card .fx-avatar .fx { border-radius: 17px; }
  .fx-name { font-size: 22px; }
  .profile-art { min-height: 220px; }
  .profile-art .tile-card { width: 72%; }
  .profile-art-friend { top: 56px; }
  .skin-swatches button::before { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx[data-effect="prism"] { backdrop-filter: hue-rotate(60deg) saturate(1.3); }
  .fx[data-effect="sparkle"]::before, .fx[data-effect="sparkle"]::after { opacity: 1; }
  .fx[data-effect="hearts"]::before, .fx[data-effect="hearts"]::after { bottom: 6%; }
  .fx-chips button, .skin-swatches button::before { transition: none; }
}

/* ---------- What's new in 1.2: Scribble, the list lighting up, GIFs and bigger calls ---------- */

/* "Scribble" in the heading, in three of the pen colours. */
.scribble-word { background: linear-gradient(100deg, #e0524a, #8a5cc9 50%, #2394b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 1.1's highlights, under 1.2's: a smaller heading. */
.section-heading-small { margin-top: 90px; margin-bottom: 36px; }
.section-heading-small h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-heading-small p:not(.eyebrow) { font-size: 16.5px; }

/* The hero's Scribble: a little pad where a heart and a smile draw themselves. */
.float-scribble { right: -70px; top: 18%; width: 230px; padding: 12px 12px 30px; animation-delay: -3s; }
.float-scribble svg { display: block; width: 100%; border: 1.5px dashed #b9dbe8; border-radius: 10px; fill: none; stroke: #e0524a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 150; animation: scribble-draw 4s ease-in-out infinite; }
.float-scribble svg .is-smile { stroke: #2394b8; stroke-width: 3.5; animation: scribble-draw 4s ease-in-out -.6s infinite; }
@keyframes scribble-draw { 0% { stroke-dashoffset: 150; } 50%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.float-scribble-pens { position: absolute; left: 14px; bottom: 10px; display: flex; gap: 6px; }
.float-scribble-pens i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.float-scribble-pens i.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); }

/* Scribble's tile: the chat with a Scribble sent and the pad open. */
.tile-scribble { background: radial-gradient(circle at 100% 100%, rgba(255,170,190,.3), transparent 50%), linear-gradient(160deg, #fdeef2, #fff 60%); }
.scribble-points { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; color: #4c6070; font-size: 15px; font-weight: 600; }
.scribble-points li { display: flex; align-items: center; gap: 10px; }
.scribble-points .ti { color: #e0524a; font-size: 20px; }
.scribble-art { position: relative; justify-self: end; width: min(100%, 600px); }
.scribble-art .tile-card { border: 1px solid #f3dce3; transform: rotate(1deg); }
.scribble-badge { position: absolute; left: -14px; top: -14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; color: #fff; background: #e0524a; box-shadow: 0 10px 24px rgba(224,82,74,.35); font-size: 14px; font-weight: 700; transform: rotate(-4deg); }

/* The list lighting up, as in the app (master.css, .contact.call-in-call and the rest), a little brighter. */
.tile-glow { background: linear-gradient(170deg, #e8f8ef, #fff 70%); }
.glow-list { width: min(100%, 330px); display: grid; gap: 4px; margin: 0; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(38,83,113,.14); list-style: none; text-align: left; }
.glow-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.glow-list img { width: 40px; height: 40px; flex: 0 0 auto; border: 2px solid #5fd38d; border-radius: 12px; }
.glow-list li > span { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.glow-list strong { color: var(--heading); font-size: 15px; }
.glow-list small { overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.glow-list small.is-green { color: #2f9b5c; font-weight: 600; }
.glow-list small.is-blue { color: #2394b8; font-weight: 600; }
.glow-list b { min-width: 22px; padding: 2px 7px; border-radius: 999px; color: #fff; background: #ec8a3a; font-size: 12px; text-align: center; }
.glow-list .is-call { --glow: rgba(63,179,106,.2); animation: glow-row 3s ease-in-out infinite; }
.glow-list .is-calling { --glow: rgba(35,148,184,.2); animation: glow-row 3s ease-in-out -1.5s infinite; }
@keyframes glow-row { 0%, 100% { background: transparent; } 50% { background: var(--glow); } }
/* A new message: three blinks, then softly orange until it's read. */
.glow-list .is-new { animation: glow-new 6s ease-in-out infinite; }
@keyframes glow-new { 0%, 26%, 52% { background: rgba(240,140,40,0); } 13%, 39%, 65%, 100% { background: rgba(240,140,40,.16); } }

/* GIFs: a question, and an answer that moves. */
.tile-gif { background: linear-gradient(170deg, #f1edff, #fff 70%); }
.gif-art { justify-items: stretch; width: 100%; }
.gif-bubble { justify-self: start; padding: 10px 16px; border-radius: 16px 16px 16px 4px; color: #3b4f5c; background: #fff; box-shadow: 0 8px 20px rgba(90,70,150,.12); font-size: 14.5px; }
.gif-card { position: relative; justify-self: end; width: 150px; height: 112px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg, #fff6e0, #ffe2ec); box-shadow: 0 14px 34px rgba(90,70,150,.2); }
.gif-card i { grid-area: 1 / 1; font-size: 52px; font-style: normal; animation: gif-hop 1s ease-in-out infinite; }
.gif-card i.is-two { font-size: 30px; transform: translate(34px, 26px); animation: gif-wobble 1s ease-in-out infinite; }
@keyframes gif-hop { 50% { transform: translateY(-12px) rotate(-8deg); } }
@keyframes gif-wobble { 50% { transform: translate(34px, 26px) rotate(12deg) scale(1.1); } }
.gif-card b { position: absolute; right: 8px; bottom: 7px; padding: 1px 6px; border-radius: 5px; color: #fff; background: #7a5fd0; font-size: 11px; letter-spacing: .05em; }

/* Bigger calls: the call with Freja, grown. */
.tile-bigcall { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); background: radial-gradient(circle at 100% 0, rgba(127,224,242,.3), transparent 50%), linear-gradient(160deg, #e6f4fb, #fff 60%); }
.bigcall-art .tile-card { border: 1px solid #d3ebf4; }

@media (max-width: 1100px) {
  .float-scribble { right: -10px; width: 190px; }
}
@media (max-width: 900px) {
  .tile-glow, .tile-gif { grid-column: span 2; }
  .tile-bigcall { grid-template-columns: minmax(0, 1fr); }
  .scribble-art { justify-self: center; }
  .scribble-badge { left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-scribble svg, .float-scribble svg .is-smile { animation: none; stroke-dasharray: none; }
  .glow-list li, .gif-card i { animation: none !important; }
  .glow-list .is-call { background: rgba(63,179,106,.14); }
  .glow-list .is-calling { background: rgba(35,148,184,.14); }
  .glow-list .is-new { background: rgba(240,140,40,.14); }
}

/* ---------- Buttons like the app's: one colour in a see-through border of the same colour, no gradient ---------- */

.site-nav .nav-download { border: 3px solid rgba(35,148,184,.45); background: #2394b8; background-clip: padding-box; box-shadow: none; }
.site-nav .nav-download:hover { border-color: rgba(28,135,169,.5); background-color: #1c87a9; filter: none; }
.download-button { border: 4px solid rgba(255,255,255,.28); background-clip: padding-box; box-shadow: 0 14px 34px rgba(5,20,35,.35); }
.download-button:hover { border-color: rgba(255,255,255,.4); box-shadow: 0 18px 40px rgba(5,20,35,.42); }
.look-tabs button[aria-selected="true"] { border: 3px solid rgba(35,148,184,.35); padding: 6px 13px; background: #2394b8; background-clip: padding-box; box-shadow: none; }
.look-tabs button { border: 3px solid transparent; padding: 6px 13px; }
/* Narrower, so four tabs and the seven skins fit on one line next to a screenshot. */
.look-tabs { flex-wrap: nowrap; gap: 2px; padding: 4px; }
.look-tabs button, .look-tabs button[aria-selected="true"] { padding: 5px 10px; font-size: 13.5px; white-space: nowrap; }
.skin-swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 440px; }
.skin-swatches button { font-size: 11.5px; }
.skin-swatches button::before { width: 38px; height: 38px; }
@media (max-width: 1180px) {
  .look-tabs button, .look-tabs button[aria-selected="true"] { padding: 5px 7px; font-size: 13px; }
}
/* Between 900 and 1000 px the words' column is too narrow for four tabs on a line. */
@media (min-width: 901px) and (max-width: 1000px) {
  .look-tabs { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .look-tabs { flex-wrap: wrap; }
  .skin-swatches button { font-size: 10.5px; }
  .skin-swatches button::before { width: 34px; height: 34px; border-width: 2px; }
}
.step-number, .download-dialog-number { border: 3px solid rgba(35,148,184,.3); background: #2394b8; background-clip: padding-box; box-shadow: none; }
.download-dialog-ok { border: 3px solid rgba(35,148,184,.35); background: #2394b8; background-clip: padding-box; box-shadow: none; }
.download-dialog-ok:hover { border-color: rgba(28,135,169,.4); background-color: #1c87a9; filter: none; }
.new-badge { border: 2px solid rgba(233,120,47,.3); background: #ec8a3a; background-clip: padding-box; box-shadow: none; }

/* ---------- "Snakkes is downloading" (download-dialog.js) ---------- */

.download-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 26px; color: var(--ink); background: var(--surface); box-shadow: 0 40px 100px rgba(5,20,35,.45); overflow: auto; }
.download-dialog::backdrop { background: rgba(10,26,40,.7); backdrop-filter: blur(6px); }
.download-dialog[open] { animation: download-dialog-in .22s cubic-bezier(.2,.7,.2,1); }
@keyframes download-dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.download-dialog-close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); cursor: pointer; transition: background .15s; }
.download-dialog-close:hover { background: rgba(255,255,255,.26); }
.download-dialog-head { position: relative; display: grid; justify-items: center; gap: 6px; padding: 34px 28px 28px; color: #fff; background: radial-gradient(ellipse at 50% 130%, #2b7fa6 0%, transparent 65%), linear-gradient(180deg, var(--night), var(--navy)); text-align: center; }
.download-dialog-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 20px; color: var(--blue); background: linear-gradient(145deg, #fff, #dff3fa); box-shadow: 0 0 0 7px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.3); }
.download-dialog-icon .ti { font-size: 30px; animation: download-drop 1.4s ease-in-out infinite; }
@keyframes download-drop { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.download-dialog-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.download-dialog-file { max-width: 100%; margin: 0; overflow: hidden; color: rgba(214,238,248,.8); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
/* Not the real progress (a web page can't see it), just that something is happening. */
.download-dialog-bar { position: relative; width: 200px; height: 5px; margin-top: 12px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.15); }
.download-dialog-bar i { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, #7fe0f2, #b6a4ff); animation: download-bar 1.3s ease-in-out infinite; }
@keyframes download-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.download-dialog-steps { display: grid; gap: 14px; margin: 0; padding: 24px 28px 6px; list-style: none; }
.download-dialog-steps li { display: flex; align-items: flex-start; gap: 14px; }
.download-dialog-steps li > span:last-child { display: grid; gap: 3px; min-width: 0; }
.download-dialog-number { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(110deg, #2488ac, #49b3ce); font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px rgba(36,136,172,.3); }
.download-dialog-steps strong { color: #344558; font-size: 15px; }
.download-dialog-steps small { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.download-dialog-steps b { color: #344558; }
.download-dialog-safe { display: flex; align-items: flex-start; gap: 10px; margin: 16px 28px 0; padding: 12px 14px; border-radius: 14px; color: #2f6b4f; background: #eef8f1; font-size: 13.5px; line-height: 1.5; }
.download-dialog-safe .ti { color: var(--online); font-size: 20px; }
.download-dialog-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 28px 26px; }
.download-dialog-again { color: var(--blue); font-size: 13.5px; font-weight: 600; text-underline-offset: 3px; }
.download-dialog-ok { padding: 11px 26px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(110deg, #2488ac, #49b3ce); box-shadow: 0 8px 20px rgba(36,136,172,.28); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.download-dialog-ok:hover { filter: brightness(1.06); }

@media (max-width: 600px) {
  .download-dialog-head { padding: 28px 18px 22px; }
  .download-dialog-steps { padding: 20px 18px 4px; }
  .download-dialog-safe { margin: 14px 18px 0; }
  .download-dialog-foot { padding: 18px 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .download-dialog[open], .download-dialog-icon .ti, .download-dialog-bar i { animation: none; }
}
