/* ════════════════════════════════════════════════
   Businest shared stylesheet
   Used by: signin, signup, forgot, pricing, about,
   howitworks, contact pages
   ════════════════════════════════════════════════ */

:root {
  --navy:#1A1A1A; --navy-2:#2A2A2A;
  --gold:#D4AF37; --gold-dark:#B8941F;
  --gold-light:#FAF3DD; --gold-tint:#FCF9EC;
  --charcoal:#333333;
  --gray-700:#4A4A48; --gray-500:#757575;
  --gray-400:#999795; --gray-300:#BFBFBC;
  --gray-200:#E5E5E2; --gray-100:#EFEFEC; --gray-50:#F5F5F2;
  --white:#FFFFFF;
  --success:#16823C;
  --danger:#C13030;
  --shadow-sm:0 1px 2px rgba(26,26,26,0.04), 0 4px 12px rgba(26,26,26,0.05);
  --shadow-md:0 1px 2px rgba(26,26,26,0.04), 0 12px 32px rgba(26,26,26,0.08);
  --shadow-lg:0 16px 48px rgba(26,26,26,0.16);
  --shadow-pop:0 24px 60px rgba(26,26,26,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px; color: var(--charcoal);
  background: var(--white); line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--navy); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 920px; }
.top-bar { height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%); }

/* Header */
.header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; z-index: 60;
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px; max-width: 1600px; margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 22px; color: var(--navy); letter-spacing: -0.02em;
}
.logo__mark { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav__item { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--gray-700); transition: background .15s, color .15s; }
.nav__item:hover { background: var(--gray-50); color: var(--navy); }
.nav__item.is-active { color: var(--navy); font-weight: 600; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.btn-link { padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--gray-700); transition: background .15s; }
.btn-link:hover { background: var(--gray-50); color: var(--navy); }
.btn-link strong { color: var(--navy); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600; font-size: 14.5px;
  transition: background .15s, border-color .15s, transform .1s, color .15s, box-shadow .2s;
  cursor: pointer; text-align: center; justify-content: center;
}
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); box-shadow: 0 6px 18px rgba(212,175,55,0.35); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: var(--white); color: var(--navy); border: 1px solid var(--gray-200); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--ghost-dark { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid rgba(255,255,255,0.18); }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; }

/* Breadcrumb */
.breadcrumb-wrap { background: var(--white); padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.breadcrumb a { color: var(--gold-dark); transition: color .15s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { color: var(--gray-300); }
.breadcrumb__current { color: var(--navy); font-weight: 500; }

/* Section shell */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-head--center .section-head__pre { justify-content: center; }
.section-head__pre {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-head__pre::before { content: ''; width: 24px; height: 1.5px; background: var(--gold); display: inline-block; }
.section-head h1, .section-head h2 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.08;
  color: var(--navy);
}
.section--navy .section-head h1, .section--navy .section-head h2 { color: var(--white); }
.section-head h1 em, .section-head h2 em { font-style: italic; color: var(--gold-dark); font-weight: 500; }
.section--navy .section-head h1 em, .section--navy .section-head h2 em { color: var(--gold); }
.section-head__sub {
  color: var(--gray-500); margin-top: 14px;
  font-size: 16.5px; line-height: 1.6;
  max-width: 600px;
}
.section-head--center .section-head__sub { margin-left: auto; margin-right: auto; }
.section--navy .section-head__sub { color: rgba(255,255,255,0.7); }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; margin-bottom: 40px; }
.footer__brand .logo { color: var(--white); }
.footer__brand p { margin-top: 14px; font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer__emy {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  border-radius: 100px; font-size: 12.5px; color: var(--gold);
}
.footer__emy .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.footer h4 { color: var(--white); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Form fields (used across signin/signup/contact) */
.field { margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.field-grid > .field { margin-bottom: 0; }
.field__label {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 6px;
}
.field__hint {
  font-size: 12.5px; color: var(--gray-500);
  margin-top: 5px; line-height: 1.4;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  border-radius: 10px;
  padding: 11px 14px;
  font: 500 14.5px 'DM Sans', sans-serif;
  color: var(--navy);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); font-weight: 400; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8941F' stroke-width='2.5' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .header__inner { padding: 12px 16px; gap: 10px; }
  .header__actions .btn-link:not(:last-child) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }
}
