* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #eef6f7; color: #173238; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1760px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; padding: 18px 18px 44px; overflow: hidden; }
.site-header { width: 100%; max-width: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 26px; background: #073d43; color: #f6ffff; box-shadow: 0 18px 42px rgba(7, 61, 67, .22); }
.brand-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { font-size: 24px; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
.header-cta, .search-card button, .agent-info b { border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff8a24, #8c4bff); color: white; font-weight: 800; box-shadow: 0 10px 24px rgba(255, 138, 36, .28); }
.header-cta { padding: 10px 15px; font-size: 13px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; max-width: 100%; }
.nav-links a { min-width: 0; padding: 9px 12px; border-radius: 999px; color: rgba(246, 255, 255, .9); font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-links .active, .nav-links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero { width: 100%; max-width: 100%; min-width: 0; min-height: 520px; margin-top: 16px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 54px 54px; border-radius: 36px; overflow: hidden; background-image: linear-gradient(90deg, rgba(4, 36, 42, .80) 0%, rgba(4, 36, 42, .66) 42%, rgba(4, 36, 42, .08) 70%), url("./hero-assets/mulebuy-hero-main-airplane-cockpit-bg.png"); background-size: cover; background-position: center right; color: #fff; }
.hero-copy { width: min(720px, 100%); max-width: 100%; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
h1, h2 { margin: 0; letter-spacing: 0; overflow-wrap: anywhere; }
h1 { margin-top: 16px; max-width: 100%; font-size: clamp(44px, 5vw, 72px); line-height: .98; }
.hero-text { max-width: 620px; margin: 18px 0 22px; color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.45; }
.search-card { width: min(620px, 100%); max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.search-card input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 14px; font-size: 15px; color: #173238; }
.search-card button { flex: 0 0 auto; padding: 12px 20px; cursor: pointer; }
.hero-visual { min-width: 0; min-height: 280px; }
.section { width: 100%; max-width: 100%; min-width: 0; padding: 46px 10px 0; }
.section-intro { width: min(920px, 100%); max-width: 100%; min-width: 0; margin: 0 auto 22px; text-align: center; }
.section-intro .eyebrow { background: rgba(255, 138, 36, .14); color: #8b3e06; }
.section-intro h2 { margin-top: 12px; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.05; color: #12383f; }
.section-intro p { margin: 12px auto 0; max-width: 760px; color: #51676c; line-height: 1.6; }
.category-grid { width: min(1320px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card { position: relative; min-width: 0; max-width: 100%; display: grid; grid-template-columns: 48px minmax(74px, 112px) minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 16px 14px 12px; border-radius: 22px; background: linear-gradient(90deg, #fff 0 76%, #e3f1f2 76% 100%); border: 1px dashed rgba(7, 61, 67, .2); box-shadow: 0 14px 30px rgba(36, 77, 83, .09); overflow: hidden; }
.category-card:before { content: ""; position: absolute; left: 62px; top: -8px; bottom: -8px; border-left: 2px dotted rgba(7, 61, 67, .16); }
.category-card img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #f4faf9; }
.category-card span, .category-card b { position: relative; z-index: 1; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.ticket-code { font-weight: 900; color: #ff7a1a; text-align: center; }
.category-card strong { display: block; font-size: 17px; color: #173238; }
.category-card small { display: block; margin-top: 4px; color: #65797d; line-height: 1.35; }
.category-card b { justify-self: end; padding: 8px 10px; border-radius: 999px; background: #073d43; color: #fff; font-size: 12px; }
.category-card:hover, .article-grid a:hover, .agent-card:hover { transform: translateY(-2px); }
.agents-slider { position: relative; width: min(1320px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; overflow: hidden; padding: 0 42px; }
.agents-track { width: 100%; max-width: 100%; min-width: 0; display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 2px 20px; scrollbar-width: thin; }
.agent-card { flex: 0 0 clamp(390px, 34vw, 470px); max-width: 470px; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 12px; border-radius: 24px; background: #ffffff; box-shadow: 0 14px 32px rgba(17, 63, 70, .10); }
.agent-logo { min-width: 0; max-width: 100%; display: grid; place-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #dff4f4, #ffe6d1); }
.agent-logo img { max-height: 96px; width: auto; object-fit: contain; }
.agent-info { min-width: 0; max-width: 100%; display: grid; align-content: center; gap: 9px; padding: 8px; overflow-wrap: anywhere; }
.agent-info strong { font-size: 22px; color: #12383f; overflow-wrap: anywhere; }
.agent-info small { color: #5a7074; line-height: 1.4; }
.agent-info b { width: fit-content; max-width: 100%; padding: 10px 16px; font-size: 13px; }
.agent-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 54px; border: 0; border-radius: 999px; background: rgba(7,61,67,.9); color: #fff; font-size: 28px; cursor: pointer; }
.agent-arrow-prev { left: 0; }
.agent-arrow-next { right: 0; }
.brands-section, .guide-section, .faq-section { padding-top: 34px; }
.blog-preview { padding-top: 38px; }
.article-grid { width: min(1320px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-grid a { min-width: 0; max-width: 100%; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(7,61,67,.1); box-shadow: 0 14px 30px rgba(36, 77, 83, .08); }
.article-grid span { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff0e3; color: #9b4a09; font-size: 12px; font-weight: 800; }
.article-grid strong { display: block; margin-top: 12px; font-size: 20px; color: #12383f; line-height: 1.2; }
.article-grid small { display: block; margin-top: 10px; color: #5a7074; line-height: 1.45; }
.site-footer { width: 100%; max-width: 100%; min-width: 0; margin-top: 48px; padding: 28px; border-radius: 28px; background: #073d43; color: rgba(255,255,255,.84); display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 22px; }
.site-footer strong { display: block; color: #fff; font-size: 24px; margin-bottom: 8px; }
.site-footer p { margin: 0; line-height: 1.55; }
.site-footer nav { display: grid; gap: 9px; align-content: start; min-width: 0; }
.site-footer a { min-width: 0; overflow-wrap: anywhere; }
.copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.blog-page .hero { min-height: 300px; }
.article-page main, .blog-page main { width: min(1040px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; }
.post { margin-top: 22px; padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 14px 34px rgba(17, 63, 70, .09); }
.post h1 { color: #12383f; font-size: clamp(34px, 4vw, 56px); }
.post h2 { margin-top: 28px; color: #12383f; font-size: 26px; }
.post p, .post li { color: #4f676c; line-height: 1.72; }
.post a { color: #8b3eec; font-weight: 800; text-decoration: underline; }
@media (max-width: 1100px) {
  .site-header { align-items: stretch; flex-direction: column; }
  .nav-links { justify-content: flex-start; flex-wrap: wrap; }
  .category-grid, .article-grid { 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 { display: block; overflow: hidden; }
  .brand-row { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; overflow: hidden; }
  .brand { font-size: 22px; }
  .header-cta { justify-self: start; flex: 0 0 auto; max-width: 148px; padding: 9px 12px; font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-links { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 22px; gap: 6px; margin-top: 12px; }
  .nav-links a { min-width: 0; max-width: 100%; text-align: center; padding: 9px 6px; white-space: normal; overflow-wrap: anywhere; }
  .nav-links a:last-child { grid-column: 1 / -1; width: min(160px, 100%); justify-self: center; }
  .hero { display: grid; grid-template-columns: 1fr; padding: 16px; min-height: 430px; gap: 12px; background-size: cover; background-position: center right; align-content: start; }
  .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: 31px; line-height: 1.02; overflow-wrap: anywhere; }
  .search-card input { min-width: 0; padding: 10px 8px; }
  .search-card button { padding: 10px 12px; }
  .hero-visual { min-height: 110px; }
  .section { padding: 34px 0 0; width: 100%; max-width: 100%; min-width: 0; }
  .section-intro { text-align: left; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  .section-intro h2, .section-intro p { width: min(340px, 100%); max-width: 100%; min-width: 0; margin-left: 0; margin-right: 0; overflow-wrap: anywhere; }
  .category-grid, .article-grid { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100%; min-width: 0; gap: 12px; }
  .category-card { min-width: 0; max-width: 100%; grid-template-columns: 40px minmax(62px, 86px) minmax(0, 1fr); gap: 10px; padding: 12px; }
  .category-card b { display: none; }
  .category-card strong { font-size: 15px; }
  .category-card small { font-size: 12px; }
  .agents-slider { width: 100%; max-width: 100%; min-width: 0; padding: 0 28px; overflow: hidden; }
  .agents-track { gap: 12px; }
  .agent-card { flex: 0 0 min(304px, 100%); max-width: 304px; min-width: 0; grid-template-columns: 1fr; }
  .agent-logo { padding: 14px; }
  .agent-info strong { font-size: 20px; }
  .agent-info b { width: 100%; text-align: center; }
  .agent-arrow { width: 24px; height: 42px; font-size: 22px; }
  .site-footer { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .post { padding: 20px; }
}
