/* BuilderBell website: look C "Sunny Village", the same colours as the app (ui/theme/Theme.kt BellColors). */
:root {
  color-scheme: light;
  --sky-top: #6ec1f5;
  --sky-mid: #a9ddfb;
  --sky-low: #ddf1fd;
  --sky-bottom: #f2f9fe;
  --title-shadow: #2a6fa8;
  --card: #ffffff;
  --card-line: #e3eef7;
  --card-edge: #c3d8ea;
  --sky-edge: #9cc4e4;
  --chip: #f1f6fb;
  --track: #e6eef6;
  --ink: #1d2b45;
  --ink2: #5a6a85;
  --ink3: #6b7a94;
  --yellow-top: #ffe066;
  --yellow: #ffc21a;
  --yellow-edge: #d8900a;
  --on-yellow: #4a2e00;
  --green-top: #6fd86f;
  --green: #3db54a;
  --green-edge: #23852f;
  --green-ink: #23852f;
  --green-soft: #eafbe9;
  --green-line: #8fdc97;
  --green-card-edge: #7fcb88;
  --orange: #ff9f1c;
  --orange-ink: #d86a00;
  --amber-soft: #fff0d6;
  --blue: #2e8be0;
  --blue-ink: #1f5e9c;
  --blue-soft: #e3f1ff;
  --th-ink: #8a5a00;
  --th-soft: #fff1c2;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--sky-bottom);
  background-image: linear-gradient(180deg, var(--sky-top) 0, var(--sky-mid) 560px, var(--sky-low) 1100px, var(--sky-bottom) 1600px);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .4em; letter-spacing: .2px; }
h2 { font-size: clamp(28px, 5vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* Clouds drifting across the sky */
.clouds { position: absolute; inset: 0 0 auto 0; height: 900px; overflow: hidden; pointer-events: none; z-index: 0; }
.clouds span {
  position: absolute; border-radius: 999px; background: rgba(255, 255, 255, .5);
  animation: drift 60s linear infinite;
}
.clouds span::after {
  content: ""; position: absolute; border-radius: 999px; background: inherit;
  width: 55%; height: 140%; left: 22%; bottom: 30%;
}
.clouds span:nth-child(1) { width: 220px; height: 56px; top: 120px; left: -10%; animation-duration: 75s; }
.clouds span:nth-child(2) { width: 160px; height: 44px; top: 330px; left: 60%; animation-duration: 95s; animation-delay: -40s; opacity: .8; }
.clouds span:nth-child(3) { width: 260px; height: 64px; top: 560px; left: 20%; animation-duration: 110s; animation-delay: -70s; opacity: .7; }
.clouds span:nth-child(4) { width: 130px; height: 36px; top: 70px; left: 78%; animation-duration: 85s; animation-delay: -20s; opacity: .9; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@media (prefers-reduced-motion: reduce) {
  .clouds span, .float, .ring { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Header */
.site-header { position: relative; z-index: 2; padding: 18px 0 8px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo svg { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 2px 0 rgba(42, 111, 168, .5)); }
.logo b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; text-shadow: 0 3px 0 var(--title-shadow); }
.logo:hover { color: #fff; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--ink); text-decoration: none;
  background: var(--card); border-radius: 14px; padding: 8px 14px; box-shadow: 0 4px 0 var(--sky-edge);
  transition: transform .08s, box-shadow .08s;
}
.nav a:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 0 var(--sky-edge); }
.nav a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sky-edge); }
.nav a[aria-current="page"] {
  background: linear-gradient(180deg, var(--yellow-top), var(--yellow)); color: var(--on-yellow); box-shadow: 0 4px 0 var(--yellow-edge);
}
@media (max-width: 560px) {
  .logo b { font-size: 25px; }
  .logo svg { width: 32px; height: 32px; }
  .nav a { font-size: 14px; padding: 7px 10px; border-radius: 12px; }
  .nav .hide-sm { display: none; }
}

/* Titles straight on the sky */
.sky-title { color: #fff; text-shadow: 0 3px 0 var(--title-shadow); }

/* Cards with a 3D edge */
.card {
  position: relative; background: var(--card); border: 2px solid var(--card-line); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--card-edge), 0 18px 30px -18px rgba(31, 94, 156, .35);
  padding: 22px;
}
.card.green { border-color: var(--green-line); box-shadow: 0 6px 0 var(--green-card-edge), 0 18px 30px -18px rgba(35, 133, 47, .3); }
.card.soft-green { background: var(--green-soft); border-color: var(--green-line); box-shadow: 0 6px 0 var(--green-card-edge); }

/* Chunky buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.1; text-decoration: none;
  padding: 15px 26px; border-radius: 18px; border: 0; cursor: pointer; transition: transform .08s, box-shadow .08s, filter .1s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn:active { transform: translateY(4px); }
.btn-yellow { background: linear-gradient(180deg, var(--yellow-top), var(--yellow)); color: var(--on-yellow); box-shadow: 0 6px 0 var(--yellow-edge); }
.btn-yellow:hover { color: var(--on-yellow); }
.btn-yellow:active { box-shadow: 0 2px 0 var(--yellow-edge); }
.btn-green { background: linear-gradient(180deg, var(--green-top), var(--green)); color: #fff; text-shadow: 0 2px 0 rgba(30, 107, 41, .55); box-shadow: 0 6px 0 var(--green-edge); }
.btn-green:hover { color: #fff; }
.btn-green:active { box-shadow: 0 2px 0 var(--green-edge); }
.btn-white { background: var(--card); color: var(--ink); box-shadow: 0 6px 0 var(--sky-edge); }
.btn-white:hover { color: var(--ink); }
.btn-white:active { box-shadow: 0 2px 0 var(--sky-edge); }
.btn small { display: block; font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; opacity: .8; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; line-height: 1.2;
  padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--ink);
}
.chip.th { background: var(--th-soft); color: var(--th-ink); }
.chip.blue { background: var(--blue-soft); color: var(--blue-ink); }
.chip.green { background: var(--green-soft); color: var(--green-ink); }

/* Hero */
.hero { position: relative; z-index: 1; padding: 28px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 7.2vw, 68px); color: #fff; text-shadow: 0 4px 0 var(--title-shadow); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--yellow-top); }
.hero .lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 26px 0 18px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px; }
.hero .trust .chip { background: rgba(255, 255, 255, .85); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 12px; }
}

