/* ===============================================================
   Curbie shared brand styles
   ---------------------------------------------------------------
   Brand tokens, body base, wordmark, App Store CTA.
   Per-page layout, type scale, and animations stay inline in each
   HTML file. Change colours, font, or the button design here once.
   =============================================================== */

:root {
  --blue:        #2D5BFF;
  --red:         #FF3358;
  --red-dark:    #B0203A;
  --yellow:      #FFE933;
  --ink:         #0E0E0E;
  --bg:          #F7F8FA;
  --white:       #FFFFFF;
  --gray:        #6B6B6B;
  --gray-light:  #E8EAED;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

/* ===== Brand wordmark (logo + name with yellow highlight) ===== */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.wordmark .brand-mark {
  width: clamp(30px, 3.5vw, 40px);
  height: auto;
  flex-shrink: 0;
}
.wordmark span {
  position: relative;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1;
}
.wordmark span::before {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--yellow);
  border-radius: 999px;
  z-index: -1;
  transform: rotate(-0.5deg);
}
/* Larger variant used on the legal documents */
.wordmark.large .brand-mark { width: clamp(40px, 8vw, 52px); }
.wordmark.large span {
  font-size: clamp(28px, 6vw, 38px);
  letter-spacing: -1.2px;
}
.wordmark.large span::before {
  left: -6px; right: -6px;
  bottom: 0.05em;
  height: 0.30em;
}

/* ===== App Store CTA ===== */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: var(--white);
  padding: 14px 26px 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease;
}
.appstore-btn:hover { transform: translateY(-2px); }
.appstore-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.appstore-btn .small { font-size: 11px; line-height: 1.1; opacity: 0.85; }
.appstore-btn .big   { font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -0.2px; }
.appstore-btn .text  { display: flex; flex-direction: column; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .appstore-btn { transition: none; }
}
