/* Luckgram Ads landing. One loud thing: the yellow ad row inside a quiet grey chat list. */
:root {
  --paper: #f2f4f7;
  --sheet: #ffffff;
  --ink: #1a1d24;
  --slate: #5f6876;
  --line: #dde2e9;
  --soft: #e8ecf1;
  --luck: #ffc83d;
  --luck-ink: #3d2c00;
  --display: "Unbounded", "Noto Sans SC", system-ui, sans-serif;
  --text: "Onest", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13151a; --sheet: #1c1f26; --ink: #eef0f3; --slate: #9aa3b0; --line: #2b2f38; --soft: #242832;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .brand img { filter: invert(1); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--luck); outline-offset: 2px; border-radius: 6px; }
.shell { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); }
.top .shell { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 16px/1 var(--display); text-decoration: none; margin-right: auto; }
.brand img { width: 26px; height: 26px; }
.links { display: flex; gap: 22px; font-size: 15px; }
.links a { text-decoration: none; color: var(--slate); }
.links a:hover { color: var(--ink); }
.top .lang { font-size: 14px; color: var(--slate); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.slim { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .links { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 56px 0 88px; }
.hero h1 { font: 700 clamp(34px, 5vw, 62px)/1.08 var(--display); letter-spacing: -.02em; margin: 0 0 24px; text-wrap: balance; }
.hero p { font-size: 19px; color: var(--slate); max-width: 34em; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 20px; font-size: 14px; color: var(--slate); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; } }

/* The chat list: the page's one memorable object */
.device { background: var(--sheet); border-radius: 30px; padding: 14px 10px 18px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgb(20 30 50 / .35); max-width: 440px; justify-self: center; width: 100%; }
.device-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 12px; font-weight: 600; }
.device-bar span { color: var(--slate); font-weight: 400; font-size: 14px; }
.row { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 16px; }
.ava { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; color: var(--slate); font-size: 14.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row time { align-self: start; padding-top: 4px; font-size: 13px; color: var(--slate); }
.row.ad { background: var(--luck); color: var(--luck-ink); margin: 4px 0; }
.row.ad small { color: color-mix(in srgb, var(--luck-ink) 75%, transparent); }
.row.ad .tag { align-self: start; margin-top: 3px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: rgb(0 0 0 / .1); }
.row.ad .ava { background: var(--luck-ink); }
@media (prefers-reduced-motion: no-preference) {
  .row.ad { animation: drop .7s cubic-bezier(.2, .9, .25, 1.15) .5s both; }
  @keyframes drop { from { opacity: 0; transform: translateY(-26px) scale(.96); } }
}
.try { margin: 18px 6px 0; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.try label { font-size: 13px; color: var(--slate); }
.try input { width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.try input:focus { outline: none; border-color: var(--ink); }

/* Sections */
.band { padding: 88px 0; }
.band + .band { border-top: 1px solid var(--line); }
.band h2 { font: 700 clamp(28px, 3.4vw, 40px)/1.12 var(--display); letter-spacing: -.015em; margin: 0 0 16px; max-width: 20em; }
.band .intro { color: var(--slate); max-width: 38em; margin: 0 0 44px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.price { padding: 26px 26px 6px 0; }
.price + .price { padding-left: 26px; border-left: 1px solid var(--line); }
.price strong { display: block; font: 700 clamp(30px, 4vw, 48px)/1 var(--display); margin-bottom: 10px; }
.price strong.pending { font-size: 22px; color: var(--slate); font-weight: 600; padding: 12px 0 4px; }
.price span { color: var(--slate); }
.budget { margin-top: 28px; color: var(--slate); }
@media (max-width: 760px) {
  .prices { grid-template-columns: 1fr; }
  .price, .price + .price { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--display); background: var(--ink); color: var(--paper); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -16px; height: 2px; background: var(--line); }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pair h3 { font: 600 20px/1.3 var(--display); margin: 0 0 18px; }
.pair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pair li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.pair li svg { width: 22px; height: 22px; margin-top: 2px; }
.no svg { color: #d0453a; }
.yes svg { color: #1f8a55; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; gap: 40px; } }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 28px/1 var(--display); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--slate); max-width: 40em; }

.final { background: var(--ink); color: var(--paper); border-radius: 32px; padding: 64px clamp(24px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin: 0 0 64px; }
.final h2 { font: 700 clamp(26px, 3.2vw, 38px)/1.15 var(--display); margin: 0 0 10px; }
.final p { margin: 0; opacity: .7; }
.final .btn { background: var(--luck); color: var(--luck-ink); }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; } }

.foot { padding: 0 0 48px; color: var(--slate); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Placements */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.places figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.places figcaption { color: var(--slate); font-size: 15px; }
.device.small { max-width: 400px; padding: 10px; animation: none; }
.device.small .row.ad { animation: none; }
.convo-head { display: flex; align-items: center; gap: 12px; padding: 6px 10px 12px; border-bottom: 1px solid var(--line); }
.convo-head .ava { width: 38px; height: 38px; }
.convo-pin { padding: 8px 0; border-bottom: 1px solid var(--line); }
.convo-pin .row.ad { margin: 0; }
.bubbles { display: grid; gap: 8px; padding: 18px 8px 6px; }
.bubbles p { margin: 0; padding: 9px 13px; border-radius: 16px; max-width: 78%; font-size: 15px; }
.bubbles .in { background: var(--soft); justify-self: start; border-bottom-left-radius: 5px; }
.bubbles .out { background: var(--ink); color: var(--paper); justify-self: end; border-bottom-right-radius: 5px; }
@media (max-width: 760px) { .places { grid-template-columns: 1fr; } }

/* Audience */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.stats div { padding: 24px 24px 8px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font: 700 clamp(32px, 4.4vw, 54px)/1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.stats span { color: var(--slate); }
.sub { font: 600 20px/1.3 var(--display); margin: 48px 0 12px; }
.countries { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.countries li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.countries b { font-variant-numeric: tabular-nums; }
.note { color: var(--slate); font-size: 14px; margin-top: 18px; }
@media (max-width: 760px) { .countries { columns: 1; } .stats div + div { padding-left: 0; border-left: 0; } }

/* Deal */
.deal { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.deal h2 { margin-bottom: 8px; }
.deal p { margin: 0; color: var(--slate); }
