/* index.html while the beta-only site is on (js/site-mode.js). Builds on css/site.css and css/beta.css. */

/* Spots left, at the very top (js/beta-banner.js). Also used on beta.html. */
.spots-bar { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 9px 16px; background: var(--ink); color: var(--paper); font: 500 14px var(--sans); text-align: center; }
.spots-bar b { color: var(--sun); font-variant-numeric: tabular-nums; }
.spots-bar a { color: var(--paper); font-weight: 600; text-underline-offset: 3px; }
.spots-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 74, 28, .6); animation: spotsPulse 2s infinite; }
@keyframes spotsPulse { 70% { box-shadow: 0 0 0 8px rgba(255, 74, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 74, 28, 0); } }
@media (prefers-reduced-motion: reduce) { .spots-dot { animation: none; } }

.bh { max-width: 1080px; margin: 0 auto; padding: 70px 20px 60px; }
.bh h2 { font-size: clamp(32px, 4.4vw, 44px); margin: 0 0 10px; }
.bh-lead { color: var(--ink2); margin: 0 0 26px; font-size: 18px; }

.bh-hero { text-align: center; max-width: 820px; margin: 0 auto 90px; }
.bh-hero h1 { font: 600 clamp(40px, 6.4vw, 72px)/1.02 var(--serif); letter-spacing: -0.045em; margin: 0 0 20px; }
.bh-hero h1 em { color: var(--red); }
.bh-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bh-meter { max-width: 420px; margin: 34px auto 0; }
.bh-meter-bar { height: 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.bh-meter-bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bh-meter p { margin: 10px 0 0; font: 500 14px var(--mono); color: var(--ink2); }

.bh-inside { margin-bottom: 90px; }
.bh-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bh-tools article { padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fbf9f4; display: grid; gap: 4px; }
.bh-tools b { font: 600 20px var(--serif); letter-spacing: -0.02em; }
.bh-tools span { color: var(--ink2); font-size: 15px; }

.bh-perks { margin-bottom: 90px; }
.bh-perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.bh-perk-grid article { padding: 22px; border: 1.5px solid var(--ink); border-radius: 20px; background: #fbf9f4; box-shadow: 4px 4px 0 var(--ink); }
.bh-perk-grid article.hot { background: #fff4ea; box-shadow: 4px 4px 0 var(--red); }
.bh-perk-grid h3 { font-size: 21px; margin: 10px 0 6px; }
.bh-perk-grid p { margin: 0; color: var(--ink2); font-size: 15px; }
.bh-big { font: 700 34px/1 var(--serif); letter-spacing: -0.04em; color: var(--red); }
.bh-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--sun); font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.bh-soon { margin-bottom: 90px; }
.bh-soon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.bh-soon-grid article { padding: 20px 22px; border: 1.5px dashed var(--ink2); border-radius: 18px; }
.bh-soon-grid h3 { font-size: 21px; margin: 10px 0 6px; }
.bh-soon-grid p { margin: 0; color: var(--ink2); font-size: 15px; }
.soon-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.bh-join { margin-bottom: 70px; }
.bh-teacher { margin: -4px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff4ea; font-size: 15px; }

.bh-feedback { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px; border-radius: 24px; background: var(--ink); color: var(--paper); scroll-margin-top: 90px; }
.bh-feedback > div:first-child { max-width: 560px; }
.bh-feedback p { margin: 0; color: #d9d2c3; }
.bh-feedback .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 3px 3px 0 var(--red); }
.bh-feedback .btn.ghost { background: transparent; color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.bh-fb-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .bh-tools, .bh-perk-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bh { padding-top: 40px; }
  .bh-tools, .bh-perk-grid, .bh-soon-grid { grid-template-columns: 1fr; }
  .nav .links { display: none; }
  .nav .link { display: none; }
  .bh-feedback { padding: 22px; }
}
/* Why Designz: one account instead of a pile of apps, and plain promises on price. */
.bh-why { margin-bottom: 90px; scroll-margin-top: 90px; }
.bh-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.bh-swap > div:not(.bh-swap-arrow) { padding: 22px 24px; border-radius: 20px; border: 1.5px solid var(--ink); }
.bh-swap-old { background: #fbf9f4; }
.bh-swap-old ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bh-swap-old li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed #ddd6c8; }
.bh-swap-old li:last-child { border-bottom: 0; padding-bottom: 0; }
.bh-swap-old li span { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.bh-swap-old li i { font: 500 13px var(--mono); color: var(--ink2); font-style: normal; white-space: nowrap; }
.bh-swap-new { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); }
.bh-swap-new b { display: block; font: 600 34px/1.05 var(--serif); letter-spacing: -0.03em; color: var(--sun); margin: 4px 0 10px; }
.bh-swap-new p:last-child { margin: 0; color: #d9d2c3; }
.bh-swap-label { margin: 0 0 12px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }
.bh-swap-new .bh-swap-label { color: #b9b2a3; }
.bh-swap-arrow { align-self: center; font: 600 34px var(--serif); color: var(--red); }
.bh-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.bh-why-grid article { padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fbf9f4; }
.bh-why-grid h3 { font-size: 20px; margin: 0 0 6px; }
.bh-why-grid p { margin: 0; color: var(--ink2); font-size: 15px; }
.bh-promise { margin-top: 18px; padding: 20px 24px; border-radius: 18px; background: #fff4ea; border: 1.5px solid var(--ink); }
.bh-promise h3 { font-size: 20px; margin: 0 0 10px; }
.bh-promise ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.bh-promise li { position: relative; padding-left: 26px; }
.bh-promise li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--red); }

/* After asking to join: what happens next, and things to do while waiting. */
.bh-next { list-style: none; counter-reset: nx; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.bh-next li { counter-increment: nx; padding: 18px; border: 1.5px solid var(--ink); border-radius: 16px; background: #fbf9f4; display: grid; gap: 6px; }
.bh-next li::before { content: counter(nx); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font: 600 15px var(--mono); }
.bh-next b { font: 600 18px var(--serif); }
.bh-next span { color: var(--ink2); font-size: 15px; }
.bh-wait { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #fff4ea; text-align: left; }
.bh-wait h3 { margin: 0 0 8px; font-size: 20px; }
.bh-wait ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.bh-share { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-share input { flex: 1 1 220px; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font: 500 14px var(--mono); color: var(--ink); }

@media (max-width: 860px) {
  .bh-why-grid { grid-template-columns: 1fr 1fr; }
  .bh-swap { grid-template-columns: 1fr; }
  .bh-swap-arrow { justify-self: center; transform: rotate(90deg); }
  .bh-next { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bh-why-grid, .bh-promise ul { grid-template-columns: 1fr; }
}
.bh [hidden], .spots-bar[hidden] { display: none !important; }
