/* Bitzli website. One shared stylesheet, no external resources, light theme only (matches the app). */
:root {
  --red: #E5342A;
  --red-edge: #A81F17;
  --red-text: #B3261E;
  --snow: #FBF8F3;
  --card: #FFFFFF;
  --ink: #1D2230;
  --muted: #555C6C;
  --line: #E9E3D8;
  --yellow: #FFCE1F;
  --yellow-edge: #C79A00;
  --green: #22A861;
  --green-text: #167A45;
  --navy: #1B2340;
  --tint: #F3EEE5;
  --shadow: 0 1px 0 rgba(29,34,48,.03), 0 18px 40px -20px rgba(29,34,48,.22);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--snow); padding: 8px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; padding: 10px 0; background: rgba(251,248,243,.82); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid rgba(29,34,48,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }
.app-icon { position: relative; display: inline-block; width: 38px; height: 38px; border-radius: 10px; background: var(--red); overflow: hidden; flex: none; box-shadow: 0 2px 6px rgba(168,31,23,.35); }
.app-icon::before { content: "B"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.3rem; }
.app-icon::after { content: ""; position: absolute; inset: 0; background: url(/assets/icon.png) center / cover no-repeat; }
.nav { display: flex; align-items: center; gap: 0 18px; flex-wrap: wrap; font-weight: 700; font-size: .96rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; opacity: .85; }
.nav a:hover { color: var(--red-text); opacity: 1; }
.nav .lang { border: 1.5px solid rgba(29,34,48,.14); border-radius: 999px; padding: 4px 14px; opacity: 1; background: #fff; }
@media (max-width: 759px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; gap: 0 14px; font-size: .93rem; }
  .nav a:first-child, .nav a[href$="/privacy"], .nav a[href$="/terms"] { display: none; }
}

/* Buttons: chunky 3D like the app */
.btn {
  display: inline-block; font: inherit; font-weight: 900; font-size: 1.15rem; line-height: 1.2;
  padding: 15px 28px; border-radius: 16px; text-decoration: none; text-align: center;
  background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-edge);
  transition: transform .08s ease, box-shadow .08s ease; cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--red-edge); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--red-edge); }
