/* The Bob's Worlds home page (index.html): a sales page with three doors in (students, teachers, schools). Sits on the shared frame in base.css. */
body.lander { background: #0e1124; }
body.lander .page-scroll { background: #f3f6ff; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { body.lander .page-scroll { scroll-behavior: auto; } }
body.lander #site-nav { gap: 6px; }
body.lander #site-nav .nav-door { border: 2px solid rgba(255,255,255,.35); padding: 4px 12px; }
body.lander #site-nav .nav-cta { background: #ff5a36; border-color: #ff5a36; }
body.lander #site-nav .nav-cta:hover { background: #ff6f50; }
@media (max-width: 860px) { body.lander #site-nav .nav-anchor { display: none; } }
@media (max-width: 520px) { body.lander #site-nav .nav-door { padding: 3px 8px; font-size: .9rem; } }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.wrap.narrow { max-width: 760px; }
body.lander h1, body.lander h2, body.lander h3 { font-family: "Baloo 2", "Trebuchet MS", system-ui, sans-serif; line-height: 1.1; margin: 0; color: #1d2340; text-wrap: balance; }
body.lander h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
body.lander h3 { font-size: 1.2rem; font-weight: 800; }
body.lander p { line-height: 1.55; }
.sub { font-size: 1.1rem; color: #4a5278; margin: 0 0 18px; max-width: 62ch; }
.note { color: #4a5278; font-weight: 700; margin: 18px 0 0; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% 0%, #2a2f6a 0%, transparent 60%), linear-gradient(180deg, #151a38 0%, #1d2346 100%); color: #f3f1ec; padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px; align-items: center; }
.eyebrow { font: 800 .8rem "Nunito", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9be7ff; margin: 0 0 12px; }
body.lander .hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; margin-bottom: 16px; }
body.lander .hero h1 span { color: #ff8a65; display: block; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dfe4fa; max-width: 56ch; margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.btn-big { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 800 1.1rem "Baloo 2", system-ui, sans-serif; text-decoration: none; border: 3px solid transparent; transition: transform .12s; }
.btn-big:hover { transform: translateY(-2px); }
.btn-big:focus-visible, .door:focus-visible, .faq summary:focus-visible { outline: 3px solid #ff5a36; outline-offset: 3px; }
.btn-big.primary { background: #ff5a36; color: #fff; box-shadow: 0 6px 0 #c4411f; }
.btn-big.ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.btn-big.wide { width: 100%; box-sizing: border-box; }
.final .btn-big.ghost, .price-card .btn-big.ghost { color: #1d2340; border-color: #1d2340; background: transparent; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.pills li { font-weight: 800; font-size: .92rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #e8ecff; }
.hero-bob { display: flex; justify-content: center; }
.bob-hero { width: min(300px, 100%); height: auto; overflow: visible; }
.bob-float { animation: bobfloat 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 90%; }
.bob-shadow { animation: bobshadow 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bob-arm { transform-box: fill-box; transform-origin: 10% 90%; animation: bobwave 1.6s ease-in-out infinite; }
@keyframes bobfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bobshadow { 0%, 100% { transform: scale(1); opacity: .25; } 50% { transform: scale(.88); opacity: .17; } }
@keyframes bobwave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-28deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-24deg); } }
@media (max-width: 760px) { .hero { padding: 36px 0 44px; } .hero-grid { grid-template-columns: 1fr; } .hero-bob { order: -1; } .bob-hero { width: 170px; } .btn-big { width: 100%; box-sizing: border-box; } }

/* the three doors */
.doors { padding: 56px 0 24px; }
.door-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.door { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; border: 3px solid #dbe2f7; text-decoration: none; color: #1d2340; box-shadow: 0 6px 0 #dbe2f7; transition: transform .12s, border-color .12s; }
.door:hover { transform: translateY(-3px); border-color: #ff5a36; }
.door-tag { align-self: flex-start; font: 800 .75rem "Nunito", sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #eef1fb; color: #4a58d6; }
.door-school { background: #1d2346; color: #f3f1ec; border-color: #1d2346; box-shadow: 0 6px 0 #0e1124; }
body.lander .door-school h3 { color: #fff; } .door-school .door-tag { background: #ff5a36; color: #fff; }
.door p { margin: 0; color: #4a5278; flex: 1; } .door-school p { color: #cfd6f5; }
.door-go { font: 800 1.05rem "Baloo 2", sans-serif; color: #ff5a36; margin-top: 4px; }

/* bands and sections */
.band { background: #fff; padding: 56px 0; margin-top: 32px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; border-radius: 16px; background: #f3f6ff; line-height: 1.5; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: #ff5a36; color: #fff; font: 800 1.2rem/36px "Baloo 2", sans-serif; text-align: center; }
.learn { padding: 56px 0 8px; }
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.mini { background: #fff; border-radius: 16px; padding: 18px; border: 2px solid #dbe2f7; }
.mini p { margin: 6px 0 0; color: #4a5278; }
.safe { background: #e4f8ee; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; max-width: 760px; }
.ticks li { position: relative; padding-left: 38px; line-height: 1.5; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: #1f9d6b; color: #fff; font-weight: 800; text-align: center; line-height: 26px; }
.ticks.small { gap: 8px; }
.worlds { padding: 56px 0 24px; }
.world-row { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .world-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.world-row li { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: #fff; border: 2px solid #dbe2f7; font-weight: 800; font-size: .88rem; text-align: center; color: #1d2340; }
.pricing { background: #fff7f3; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; }
.price-card { background: #fff; border-radius: 22px; padding: 26px; border: 3px solid #ff5a36; box-shadow: 0 8px 0 #ffd2c5; text-align: center; }
.price { display: grid; margin-bottom: 14px; }
.amount { font: 800 4rem/1 "Baloo 2", sans-serif; color: #1d2340; }
.per { font-weight: 800; color: #4a5278; }
.mini-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 18px; font-weight: 800; font-size: .92rem; color: #4a5278; counter-reset: m; }
.mini-steps li::before { counter-increment: m; content: counter(m) ". "; color: #ff5a36; }
.fine { margin: 12px 0 0; font-size: .92rem; color: #4a5278; } .fine a { color: #4a58d6; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.faq { padding: 56px 0 24px; }
.faq details { background: #fff; border: 2px solid #dbe2f7; border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font: 800 1.1rem "Baloo 2", sans-serif; padding: 12px 0; list-style-position: outside; color: #1d2340; }
.faq details p { margin: 0 0 14px; color: #4a5278; }
.final { text-align: center; padding: 56px 0 72px; }
.final h2 { margin-bottom: 20px; }
body.lander .band h2, body.lander .band h3 { color: #1d2340; }

/* iOS app teaser */
.pills li.pill-soon { background: #ff5a36; border-color: #ff5a36; color: #fff; }
.app { padding: 56px 0 8px; }
.app-grid { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; border: 3px solid #dbe2f7; border-radius: 24px; padding: 28px; box-sizing: border-box; }
.app-phone { display: flex; justify-content: center; }
.phone { width: 130px; height: auto; }
.eyebrow.dark { color: #4a58d6; }
@media (max-width: 760px) { .app-grid { grid-template-columns: 1fr; text-align: center; } .app-grid .sub { margin-inline: auto; } .phone { width: 100px; } }

/* everything is coming soon: no sign-in links on this page, just labels */
body.lander #site-nav .nav-soon { margin-left: 4px; border: 2px dashed #ffd86b; color: #ffd86b; padding: 4px 12px; border-radius: 10px; font: 800 .95rem "Baloo 2", system-ui, sans-serif; white-space: nowrap; }
.soon-strip { background: #ffd86b; color: #4a3500; text-align: center; padding: 10px 16px; font: 700 1rem "Nunito", system-ui, sans-serif; }
.btn-big.soon { cursor: default; background: rgba(255, 216, 107, .12); color: #ffd86b; border: 3px dashed #ffd86b; box-shadow: none; }
.btn-big.soon:hover { transform: none; }
.final .btn-big.soon, .price-card .btn-big.soon { background: #fff7e0; color: #8a5a00; border-color: #e0a800; }
div.door:hover { transform: none; border-color: #dbe2f7; } div.door.door-school:hover { border-color: #1d2346; }
.door-go { color: #8a5a00; background: #fff7e0; border: 2px dashed #e0a800; border-radius: 999px; padding: 2px 14px; align-self: flex-start; font-size: .95rem; }
.door-school .door-go { color: #ffd86b; background: transparent; border-color: #ffd86b; }
.ipad { width: 260px; height: auto; max-width: 100%; }
@media (max-width: 760px) { .ipad { width: 210px; } }

/* register your interest */
.interest { background: #fff; padding: 56px 0; scroll-margin-top: 8px; }
.int-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.int-form[hidden] { display: none; }
.int-form label { display: grid; gap: 4px; align-content: start; font-weight: 800; color: #1d2340; }
.int-form small { font-weight: 400; color: #4a5278; }
.int-form input, .int-form textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 2px solid #dbe2f7; border-radius: 12px; background: #f9faff; color: #1d2340; font-weight: 400; }
.int-form input:focus-visible, .int-form textarea:focus-visible, .int-form button:focus-visible, .int-remove:focus-visible { outline: 3px solid #ff5a36; outline-offset: 2px; }
.int-form .full { grid-column: 1 / -1; }
.int-form button { cursor: pointer; }
.int-form button:disabled { opacity: .6; cursor: default; }
.int-form .int-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.int-note { padding: 16px 18px; border-radius: 14px; background: #e4f8ee; border: 2px solid #1f9d6b; font-weight: 800; color: #1d2340; margin-bottom: 18px; line-height: 1.5; }
.int-note.bad { background: #fff0ec; border-color: #ff5a36; }
.int-err { color: #b3260e; font-weight: 800; margin: 8px 0 0; }
.int-remove { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #1d2340; color: #fff; font-weight: 800; cursor: pointer; }
.soon-strip a { color: inherit; font-weight: 800; }
@media (max-width: 620px) { .int-form { grid-template-columns: 1fr; } }
