* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f7faf9; color: #10211d; }
a { color: inherit; text-decoration: none; }
.front-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 7vw; background: rgba(255,255,255,.94); border-bottom: 1px solid #e5e7eb; backdrop-filter: blur(12px); }
.front-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; }
.front-brand small { display: block; color: #0f766e; font-size: 12px; margin-top: 2px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; background: #0f766e; color: #fff; border-radius: 8px; font-weight: 900; }
.brand-image { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.front-nav { display: flex; align-items: center; gap: 18px; color: #475467; font-weight: 700; }
.front-nav a:hover { color: #0f766e; }
.nav-login { background: #0f766e; color: #fff !important; padding: 10px 15px; border-radius: 7px; }
.front-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.2fr) 420px; gap: 40px; align-items: center; padding: 64px 7vw 48px; background: radial-gradient(circle at 80% 20%, rgba(20,184,166,.18), transparent 28%), linear-gradient(135deg, #ecfdf5, #ffffff 46%, #f8fafc); }
.eyebrow { display: inline-block; color: #0f766e; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.hero-copy h1, .page-hero h1 { margin: 0; font-size: 50px; line-height: 1.05; letter-spacing: 0; }
.hero-copy p, .page-hero p { color: #475467; font-size: 18px; line-height: 1.65; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.primary-btn, .secondary-btn, .primary-button { display: inline-block; border: 0; border-radius: 7px; padding: 13px 18px; font-weight: 800; cursor: pointer; }
.primary-btn, .primary-button { background: #0f766e; color: #fff; }
.secondary-btn { background: #111827; color: #fff; }
.muted-btn { background: #e5e7eb; color: #111827; }
.hero-panel { background: #0f172a; color: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 28px 70px rgba(15,23,42,.28); }
.quick-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 22px; display: grid; gap: 12px; }
.quick-card strong { font-size: 22px; }
.quick-card span { color: #99f6e4; font-size: 30px; font-weight: 900; }
.quick-card a { color: #fff; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.metric-row div { background: rgba(255,255,255,.08); border-radius: 8px; padding: 16px; }
.metric-row b { display: block; font-size: 24px; }
.metric-row span { color: #cbd5e1; font-size: 12px; }
.section { padding: 58px 7vw; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .support-card, .catalog-item, .track-card, .result-panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 10px 28px rgba(16,24,40,.06); }
.service-card { padding: 22px; border-top: 4px solid #0f766e; }
.service-card span, .service-tag { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.service-card h3 { margin: 10px 0; font-size: 20px; }
.service-card p { color: #667085; line-height: 1.55; }
.process-band { margin: 0 7vw 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: #111827; color: #fff; border-radius: 8px; padding: 18px; }
.process-band div { display: flex; align-items: center; gap: 12px; padding: 10px; }
.process-band b { width: 36px; height: 36px; display: grid; place-items: center; background: #0f766e; border-radius: 50%; }
.page-hero { padding: 64px 7vw 36px; background: linear-gradient(135deg, #ecfdf5, #fff); }
.page-hero.compact { padding-bottom: 48px; }
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.catalog-filter { position: sticky; top: 92px; background: #0f172a; color: #fff; border-radius: 8px; padding: 18px; display: grid; gap: 10px; }
.catalog-filter a { color: #cbd5e1; padding: 10px; border-radius: 6px; background: rgba(255,255,255,.06); }
.catalog-list { display: grid; gap: 14px; }
.catalog-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; }
.catalog-item h3 { margin: 8px 0; }
.catalog-item p { margin: 0; color: #667085; }
.catalog-price { text-align: right; min-width: 130px; }
.catalog-price strong { display: block; font-size: 22px; margin-bottom: 10px; }
.catalog-price a { display: inline-block; background: #0f766e; color: #fff; border-radius: 6px; padding: 9px 12px; font-weight: 800; }
.track-wrap, .support-grid { padding: 42px 7vw 70px; }
.track-card { max-width: 560px; padding: 24px; display: grid; gap: 12px; }
.track-card label { font-weight: 800; color: #344054; }
.front-input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.front-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15,118,110,.12);
  background: #fafffd;
}
.front-input::placeholder { color: #98a2b3; font-weight: 600; }
.franchise-apply-hero {
  padding-bottom: 80px;
  background: linear-gradient(135deg, #ecfdf5 0%, #fff 58%, #eff6ff 100%);
}
.partner-apply-wrap {
  padding: 0 7vw 76px;
  margin-top: -48px;
}
.partner-onboarding-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.partner-onboarding-panel {
  padding: 28px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.24);
}
.partner-onboarding-panel h2 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.18;
}
.partner-onboarding-panel p {
  margin: 18px 0 0;
  color: #cbd5e1;
  line-height: 1.6;
}
.onboarding-steps { display: grid; gap: 12px; margin-top: 20px; }
.onboarding-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.onboarding-steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
}
.onboarding-steps span { color: #e2e8f0; font-weight: 800; }
.partner-apply-card {
  background: rgba(255,255,255,.98);
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(16,24,40,.12);
}
.partner-form-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.partner-form-head h2 { margin: 0; font-size: 28px; line-height: 1.15; }
.partner-form-head p { max-width: 480px; margin: 0; color: #667085; line-height: 1.55; }
.partner-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.partner-form-grid .field { display: grid; gap: 8px; min-width: 0; }
.partner-form-grid .field.full { grid-column: 1 / -1; }
.partner-form-grid label {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
}
.partner-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.partner-submit-row .primary-button, .partner-submit-row .secondary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.partner-submit-row span { color: #667085; font-weight: 700; }
.front-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 800; }
.front-alert.success { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.front-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.result-panel { max-width: 560px; padding: 22px; margin-top: 18px; border-left: 4px solid #0f766e; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.support-card { padding: 24px; }
.support-card strong { font-size: 20px; }
.support-card p { color: #667085; line-height: 1.55; }
.support-card a { display: inline-block; margin-top: 8px; color: #0f766e; font-weight: 900; }
.front-footer { display: flex; justify-content: space-between; gap: 24px; padding: 32px 7vw; background: #0f172a; color: #fff; }
.front-footer p { color: #cbd5e1; max-width: 560px; }
.footer-links { display: flex; gap: 16px; align-items: center; color: #99f6e4; font-weight: 800; }
.login-help { margin: 18px 0 0 !important; }
.login-help a { color: #0f766e; font-weight: 800; }
@media (max-width: 900px) {
  .front-header, .front-footer { display: block; }
  .front-nav { flex-wrap: wrap; margin-top: 16px; }
  .front-hero, .catalog-layout, .service-grid, .support-grid, .process-band { grid-template-columns: 1fr; }
  .partner-apply-wrap { padding: 0 18px 56px; margin-top: -28px; }
  .partner-onboarding-shell { grid-template-columns: 1fr; }
  .partner-onboarding-panel, .partner-apply-card { padding: 22px; }
  .partner-form-head { display: block; }
  .partner-form-head p { margin-top: 10px; }
  .partner-form-grid { grid-template-columns: 1fr; }
  .hero-copy h1, .page-hero h1 { font-size: 34px; }
  .hero-panel { max-width: none; }
  .catalog-filter { position: static; }
  .catalog-item { display: block; }
  .catalog-price { text-align: left; margin-top: 14px; }
}