.btn.is-static { cursor: default; }
.btn.is-static:hover { transform: none; box-shadow: 0 5px 0 var(--red-edge); }
.btn-yellow, .btn-yellow.is-static:hover { background: var(--yellow); color: #1D2230; box-shadow: 0 5px 0 var(--yellow-edge); }
.btn-yellow:hover { box-shadow: 0 4px 0 var(--yellow-edge); }

/* Type */
h1 { font-size: clamp(2.5rem, 7.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 900; margin: 16px 0 16px; }
h1, h2, .tile h3 { text-wrap: balance; }
h1 .accent { color: var(--red); display: block; }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 900; margin: 0 0 12px; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 31em; margin: 0 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 800; font-size: .9rem; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1.5px solid rgba(29,34,48,.08); box-shadow: 0 6px 16px -8px rgba(29,34,48,.25); }
.eyebrow::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: url(/assets/icon.png) center / cover no-repeat, var(--red); }
.kicker { display: inline-block; font-weight: 900; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--red-text); margin: 0 0 10px; }
.section-head { text-align: center; max-width: 42em; margin: 0 auto 40px; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 0 auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 0;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(255,214,92,.55), rgba(255,214,92,0) 62%),
    radial-gradient(700px 420px at 0% 0%, rgba(255,236,190,.8), rgba(255,236,190,0) 60%),
    var(--snow); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 14vw, 190px); background: url(/assets/mountains.svg) center bottom / 100% 100% no-repeat; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.cta-note { color: var(--muted); font-size: .95rem; font-weight: 700; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.stats li { background: rgba(255,255,255,.85); border: 1.5px solid rgba(29,34,48,.08); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .95rem; color: var(--muted); }
.stats strong { color: var(--ink); font-weight: 900; }
.hero-shot { margin: 0; }
.hero-shot img { display: block; width: calc(100% + 40px); max-width: 680px; height: auto; margin: 4px -20px 0; }
@media (min-width: 560px) { .hero-shot img { width: 100%; margin: 4px auto 0; } }
@media (min-width: 920px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 12px; }
  .hero h1 { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .hero-copy { padding: 0 0 130px; }
  .hero-shot img { max-width: none; width: calc(100% + 50px); margin: 0 -50px 0 0; }
}

/* Sections */
section { padding: 72px 0; }
.band { background: var(--tint); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 700px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 6px; font-size: 1.2rem; line-height: 1.25; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }

/* Bento: feature tiles with a phone rising from the bottom edge */
.features { padding-top: 24px; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 32px; padding: 30px 26px 0; background: #fff; box-shadow: var(--shadow); }
.tile h3 { font-size: clamp(1.4rem, 3.2vw, 1.75rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 900; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); max-width: 30em; }
.tile .shot { margin-top: auto; padding-top: 26px; height: 350px; display: flex; justify-content: center; }
.tile .shot img { width: 260px; height: auto; align-self: flex-start; filter: drop-shadow(0 18px 34px rgba(52,38,24,.24)); }
.tile.yellow { background: linear-gradient(180deg, #FFF7D9 0%, #FFE9A3 100%); }
.tile.blue { background: linear-gradient(180deg, #EEF4FF 0%, #D6E5FF 100%); }
.tile.rose { background: linear-gradient(180deg, #FFF0ED 0%, #FFD9D2 100%); }
.tile.green { background: linear-gradient(180deg, #ECF8F0 0%, #CFEEDB 100%); }
.tile.sand { background: linear-gradient(180deg, #FFFBF4 0%, #F0E5D3 100%); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .tile { grid-column: span 3; padding: 38px 36px 0; }
  .tile.third { grid-column: span 2; padding: 30px 26px 0; }
  .tile .shot { height: 460px; }
  .tile .shot img { width: 320px; }
  .tile.third .shot { height: 380px; }
  .tile.third .shot img { width: 250px; }
}
@media (min-width: 1040px) {
  .tile .shot { height: 500px; }
  .tile .shot img { width: 350px; }
  .tile.third .shot { height: 400px; }
  .tile.third .shot img { width: 270px; }
}

/* Perks */
.perks { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.perk { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 26px; }
.perk .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; }
.perk .ico svg { width: 26px; height: 26px; }
.ico.r { background: #FFE4E0; color: var(--red-text); }
.ico.y { background: #FFF0BD; color: #7A5C00; }
.ico.g { background: #DCF2E5; color: var(--green-text); }
.perk h3 { margin: 0 0 6px; font-size: 1.18rem; line-height: 1.25; font-weight: 850; }
.perk p { margin: 0; color: var(--muted); }

/* Bitzli Pro panel (no prices on the website) */
.pro-panel { display: grid; gap: 22px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 32px; padding: 30px 26px; box-shadow: var(--shadow); }
.pro-panel .pro-art { width: 150px; justify-self: center; }
.pro-panel h2 { margin-bottom: 6px; }
.pro-panel .tag { margin: 0 0 20px; color: var(--muted); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 650; }
.checks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 24px; height: 24px; border-radius: 50%; background: var(--green); }
.checks li::after { content: ""; position: absolute; left: 7px; top: .42em; width: 9px; height: 5px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
@media (min-width: 760px) {
  .pro-panel { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; padding: 44px 52px; }
  .pro-panel .pro-art { width: 190px; }
  .checks { grid-template-columns: 1fr 1fr; gap: 14px 30px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
details { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 0 22px; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 800; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 6px 4px 0 0; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--muted); }
details p + p { margin-top: -6px; }

/* Final call to action */
.cta-final { position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: 52px 24px 0; background: radial-gradient(600px 300px at 50% 0%, #FF6A5C 0%, rgba(255,106,92,0) 70%), linear-gradient(165deg, #EE4136 0%, #C8281F 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(168,31,23,.6); }
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.2rem); }
.cta-final p { color: rgba(255,255,255,.9); max-width: 30em; margin: 0 auto 28px; font-size: 1.15rem; }
.cta-final .mascot { display: block; width: 200px; height: auto; margin: 30px auto 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 52px; color: var(--muted); font-size: .98rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red-text); }
.site-footer small { display: block; }

/* Legal / support pages */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-top: 8px; }
.doc .meta { color: var(--muted); font-weight: 600; margin: 0 0 24px; }
.toc { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 0 0 36px; }
.toc strong { display: block; margin-bottom: 8px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.doc h2 { font-size: 1.5rem; margin: 44px 0 10px; scroll-margin-top: 80px; }
.doc h3 { font-size: 1.15rem; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.note { background: var(--card); border-left: 6px solid var(--yellow); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .98rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
.doc th { font-weight: 800; }
.scroll { overflow-x: auto; }
.doc section, .article section { padding: 0; }

/* 404 */
.lost { text-align: center; padding: 80px 0; }
.lost .big { font-size: clamp(5rem, 22vw, 9rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--red-text); }
.lost-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.lost-lead { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---- Guide pages ---- */
.crumbs { font-size: .92rem; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.article { padding: 32px 0 56px; }
.article h1 { font-size: clamp(2rem, 6vw, 2.9rem); margin: 6px 0 10px; }
.article .byline { color: var(--muted); font-weight: 700; font-size: .95rem; margin: 0 0 28px; }
.article .byline .cat { background: var(--yellow); color: #1D2230; border-radius: 6px; padding: 2px 10px; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 900; margin-right: 8px; }
.prose { font-size: 1.1rem; }
.prose p, .prose li, .prose blockquote { max-width: 68ch; }
.prose h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin: 44px 0 10px; line-height: 1.15; scroll-margin-top: 80px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 6px; font-weight: 800; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: 5px 0; }
.prose strong { font-weight: 800; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 6px solid var(--yellow); background: var(--card); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
.prose th { font-weight: 800; background: var(--tint); white-space: nowrap; }
.prose table.phrases { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); }
.prose table.phrases th, .prose table.phrases td { min-width: 9em; }
.prose table.phrases tr:last-child td { border-bottom: 0; }
.prose table.phrases td:first-child { font-weight: 800; }
@media (min-width: 720px) { .prose table.phrases { display: table; overflow: visible; } }

.article-faq { margin-top: 48px; }
.article-faq h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin: 0 0 14px; }
.article-faq details p { max-width: 68ch; }

/* Guide call to action: red card with a phone peeking in from the bottom */
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin: 40px 0; padding: 26px; border-radius: 26px; background: linear-gradient(165deg, #EE4136 0%, #C8281F 100%); color: #fff; box-shadow: 0 24px 50px -28px rgba(168,31,23,.65); overflow: hidden; }
.cta-box h2, .cta-box .cta-title { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.15; font-weight: 900; color: #fff; }
.cta-box p { margin: 0 0 18px; color: rgba(255,255,255,.9); max-width: 34em; }
.cta-box .btn { font-size: 1.05rem; padding: 12px 22px; }
.cta-box .cta-art { display: none; }
@media (min-width: 560px) {
  .cta-box.has-art { grid-template-columns: minmax(0, 1fr) 150px; padding-bottom: 0; }
  .cta-box.has-art > div:first-child { padding-bottom: 26px; }
  .cta-box .cta-art { display: block; align-self: end; height: 190px; overflow: hidden; }
  .cta-box .cta-art img { display: block; width: 150px; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.28)); }
}

.related { margin-top: 48px; }
.related h2 { font-size: 1.3rem; margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { display: block; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 800; color: var(--ink); text-decoration: none; }
.related a:hover { border-color: var(--red); }

/* Guide index */
.index-intro { color: var(--muted); max-width: 40em; margin: 0 0 28px; font-size: 1.1rem; }
.cat-block { margin: 36px 0; }
.cat-block h2 { font-size: 1.5rem; margin: 0 0 14px; }
.cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .12s ease, border-color .12s ease; }
.post-card:hover { border-color: var(--red); transform: translateY(-2px); }
.post-card strong { font-size: 1.1rem; line-height: 1.25; font-weight: 800; }
.post-card span { color: var(--muted); font-size: .95rem; line-height: 1.45; }