/* Phone frame around real app screenshots */
.phone {
  position: relative; width: min(330px, 78vw); margin: 0 auto; border-radius: 40px; padding: 10px;
  background: var(--card); border: 2px solid var(--card-line);
  box-shadow: 0 8px 0 var(--card-edge), 0 30px 50px -20px rgba(31, 94, 156, .5);
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 720 / 1260; object-fit: cover; object-position: top; background: var(--sky-mid); }
.phone.small { width: min(270px, 70vw); border-radius: 34px; padding: 8px; }
.phone.small img { border-radius: 26px; aspect-ratio: 720 / 1271; }

.hero-art { position: relative; padding: 20px 0 30px; }
.float { position: absolute; z-index: 2; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* The alert, as Android shows it */
.notif {
  display: flex; gap: 12px; align-items: flex-start; width: 300px; max-width: 86vw; padding: 12px 14px;
  background: rgba(255, 255, 255, .97); border-radius: 20px; border: 2px solid var(--card-line);
  box-shadow: 0 5px 0 var(--card-edge), 0 20px 30px -14px rgba(31, 94, 156, .45);
  font-size: 13.5px; line-height: 1.35;
}
.notif .app { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--ink3); margin-bottom: 2px; }
.notif .app i { width: 18px; height: 18px; border-radius: 6px; background: #131a24; display: grid; place-items: center; }
.notif .app i svg { width: 13px; height: 13px; }
.notif b { display: block; font-weight: 900; font-size: 14.5px; color: var(--ink); }
.notif span { color: var(--ink2); }
.notif img { width: 46px; height: 46px; object-fit: contain; flex: none; margin-top: 4px; }
.hero-art { padding-top: 64px; }
.hero-art .notif-pos { top: 0; left: -24px; }
.hero-art .badge-pos { bottom: 70px; right: -24px; animation-delay: -2.5s; }
@media (max-width: 880px) {
  .hero-art .notif-pos { left: 50%; margin-left: -150px; top: -6px; }
  .hero-art .badge-pos { right: 0; bottom: 40px; }
  .hero-art { padding-top: 70px; }
}
@media (max-width: 400px) {
  .hero-art .notif-pos { margin-left: 0; left: 0; right: 0; width: auto; }
}

.maxed-badge {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--card);
  border: 2px solid var(--green-line); border-radius: 20px; box-shadow: 0 5px 0 var(--green-card-edge), 0 20px 30px -14px rgba(35, 133, 47, .4);
}
.ring { width: 58px; height: 58px; flex: none; }
.maxed-badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--orange-ink); line-height: 1.1; }
.maxed-badge span { font-size: 13px; font-weight: 800; color: var(--ink2); }

/* Sections */
section { position: relative; z-index: 1; }
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head p { color: var(--ink2); font-size: 18px; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: 15px; letter-spacing: .6px; text-transform: uppercase; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 4px 14px; margin-bottom: 12px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature { display: flex; flex-direction: column; gap: 6px; }
.feature .art { width: 64px; height: 64px; border-radius: 18px; background: var(--chip); display: grid; place-items: center; margin-bottom: 8px; }
.feature .art img { width: 52px; height: 52px; object-fit: contain; }
.feature h3 { margin: 0; }
.feature p { color: var(--ink2); margin: 0; font-size: 16px; }

/* How it works */
.steps { counter-reset: step; }
.step { padding-top: 34px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--display); font-size: 30px; color: #fff; text-shadow: 0 2px 0 rgba(30, 107, 41, .55);
  background: linear-gradient(180deg, var(--green-top), var(--green)); box-shadow: 0 5px 0 var(--green-edge);
}
.step p { color: var(--ink2); margin: 0; font-size: 16px; }
.step .path { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--blue-ink); background: var(--blue-soft); border-radius: 10px; padding: 4px 10px; }
.steps.grid { row-gap: 52px; margin-top: 30px; }

