/* Envoys Club site chrome: the one header and footer used by every public page
 * (landing, partner, legal, company, sign-in). Self-contained so it can sit on top
 * of site.css, app.css or landing-shared.css without depending on their tokens. */

@font-face {
  font-family: "Envoys SUIT";
  src: url("assets/fonts/SUIT-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.site-header, .mobile-menu, .site-footer {
  --sc-ink: #191a18;
  --sc-canvas: #faf9f6;
  --sc-muted: #5d605b;
  --sc-line: rgba(25, 26, 24, 0.12);
  --sc-sand: #f1ebe0;
  --sc-orange: #ff4d00;
  --sc-orange-hover: #ff621f;
  --sc-orange-ink: #b83700;
  --sc-dark-line: rgba(250, 249, 246, 0.14);
  font-family: "Envoys SUIT", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: 72px;
  background: rgba(250, 249, 246, 0.92); border-bottom: 1px solid var(--sc-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header .gnb-wrap { width: min(1200px, calc(100% - 64px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.site-header .logo { font-size: 20px; font-weight: 800; color: var(--sc-ink); text-decoration: none; letter-spacing: 0; white-space: nowrap; }
.site-header .logo span, .site-footer .footer-logo span { color: var(--sc-orange); }
.site-header .partner-role-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sc-sand); font-size: 13px; font-weight: 700; }
.site-header .partner-role-switch a, .site-header .partner-role-switch span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--sc-muted); white-space: nowrap; }
.site-header .partner-role-switch a:hover { color: var(--sc-ink); }
.site-header .partner-role-switch [aria-current="page"] { background: var(--sc-ink); color: #fff; }
.site-header .nav-links { display: flex; gap: 24px; flex: 1; margin-left: 4px; font-size: 14px; font-weight: 600; }
.site-header .nav-links a { color: var(--sc-muted); text-decoration: none; transition: color .2s ease; white-space: nowrap; }
.site-header .nav-links a:hover { color: var(--sc-ink); }
.site-header .nav-links a.active { color: var(--sc-orange-ink); font-weight: 800; }
.site-header .gnb-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-header .gnb-login { color: var(--sc-muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; white-space: nowrap; }
.site-header .gnb-login:hover { color: var(--sc-ink); }
.gnb-btn {
  height: 40px; padding: 0 18px; border-radius: 10px; background: var(--sc-orange, #ff4d00); color: #191a18; border: none;
  font-weight: 800; font-size: 13px; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
.gnb-btn:hover { background: #ff621f; box-shadow: 0 4px 12px rgba(255, 77, 0, .3); }
.site-header .gnb-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--sc-line); background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.site-header .gnb-toggle svg { width: 20px; height: 20px; stroke: var(--sc-ink); }
.site-header .locale-control, .mobile-menu .locale-control { display: inline-flex; align-items: center; }
.site-header .locale-select, .mobile-menu .locale-select {
  appearance: none; -webkit-appearance: none; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d605b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; border: 1px solid var(--sc-line); border-radius: 10px;
  color: var(--sc-muted); font-family: inherit; font-size: 13px; font-weight: 600; height: 36px; padding: 0 28px 0 12px; cursor: pointer; outline: none; transition: all .2s ease;
}
.site-header .locale-select:hover, .site-header .locale-select:focus, .mobile-menu .locale-select:hover, .mobile-menu .locale-select:focus { border-color: rgba(25,26,24,.35); color: var(--sc-ink); background-color: transparent; }
.site-header .locale-select:focus-visible, .mobile-menu .locale-select:focus-visible { outline: 2px solid var(--sc-orange); outline-offset: 2px; }
.site-header .locale-select option, .mobile-menu .locale-select option { background-color: #fff; color: #191a18; }

.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 999; background: var(--sc-canvas); border-bottom: 1px solid var(--sc-line); padding: 16px 20px 24px; max-width: 100vw; }
.mobile-menu:not(.open) { display: none !important; }
.mobile-menu.open { display: block !important; }
.mobile-menu a { display: block; color: var(--sc-ink); text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--sc-line); }
.mobile-menu .gnb-btn { width: 100%; height: 50px; font-size: 15px; margin-top: 18px; border-bottom: 0; color: #191a18; }

/* ── Footer ──────────────────────────────────────── */
.site-footer { background: var(--sc-ink); border-top: 0; padding: 64px 0 52px; color: #8f938b; font-size: 13px; line-height: 1.7; }
.site-footer .footer-wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; display: grid; gap: 28px; }
.site-footer .footer-top { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer .footer-brand { max-width: 520px; }
.site-footer .footer-logo { display: inline-block; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; margin-bottom: 10px; }
.site-footer .footer-brand p { color: #a6aaa2; margin: 0; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.site-footer .footer-links a { color: #d6d9de; text-decoration: none; font-weight: 600; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-company { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 22px; border-top: 1px solid var(--sc-dark-line); }
.site-footer .footer-company span { white-space: nowrap; }
.site-footer .footer-notice { color: #868a82; font-size: 12.5px; max-width: 900px; margin: 0; }

@media (max-width: 1100px) {
  .site-header .nav-links { display: none; }
  .site-header .gnb-toggle { display: flex; }
}
@media (max-width: 768px) {
  .site-header { height: 64px; }
  .mobile-menu { top: 64px; }
  .site-header .gnb-wrap, .site-footer .footer-wrap { width: calc(100% - 32px); }
  .site-header .partner-role-switch { display: none; }
  .site-header .gnb-right .gnb-btn { display: none; }
  .site-header .gnb-toggle { display: flex; }
  .site-header .locale-select, .mobile-menu .locale-select { height: 44px; min-height: 44px; }
  .site-header .gnb-right { gap: 10px; }
  .site-header .logo, .site-header .gnb-login, .site-footer .footer-logo, .site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .site-footer .footer-top { flex-direction: column; }
  .site-footer .footer-links { justify-content: flex-start; }
  .site-footer .footer-company span { white-space: normal; }
}
@media (max-width: 420px) {
  .site-header .gnb-login { display: none; }
  .site-header .gnb-wrap { gap: 12px; }
  .site-header .locale-select { padding-right: 22px; padding-left: 8px; }
}
@media print { .site-header, .mobile-menu { display: none !important; } .site-footer { background: #fff; color: #000; } }
