#a8zen-hub {
  --ink: #152e39;
  --muted: #526976;
  --green: #086e62;
  --mint: #deeee6;
  --paper: #f6f8f4;
  --line: #d9e1dc;
  --white: #fff;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
}
#a8zen-hub *, #a8zen-hub *::before, #a8zen-hub *::after { box-sizing: border-box; }
#a8zen-hub :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
#a8zen-hub :is(h1,h2,h3) { color: var(--ink); font-family: inherit; line-height: 1.2; }
#a8zen-hub a { color: var(--green); text-underline-offset: 4px; }
#a8zen-hub a:hover { color: #06483f; }
#a8zen-hub :focus-visible { outline: 3px solid #ad6b00; outline-offset: 4px; }
#a8zen-hub img { display: block; max-inline-size: 100%; }
#a8zen-hub [hidden] { display: none !important; }
.hub-width { inline-size: min(100% - 32px, 1260px); margin-inline: auto; }
.hub-header { background: var(--white); border-bottom: 1px solid var(--line); }
.hub-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; justify-content: space-between; padding-block: 9px; }
.hub-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: 15px; font-weight: 750; letter-spacing: .07em; }
.hub-brand-logo { inline-size: 49px; block-size: 36px; object-fit: contain; }
.hub-jump { display: none; }
.hub-language { display: inline-flex; flex-wrap: wrap; gap: 2px; align-items: center; font-size: 13px; }
.hub-language a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 8px; text-decoration: none; }
.hub-language a[aria-current="page"] { border-radius: 8px; background: var(--mint); font-weight: 750; }
.hub-skip { position: absolute; left: 12px; top: -70px; z-index: 7; padding: 9px 14px; background: #fff; }
.hub-skip:focus { top: 8px; }
.hub-hero { padding-block: 37px 28px; display: grid; gap: 25px; align-items: center; }
#a8zen-hub .hub-hero h1 { font-size: clamp(32px, 5.1vw, 64px); font-weight: 770; letter-spacing: -.033em; text-wrap: balance; }
#a8zen-hub [lang="th"] .hub-hero h1, #a8zen-hub:lang(th) .hub-hero h1 { letter-spacing: 0; line-height: 1.22; }
#a8zen-hub .hub-hero p { color: var(--muted); max-inline-size: 54ch; margin-block: 15px 19px; font-size: clamp(16px, 1.6vw, 19px); }
.hub-hero figure { background: #f1f0e6; border: 1px solid var(--line); overflow: hidden; border-radius: 18px; }
.hub-hero-art { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 54%; }
.hub-hero-companion { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 5px; }
.hub-hero-companion-image { inline-size: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 5px; }
.hub-hero-companion-image:last-child { object-position: 50% 25%; }
.hub-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; }
#a8zen-hub .hub-button { display: inline-flex; justify-content: center; align-items: center; min-block-size: 48px; border-radius: 8px; padding: 9px 17px; color: #fff; background: var(--green); text-decoration: none; font-weight: 700; }
#a8zen-hub .hub-button:hover { background: #06483f; }
.hub-secondary { min-block-size: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.hub-story { background: var(--mint); padding-block: 36px; border-block: 1px solid #c9e0d6; }
#a8zen-hub h2 { font-size: clamp(24px, 3.3vw, 39px); letter-spacing: -.02em; }
.hub-story ol { display: grid; gap: 0 19px; list-style: none; padding: 0; margin: 17px 0 0; }
.hub-story li { min-inline-size: 0; padding: 13px 0; border-top: 2px solid #9cbeb0; }
#a8zen-hub .hub-story h3 { font-size: 17px; margin-bottom: 6px; }
.hub-story p { font-size: 15px; color: #375853; }
.hub-sites { padding-block: 42px; scroll-margin-top: 18px; }
#a8zen-hub .hub-sites > p { margin-top: 8px; color: var(--muted); }
.hub-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.hub-filters button { min-block-size: 44px; padding: 7px 11px; border: 1px solid #baccc3; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.hub-filters button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
#a8zen-hub .hub-results { margin: 13px 0 8px; font-size: 14px; }
.hub-results output { color: var(--ink); font-weight: 750; }
.hub-site-grid { display: grid; gap: 16px; }
.hub-site { min-inline-size: 0; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: clip; }
.hub-site-art { background: var(--mint); }
.hub-site-image { inline-size: 100%; aspect-ratio: 15 / 7; object-fit: cover; }
.hub-site-body { display: flex; flex-direction: column; min-inline-size: 0; padding: 0 17px 13px; }
.hub-card-brand { position: relative; display: flex; width: fit-content; max-inline-size: 100%; align-items: center; min-block-size: 47px; margin: -23px 0 10px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; }
.hub-card-logo { max-inline-size: 104px; block-size: 34px; object-fit: contain; }
.hub-wordmark { font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.hub-card-names { display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
#a8zen-hub .hub-card-names h3 { font-size: 21px; overflow-wrap: anywhere; }
.hub-status { border-radius: 5px; padding: 2px 6px; font-size: 11px; font-weight: 750; white-space: normal; }
.hub-status.live { color: #085849; background: #e1f0e8; }
.hub-status.pilot { color: #745315; background: #f7eed9; }
.hub-status.roadmap { color: #304f67; background: #e8f0f6; }
#a8zen-hub .hub-role { margin: 8px 0 4px; color: var(--green); font-weight: 750; }
.hub-site-body p { color: var(--muted); font-size: 15px; }
.hub-outbound { min-block-size: 44px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 5px; font-weight: 650; }
.hub-support { margin-top: 20px; padding: 17px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 22px; background: #e8f0f6; border: 1px solid #c8d9e2; border-radius: 12px; }
#a8zen-hub .hub-support h3 { font-size: 19px; margin-bottom: 4px; }
.hub-support p { color: var(--muted); }
.hub-support a { display: inline-flex; align-items: center; min-block-size: 44px; margin-inline-start: 5px; }
.hub-partner { background: #eaf1ec; padding-block: 36px; border-block: 1px solid var(--line); }
#a8zen-hub .hub-partner p { margin: 9px 0 19px; color: var(--muted); }
.hub-partner dl { display: grid; gap: 10px; }
.hub-partner dl > div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.hub-partner dt { font-weight: 730; }
.hub-partner dd { margin-top: 4px; color: var(--muted); font-size: 15px; }
.hub-contact { margin-top: 17px; }
.hub-footer { background: #fff; padding-block: 23px; }
.hub-footer > .hub-width { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: 14px; }
.a8zen-directory { min-inline-size: 0; }
.a8zen-directory a, .a8zen-directory summary { display: inline-flex; min-block-size: 44px; align-items: center; }
.a8zen-directory summary { display: list-item; cursor: pointer; padding-block: 9px; }
.a8zen-directory ul { padding-inline-start: 20px; display: grid; gap: 0 20px; margin-bottom: 4px; }
.hub-endorsement { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); min-block-size: 44px; }
.hub-endorsement-logo { inline-size: 45px; block-size: 30px; object-fit: contain; }
@media (min-width: 580px) {
  .hub-width { inline-size: min(100% - 52px, 1260px); }
  .hub-site-grid,.hub-story ol,.hub-partner dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .a8zen-directory ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 850px) {
  .hub-jump { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
  .hub-jump a { text-decoration: none; }
  .hub-hero { grid-template-columns: 1fr 1.12fr; gap: clamp(25px,4vw,68px); padding-block: 68px 55px; }
  .hub-story ol,.hub-partner dl { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .hub-site-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hub-story,.hub-partner { padding-block: 46px; }
}
