/* ============================================================
   Aleg Liber — Website Shared Styles
   website/site.css
   ============================================================ */

@font-face {
  font-family: 'Architects Daughter';
  src: url('fonts/ArchitectsDaughter-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --yellow:   #FFD234;
  --fuchsia:  #E8177A;
  --teal:     #0DB5A8;
  --dark:     #1C1532;
  --mid:      #5E566E;
  --muted:    #A89FBA;
  --border:   #E2DDF0;
  --bg:       #FFFDF5;
  --surface:  #FFFFFF;

  --font-head:   'Nunito', sans-serif;
  --font-accent: 'Architects Daughter', cursive;
  --font-body:   'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-bold: 4px 4px 0 var(--dark);
  --shadow-bold-y: 4px 4px 0 var(--yellow);
  --shadow-bold-f: 4px 4px 0 var(--fuchsia);
  --shadow-bold-t: 4px 4px 0 var(--teal);

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  line-height: 1.6;
}

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 2px solid var(--dark);
  padding: 0 40px;
  height: 68px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-head); font-weight: 900; font-size: 17px;
  color: var(--dark); line-height: 1.1;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  color: var(--mid); text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover, .nav-link.active { background: #FFF8D4; color: var(--dark); }
.nav-cta {
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  background: var(--yellow); color: var(--dark);
  padding: 9px 22px; border-radius: var(--radius-full);
  border: 2px solid var(--dark); text-decoration: none;
  box-shadow: var(--shadow-bold);
  transition: all 0.18s var(--ease-bounce);
  flex-shrink: 0;
}
.nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800;
  border-radius: var(--radius-full); border: 2px solid var(--dark);
  cursor: pointer; text-decoration: none;
  transition: all 0.18s var(--ease-bounce);
  white-space: nowrap;
}
.btn-lg { font-size: 16px; padding: 14px 32px; }
.btn-md { font-size: 14px; padding: 10px 24px; }
.btn-sm { font-size: 13px; padding: 7px 18px; }
.btn-primary { background: var(--yellow); color: var(--dark); box-shadow: var(--shadow-bold); }
.btn-primary:hover { background: var(--fuchsia); color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }
.btn-dark { background: var(--dark); color: #fff; box-shadow: var(--shadow-bold-y); }
.btn-dark:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--yellow); }
.btn-outline { background: transparent; color: var(--dark); box-shadow: var(--shadow-bold); }
.btn-outline:hover { background: var(--dark); color: #fff; transform: translate(-2px,-2px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow-bold); }
.btn-teal:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }
.btn:active { transform: scale(0.97); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ── Section spacing ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--font-accent); font-size: 16px;
  color: var(--fuchsia); margin-bottom: 10px; display: block;
}

/* ── Step card ── */
.step-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 2px solid var(--dark); padding: 28px 28px;
  box-shadow: var(--shadow-bold);
  transition: all 0.2s var(--ease-bounce);
}
.step-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }

/* ── Badge ── */
.badge {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-full); border: 1.5px solid transparent;
}

/* ── Newsletter form ── */
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1; min-width: 200px; font-family: var(--font-body); font-size: 15px;
  padding: 12px 18px; border-radius: var(--radius-full);
  border: 2px solid var(--dark); background: var(--surface);
  color: var(--dark); outline: none;
  transition: box-shadow 0.15s ease;
}
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255,210,52,0.4); }
.newsletter-input::placeholder { color: var(--muted); }

/* ── Footer ── */
.footer {
  background: var(--dark); color: #fff;
  padding: 48px 40px 32px;
  border-top: 2px solid var(--dark);
}
.footer-logo-text {
  font-family: var(--font-head); font-weight: 900; font-size: 20px;
  color: var(--yellow); margin-bottom: 4px;
}
.footer-tagline {
  font-family: var(--font-accent); font-size: 15px;
  color: var(--muted); margin-bottom: 24px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-link { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-link:hover { color: var(--yellow); }
.footer-copy { font-size: 12px; color: #5E566E; }

/* ── Utilities ── */
.text-accent { font-family: var(--font-accent); }
.text-yellow { color: var(--yellow); }
.text-fuchsia { color: var(--fuchsia); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--mid); }
.highlight-yellow { background: var(--yellow); padding: 0 6px 2px; border-radius: 5px; }
.highlight-fuchsia { background: var(--fuchsia); color: #fff; padding: 0 6px 2px; border-radius: 5px; }

@media (max-width: 768px) {
  .nav { padding: 0 20px; gap: 16px; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
}
