/* =========================================================
   TradeBridge 前台样式
   主色：深海军蓝 #123c60  点缀：teal #0e8f8f / amber #f0a92e
   支持阿拉伯语等 RTL 布局（html[dir=rtl] 自动镜像）
   ========================================================= */

/* ---------- 变量与基础 ---------- */
:root {
  --navy: #123c60;
  --navy-dark: #0d2c47;
  --teal: #0e8f8f;
  --teal-light: #e3f4f4;
  --amber: #f0a92e;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e3e8ef;
  --text: #22303e;
  --text-soft: #5b6b7b;
  --danger: #d64545;
  --success: #2e9e5b;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(18, 60, 96, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-light); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
}
.brand-text { font-size: 19px; font-weight: 400; color: var(--navy); }
.brand-text strong { font-weight: 800; }
.brand-light { color: #fff; }
.brand-light .brand-text { color: #fff; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--text-soft); font-weight: 500; font-size: 14.5px; }
.main-nav a:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* 语言切换下拉 */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 11px;
  font-size: 13.5px; color: var(--text-soft); cursor: pointer;
}
.lang-btn:hover { border-color: var(--navy); color: var(--navy); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 150px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none; padding: 6px;
  display: none;
  max-height: 320px; overflow-y: auto;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 8px 12px;
  border-radius: 7px; color: var(--text); font-size: 14px;
}
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.active { color: var(--teal); font-weight: 700; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 9px; color: var(--navy); cursor: pointer;
}

/* ---------- 提示条 ---------- */
.flash-wrap { margin-top: 16px; }
.flash {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 14.5px; border: 1px solid;
}
.flash-success { background: #eaf7ef; border-color: #bfe5cd; color: var(--success); }
.flash-error   { background: #fdeeee; border-color: #f2c4c4; color: var(--danger); }

/* ---------- Hero（浅色国际风） ---------- */
.hero {
  position: relative;
  color: var(--text);
  overflow: hidden;
  background:
    radial-gradient(640px 380px at 90% -10%, rgba(14, 143, 143, .10), transparent 62%),
    radial-gradient(540px 360px at -8% 8%, rgba(18, 60, 96, .08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 68px 0 104px; /* 底部为数据浮卡预留叠加空间 */
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--teal);
  border-radius: 999px;
  padding: 7px 15px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(18, 60, 96, .06);
}
.hero-copy h1 {
  font-size: 41px; line-height: 1.2;
  font-weight: 800; letter-spacing: -.6px; margin-bottom: 18px;
  color: var(--navy);
}
.hero-sub { color: var(--text-soft); font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* 浅色 hero 上的主按钮改用品牌渐变，层次更清晰 */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #0b7373 100%);
  border: none;
  box-shadow: 0 10px 22px rgba(14, 143, 143, .28);
}
.hero-actions .btn-primary:hover { background: linear-gradient(135deg, #0c8080 0%, #096060 100%); }
.hero-actions .btn-ghost {
  background: #fff; border-color: var(--border); color: var(--navy);
  box-shadow: 0 2px 10px rgba(18, 60, 96, .05);
}
.hero-actions .btn-ghost:hover { border-color: var(--navy); }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 16px;
  box-shadow: 0 26px 54px rgba(18, 60, 96, .18);
  border: 1px solid #fff;
  width: 100%;
}

/* ---------- 数据浮卡（上浮叠加在 Hero 边缘） ---------- */
.stats-band {
  position: relative;
  z-index: 2;
  background: transparent;
  margin-top: -54px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  box-shadow: 0 12px 30px rgba(18, 60, 96, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(18, 60, 96, .14); }
.stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  color: var(--teal);
  background: var(--teal-light);
  transition: background .22s ease;
}
.stat:hover .stat-icon { background: #d2ebeb; }
.stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span:not(.stat-icon) { font-size: 13.5px; color: var(--text-soft); }

/* ---------- 通用 section ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
/* 首页流程区紧接数据浮卡，收紧顶部留白 */
#how { padding-top: 58px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.section-head p { color: var(--text-soft); margin-top: 10px; font-size: 15.5px; }

/* 三步流程 */
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 34px 28px 30px;
  transition: box-shadow .22s ease, transform .22s ease;
}
/* 顶部强调条（hover 显现） */
.step-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--teal), #14b0b0);
  opacity: 0; transition: opacity .22s ease;
}
.step-card:hover { box-shadow: 0 18px 38px rgba(18, 60, 96, .12); transform: translateY(-4px); }
.step-card:hover::before { opacity: 1; }
/* 卡片间流程箭头（桌面端） */
.step-card:not(:last-child)::after {
  content: "";
  position: absolute; top: 50%; inset-inline-end: -21px;
  width: 16px; height: 16px; z-index: 1;
  border-top: 2px solid #b6c4d0; border-inline-end: 2px solid #b6c4d0;
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}
.step-num {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin-bottom: 18px;
  box-shadow: 0 9px 20px rgba(14, 143, 143, .25);
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.step-card p { color: var(--text-soft); font-size: 14.5px; }

/* 优势 */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 30px 26px;
}
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), #0b6f6f);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #fff;
}
.feat-card h3 { font-size: 17.5px; margin-bottom: 10px; color: var(--navy); }
.feat-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- 底部 CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 26px; font-weight: 800; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-dark); color: #a9bccb; padding: 52px 0 0; font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px; padding-bottom: 40px;
}
.footer-about p { margin-top: 14px; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: #a9bccb; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-mail { color: var(--amber); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; }

/* ---------- 认证页（登录/注册） ---------- */
.auth-section { padding: 56px 0 80px; background: var(--bg-soft); }
.auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 38px 36px;
}
.auth-card h1 { font-size: 25px; color: var(--navy); font-weight: 800; }
.auth-sub { color: var(--text-soft); margin: 8px 0 26px; font-size: 14.5px; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 14px; color: var(--text-soft); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 32px 34px;
}
.form-legend { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.req { color: var(--danger); }
input[type=text], input[type=email], input[type=password], input[type=tel],
select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 143, 143, .12);
}
textarea { min-height: 120px; resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--text-soft); margin-top: 5px; }
.form-actions { margin-top: 24px; }

