/* ============================================================
   OPENSTROKEICONS — style.css
   GLOBAL SHARED: tokens · reset · typography · layout · 
   buttons · nav · footer · utilities
   Page-specific → home.css / free-licence.css / how-to-install.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Beth+Ellen&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Brand */
  --clr-pink:        #FF5574;
  --clr-pink-hover:  #d94a66;
  --clr-pink-light:  #fde8ed;
  --clr-navy:        #1a1f3c;
  --clr-navy-soft:   #2d3460;

  /* Neutrals */
  --clr-white:       #ffffff;
  --clr-bg:          #f0f2f5;
  --clr-bg-alt:      #f7f8fa;
  --clr-text:        #1a1f3c;
  --clr-muted:       #6b7280;
  --clr-light:       #9ca3af;
  --clr-border:      #e5e7eb;

  /* Blue accent (Free Licence hero headline) */
  --clr-blue:        #1e40af;

  /* Typography */
  --font-script:  'Caveat', cursive;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --max-w:   966px;
  --px:      clamp(1.25rem, 5vw, 3rem);
  --nav-h:   55px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow:    0 4px 18px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.1);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--bg  { background: var(--clr-bg); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.text-script {
  font-family: var(--font-script);
  font-weight: 600;
  line-height: 1.1;
}
.text-center  { text-align: center; }
.text-muted   { color: var(--clr-muted); }
.text-small   { font-size: 0.875rem; }

/* Section label — "• PRICING" style */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-pink);
  margin-bottom: 2rem;
}
.section-label::before { content: '•'; font-size: 0.9rem; }

/* ── UTILITIES ────────────────────────────────────────────── */
.flex             { display: flex; }
.flex-col         { flex-direction: column; }
.flex-wrap        { flex-wrap: wrap; }
.items-center     { align-items: center; }
.items-start      { align-items: flex-start; }
.justify-between  { justify-content: space-between; }
.justify-center   { justify-content: center; }
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-4   { margin-top: 1rem; }
.mt-6   { margin-top: 1.5rem; }
.mt-8   { margin-top: 2rem; }
.mt-12  { margin-top: 3rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-12  { margin-bottom: 3rem; }

/* ── CARD BASE ────────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   BUTTONS
   · btn--primary  → pink fill (BUY NOW in nav / Growth card)
   · btn--dark     → navy/black fill (Pro+, Enterprise BUY NOW)
   · btn--outline  → thin border, transparent (hero buttons)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;

  padding: 12px 20px; /* top-bottom 12px, left-right 20px */
  height: 35px;

  border: 1.5px solid transparent;
  border-radius: 0;

  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--clr-pink);
  color: var(--clr-white);
  border-color: var(--clr-pink);
}
.btn--primary:hover {
  background: var(--clr-pink-hover);
  border-color: var(--clr-pink-hover);
}

.btn--dark {
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
}
.btn--dark:hover {
  background: var(--clr-navy-soft);
  border-color: var(--clr-navy-soft);
}

.btn--outline {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}
.btn--outline:hover {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.btn--outline-pink {
  background: transparent;
  color: var(--clr-pink);
  border-color: var(--clr-pink);
}
.btn--outline-pink:hover {
  background: var(--clr-pink);
  color: var(--clr-white);
}

.btn--lg {
  font-size: 0.85rem;
  padding: 0.8rem 2rem;
}

/* ============================================================
   NAVIGATION
   Screenshot: white sticky bar · logo left · TRIAL PREVIEW PRO
   PRICING links · pink BUY NOW button
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 600;
  background: var(--clr-white);
  border-bottom: 1px solid #F5F7F9;
  height: var(--nav-h);
}
.site-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  flex-shrink: 0;
}
/* Inline SVG logo icon */
.nav-logo__icon {
  width: 134px;
  height: auto;
  flex-shrink: 0;
}
.nav-logo__wordmark {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  line-height: 1;
}
.nav-logo__wordmark strong {
  color: var(--clr-pink);
  font-weight: 700;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav-links__link {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-text);
  transition: color 0.18s;
}
.nav-links__link:hover,
.nav-links__link--active { color: var(--clr-pink); }


/* Hamburger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: 0.25s;
}
.nav-burger__bar:nth-child(2) { width: 16px; }

/* ============================================================
   FOOTER
   Screenshot (footer.jpg):
   Grey bg · Logo+desc+social LEFT · two link cols RIGHT
   Divider · copyright left · legal links right
   ============================================================ */
.site-footer {
  background: var(--clr-bg);
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 50px;
padding-bottom: 30px;
}

footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-text);
}

.footer__divider {
  height: 1px;
  background: #C5CAD3;
  margin: 30px 0;
}

.footer__right {
  display: flex;
  gap: 10px;
}

/* ADD THIS BELOW */
@media (max-width: 640px) {
  .footer__right {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }
}

@media (max-width: 640px) {

  .footer__legal-link {
    padding-left: 0;
    padding-right: 0;
  }

}


/* Brand column */
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.footer-brand__logo-icon { width: 26px; height: 26px; }
.footer-brand__logo-wordmark {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text);
}
.footer-brand__logo-wordmark strong {
  color: var(--clr-pink);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand__desc {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.72;
}
.footer-brand__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-brand__social-link {
  display: flex;
  align-items: center;
  color: var(--clr-text);
  transition: color 0.18s;
}
.footer-brand__social-link:hover { color: var(--clr-pink); }
.footer-brand__social-link svg   { width: 20px; height: 20px; }

/* Nav columns */
.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.25rem;
}
.footer-nav__link {
  font-size: 0.9rem;
  color: var(--clr-text);
  transition: color 0.18s;
}
.footer-nav__link:hover { color: var(--clr-pink); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 30px;
}
.footer__copyright {
  font-size: 12px;
  color: var(--clr-muted);
}
.footer__legal {
  display: flex;
  align-items: center;
}
.footer__legal-link {
  font-size: 12px;
  color: var(--clr-muted);
  line-height: 1;
  transition: color 0.18s;
  color: #000000;
}
.footer__legal-link:last-child { border-right: none; }
.footer__legal-link:hover { color: var(--clr-text); }



/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 58px; }

  /* Hide nav links, show burger */
  .nav-menu { display: none; }
.nav-burger { display: flex; }
  .nav-burger { display: flex; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-wrap: wrap; }
   .footer__legal-link {
    padding-inline: 0;
  }
}

@media (max-width: 640px) {

  .nav-menu .nav-cta {
    display: block;
    margin-top: 10px;
  }

}

@media (max-width: 640px) {

  .nav-links {
    display: flex;
    flex-direction: column;   /* THIS FIXES IT */
    align-items: center;
    gap: 16px;
    width: 100%;
  }

}


 /* NAV MENU WRAPPER */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* MOBILE MENU */
@media (max-width: 640px) {

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--clr-border);
  }

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

}