/* bakkar.in. One stylesheet, no framework. Brand coral from the app. */
@font-face {
  font-family: 'Jakarta';
  src: url('/assets/jakarta.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --coral: #ff5a6e;
  --coral-deep: #e8384f;
  --coral-ink: #c42a40;
  --coral-tint: #fff0f1;
  --grad: linear-gradient(135deg, #ff8a7a 0%, #ff5a6e 50%, #e8384f 100%);
  --violet: #6d4aff;
  --violet-tint: #f1edff;
  --ink: #17171c;
  --body: #3a3a42;
  --muted: #64646d;
  --line: #ececf1;
  --bg: #ffffff;
  --soft: #fff8f6;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(23, 23, 28, 0.04), 0 8px 24px rgba(23, 23, 28, 0.06);
  --shadow-lg: 0 24px 60px rgba(232, 56, 79, 0.18), 0 8px 20px rgba(23, 23, 28, 0.08);
  --r: 20px;
  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f4f6;
    --body: #cfcfd6;
    --muted: #a0a0aa;
    --line: #2a2a33;
    --bg: #111116;
    --soft: #17171e;
    --card: #1c1c24;
    --coral-tint: #2c1a1f;
    --violet-tint: #221d3a;
    --coral-ink: #ff8a98;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.92rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--body); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current='page'] { background: var(--coral-tint); color: var(--coral-ink); }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-row .btn-small { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 750; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0;
  box-shadow: 0 8px 20px rgba(232, 56, 79, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(232, 56, 79, 0.34); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; box-shadow: none; }
.btn-big { padding: 16px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--coral); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ''; position: absolute; inset: -30% -20% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(255, 90, 110, 0.18), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; }
.eyebrow { color: var(--coral-ink); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 12px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: 0.93rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { width: 18px; height: 18px; color: var(--coral); }
.hero-art { position: relative; min-height: 520px; }
.hero-art .phone { position: absolute; }
.hero-art .phone:first-child { left: 0; top: 0; }
.hero-art .phone-tilt { right: 0; top: 70px; }
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 480px; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-art { min-height: 500px; }
  .hero-art .phone-tilt { top: 150px; }
  .hero-art .phone { transform: scale(0.86); transform-origin: top left; }
  .hero-art .phone-tilt { transform: scale(0.8) rotate(5deg); transform-origin: top right; }
}

/* Phone mockups */
.phone {
  width: 260px; border-radius: 38px; padding: 10px; background: #1a1a20;
  box-shadow: var(--shadow-lg);
}
.phone-tilt { transform: rotate(5deg); width: 240px; }
.phone-screen { background: #fff; border-radius: 30px; overflow: hidden; padding: 16px 14px; color: #17171c; min-height: 430px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ph-title { font-weight: 800; font-size: 1.1rem; }
.ph-pill { font-size: 0.72rem; font-weight: 700; color: #c42a40; background: #fff0f1; padding: 4px 10px; border-radius: 999px; }
.swipe-card { position: relative; border-radius: 22px; overflow: hidden; background: #ffd5dc; aspect-ratio: 3 / 4; }
.swipe-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.swipe-info { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.65)); color: #fff; }
.swipe-name { font-weight: 800; font-size: 1.4rem; }
.swipe-meta { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; opacity: 0.92; }
.swipe-meta .ic { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chips span { background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 3px 9px; font-size: 0.7rem; font-weight: 700; }
.ph-actions { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.ph-actions span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); background: #fff; }
.ph-hi { background: var(--grad) !important; }
.chat-screen { background: #fbf7f6; display: flex; flex-direction: column; gap: 8px; }
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 4px; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }

/* Chat bubbles (also used outside phones) */
.bubble { max-width: 85%; padding: 9px 13px; border-radius: 18px; font-size: 0.88rem; line-height: 1.4; }
.bubble.them { background: #fff; color: #17171c; border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); align-self: flex-start; }
.bubble.me { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; margin-left: auto; }
.reaction { align-self: flex-end; font-size: 0.75rem; background: #fff; border-radius: 999px; padding: 2px 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); margin-top: -6px; }

/* Sections */
.band { padding: 72px 0; }
.band-soft { background: var(--soft); }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.page-hero { padding: 56px 0 24px; }
.page-hero .lead { max-width: 720px; }
.page-pad { padding-top: 40px; padding-bottom: 64px; }
.split { padding: 72px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-grid > .phone { justify-self: center; }
.split-grid > .phone-tilt { transform: rotate(-3deg); }
@media (max-width: 860px) {
  .band, .split { padding: 52px 0; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Cards */
.cards { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card p { margin-bottom: 0.4em; }
.card-dashed { border-style: dashed; box-shadow: none; background: transparent; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform 0.15s ease, border-color 0.15s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--coral); }
.card-h { font-size: 1.2rem; }
.card-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--coral-tint); color: var(--coral); margin-bottom: 14px; }
.card-ic .ic { width: 24px; height: 24px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23ff5a6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.stat-card { display: grid; gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; display: flex; align-items: baseline; gap: 14px; box-shadow: var(--shadow); }
.stat strong { font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 110px; }
.stat span { color: var(--muted); font-weight: 600; }

/* AI dost demo */
.ai-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); max-width: 460px; }
.ai-card .bubble.them { background: var(--violet-tint); color: var(--ink); box-shadow: none; }
.ai-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ai-head img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--violet); }
.ai-head strong { display: block; color: var(--ink); font-size: 1.1rem; }
.ai-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 800; color: var(--violet); background: var(--violet-tint); border-radius: 8px; padding: 2px 8px; }
.ai-chip .ic { width: 12px; height: 12px; }

/* Buzz demo */
.buzz-demo { display: grid; gap: 14px; }
.buzz-post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.buzz-post p { color: var(--ink); font-weight: 600; margin: 10px 0; }
.area { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 700; color: var(--coral-ink); background: var(--coral-tint); padding: 4px 10px; border-radius: 999px; }
.area .ic { width: 12px; height: 12px; }
.buzz-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; font-weight: 700; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto 24px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 750; color: var(--ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq-a { padding-bottom: 18px; }

/* Cities */
.city-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-links a { text-decoration: none; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.city-links a:hover { border-color: var(--coral); color: var(--coral-ink); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px; }
.city-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.city-card strong { display: block; color: var(--ink); font-size: 1.1rem; }
.city-card span { color: var(--muted); font-size: 0.85rem; }
.city-card:hover { border-color: var(--coral); }

/* Long-form text */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: 6px 0; }
.prose ol, .prose ul:not(.ticks) { padding-left: 22px; }
.legal { padding-top: 40px; padding-bottom: 64px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; }
.more { margin-top: 48px; padding: 24px; background: var(--soft); border-radius: var(--r); }
.more h2 { font-size: 1.2rem; margin-top: 0; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral-ink); }
.crumbs > * + *::before { content: '›'; margin-right: 6px; color: var(--line); }

/* Get the app */
.get { padding: 24px 0 80px; }
.get-card { background: var(--grad); color: #fff; border-radius: 32px; padding: 48px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.get-card img { margin: 0 auto 16px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.get-card h2 { color: #fff; }
.get-card p { max-width: 560px; margin: 0 auto 24px; opacity: 0.95; }
.get-card .btn { background: #fff; color: var(--coral-deep); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }

/* Invite */
.invite { padding: 64px 0; }
.invite-card { max-width: 480px; text-align: center; }
.invite-card img { margin: 0 auto 18px; border-radius: 20px; }
.invite-card b { background: var(--coral-tint); color: var(--coral-ink); padding: 2px 8px; border-radius: 6px; letter-spacing: 1px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid a:not(.brand) { display: block; color: var(--body); text-decoration: none; margin: 6px 0; font-size: 0.95rem; }
.footer-grid a:not(.brand):hover { color: var(--coral-ink); }
.foot-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
