/* EmojiSlash — site styles. Dark only. System fonts (SF Pro on Apple devices), no frameworks. */
:root {
  --bg: #000000;
  --bg-alt: #0b0b0c;
  --card: #161617;
  --card-2: #1d1d1f;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #2997ff;
  --green: #30d158;
  --gold-1: #ffd60a;
  --gold-2: #ff9f0a;
  --nav: rgba(22, 22, 23, 0.72);
  --window: #1c1c1e;
  --window-bar: #28282b;
  --picker: rgba(40, 40, 44, 0.82);
  --shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  --radius: 28px;
  --max: 1080px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: rgba(41, 151, 255, .35); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.display {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; }
.gold {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dim { color: var(--text-3); }
kbd {
  font: 600 0.82em/1 ui-monospace, "SF Mono", Menlo, monospace;
  padding: 0.24em 0.48em; border-radius: 6px;
  background: var(--card-2); border: 0.5px solid var(--line-2);
}
code { font: 0.9em ui-monospace, "SF Mono", Menlo, monospace; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 48px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 12px; }
.nav-links a { color: var(--text); opacity: 0.8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 640px) { .nav-links .hide-s { display: none; } .nav .wrap { gap: 18px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 980px; border: 0;
  font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; white-space: nowrap;
  background: var(--blue); color: #fff; transition: background .2s, transform .15s var(--ease);
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn.light { background: var(--text); color: #000; }
.btn.light:hover { background: #fff; }
.btn.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn.secondary:hover { background: rgba(41, 151, 255, .1); }
.btn.small { height: 28px; padding: 0 13px; font-size: 12px; }
.btn.large { height: 56px; padding: 0 34px; font-size: 19px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.btn .sep { opacity: .55; font-weight: 400; }
.link-arrow { font-size: 17px; }
.link-arrow::after { content: " ›"; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 24px; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -120px; width: min(1100px, 100%); height: 760px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(255, 184, 0, .16), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(41, 151, 255, .10), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .app-icon { width: 132px; height: 132px; margin: 0 auto 26px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 17px; font-weight: 600; color: var(--text-2); margin: 0 0 12px; letter-spacing: -0.02em;
}
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(56px, 11vw, 112px); line-height: 1; margin: 0 0 24px; letter-spacing: -0.045em; }
.hero h1 .slash {
  background: linear-gradient(180deg, #ffffff 0%, #8e8e93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.04em;
}
.hero h1 .emo { display: inline-block; transform-origin: 50% 70%; animation: pop 3.2s var(--ease) 0.6s infinite; }
@keyframes pop { 0%, 70%, 100% { transform: none; } 76% { transform: scale(1.12) rotate(-6deg); } 84% { transform: scale(0.98) rotate(3deg); } 90% { transform: none; } }
.hero .lede { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.33; color: var(--text-2); max-width: 620px; margin: 0 auto 36px; font-weight: 500; letter-spacing: -0.02em; }
.hero .lede strong { color: var(--text); font-weight: 600; }
.cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.forever {
  margin-top: 22px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-size: 14px; color: var(--text-2);
}
.forever span { display: inline-flex; align-items: center; gap: 6px; }
.forever svg { width: 14px; height: 14px; color: var(--green); }
.fine { margin-top: 10px; font-size: 12px; color: var(--text-3); }

/* ---------- demo window ---------- */
.stage { padding: 40px 0 120px; }
.window {
  position: relative; max-width: 780px; margin: 0 auto;
  background: var(--window); border-radius: 14px; box-shadow: var(--shadow);
  text-align: left;
}
.window .bar {
  height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: var(--window-bar); border-radius: 14px 14px 0 0; border-bottom: 0.5px solid rgba(0,0,0,.5);
}
.window .dot { width: 12px; height: 12px; border-radius: 50%; }
.window .dot:nth-child(1) { background: #ff5f57; }
.window .dot:nth-child(2) { background: #febc2e; }
.window .dot:nth-child(3) { background: #28c840; }
.window .title { margin: 0 auto; transform: translateX(-30px); font-size: 13px; font-weight: 600; color: var(--text-2); }
.window .body { padding: 30px 34px 240px; font-size: 22px; }
@media (max-width: 560px) { .window .body { font-size: 18px; padding: 22px 20px 240px; } }
.window .line { color: var(--text-3); font-size: 15px; margin-bottom: 16px; }
.typed { white-space: pre-wrap; }
.typed .q { color: var(--text); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--link); vertical-align: -0.18em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.picker {
  position: absolute; width: 300px; padding: 6px;
  background: var(--picker); border-radius: 12px;
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 22px 50px -10px rgba(0,0,0,.7), 0 0 0 0.5px var(--line-2), inset 0 0.5px 0 rgba(255,255,255,.1);
  font-size: 13px; opacity: 0; transform: translateY(-4px) scale(.98); transition: opacity .15s, transform .15s;
  pointer-events: none;
}
.picker.show { opacity: 1; transform: none; }
.picker .head { display: flex; justify-content: space-between; padding: 2px 8px 5px; font: 11px ui-monospace, Menlo, monospace; color: var(--text-2); }
.picker .head span:last-child { font-family: inherit; color: var(--text-3); font-size: 10px; }
.picker .row { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; border-radius: 6px; }
.picker .row .e { width: 28px; font-size: 20px; text-align: center; }
.picker .row .h { margin-left: auto; color: var(--text-3); font-size: 11px; }
.picker .row.sel { background: var(--blue); color: #fff; }
.picker .row.sel .h { color: rgba(255,255,255,.75); }
.picker .row .e.wide { width: auto; font-size: 15px; }

/* ---------- sections ---------- */
section { padding: 120px 0; }
section.alt { background: var(--bg-alt); }
.kicker { font-size: 17px; font-weight: 600; color: var(--gold-2); margin: 0 0 10px; letter-spacing: -0.02em; }
.section-title { font-size: clamp(40px, 6.4vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.04em; }
.section-lede { font-size: clamp(19px, 2.2vw, 21px); color: var(--text-2); max-width: 660px; margin: 0 auto 64px; line-height: 1.4; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; background: var(--card); border-radius: var(--radius); padding: 34px 30px;
  min-height: 260px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  border: 0.5px solid var(--line);
}
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; }
.tile h3 { font-size: 24px; line-height: 1.17; margin: 0 0 8px; letter-spacing: -0.025em; }
.tile p { margin: 0; color: var(--text-2); font-size: 17px; }
.tile .big { font-size: 52px; line-height: 1; margin-bottom: auto; padding-bottom: 26px; letter-spacing: 0.02em; }
.tile.glow::before {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -70%; height: 120%;
  background: radial-gradient(closest-side, rgba(255,184,0,.10), transparent); pointer-events: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 auto; padding-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px;
  background: var(--card-2); border: 0.5px solid var(--line-2); font-size: 16px;
}
.chip code { color: var(--text-2); font-size: 13px; }
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.full { grid-column: span 2; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.full { grid-column: span 1; }
  section { padding: 84px 0; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px 24px; border: 0.5px solid var(--line); }
.step .n {
  counter-increment: step; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: #000; font-size: 13px; font-weight: 700; margin-bottom: 16px;
}
.step .n::before { content: counter(step); }
.step h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.step .art { height: 116px; display: grid; place-items: center; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* mini illustrations */
.mini-dmg { width: 150px; height: 92px; border-radius: 10px; background: var(--card-2); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-around; padding: 0 10px; }
.mini-dmg img { width: 48px; height: 48px; }
.mini-dmg .folder { width: 44px; height: 36px; border-radius: 6px; background: linear-gradient(#64d2ff, #0a84ff); position: relative; }
.mini-dmg .folder::before { content: ""; position: absolute; top: -5px; left: 4px; width: 18px; height: 8px; border-radius: 3px 3px 0 0; background: #64d2ff; }
.mini-dmg .arrow { color: var(--text-3); font-size: 20px; }
.mini-toggle { width: 190px; background: var(--card-2); border-radius: 10px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mini-toggle img { width: 22px; height: 22px; }
.switch { margin-left: auto; width: 34px; height: 20px; border-radius: 10px; background: var(--green); position: relative; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.mini-type { font-size: 26px; font-weight: 600; }
.mini-type .q { color: var(--text-3); }
.menubar { width: 170px; height: 26px; border-radius: 7px; background: var(--card-2); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 10px; font: 600 12px ui-monospace, Menlo, monospace; color: var(--text-2); }
.menubar b { color: var(--text); background: rgba(255,255,255,.14); padding: 2px 6px; border-radius: 4px; }

/* ---------- pricing ---------- */
#pricing { position: relative; overflow: hidden; }
#pricing::before {
  content: ""; position: absolute; left: 50%; top: 34%; width: 900px; height: 700px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 159, 10, .14), transparent 70%); pointer-events: none;
}
#pricing .wrap { position: relative; }
.price-hero { font-size: clamp(120px, 24vw, 230px); line-height: .9; margin: 0 0 10px; letter-spacing: -0.06em; }
.price-hero .cur { font-size: .42em; vertical-align: .95em; letter-spacing: 0; margin-right: .03em; }
.price-sub { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 16px; letter-spacing: -0.035em; line-height: 1.1; }
.price-card {
  max-width: 540px; margin: 56px auto 0; background: rgba(22,22,23,.82); border-radius: 32px; padding: 34px 36px 30px;
  border: 0.5px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.price-card .head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.price-card .head img { width: 60px; height: 60px; }
.price-card .head .name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .head .meta { font-size: 14px; color: var(--text-2); }
.price-card .head .tag { margin-left: auto; text-align: right; }
.price-card .head .tag b { display: block; font-size: 30px; letter-spacing: -0.035em; line-height: 1.1; }
.price-card .head .tag span { font-size: 12px; color: var(--text-2); }
.checks { list-style: none; text-align: left; padding: 18px 0; margin: 0 0 24px; border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.checks li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 12px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 520px) {
  .checks { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px 24px; }
  .price-card .head .tag b { font-size: 24px; }
}
.price-card .btn { width: 100%; }
.pay-note { margin-top: 14px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 6px; }
.compare { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; margin-top: 44px; color: var(--text-2); font-size: 15px; }
.compare span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 0.5px solid var(--line-2); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 0.8; color: var(--text-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

/* ---------- closing CTA ---------- */
.closer { padding: 140px 0; text-align: center; border-top: 0.5px solid var(--line); }
.closer img { width: 96px; height: 96px; margin: 0 auto 26px; }
.closer h2 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; margin: 0 0 32px; letter-spacing: -0.045em; }

/* ---------- footer ---------- */
footer { background: var(--bg-alt); padding: 28px 0 40px; font-size: 12px; color: var(--text-3); border-top: 0.5px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--text-2); }

/* ---------- sheet (checkout) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center; padding: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sheet-backdrop.open { display: flex; animation: fade .2s; }
.sheet {
  width: 100%; max-width: 400px; background: var(--card); border-radius: 22px; padding: 32px 28px 22px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 0.5px var(--line-2); animation: rise .3s var(--ease);
  text-align: center;
}
.sheet img { width: 72px; height: 72px; margin: 0 auto 14px; }
.sheet h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); }
.sheet .amount { font-size: 48px; font-weight: 700; letter-spacing: -0.045em; margin: 2px 0 2px; line-height: 1.1; }
.sheet p { margin: 0 0 22px; color: var(--text-2); font-size: 14px; }
.sheet input {
  width: 100%; height: 46px; border-radius: 12px; border: 0.5px solid var(--line-2); background: #000;
  color: var(--text); font: inherit; padding: 0 14px; margin-bottom: 12px; outline: none;
}
.sheet input:focus { border-color: var(--link); box-shadow: 0 0 0 3px rgba(41, 151, 255, .3); }
.sheet .btn { width: 100%; }
.sheet .cancel { margin-top: 8px; background: none; border: 0; color: var(--link); font: inherit; font-size: 15px; cursor: pointer; padding: 8px; }
.sheet .err { color: #ff453a; font-size: 13px; min-height: 18px; margin: -4px 0 8px; }
.sheet .fine { margin: 6px 0 0; font-size: 11px; color: var(--text-3); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } }

/* ---------- article pages (setup / privacy / thanks) ---------- */
.page { padding: 80px 0 110px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -0.04em; }
.page h2 { font-size: 28px; margin: 56px 0 12px; letter-spacing: -0.03em; }
.page p, .page li { color: var(--text-2); }
.page ol, .page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page strong { color: var(--text); }
.page .eyebrow { color: var(--gold-2); }
.page .intro { font-size: 21px; font-weight: 500; }
.callout { background: var(--card); border: 0.5px solid var(--line); border-radius: 18px; padding: 20px 24px; margin: 24px 0; }
.callout p { margin: 0; }
.license-box {
  background: var(--card); border: 0.5px solid var(--line-2); border-radius: 16px; padding: 18px; margin: 24px 0;
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; color: var(--text);
  user-select: all;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.field {
  height: 48px; border-radius: 12px; border: 0.5px solid var(--line-2); background: var(--card); color: var(--text);
  font: inherit; padding: 0 16px; min-width: 260px; outline: none;
}
.field:focus { border-color: var(--link); box-shadow: 0 0 0 3px rgba(41, 151, 255, .3); }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--line-2); border-top-color: var(--text-2); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* reveal on scroll (only when app.js has run and marked <html class="js">) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- checkout: payment step ---------- */
.pay-marks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-marks .mark {
  display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 8px; border-radius: 6px;
  border: 0.5px solid var(--line-2); background: var(--card-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--text-2);
}
.pay-marks .mark.apple { background: #fff; color: #000; border-color: #fff; font-size: 12px; }
.pay-marks .mark.apple svg { width: 10px; height: 12px; margin-top: -1px; }
.pay-for { font-size: 13px; color: var(--text-2); margin: -6px 0 16px; }
.pay-for strong { color: var(--text); font-weight: 600; }
.linkish { background: none; border: 0; padding: 0 0 0 4px; font: inherit; color: var(--link); cursor: pointer; }
#wallets { margin-bottom: 10px; min-height: 50px; }
#wallets > * { width: 100% !important; }
#pay-step .err { margin: 8px 0 0; }