/* Screenshot gallery */
.gallery { display: flex; gap: 26px; justify-content: center; padding: 10px 4px 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.gallery figcaption { margin-top: 18px; font-family: var(--display); font-size: 20px; }
.gallery figcaption span { display: block; font-family: var(--body); font-size: 14.5px; font-weight: 700; color: var(--ink2); max-width: 260px; margin: 2px auto 0; }
@media (max-width: 900px) { .gallery { justify-content: flex-start; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); } }

/* Fair play band */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; }
.promise li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 9px; margin-top: 1px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 3px 0 var(--green-edge);
}
.promise .shield { width: 150px; }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } .promise .shield { width: 110px; margin: 0 auto; } }

.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.share-row .shot { border-radius: 22px; box-shadow: 0 6px 0 var(--card-edge), 0 24px 40px -20px rgba(31, 94, 156, .45); border: 2px solid var(--card-line); }
@media (max-width: 760px) { .share-row { grid-template-columns: 1fr; } }

.cta-band { text-align: center; padding: 34px 22px; }
.cta-band .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }

/* FAQ */
details.faq { padding: 0; }
details.faq + details.faq { margin-top: 16px; }
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--display); font-size: 20px; line-height: 1.25; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-size: 24px; line-height: 1;
  background: linear-gradient(180deg, var(--yellow-top), var(--yellow)); color: var(--on-yellow); box-shadow: 0 3px 0 var(--yellow-edge);
}
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 22px 20px; color: var(--ink); font-size: 16.5px; }
details.faq .answer > :last-child { margin-bottom: 0; }
.answer ol, .answer ul, .doc ol, .doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.answer li, .doc li { margin-bottom: .4em; }
.brand-steps { display: grid; gap: 10px; margin-top: 6px; }
.brand-steps div { background: var(--chip); border-radius: 14px; padding: 10px 14px; font-size: 15.5px; }
.brand-steps div > b:first-child { font-family: var(--display); font-weight: 400; font-size: 17px; display: block; }
kbd, .path-inline { font-family: var(--body); font-weight: 800; font-size: .92em; background: var(--blue-soft); color: var(--blue-ink); border-radius: 8px; padding: 1px 7px; white-space: nowrap; }

/* Long documents (privacy, terms) */
.page-head { position: relative; z-index: 1; padding: 22px 0 30px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 6vw, 54px); color: #fff; text-shadow: 0 4px 0 var(--title-shadow); margin-bottom: 8px; }
.page-head p { color: var(--ink); font-size: 18px; margin: 0 auto; max-width: 36em; }
.doc { padding: 28px clamp(20px, 4vw, 44px); }
.doc h2 { font-size: 27px; margin-top: 1.4em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 20px; margin-top: 1.2em; }
.doc p, .doc li { font-size: 16.5px; }
.doc .updated { color: var(--ink3); font-size: 14.5px; font-weight: 800; }
.summary-box { background: var(--green-soft); border: 2px solid var(--green-line); border-radius: 18px; padding: 16px 20px; margin: 0 0 24px; }
.summary-box h2 { font-size: 22px; margin: 0 0 8px; color: var(--green-ink); }
.summary-box ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px solid var(--card-line); }
th { font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--ink2); }

.contact-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.contact-card p { margin: 0; color: var(--ink2); }
.contact-card h3 { margin: 0 0 4px; }

/* Footer */
/* The footer is the village green: rolling hills, then grass */
.site-footer {
  position: relative; z-index: 1; margin-top: 110px; padding: 26px 0 40px; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, #3db54a 0, #2f9e3d 60%, #23852f 100%);
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -78px; height: 80px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 46 C160 6 300 10 460 38 C620 66 760 18 940 22 C1120 26 1260 60 1440 30 V80 H0Z' fill='%236fd86f'/%3E%3Cpath d='M0 62 C200 34 340 40 520 60 C700 80 860 40 1040 46 C1200 52 1320 70 1440 56 V80 H0Z' fill='%233db54a'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.site-footer .top { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { text-shadow: 0 2px 0 rgba(30, 107, 41, .7); font-size: 26px; }
.site-footer .logo svg { width: 32px; height: 32px; filter: drop-shadow(0 2px 0 rgba(30, 107, 41, .7)); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: #fff; text-decoration: none; }
.site-footer nav a:hover { color: var(--yellow-top); text-decoration: underline; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow-top); }
.fan-notice { background: rgba(255, 255, 255, .14); border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.site-footer small { display: block; font-size: 13.5px; opacity: .9; }

.center { text-align: center; }
.muted { color: var(--ink2); }
.mt0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
