:root {
  --coral: #D4573A;
  --amber: #F5A623;
  --bg: #FDF6EE;
  --surface: #FFF9F2;
  --ink: #1C1210;
  --ink-soft: #3D2B20;
  --muted: #8A7262;
  --hairline: #E8DDD0;
  --gradient: linear-gradient(90deg, #D4573A 0%, #F5A623 100%);
  --nav-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { min-height: 100vh; line-height: 1.6; }

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Subpage top bar */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(253, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.site-bar-logo img { height: 40px; width: auto; display: block; }

.site-bar-back {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-right: auto;
  margin-left: 1rem;
}

.site-bar-back:hover { color: var(--coral); text-decoration: none; }

/* Lang picker (shared with landing) */
.lang-picker { position: relative; }

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.lang-globe { width: 15px; height: 15px; color: var(--coral); }
.lang-chevron { width: 13px; height: 13px; color: var(--muted); transition: transform 0.2s; }
.lang-picker.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 188px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(28, 18, 16, 0.12);
  border: 1px solid #F0E6D9;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.lang-picker.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid #F5EFE6;
}

.lang-option:last-child { border-bottom: none; }
.lang-option.active { background: #FFF0E0; color: var(--coral); }
.lang-check { width: 16px; opacity: 0; color: var(--coral); }
.lang-option.active .lang-check { opacity: 1; }

/* Page content */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.page-meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(28, 18, 16, 0.04);
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #FBBC8C;
}

.card p, .card li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.card p + p { margin-top: 0.75rem; }

.notice-card {
  background: var(--surface);
  border: 1px solid rgba(212, 87, 58, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.notice-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.75rem;
}

.btn-primary:hover { text-decoration: none; opacity: 0.95; }

.btn-outline {
  display: inline-flex;
  padding: 0.75rem 1.3rem;
  border: 2px solid var(--coral);
  color: var(--coral);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  text-decoration: none;
  margin-top: 0.5rem;
}

.section-block { margin-bottom: 1.75rem; }

.section-block h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary { border-bottom: 1px solid var(--hairline); }

.faq-answer {
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.job-card h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.35rem; }
.job-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.job-summary { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

.contact-center { text-align: center; margin-top: 2rem; }

.page-wrap-careers { max-width: 640px; }

.card-peach {
  background: #FFF0E8;
  border-color: rgba(212, 87, 58, 0.15);
}

.card-account {
  background: #FFF5F0;
  border-color: rgba(212, 87, 58, 0.12);
}

.careers-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.careers-status {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.careers-form { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field { margin-bottom: 1rem; }

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.form-input:focus {
  outline: none;
  border-color: rgba(212, 87, 58, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 87, 58, 0.12);
}

.form-input.input-error { border-color: #c0392b; }

.form-textarea { resize: vertical; min-height: 110px; }

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.35rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-chip,
.job-chip {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.role-chip:hover,
.job-chip:hover { border-color: rgba(212, 87, 58, 0.35); }

.role-chip.selected,
.job-chip.selected {
  background: linear-gradient(90deg, #D4573A 0%, #F5A623 100%);
  border-color: transparent;
  color: #fff;
}

.job-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 14px;
  text-align: left;
  min-width: 160px;
  max-width: 220px;
}

.job-chip-title {
  font-size: 0.82rem;
  font-weight: 800;
}

.job-chip-meta {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.resume-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border: 2px dashed rgba(212, 87, 58, 0.35);
  border-radius: 14px;
  background: #FFF5F8;
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.resume-upload:hover { background: #FFEDE8; }

.resume-upload-icon { font-size: 1.5rem; opacity: 0.7; }

.resume-attached {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.resume-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--hairline);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cards-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cards-row { grid-template-columns: 1fr 1fr; }
}

.help-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .help-grid { grid-template-columns: 1fr 1fr; }
}

.help-topic {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 0.65rem;
}

.help-topic-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.55;
}

.disclaimer-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.disclaimer-box p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.info-steps p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* Footer (same as landing) */
.footer {
  background: var(--ink);
  padding: 3rem 1.25rem 2rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-img { height: 72px; width: auto; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255, 255, 255, 0.42); }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 188, 140, 0.9);
  margin-bottom: 0.85rem;
}

.footer-col-links { list-style: none; }
.footer-col-links li + li { margin-top: 0.45rem; }
.footer-col-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.footer-col-links a:hover { color: #FBBC8C; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-social { display: flex; gap: 0.75rem; }

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.footer-copyright { font-size: 0.78rem; color: rgba(255, 255, 255, 0.38); }

@media (min-width: 769px) {
  .footer-columns { text-align: left; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 768px) {
  .footer-columns { grid-template-columns: 1fr; }
  .site-bar-back { display: none; }
}
