/* Sift — landing + guides. OLED editorial, violet/cyan brand. */
:root {
  --bg: #07091a; --bg2: #0d1028; --surface: #141838; --surface2: #1b2048;
  --text: #f4f4ff; --dim: rgba(228,230,255,.62); --line: rgba(255,255,255,.08);
  --violet: #8b5cf6; --indigo: #6366f1; --cyan: #22d3ee; --keep: #34d399; --rose: #f43f5e;
  --grad: linear-gradient(120deg, #8b5cf6, #6366f1 45%, #22d3ee);
  --r: 22px; --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.02em; }
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }

/* atmosphere */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none; z-index: 0; }
.noise::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(7,9,26,.78); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
nav .logo { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.25rem; color: var(--text); }
nav .logo img { width: 32px; height: 32px; border-radius: 8px; }
nav .links { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; }
nav .links a { color: var(--dim); }
nav .links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px;
  background: var(--grad); color: #fff !important; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 32px rgba(124,58,237,.4); transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(34,211,238,.35); }
.btn.ghost { background: var(--surface); box-shadow: none; border: 1px solid var(--line); }
nav .btn { padding: 9px 20px; font-size: .9rem; }

/* hero */
.hero { padding: 110px 0 70px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--dim); max-width: 34rem; margin-bottom: 34px; }
.hero .cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .fineprint { margin-top: 18px; font-size: .85rem; color: var(--dim); }
.hero .fineprint b { color: var(--keep); }
.reveal { opacity: 0; transform: translateY(22px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.r2 { animation-delay: .12s; } .r3 { animation-delay: .24s; } .r4 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* animated deck */
.deck { position: relative; width: min(320px, 72vw); aspect-ratio: 9/19.2; margin: 0 auto; }
.deck .card { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.deck .card img { width: 100%; height: 100%; object-fit: cover; }
.deck .c3 { transform: scale(.9) translateY(34px) rotate(4deg); opacity: .45; }
.deck .c2 { transform: scale(.95) translateY(17px) rotate(-3deg); opacity: .7; }
.deck .c1 { animation: swipe 5.2s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes swipe {
  0%, 55% { transform: none; opacity: 1; }
  70% { transform: translateX(130%) rotate(16deg); opacity: 0; }
  70.01% { transform: scale(.9) translateY(34px); opacity: 0; }
  85%, 100% { transform: none; opacity: 1; }
}
.deck .stamp { position: absolute; top: 26px; left: 22px; z-index: 3; padding: 7px 16px; border: 3px solid var(--keep);
  color: var(--keep); border-radius: 12px; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.3rem;
  transform: rotate(-12deg); opacity: 0; animation: stamp 5.2s infinite; }
@keyframes stamp { 56%, 68% { opacity: 1; } 0%, 50%, 72%, 100% { opacity: 0; } }

/* badges strip */
.strip { border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg2); }
.strip .wrap { display: flex; gap: 14px 40px; flex-wrap: wrap; justify-content: center; font-size: .95rem; color: var(--dim); }
.strip b { color: var(--text); }
.strip span::before { content: "✦"; color: var(--cyan); margin-right: 9px; }

/* sections */
.sec-head { max-width: 620px; margin-bottom: 54px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 14px; }
.sec-head p { color: var(--dim); font-size: 1.08rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; position: relative; overflow: hidden; }
.step::after { content: attr(data-n); position: absolute; right: 14px; top: -18px; font-family: "Bricolage Grotesque";
  font-size: 6rem; font-weight: 800; color: rgba(139,92,246,.14); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--dim); font-size: .98rem; }
.step .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(139,92,246,.16); font-size: 22px; margin-bottom: 18px; }

/* screenshots */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.shots img { width: 240px; border-radius: 26px; border: 1px solid var(--line); scroll-snap-align: start;
  transition: transform .25s; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.shots img:hover { transform: translateY(-8px) rotate(-1deg); }

/* guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s; }
.gcard:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.5); }
.gcard .tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.gcard h3 { font-size: 1.18rem; color: var(--text); }
.gcard p { color: var(--dim); font-size: .95rem; flex: 1; }
.gcard .more { font-weight: 700; font-size: .92rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 780px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; }
.plan.pro { border: 1.5px solid transparent; background: linear-gradient(var(--surface2), var(--surface2)) padding-box, var(--grad) border-box; position: relative; }
.plan .name { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.15rem; }
.plan .amount { font-family: "Bricolage Grotesque"; font-size: 2.6rem; font-weight: 800; margin: 12px 0 4px; }
.plan .per { color: var(--dim); font-size: .92rem; margin-bottom: 18px; }
.plan ul { list-style: none; color: var(--dim); font-size: .96rem; display: grid; gap: 9px; }
.plan li::before { content: "✓"; color: var(--keep); font-weight: 800; margin-right: 10px; }
.plan .badge { position: absolute; top: -13px; right: 22px; background: var(--grad); font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px; }

/* faq */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 1.5rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--dim); }
.faq .a a { font-weight: 700; }

/* final cta */
.final { text-align: center; background: radial-gradient(70% 90% at 50% 0%, rgba(139,92,246,.22), transparent 70%); border-top: 1px solid var(--line); }
.final .icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 18px 50px rgba(124,58,237,.45); }
.final h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.final p { color: var(--dim); margin-bottom: 30px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; font-size: .9rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 46px; align-items: center; }
footer a { color: var(--dim); } footer a:hover { color: var(--text); }
footer .logo { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; }
footer .logo img { width: 24px; height: 24px; border-radius: 6px; }

/* guide article pages */
.article { max-width: 760px; margin: 0 auto; padding: 70px 24px 90px; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.article .answer { background: var(--surface); border-left: 3px solid var(--cyan); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin: 26px 0 38px; color: var(--text); font-size: 1.06rem; }
.article h2 { font-size: 1.55rem; margin: 46px 0 16px; }
.article p, .article li { color: var(--dim); }
.article ol, .article ul { padding-left: 24px; display: grid; gap: 10px; margin: 16px 0; }
.article strong { color: var(--text); }
.article .appcta { margin: 44px 0; background: linear-gradient(var(--surface2), var(--surface2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; border-radius: var(--r); padding: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.article .appcta img { width: 64px; height: 64px; border-radius: 16px; }
.article .appcta .t { flex: 1; min-width: 220px; }
.article .appcta b { font-family: "Bricolage Grotesque"; font-size: 1.15rem; display: block; }
.article .appcta span { color: var(--dim); font-size: .93rem; }
.article .rel { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.article .rel a { display: block; padding: 8px 0; font-weight: 600; }
.crumbs { font-size: .85rem; color: var(--dim); margin-bottom: 26px; }
.crumbs a { color: var(--dim); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta-row { justify-content: center; }
  .kicker { justify-content: center; }
  .sec-head { text-align: center; margin-inline: auto; }
  .steps, .price-grid { grid-template-columns: 1fr; }
  nav .links { display: none; }
  .deck { margin-top: 26px; }
}
