/* Raabta marketing site — yellow & black theme, Varela Round */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0&display=swap");

@font-face {
  font-family: "Varela Round";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Path relative to this CSS file so the font resolves reliably */
  src: url("../fonts/VarelaRound-Regular.ttf") format("truetype");
}

:root {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --bg-muted: #18181b;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --border: #27272a;
  --yellow: #ffd21f;
  --yellow-dim: #c4a918;
  --yellow-glow: rgba(255, 210, 31, 0.22);
  --yellow-soft: rgba(255, 210, 31, 0.12);
  --black: #0a0a0a;
  --radius: 14px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --font: "Varela Round", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--yellow-glow), transparent 55%),
    linear-gradient(180deg, #111 0%, var(--bg) 45%);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select,
optgroup,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
}

/* Material Symbols (home page) — must not inherit Varela */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased !important;
}

.material-symbols-outlined.md-icon--muted {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  color: #ffe9a3;
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg) 100%);
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand img {
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  vertical-align: middle;
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border: 1px solid rgba(255, 210, 31, 0.35);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--yellow);
  cursor: pointer;
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--yellow);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
  }

  .nav-menu.is-open {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn--primary:hover {
  background: #ffe566;
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--yellow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--yellow);
  border: 1px solid rgba(255, 210, 31, 0.45);
}

.btn--secondary:hover {
  background: var(--yellow-soft);
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: clamp(2rem, 5vw, 4rem) 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--yellow-soft);
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 210, 31, 0.25);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow-glow);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero__media:has(.affiliate-hero__sym) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.5rem;
  background: var(--bg-muted);
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.feature-strip__item {
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-strip__item span {
  display: block;
  color: var(--yellow);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Forms */
.form {
  max-width: 520px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #71717a;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--yellow-soft);
  border-color: var(--yellow-dim);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-note a {
  color: var(--yellow);
}

/* Legal / prose */
.prose {
  max-width: 65ch;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--yellow);
}

.prose ul {
  padding-left: 1.25rem;
}

/* Store badges */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-row a {
  display: block;
  line-height: 0;
}

.store-row img {
  height: 44px;
  width: auto;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--text-muted);
  padding: 3rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 210, 31, 0.12);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand img {
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.95;
  filter: none;
}

.footer__title {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  text-align: center;
  color: #71717a;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page main {
  flex: 1;
}

/* Download page code */
.code-block {
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--bg-elevated);
  color: var(--yellow);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.code-block code {
  font-family: inherit;
}

/* Marketing pages (`body.page`): reinforce Varela after third-party stylesheets */
body.page {
  font-family: var(--font);
}

/* Material symbol hero accents (About, Affiliate, Get tag) */
.about-hero-icon__sym {
  font-size: clamp(5rem, 18vw, 8rem) !important;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.92;
}

.affiliate-hero__sym {
  font-size: clamp(4rem, 14vw, 7rem) !important;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.92;
}

.get-tag-qr__sym {
  display: inline-block;
  font-size: clamp(4rem, 12vw, 6rem) !important;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.contact-hero__sym {
  font-size: clamp(2.5rem, 8vw, 3.25rem) !important;
  line-height: 1;
  color: var(--yellow);
  display: block;
  margin-bottom: 0.5rem;
}
