/* ==========================================================================
   Layout
   Mobile-first. The grid reflows at three points; everything between those
   points is handled by fluid tokens rather than more breakpoints.
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--pad);
  padding-bottom: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* -- Top bar --------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-2) var(--sp-1);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: clamp(2rem, 1.7rem + 1.1vw, 2.75rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb545, var(--accent));
  color: #2a1500;
  font-weight: 800;
  font-size: var(--fs-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset,
              0 6px 18px -6px rgba(247, 147, 26, 0.8);
  flex: none;
}

.brand__text { min-width: 0; }

.brand__title {
  font-size: var(--fs-md);
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__sub {
  font-size: var(--fs-2xs);
  color: var(--text-mute);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
}

/* -- Hero ------------------------------------------------------------------
   One column on phones. From 900px the price and the signal sit side by side,
   with the price given the larger share.                                    */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

@media (min-width: 1600px) {
  .hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* -- Lower grid ------------------------------------------------------------ */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* -- Footer ---------------------------------------------------------------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: var(--fs-xs);
}

.foot a { color: var(--text-dim); text-decoration: none; }
.foot a:hover { color: var(--accent); }
