/* Island of Minds: the website.
   Colours come from the logo: sunset coral and gold, lagoon and ocean, warm sand, deep night.
   Fraunces for headings (warm, characterful), Plus Jakarta Sans for reading. Light, airy pages with bold
   bands of colour; the game itself keeps its own dark look. */
@font-face { font-family: "Fredoka"; src: url(/assets/fonts/Fredoka.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/Nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --ink: #1d2b36; --ink-soft: #51626d; --ink-faint: #66747d;
  --sand: #f2faff; --sand-2: #e4f3fb; --paper: #ffffff; --line: #d6e8f2;
  --coral: #cc4430; --coral-deep: #b23a26; --sun: #ffc24b; --pink: #ff5f6d;
  --lagoon: #19bfb3; --ocean: #1f6fb2; --night: #13222e; --night-2: #1b3242; --grass: #5fb85a;
  --good: #1f9d6e; --bad: #d64545; --warn: #b77700;
  --sunset: linear-gradient(135deg, #e8553f 0%, #ff8a5b 50%, #ffc24b 100%);
  --sea: linear-gradient(160deg, #0b1d2a 0%, #0b4a6b 55%, #12a3a6 100%);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --r-lg: 28px;
  --shadow: 0 20px 50px rgba(16, 37, 48, .12), 0 2px 6px rgba(16, 37, 48, .06);
  --space: clamp(18px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ocean); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--coral-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); font-optical-sizing: auto; }
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: 66ch; }
.muted { color: var(--ink-soft); } .dim { color: var(--ink-faint); } .small { font-size: 14.5px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 107, 74, .25); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 99; }
.skip:focus { left: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons, forms, notes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 16px; border: 0;
  background: var(--paper); color: var(--ink); font: 600 17px var(--display); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 5px 0 #c8dbe6, 0 8px 18px rgba(29, 43, 54, .08); transition: transform .08s, box-shadow .08s, filter .15s; position: relative; top: 0; }
.btn:hover { filter: brightness(1.04); color: var(--ink); }
.btn:active { top: 3px; box-shadow: 0 2px 0 #c8dbe6; }
.btn.primary { background: var(--coral); color: #fff; box-shadow: 0 5px 0 #a8341f, 0 10px 24px rgba(232, 85, 63, .35); }
.btn.primary:hover { color: #fff; } .btn.primary:active { box-shadow: 0 2px 0 #a8341f; }
.btn.sunny { background: var(--sun); color: #3a2600; box-shadow: 0 5px 0 #c98f12, 0 10px 24px rgba(255, 194, 75, .35); }
.btn.sunny:active { box-shadow: 0 2px 0 #c98f12; }
.btn.ghost { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .25); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; } .btn.ghost:active { box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.btn.big { min-height: 60px; padding: 0 32px; font-size: 19px; border-radius: 18px; }
.btn.danger { color: var(--bad); border-color: rgba(214, 69, 69, .4); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin: 16px 0 7px; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 16px var(--body); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .15); }
input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--coral); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.note { padding: 14px 16px; border-radius: 14px; background: var(--sand-2); font-size: 15.5px; color: var(--ink); }
.note.good { background: #e3f6ee; color: #0f5d40; } .note.bad { background: #fde8e6; color: #8f2318; } .note.warn { background: #fff1d6; color: #7a4f00; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--sand-2); color: var(--ink-soft); }
.pill.warn { background: #fff1d6; color: #7a4f00; } .pill.good { background: #e3f6ee; color: var(--good); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th { text-align: left; font-weight: 700; color: var(--ink-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 2px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
code { background: var(--sand-2); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
details summary { cursor: pointer; font-weight: 700; }

/* ---------- page shell ---------- */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site main { flex: 1; width: 100%; }
.wrap, .site main > .prose, .site main > section:not(.full) { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: var(--space); padding-right: var(--space); }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--space);
  background: rgba(242, 250, 255, .85); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(214, 232, 242, .9); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 23px var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 11px; box-shadow: 0 3px 0 rgba(232, 85, 63, .25); }
.brand .of { font-weight: 500; color: var(--coral); }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar .nl { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.topbar .nl:hover { color: var(--ink); }
.topbar .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
body.over-hero .topbar { background: rgba(13, 27, 38, .94); border-bottom-color: rgba(255, 255, 255, .08); }
body.over-hero .topbar .brand, body.over-hero .topbar .nl { color: #fff; }
body.over-hero .topbar .nl { color: rgba(255, 255, 255, .8); }
.foot { background: var(--night); color: rgba(255, 255, 255, .75); padding: 56px var(--space) 44px; margin-top: 80px; position: relative; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--night);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C240 2 480 2 720 20s480 18 720-2v22z'/%3E%3C/svg%3E") center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C240 2 480 2 720 20s480 18 720-2v22z'/%3E%3C/svg%3E") center / 100% 100%; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 auto 16px; max-width: 1180px; }
.foot a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; } .foot a:hover { color: var(--sun); }
.foot p { margin: 0 auto; max-width: 1180px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.foot .dim { color: rgba(255, 255, 255, .55); }

/* ---------- inner pages: a soft colour wash behind the title ---------- */
.site main > .prose:first-child, .site main > section.prose:first-child { position: relative; padding-top: clamp(48px, 9vh, 96px); }
body:not(.home) .site main::before { content: ''; display: block; height: 0; }
body:not(.home) .site { background: linear-gradient(180deg, #cfeeff 0%, #e8f7ff 260px, var(--sand) 520px); }
.prose { max-width: 780px !important; }
.prose.wide { max-width: 1180px !important; }
.prose h1 { margin-bottom: 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 31px); margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: 8px 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line); margin: 16px 0 24px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.prose .note { margin: 18px 0; }
.kicker { display: inline-block; font: 600 15px var(--display); color: #a33120; background: #ffe6e0; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- home: hero ---------- */
.home .site main > section.h-hero { max-width: none; padding: 0; }
.h-hero { position: relative; color: #fff; background: var(--sea); overflow: hidden; margin-top: -77px; padding-top: 77px !important; }
.h-hero::before { content: ''; position: absolute; width: 900px; height: 900px; right: -220px; top: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 75, .55) 0%, rgba(255, 107, 74, .35) 35%, rgba(255, 95, 109, 0) 68%); pointer-events: none; }
.h-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--sand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V50C180 10 360 10 540 40s360 50 540 20 270-40 360-20v40z'/%3E%3C/svg%3E") center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V50C180 10 360 10 540 40s360 50 540 20 270-40 360-20v40z'/%3E%3C/svg%3E") center / 100% 100%; }
.h-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) var(--space) clamp(120px, 16vh, 170px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.h-hero h1 { color: #fff; font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.03em; margin-bottom: 24px; }
.h-hero h1 em { font-style: italic; font-weight: 600; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.h-hero .lead { color: rgba(255, 255, 255, .82); }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #5ff0b5; box-shadow: 0 0 0 0 rgba(95, 240, 181, .7); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(95, 240, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 240, 181, 0); } }
.h-stats { list-style: none; display: flex; gap: clamp(20px, 4vw, 40px); padding: 0; margin: 34px 0 0; }
.h-stats b { display: block; font: 700 34px var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.h-stats span { color: rgba(255, 255, 255, .65); font-size: 14px; }
.h-visual { position: relative; }
.frame { margin: 0; border-radius: 18px; overflow: hidden; background: #0a1319; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .45), 0 0 0 8px rgba(255, 255, 255, .05); transform: perspective(1800px) rotateY(-8deg) rotateX(3deg); transition: transform .7s ease; }
.h-visual:hover .frame { transform: perspective(1800px) rotateY(-2deg) rotateX(0); }
.frame img { display: block; width: 100%; height: auto; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0f1d26; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f6d; } .frame-bar i:nth-child(2) { background: #ffc24b; } .frame-bar i:nth-child(3) { background: #5ff0b5; }
.frame-bar span { margin-left: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.float { position: absolute; max-width: 280px; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); font-size: 14.5px; line-height: 1.45; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--coral-deep); }
.float em { display: block; height: 7px; margin-top: 9px; border-radius: 9px; background: #fbd7cf; overflow: hidden; font-style: normal; }
.float em i { display: block; height: 100%; background: var(--lagoon); }
.f1 { left: -40px; bottom: 40px; } .f2 { right: -16px; top: -30px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* ---------- home: sections ---------- */
.ticker { display: flex; align-items: center; gap: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 0 0 0; margin-top: -40px !important; position: relative; z-index: 2; box-shadow: var(--shadow); }
.tk-label { flex: none; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 14px 18px 14px 22px; background: #fff; position: relative; z-index: 1; font: 800 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); box-shadow: 16px 0 16px #fff; }
.tk-list { list-style: none; display: flex; gap: 46px; margin: 0; padding: 0; white-space: nowrap; animation: tick 70s linear infinite; }
.tk-list li { font-size: 15.5px; font-weight: 500; }
.tk-list li span { color: var(--ink-faint); margin-right: 9px; font-size: 13px; font-weight: 700; }
.ticker:hover .tk-list { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding-top: clamp(60px, 11vh, 120px) !important; }
.feature.flip .f-text { order: 2; }
.feature p { color: var(--ink-soft); font-size: 18.5px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 800 12.5px var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; margin-bottom: 18px; }
.tag.c1 { background: #ffe5dd; color: var(--coral-deep); } .tag.c2 { background: #d8f5f1; color: #0b7d74; } .tag.c3 { background: #fff1d1; color: #8a5a00; } .tag.c4 { background: #e2eefb; color: var(--ocean); }
.f-pic { position: relative; display: flex; justify-content: center; }
.f-pic::before { content: ''; position: absolute; inset: 8% 4% -2% 4%; border-radius: 40px; background: var(--sunset); filter: blur(46px); opacity: .45; z-index: 0; }
.feature.flip .f-pic::before { background: linear-gradient(135deg, #19bfb3, #0b6e99); }
.f-pic img { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 600px; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 30px 70px rgba(16, 37, 48, .3); transform: rotate(-1.5deg); }
.feature.flip .f-pic img { transform: rotate(1.5deg); }
.village { position: relative; margin-top: clamp(70px, 12vh, 130px) !important; max-width: 1240px !important; }
.village-in { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 90px rgba(16, 37, 48, .28); }
.village img { display: block; width: 100%; height: clamp(340px, 50vw, 600px); object-fit: cover; image-rendering: pixelated; }
.v-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px clamp(24px, 4vw, 50px) clamp(24px, 4vw, 44px); background: linear-gradient(180deg, transparent, rgba(11, 29, 42, .9) 60%); color: #fff; }
.v-caption h2 { color: #fff; } .v-caption p { color: rgba(255, 255, 255, .82); font-size: 18px; margin: 0; }
.v-caption .tag { background: rgba(255, 255, 255, .15); color: #fff; }
.numbers { margin-top: clamp(70px, 12vh, 120px); background: var(--sea); color: #fff; padding: clamp(46px, 8vh, 80px) var(--space); }
.numbers-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.numbers b { display: block; font: 700 clamp(40px, 5vw, 58px) var(--display); background: linear-gradient(135deg, #fff, #ffd28a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: rgba(255, 255, 255, .75); font-size: 16px; }
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding-top: clamp(60px, 10vh, 110px) !important; }
.steps3 > div { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); transition: transform .2s; }
.steps3 > div:hover { transform: translateY(-4px); }
.steps3 .n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--sunset); color: #fff; font: 700 21px var(--display); margin-bottom: 18px; box-shadow: 0 10px 22px rgba(255, 107, 74, .35); }
.steps3 p { color: var(--ink-soft); margin: 0; }
.phone-band { margin-top: clamp(70px, 12vh, 130px) !important; }
.pb-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: clamp(30px, 5vw, 64px); border-radius: 34px; background: linear-gradient(135deg, #12a3a6 0%, #0b6e99 60%, #0b3f5c 100%); color: #fff; overflow: hidden; position: relative; }
.pb-in::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 75, .5), transparent 65%); }
.pb-in h2, .pb-in p { color: #fff; position: relative; } .pb-in p { color: rgba(255, 255, 255, .85); font-size: 18px; }
.pb-in .tag { background: rgba(255, 255, 255, .16); color: #fff; }
.pb-phone { display: flex; justify-content: center; position: relative; }
.phone { width: min(260px, 66vw); border-radius: 40px; padding: 9px; background: #05090c; box-shadow: 0 0 0 2px #233540, 0 40px 80px rgba(0, 0, 0, .45); margin-bottom: -150px; transform: rotate(5deg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.final { text-align: center; margin-top: clamp(70px, 12vh, 130px) !important; }
.final-in { border-radius: 34px; padding: clamp(46px, 8vw, 90px) var(--space); background: var(--sunset); color: var(--ink); box-shadow: 0 30px 70px rgba(255, 107, 74, .3); }
.final-in img { border-radius: 18px; box-shadow: 0 14px 30px rgba(16, 37, 48, .25); margin-bottom: 20px; }
.final-in h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); text-shadow: 0 2px 20px rgba(160, 40, 20, .25); }
.final-in p { color: #fff; font-size: 19px; margin: 0 auto 26px; }
.final-in .btn { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 14px 30px rgba(11, 29, 42, .35); }

/* ---------- memberships ---------- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); padding-top: 10px; padding-bottom: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--sunset) border-box; transform: translateY(-8px); }
.plan.featured::before { content: 'Most popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--sunset); color: #fff; font: 800 12px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan h2, .plan h3 { font-size: 24px; }
.plan .price { font: 700 46px var(--display); color: var(--ink); margin: 6px 0 14px; letter-spacing: -.02em; }
.plan .price span { font: 500 16px var(--body); color: var(--ink-faint); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; color: var(--ink-soft); }
.plan li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 10px; width: 19px; height: 19px; border-radius: 50%; background: #d8f5f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b7d74' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan .btn { width: 100%; }
.plan.current { border-color: var(--lagoon); }

/* ---------- questions ---------- */
.qa { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; margin: 12px 0; box-shadow: 0 1px 0 var(--line); }
.qa summary { list-style: none; padding: 18px 30px 18px 0; position: relative; font-size: 19px; font-family: var(--display); font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: #ffe5dd; color: var(--coral-deep); display: grid; place-items: center; font: 700 20px var(--body); }
.qa[open] summary::after { content: '–'; }
.qa p { color: var(--ink-soft); padding-bottom: 14px; margin: 0; }

/* ---------- get the app ---------- */
.install-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.device-card { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.device-card .dev { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }
.device-card h2 { font-size: clamp(26px, 3vw, 36px); }
.device-card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.howto { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.howto li { counter-increment: step; position: relative; padding: 12px 0 12px 54px; font-size: 16.5px; }
.howto li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 38px; height: 38px; border-radius: 12px; background: var(--sunset); color: #fff; font: 700 18px var(--display); display: grid; place-items: center; }
.howto .ico { display: inline-flex; vertical-align: middle; width: 26px; height: 26px; border-radius: 7px; background: var(--sand-2); align-items: center; justify-content: center; margin: 0 3px; }
.install-art { display: flex; justify-content: center; }
.install-art .phone { margin: 0; transform: rotate(-4deg); }
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.step ol { padding-left: 20px; } .step li { margin: 6px 0; color: var(--ink-soft); }
.step.mine { border: 2px solid var(--coral); }
.step.mine h2::after, .step.mine h3::after { content: ' · this device'; font: 700 14px var(--body); color: var(--coral-deep); }
.cats { display: grid; gap: 2px; margin: 14px 0; }
.cats label { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 500; font-size: 16.5px; margin: 6px 0; }

/* ---------- account page ---------- */
.narrow { max-width: 520px; margin: clamp(30px, 7vh, 70px) auto 0; padding: 0 var(--space); }
.narrow.wide { max-width: 1000px; }
.plans .plan.current::after { content: 'Your plan'; position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 800; color: #0b7d74; background: #d8f5f1; padding: 3px 10px; border-radius: 999px; }
.meter .bar { height: 8px; background: var(--sand-2); border-radius: 99px; overflow: hidden; } .meter .bar i { display: block; height: 100%; background: var(--lagoon); }
.grid2 { display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- contact ---------- */
#contactForm { margin: 22px 0; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float, .tk-list, .live i { animation: none; } .frame, .f-pic img { transform: none; } html { scroll-behavior: auto; } }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .h-inner { grid-template-columns: 1fr; }
  .frame { transform: none; }
  .feature, .pb-in, .install-hero { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
  .phone { margin-bottom: 0; }
  .topbar .nl { display: none; }
  .topbar #acct { display: inline; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .brand { font-size: 18px; } .brand img { width: 30px; height: 30px; }
  .topbar #acct { display: none; }
  .topbar .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
  .f1 { display: none; } .f2 { right: 6px; top: -26px; max-width: 200px; font-size: 13.5px; }
  .h-stats b { font-size: 27px; }
  .ticker { border-radius: 20px; }
  .plan.featured { transform: none; }
}
.device-card .dev { display: flex; margin: 0 0 6px; }

/* ======================== the home page, as a game ======================== */
.home .site main > section.full { max-width: none; padding: 0; }
.home .topbar { position: fixed; left: 0; right: 0; background: rgba(13, 27, 38, .94); border-bottom-color: rgba(255, 255, 255, .08); }
.home .topbar .brand, .home .topbar .nl { color: #fff; } .home .topbar .nl { color: rgba(255, 255, 255, .85); }
.home .topbar .brand .of { color: #ffd0c6; }
.g-hero { position: relative; min-height: min(100vh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: #1f6fb2; color: #fff; }
.g-bg, .g-live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.g-bg { filter: saturate(1.1); transform: scale(1.12); animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.2) translate(-2%, -1%); } }
.g-live { opacity: 0; transition: opacity 1.5s ease; } .g-live.on { opacity: 1; }
.g-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 24, 34, .92) 0%, rgba(10, 24, 34, .55) 38%, rgba(10, 24, 34, .05) 70%), linear-gradient(90deg, rgba(10, 24, 34, .55), transparent 60%); }
.g-content { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 140px var(--space) clamp(60px, 10vh, 110px); }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font: 600 15px var(--display); color: #fff; }
.chip.live { background: var(--coral); } .chip.live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.g-title { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); color: #fff; font-size: clamp(50px, 9vw, 120px); line-height: .95; letter-spacing: -.02em; margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); flex-wrap: wrap; }
.g-title img { width: clamp(64px, 8vw, 104px); height: auto; border-radius: 24px; box-shadow: 0 8px 0 rgba(0, 0, 0, .2); }
.g-title span { font-weight: 500; color: #ffd0c6; }
.g-tag { font-size: clamp(19px, 2.2vw, 24px); color: rgba(255, 255, 255, .92); max-width: 40ch; margin-bottom: 30px; }
.g-note { position: absolute; z-index: 2; right: var(--space); bottom: 18px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.sec-head p { margin: 0 auto; font-size: 18px; }
.sec-head.light h2, .sec-head.light p { color: #fff; }
.meet { padding-top: clamp(70px, 12vh, 120px) !important; }
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pc { scroll-snap-align: start; background: #fff; border-radius: 24px; padding: 20px; box-shadow: 0 6px 0 #d6e8f2, 0 16px 34px rgba(29, 43, 54, .08); display: flex; flex-direction: column; gap: 10px; min-height: 290px; }
.pc.skel { background: linear-gradient(90deg, #fff, #eef7fc, #fff); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pc .face { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; background: #e4f3fb; }
.pc .face svg { width: 100%; height: 100%; display: block; }
.pc h3 { margin: 4px 0 0; font-size: 21px; }
.pc .meta { color: var(--ink-faint); font-size: 14.5px; font-weight: 700; }
.pc .mood { height: 8px; border-radius: 9px; background: #eef4f7; overflow: hidden; } .pc .mood i { display: block; height: 100%; background: linear-gradient(90deg, #ffc24b, #5fb85a); }
.pc .said { position: relative; background: #f2faff; border-radius: 16px; padding: 12px 14px; font-size: 15px; color: var(--ink); margin-top: auto; }
.pc .said::before { content: ''; position: absolute; top: -8px; left: 22px; border: 8px solid transparent; border-top: 0; border-bottom-color: #f2faff; }
.overheard { margin-top: clamp(60px, 10vh, 110px) !important; }
.oh-in { border-radius: 36px; padding: clamp(36px, 6vw, 70px) clamp(22px, 5vw, 60px); background: linear-gradient(160deg, #1f6fb2, #17a7a8); text-align: center; position: relative; overflow: hidden; }
.oh-in::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .18), transparent 60%); }
.bubbles { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin: 0 auto 30px; text-align: left; }
.bub { max-width: 82%; background: #fff; color: var(--ink); border-radius: 20px 20px 20px 6px; padding: 12px 16px; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); font-size: 16.5px; }
.bub:nth-child(even) { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: #fff4d6; }
.bub b { display: block; font: 600 14px var(--display); color: #a33120; margin-bottom: 2px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.do { padding-top: clamp(70px, 12vh, 120px) !important; }
.ft { border-radius: 26px; padding: 26px; box-shadow: 0 6px 0 rgba(29, 43, 54, .08); }
.ft svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.ft p { margin: 0; color: var(--ink-soft); }
.ft.c1 { background: #e3f1ff; color: #1f6fb2; } .ft.c2 { background: #dff7f3; color: #0f8a85; } .ft.c3 { background: #ffe9e4; color: #c9412c; }
.ft.c4 { background: #fff2d4; color: #b37400; } .ft.c5 { background: #ece6ff; color: #5b45c9; } .ft.c6 { background: #e6f7e1; color: #3e8e38; }
.ft h3 { color: var(--ink); }
.strip { display: flex; gap: 22px; overflow-x: auto; padding: 60px var(--space) 30px !important; max-width: none !important; scroll-snap-type: x mandatory; }
.strip figure { flex: none; margin: 0; width: 300px; scroll-snap-align: center; }
.strip img { width: 100%; height: 420px; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 6px 0 rgba(29, 43, 54, .12), 0 20px 40px rgba(29, 43, 54, .18); }
.strip figure:nth-child(odd) img { transform: rotate(-1.5deg); } .strip figure:nth-child(even) img { transform: rotate(1.5deg); }
.strip figcaption { text-align: center; font: 600 17px var(--display); margin-top: 14px; }
.ic { margin-top: clamp(50px, 8vh, 90px); background: radial-gradient(800px 400px at 80% 50%, rgba(232, 85, 63, .35), transparent 70%), var(--night); color: #fff; }
.ic-in { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--space); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.ic h2 { color: #fff; font-size: clamp(40px, 6vw, 72px); } .ic p { color: rgba(255, 255, 255, .82); font-size: 18.5px; }
.ic .kicker { background: rgba(255, 194, 75, .18); color: var(--sun); }
.ic-clock { text-align: center; } .ic-clock b { display: block; font: 700 clamp(80px, 12vw, 150px) var(--display); color: var(--sun); line-height: 1; text-shadow: 0 6px 0 rgba(0, 0, 0, .3); }
.ic-clock span { font: 600 18px var(--display); color: rgba(255, 255, 255, .7); }
.plans-mini { padding-top: clamp(70px, 12vh, 120px) !important; }
.pm { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 30px; }
.pm > div { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 6px 0 #d6e8f2; text-align: center; }
.pm-hi { outline: 4px solid var(--coral); }
.pm-price { font: 700 42px var(--display); margin: 4px 0 8px; } .pm-price span { font-size: 17px; color: var(--ink-faint); }
.app { margin-top: clamp(60px, 10vh, 110px) !important; }
.app-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: linear-gradient(160deg, #fff, #e4f3fb); border-radius: 36px; padding: clamp(30px, 5vw, 60px); box-shadow: 0 6px 0 #d6e8f2; overflow: hidden; }
.app-phone { display: flex; justify-content: center; } .app-phone .phone { margin-bottom: -170px; transform: rotate(5deg); }
.final2 { text-align: center; padding-top: clamp(80px, 14vh, 140px) !important; }
.final2 img { border-radius: 24px; box-shadow: 0 6px 0 rgba(232, 85, 63, .25); margin-bottom: 20px; }
.final2 h2 { max-width: 20ch; margin: 0 auto 10px; font-size: clamp(32px, 4.5vw, 54px); }
@media (max-width: 860px) {
  .ic-in, .app-in { grid-template-columns: 1fr; }
  .app-phone .phone { margin-bottom: 0; }
  .g-note { display: none; }
}
@media (max-width: 600px) {
  .g-title { font-size: 52px; } .g-title img { width: 60px; border-radius: 16px; }
  .home .topbar .btn { display: none; }
  .strip figure { width: 240px; } .strip img { height: 340px; }
}
.plans-mini > p, .oh-in > p, .final2 p, .sec-head p { margin-left: auto; margin-right: auto; }
.oh-in > p:last-child { text-align: center; }
.what { padding-top: clamp(60px, 10vh, 100px) !important; }
.what-in { max-width: 860px; margin: 0 auto; text-align: center; }
.what-in p { margin-left: auto; margin-right: auto; font-size: 18.5px; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.facts li { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 5px 0 #d6e8f2; color: var(--ink-soft); font-weight: 700; }
.facts b { display: block; font: 700 28px var(--display); color: var(--coral); }
.live-events { list-style: none; padding: 0; margin: 0; }
.live-events li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.live-events time { color: var(--ink-faint); font-weight: 800; font-size: 14px; }
.paper-card { background: #fffdf6; border: 1px solid #eadfc4; border-radius: 18px; padding: 22px 24px; margin: 14px 0; box-shadow: 0 4px 0 #efe4c9; }
.paper-card .mast { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #8a6d3b; }
.paper-card h3 { font-size: 24px; margin: 6px 0 8px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.stat-row span { background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; box-shadow: 0 4px 0 #d6e8f2; }
.cards.static { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); overflow: visible; }

@media (max-width: 700px), (prefers-reduced-motion: reduce) { .g-bg { animation: none; transform: none; } }
.tag.c1 { color: #a33120; } .ft.c3 { color: #b23a26; }
.g-video { transform: none !important; animation: none !important; }
@media (max-width: 700px) { .topbar, .chip, .btn.ghost { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } .chip { background: rgba(13, 27, 38, .55); } .btn.ghost { background: rgba(13, 27, 38, .5); } .f-pic::before { display: none; } }
