/* Wicky homepage. Black and white like the logo, with its flame orange as the one accent; real screenshots of the app
   instead of illustrations. */

/* no scrollbars anywhere on Wicky; everything still scrolls (wheel, touch, keys) */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
:root {
  --bg: #09090B;
  --bg-2: #111114;
  --bg-3: #17171B;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #FAFAFA;
  --muted: #A1A1AA;
  --dim: #71717A;
  --flame: #FF5A1F;
  --flame-hi: #FF7438;
  --up: #22C55E;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 400 17px/1.6 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--text); font: 600 15px var(--sans); white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: #202026; border-color: rgba(255, 255, 255, .22); }
.btn.primary { background: var(--flame); border-color: var(--flame); color: #140500; }
.btn.primary:hover { background: var(--flame-hi); border-color: var(--flame-hi); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(9, 9, 11, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -.045em; }
.logo img { height: 28px; width: auto; }
.nav .links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav .links a:hover { color: var(--text); }
.nav .right { margin-left: auto; display: flex; gap: 10px; }

/* hero */
.hero { text-align: center; padding: 72px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -.05em; line-height: .98; max-width: 1000px; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--flame); }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; margin: 26px auto 0; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; color: var(--dim); font-size: 14px; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--muted); }
.screen { position: relative; width: min(1180px, 100% - 48px); margin: 64px auto 0; padding: 10px; border-radius: 24px; background: linear-gradient(180deg, #232329, #121215 60%); border: 1px solid #2A2A31; }
.screen::before { content: ''; position: absolute; left: 15%; right: 15%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--flame-hi), transparent); }
.screen img { border-radius: 15px; width: 100%; height: auto; }
.hero .screen { margin-bottom: -120px; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.phone { display: none; width: 300px; margin: 52px auto 0; border-radius: 42px; padding: 9px; background: #1C1C21; border: 1px solid #2A2A31; }
.phone img { border-radius: 33px; }

/* built on */
.built { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; background: var(--bg); }
.built .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding: 26px 0; color: var(--dim); font-size: 15px; font-weight: 500; }
.built b { color: var(--muted); font-weight: 600; }

/* sections */
.sec { padding: 96px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.kicker { color: var(--flame); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.sec h2 { font-size: clamp(34px, 4.4vw, 56px); }
.sec .lead { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 540px; }
.split h2 { font-size: clamp(32px, 3.8vw, 50px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.flip > :first-child { order: 2; }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.points li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.points .ic { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 90, 31, .12); color: var(--flame); display: grid; place-items: center; }
.card { border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px; }
.card img { border-radius: 14px; width: 100%; height: auto; }
.card.narrow { max-width: 420px; margin: 0 auto; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.wide { margin-top: 64px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.trio div { padding-top: 22px; border-top: 1px solid var(--line-2); }
.trio b { display: block; font-size: 18px; margin-bottom: 6px; letter-spacing: -.01em; }
.trio span { color: var(--muted); font-size: 16px; }
.note { color: var(--dim); font-size: 14px; margin-top: 28px; }
.note a { text-decoration: underline; text-underline-offset: 3px; }

/* practice band */
.band { border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); padding: 56px; display: flex; align-items: center; gap: 48px; }
.band h2 { font-size: clamp(30px, 3.4vw, 44px); }
.band .lead { margin-top: 14px; }
.band .bal { margin-left: auto; text-align: right; flex: none; }
.band .bal b { display: block; font-size: 56px; letter-spacing: -.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.band .bal span { color: var(--muted); }

/* coming next */
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.next > div { border-radius: 22px; border: 1px solid var(--line); background: var(--bg-2); padding: 36px; }
.next h3 { font-size: 26px; margin: 14px 0 10px; }
.next p { color: var(--muted); }
.chip { display: inline-flex; height: 26px; align-items: center; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; }

/* fees */
.fees { margin-top: 56px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; text-align: left; }
.fees > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 28px; align-items: baseline; }
.fees > div + div { border-top: 1px solid var(--line); }
.fees b { font-weight: 600; }
.fees span { color: var(--muted); font-size: 15px; display: block; margin-top: 2px; }
.fees em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fees .free { color: var(--up); }

/* faq */
.faq { max-width: 780px; margin: 56px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 600; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { color: var(--muted); padding: 0 0 24px; }

/* final */
.final { text-align: center; padding: 140px 0; border-top: 1px solid var(--line); }
.final img { height: 72px; width: auto; margin: 0 auto 32px; }
.final h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.045em; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; gap: 48px; flex-wrap: wrap; }
.foot .brand { max-width: 320px; }
.foot .brand p { margin: 14px 0 10px; }
.foot .small { color: var(--dim); font-size: 13px; }
.foot .cols { margin-left: auto; display: flex; gap: 72px; }
.foot h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 600; }
.foot .cols a { display: block; margin-bottom: 10px; }
.foot .cols a:hover { color: var(--text); }

@media (max-width: 960px) {
  .nav .links { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip > :first-child { order: 0; }
  .trio, .next { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px; }
  .band .bal { margin-left: 0; text-align: left; }
  .foot .cols { margin-left: 0; gap: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 12px; height: 64px; }
  .nav .right .btn:first-child { display: none; }
  .logo { font-size: 22px; }
  .hero { padding-top: 44px; }
  .hero .cta .btn { width: 100%; }
  .hero .screen { display: none; }
  .phone { display: block; }
  .built .wrap { gap: 10px 22px; font-size: 14px; }
  .sec { padding: 64px 0; }
  .sec .lead { font-size: 17px; }
  .final { padding: 96px 0; }
  .foot .cols { flex-wrap: wrap; gap: 36px; }
}

/* terms, risk and privacy */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -.045em; margin: 0 0 8px; }
.doc h2 { font-size: 24px; letter-spacing: -.03em; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.doc ul { padding-left: 20px; }
.doc li { margin: 8px 0; }
.doc b { color: var(--text); font-weight: 600; }
.doc a { color: var(--flame); text-decoration: underline; text-underline-offset: 3px; }
.doc .dim { color: var(--dim); }

/* 404 */
.lost { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost img { height: 64px; width: auto; margin: 0 auto 32px; }
.lost h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; }
.lost .lead { color: var(--muted); font-size: 19px; margin-top: 16px; }
.lost .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* hero: the rotating last word and the moving background that takes its colour */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #1D4ED8; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #0EA5E9; }
@property --c3 { syntax: '<color>'; inherits: true; initial-value: #312E81; }
.hero { position: relative; transition: --c1 1.4s ease, --c2 1.4s ease, --c3 1.4s ease; }
.hero > .wrap, .hero > .screen, .hero > .phone { position: relative; z-index: 1; }
.aurora { position: absolute; left: 0; right: 0; top: -72px; height: 980px; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); opacity: .62; }
.aurora i { position: absolute; width: 72vw; height: 72vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -18vw; top: -30vw; background: radial-gradient(closest-side, var(--c1), transparent); animation: drift-a 19s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: -20vw; top: -24vw; background: radial-gradient(closest-side, var(--c2), transparent); opacity: .8; animation: drift-b 23s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 22vw; top: 4vw; background: radial-gradient(closest-side, var(--c3), transparent); animation: drift-c 27s ease-in-out infinite alternate; }
@keyframes drift-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(14vw, 6vw) scale(1.12); } 100% { transform: translate(6vw, 12vw) scale(.94); } }
@keyframes drift-b { 0% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-16vw, 8vw) scale(.92); } 100% { transform: translate(-6vw, -4vw) scale(1.1); } }
@keyframes drift-c { 0% { transform: translate(0, 0) scale(.9); } 50% { transform: translate(-10vw, -6vw) scale(1.1); } 100% { transform: translate(12vw, 4vw) scale(1); } }
.rot { display: inline-block; vertical-align: top; height: 1.12em; overflow: hidden; color: var(--flame); transition: width .7s cubic-bezier(.65, 0, .35, 1); text-align: left; }
.rot-in { display: flex; flex-direction: column; align-items: flex-start; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.rot-in span { display: block; height: 1.12em; line-height: 1.12em; white-space: nowrap; }
.hero h1 > span { display: inline; }
.hero h1 { line-height: 1.12; }
@media (prefers-reduced-motion: reduce) {
  .aurora i { animation: none; }
  .rot, .rot-in { transition: none; }
}
@media (max-width: 640px) {
  .aurora { height: 760px; }
  .aurora i { width: 150vw; height: 150vw; }
  .aurora i:nth-child(1) { left: -60vw; top: -50vw; }
  .aurora i:nth-child(2) { right: -70vw; top: -30vw; }
  .aurora i:nth-child(3) { left: -20vw; top: 30vw; }
}
@media (max-width: 640px) {
  .rot { display: block; width: auto !important; text-align: center; }
  .rot-in { align-items: center; }
}
.langsel { background: transparent; color: var(--muted, #A1A1AA); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.langsel option { background: #111114; color: #FAFAFA; }

/* the fee comparison with fomo (hero link + table in Fees) */
.vs { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(34, 197, 94, .08); color: var(--text); font-size: 14px; font-weight: 600; }
.vs:hover { border-color: var(--up); }
.vs svg { color: var(--up); flex: none; }
.vst { width: 100%; margin-top: 44px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-align: left; font-variant-numeric: tabular-nums; }
.vst th, .vst td { padding: 18px 24px; border-top: 1px solid var(--line); }
.vst thead th { border-top: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.vst th + th, .vst td + td { text-align: right; }
.vst td { font-size: 16px; }
.vst td:nth-child(2) { color: var(--muted); }
.vst td:last-child { color: var(--up); font-weight: 600; }
.vst thead th:last-child { color: var(--text); }
.vsnote { margin: 14px auto 0; max-width: 760px; color: var(--dim); font-size: 13px; line-height: 1.55; }
.vsnote a { color: var(--muted); text-decoration: underline; }
.feesh { margin-top: 72px; font-size: 24px; }
.feesh + .fees { margin-top: 24px; }
@media (max-width: 640px) {
  .vs { font-size: 13px; padding: 8px 14px; }
  .vst th, .vst td { padding: 14px 12px; }
  .vst td { font-size: 14px; }
}