/* ---------- 页面头 ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; font-weight: 800; color: var(--navy); }
.back-link { font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 16px; }

/* ---------- 会员中心列表 ---------- */
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.dash-welcome { font-size: 14px; color: var(--text-soft); }
.dash-welcome b { color: var(--navy); font-size: 16px; display: block; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lead-list { display: flex; flex-direction: column; gap: 14px; }
.lead-item {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  transition: box-shadow .18s ease;
}
.lead-item:hover { box-shadow: var(--shadow); }
.lead-main { flex: 1; min-width: 0; }
.lead-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.lead-title { font-size: 16.5px; font-weight: 700; color: var(--navy); }
.lead-title:hover { color: var(--teal); }
.lead-meta { font-size: 13px; color: var(--text-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.lead-side { text-align: end; flex-shrink: 0; }

.reply-count { font-size: 13.5px; color: var(--text-soft); display: inline-flex; align-items: center; gap: 5px; }
.reply-count.has-unread { color: var(--teal); font-weight: 700; }
.unread-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); display: inline-block;
}

/* 状态徽章 */
.badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.badge-status-open    { background: #fdf3e0; color: #b07a12; }
.badge-status-replied { background: #e5f4f4; color: var(--teal); }
.badge-status-closed  { background: #eef0f3; color: #7b8794; }

/* 分页 */
.pager { margin-top: 26px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pager span, .pager a {
  padding: 7px 13px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13.5px; color: var(--text-soft); background: #fff;
}
.pager a:hover { border-color: var(--teal); color: var(--teal); }
.pager .active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 空状态 */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-soft); }
.empty-state .empty-icon { font-size: 40px; margin-bottom: 14px; opacity: .5; }
.empty-soft { background: #fff; border: 1px dashed var(--border); border-radius: 14px; padding: 48px 20px; }

/* ---------- 求购详情 ---------- */
.lead-detail {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 30px 32px; margin-bottom: 26px;
}
.lead-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.lead-detail-head h1 { font-size: 22px; font-weight: 800; color: var(--navy); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.detail-item { background: var(--bg-soft); border-radius: 10px; padding: 13px 16px; }
.detail-item span { display: block; font-size: 12px; color: var(--text-soft); margin-bottom: 3px; }
.detail-item b { font-size: 14.5px; color: var(--navy); }
.detail-desc { white-space: pre-wrap; color: var(--text); font-size: 14.5px; }
.detail-image { margin-top: 16px; }
.detail-image img { border-radius: 10px; border: 1px solid var(--border); max-width: 320px; }
.close-form { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border); }

/* 回复区 */
.replies-block h2 { font-size: 18px; color: var(--navy); margin-bottom: 14px; }
.reply-list { display: flex; flex-direction: column; gap: 14px; }
.reply-item {
  background: var(--teal-light);
  border-inline-start: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
}
[dir="rtl"] .reply-item { border-radius: 12px 0 0 12px; }
.reply-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.reply-team { font-weight: 700; color: var(--teal); }
.reply-time { color: var(--text-soft); }
.reply-body { font-size: 14.5px; white-space: pre-wrap; }

/* ---------- 多附件上传（发布页） ---------- */
.file-input { padding: 9px 11px; background: var(--bg-soft); cursor: pointer; }
.file-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 12px; background: #fff;
}
.file-badge {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  background: var(--teal-light); color: var(--teal);
}
.file-type-video .file-badge { background: #e8f0fd; color: #2b5fa8; }
.file-type-file  .file-badge { background: #f3ecfb; color: #6d4aa0; }
.file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-meta b {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-meta i { font-style: normal; font-size: 12px; color: var(--text-soft); }
.file-remove {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: var(--bg-soft); color: var(--text-soft);
  font-size: 16px; line-height: 1; cursor: pointer;
}
.file-remove:hover { background: #fdeeee; color: var(--danger); }

/* ---------- 详情页附件展示 ---------- */
.attach-block { margin-top: 20px; }
.attach-block h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 12px; }
.attach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.att-thumb {
  display: block; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/3;
}
.att-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.att-thumb:hover img { transform: scale(1.05); }
.att-video { width: 100%; max-width: 340px; border-radius: 10px; border: 1px solid var(--border); background: #000; }
.att-file {
  display: flex; align-items: center; gap: 10px;
  grid-column: 1 / -1;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease;
}
.att-file:hover { border-color: var(--teal); background: #fff; }
.att-ext {
  flex-shrink: 0; min-width: 44px; padding: 6px 8px; text-align: center;
  border-radius: 8px; background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 800;
}
.att-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.att-meta b {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.att-meta i { font-style: normal; font-size: 12px; color: var(--text-soft); }
.att-dl { font-size: 18px; color: var(--teal); font-weight: 700; }

/* ---------- 错误页 ---------- */
.error-page { text-align: center; padding: 90px 20px; }
.error-page h1 { font-size: 64px; color: var(--navy); font-weight: 800; }
.error-page p { color: var(--text-soft); margin: 12px 0 26px; }

/* ---------- RTL 适配 ---------- */
[dir="rtl"] .hero-actions,
[dir="rtl"] .dash-actions,
[dir="rtl"] .form-actions { direction: rtl; }
[dir="rtl"] .lead-side { text-align: start; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 86px; }
  .hero-copy h1 { font-size: 31px; }
  .hero-visual { order: -1; }
  /* 单列布局下 Hero 文案居中，与上方全宽图片视觉平衡（LTR/RTL 均对称） */
  .hero-copy { text-align: center; }
  .hero-badge { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .stats-band { margin-top: -46px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps-grid, .feat-grid { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* 移动端导航折叠 */
  .main-nav {
    display: none;
    position: absolute; top: 66px; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 10px 20px 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--bg-soft); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .lead-item { flex-direction: column; }
  .lead-side { text-align: start; }
  .form-card, .auth-card { padding: 26px 20px; }
  .hero-copy h1 { font-size: 26px; }
}
