:root {
  --ink: #102436;
  --muted: #5d7386;
  --deep: #0b3c46;
  --teal: #0f6070;
  --orange: #ff8a3d;
  --violet: #7b5cff;
  --line: #d8e5ea;
  --paper: #f6fafb;
  --white: #fff;
  --shadow: 0 18px 46px rgba(14, 44, 56, .14);
}
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1760px, 100%); max-width: 100%; margin: 0 auto; padding: 18px; min-width: 0; }
.site-header { position: relative; z-index: 3; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 100%; padding: 12px; border-radius: 30px; background: linear-gradient(90deg, #0c3a45, #155064); color: #fff; box-shadow: var(--shadow); min-width: 0; }
.brand { flex: 0 0 auto; font-weight: 900; font-size: 24px; letter-spacing: 0; }
.header-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--violet)); color: #fff; font-weight: 800; border: 0; padding: 11px 18px; box-shadow: 0 12px 28px rgba(123, 92, 255, .25); }
.nav-links { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; max-width: 100%; }
.nav-links a { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; white-space: nowrap; }
.nav-links a:first-child { background: rgba(255, 138, 61, .92); color: #1b1a17; }
.hero { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: center; min-height: 520px; padding: 58px 62px; border-radius: 34px; overflow: hidden; background-image: linear-gradient(90deg, rgba(7,33,43,.88) 0%, rgba(10,49,64,.78) 43%, rgba(10,49,64,.22) 68%, rgba(10,49,64,0) 100%), url("./hero-assets/mulebuy-hero-main-airplane-cockpit-bg.png"); background-size: cover; background-position: center right; color: #fff; box-shadow: var(--shadow); width: 100%; max-width: 100%; min-width: 0; }
.hero-copy { width: min(760px, 100%); max-width: 100%; min-width: 0; }
.eyebrow, .section-kicker { display: inline-flex; width: fit-content; max-width: 100%; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); }
h1 { margin: 16px 0 12px; max-width: 100%; font-size: 56px; line-height: 1.02; letter-spacing: 0; overflow-wrap: anywhere; }
.hero-text { margin: 0 0 22px; max-width: 690px; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.5; }
.search-card { width: min(640px, 100%); max-width: 100%; display: flex; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 16px 42px rgba(0,0,0,.22); overflow: hidden; }
.search-card input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font-size: 15px; color: var(--ink); background: transparent; }
.search-card button { flex: 0 0 auto; border: 0; border-radius: 16px; padding: 13px 20px; background: linear-gradient(135deg, var(--orange), var(--violet)); color: #fff; font-weight: 900; cursor: pointer; }
.section { width: 100%; max-width: 100%; min-width: 0; padding: 54px 0; }
.section-inner { width: min(1280px, 100%); max-width: 100%; margin: 0 auto; padding: 0 14px; min-width: 0; }
.section-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: end; margin-bottom: 24px; }
.section-kicker { color: var(--teal); border-color: #b8d4dd; background: #e9f4f6; }
.section-intro h2 { margin: 10px 0 0; font-size: 34px; line-height: 1.12; letter-spacing: 0; }
.section-intro p { margin: 0; color: var(--muted); line-height: 1.65; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 100%; }
.category-card { min-width: 0; min-height: 228px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(25, 74, 86, .09); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-copy { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; background: linear-gradient(160deg, #0e4050, #17646f); color: #fff; }
.category-copy span { font-size: 12px; font-weight: 900; color: #ffd2b8; }
.category-copy h3 { margin: 8px 0; font-size: 22px; line-height: 1.1; overflow-wrap: anywhere; }
.category-copy p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.45; }
.category-image { display: grid; place-items: center; padding: 18px; background: linear-gradient(140deg, #eff8fa, #fff4ec); min-width: 0; }
.category-image img { width: 100%; height: 180px; object-fit: contain; }
.agents-section { background: linear-gradient(180deg, rgba(233,244,246,.3), rgba(255,255,255,.7)); }
.agents-slider { position: relative; width: min(1280px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; overflow: hidden; padding: 0 44px; }
.agents-track { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 0 18px; scrollbar-width: thin; min-width: 0; }
.agent-card { flex: 0 0 clamp(390px, 34vw, 470px); max-width: 470px; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(25, 74, 86, .09); }
.agent-logo { display: grid; place-items: center; min-width: 0; aspect-ratio: 1.16; border-radius: 18px; background: repeating-linear-gradient(90deg, #eef8fa 0 10px, #e3f0f3 10px 11px); border: 1px solid #d4e6eb; }
.agent-logo img { max-height: 86px; object-fit: contain; }
.agent-info { min-width: 0; }
.agent-info h3 { margin: 0 0 8px; font-size: 24px; overflow-wrap: anywhere; }
.agent-info p { margin: 0 0 14px; color: var(--muted); line-height: 1.45; font-size: 14px; }
.register { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 10px 16px; background: linear-gradient(135deg, var(--orange), var(--violet)); color: #fff; font-weight: 900; max-width: 100%; }
.agent-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--teal); font-size: 22px; font-weight: 900; box-shadow: 0 10px 24px rgba(16,36,54,.12); cursor: pointer; }
.agent-arrow-prev { left: 2px; }
.agent-arrow-next { right: 2px; }
.guide-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card, .blog-card, .faq-item { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 10px 28px rgba(25, 74, 86, .08); }
.guide-card h3, .blog-card h3 { margin: 0 0 8px; font-size: 20px; }
.guide-card p, .blog-card p, .faq-item p { margin: 0; color: var(--muted); line-height: 1.6; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tag { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; color: var(--teal); background: #e9f4f6; font-size: 12px; font-weight: 900; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site-footer { background: #0b2f3a; color: #dcecef; margin-top: 40px; padding: 42px 18px 24px; }
.footer-inner { width: min(1280px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .8fr)); gap: 24px; }
.footer-inner h2, .footer-inner h3 { color: #fff; margin: 0 0 12px; }
.footer-inner p, .footer-inner a { color: #bfd2d8; line-height: 1.7; overflow-wrap: anywhere; }
.footer-links { display: grid; gap: 8px; }
.copyright { width: min(1280px, 100%); margin: 24px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #9db8c1; font-size: 14px; }
.article-page .site-header { margin: 18px auto; width: min(1280px, calc(100% - 36px)); }
.article-wrap { width: min(920px, 100%); margin: 34px auto; padding: 0 18px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.article-card h1 { color: var(--ink); font-size: 42px; }
.article-card h2 { margin-top: 28px; }
.article-card p, .article-card li { color: #445c6d; line-height: 1.78; }
.article-card a { color: var(--teal); font-weight: 800; text-decoration: underline; }
@media (max-width: 1024px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; margin-left: 0; }
  .hero { grid-template-columns: 1fr; min-height: 480px; padding: 42px 32px; background-position: center right; }
  h1 { font-size: 44px; }
  .section-intro, .guide-panel, .blog-grid, .faq-list { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .page-shell { width: 100%; max-width: 100%; padding: 16px 12px 42px; overflow: hidden; }
  .site-header, .hero { width: 100%; max-width: 100%; min-width: 0; }
  .site-header { border-radius: 22px; }
  .brand { font-size: 22px; }
  .header-cta { padding: 9px 12px; }
  .nav-links { width: 100%; flex-wrap: wrap; overflow: hidden; border-radius: 22px; }
  .nav-links a { flex: 1 1 calc(50% - 4px); min-width: 0; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .hero { display: grid; grid-template-columns: 1fr; padding: 16px; min-height: 0; gap: 12px; background-size: cover; background-position: center right; }
  .hero-copy, .search-card { width: 100%; max-width: 320px; overflow: hidden; }
  .hero-text { margin: 12px 0 14px; font-size: 14px; line-height: 1.32; }
  h1 { max-width: 100%; font-size: 32px; line-height: 1.02; overflow-wrap: anywhere; }
  .search-card input { min-width: 0; }
  .search-card { gap: 6px; padding: 6px; }
  .search-card button { padding: 11px 12px; }
  .section { padding: 38px 0; }
  .section-inner, .category-grid, .category-card, .agents-slider, .agents-track, .agent-card { width: 100%; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .section-intro h2 { font-size: 28px; }
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { grid-template-columns: 1fr; min-height: 0; }
  .category-image img { height: 150px; object-fit: contain; }
  .agents-slider { padding: 0 28px; overflow: hidden; }
  .agent-card { flex: 0 0 min(304px, 100%); max-width: 304px; grid-template-columns: 1fr; padding: 16px; }
  .agent-logo { aspect-ratio: 1.9; }
  .agent-arrow { width: 28px; height: 28px; font-size: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .article-card { padding: 22px; }
  .article-card h1 { font-size: 32px; }
}
