/* Layout adapted from NEFA; see vendor/nefa/LICENSE.txt. */
:root {
  color-scheme: light;
  --ink: #033b4f;
  --body-ink: #254d4a;
  --muted: #49655f;
  --action: #087568;
  --action-hover: #075c53;
  --mint: #80d7b8;
  --surface-mint: #f1f8f4;
  --line: #d4e4dc;
  --line-soft: #e4eee8;
  --line-strong: #afcbbd;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-heading: ui-rounded, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.68,.25,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-ui); -webkit-font-smoothing: antialiased; line-height: 1.55; }
h1,h2,h3,h4,p,figure,dl,dd,ul,ol { margin: 0; }
ul,ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button,select,input { font: inherit; color: inherit; }
button { cursor: pointer; background: transparent; border: 0; }
[hidden] { display: none !important; }
:is(a,button,summary,select):focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
::selection { color: #033b4f; background: var(--mint); }
.skip { position: fixed; z-index: 20; top: 8px; left: 12px; padding: 10px 16px; color: var(--action); background: #fff; border: 1px solid currentColor; border-radius: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.nefa-width, .page-width { width: 100%; max-width: 1280px; padding-inline: clamp(24px,4.5vw,64px); margin-inline: auto; }
#mainNav { position: sticky; top: 0; z-index: 6; background: #fff; border-bottom: 1px solid var(--line-soft); transition: box-shadow .2s; }
#mainNav.navbar-shrink { box-shadow: 0 4px 18px -12px #153f3647; }
.mast-nav { display: flex; align-items: center; gap: clamp(24px,3.8vw,62px); min-height: 74px; }
.mast-brand,.brand-name,.mast-links,.mast-actions { display: flex; align-items: center; }
.mast-brand { flex: none; gap: 10px; }
.mast-brand img { width: 35px; height: 35px; }
.brand-name { gap: 7px; font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.brand-product { padding-left: 9px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: .015em; color: var(--body-ink); }
.mast-links { gap: clamp(14px,1.85vw,30px); }
.mast-links a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--body-ink); font-size: 14px; font-weight: 500; transition: color .18s; }
.mast-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; border-radius: 3px; background: var(--action); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.mast-links a[aria-current="location"], .mast-links a:focus-visible { color: var(--action); }
.mast-links a[aria-current="location"]::after,.mast-links a:focus-visible::after { transform: scaleX(1); }
.mast-actions { margin-left: auto; gap: 15px; }
.mast-login,.mast-download,.mast-ctas a { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 580; line-height: 1.25; white-space: nowrap; transition: color .18s, background-color .18s, border-color .18s, box-shadow .22s, transform .18s var(--ease); }
.mast-login { color: var(--muted); padding-inline: 5px; }
.mast-download { background: var(--ink); color: white; }
.mast-download span { font-size: 15px; }
.navbar-toggler,.mobile-login { display: none; }
.hero { background: radial-gradient(ellipse at 77% 50%, #e2f5eb 0%, #f5fbf4 28%, transparent 59%), linear-gradient(172deg,#fff 44%,#f8fbf6); padding-bottom: 80px; overflow: hidden; }
.mast-grid { display: grid; position: relative; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.mast-copy { position: relative; z-index: 1; padding: clamp(42px,4.4vw,70px) 0; min-width: 0; }
.mast-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .07em; }
.mast-eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--mint); }
.mast-copy h1 { color: var(--ink); font-size: clamp(44px,4.56vw,68px); font-family: var(--font-heading); line-height: 1.22; font-weight: 700; letter-spacing: -.045em; margin: 18px 0 22px; }
.mast-copy h1 span { color: var(--action); }
.mast-deck { max-width: 26em; color: var(--muted); font-size: clamp(16px,1.16vw,18px); line-height: 1.85; text-wrap: pretty; }
.mast-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.mast-ctas a { min-height: 49px; padding-inline: 22px; font-size: 15px; }
.mast-primary { color: white; background: var(--action); box-shadow: 0 5px 12px -7px #08756855; }
.download-glyph { position: relative; width: 15px; height: 14px; border: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 3px 3px; clip-path: polygon(0 62%, 26% 62%, 26% 0, 74% 0, 74% 62%, 100% 62%, 100% 100%, 0 100%); }
.download-glyph::before,.download-glyph::after { content: ""; position: absolute; left: 50%; }
.download-glyph::before { width: 1.5px; height: 8px; background: currentColor; transform: translateX(-50%); }
.download-glyph::after { width: 6px; height: 6px; top: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateX(-50%) rotate(45deg); }
.mast-secondary { color: var(--body-ink); background: white; border: 1px solid var(--line-strong); }
.mast-secondary i { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: translate .18s; }
.mast-platform { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.mast-figure { position: relative; isolation: isolate; z-index: 1; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; min-width: 0; height: clamp(386px,36vw,526px); }
.mast-figure { --tile: min(50%,278px); }
.mast-figure::before { content: ""; position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse at 50% 47%,#83d4b843,transparent 66%); }
.emblem-control { position: relative; width: var(--tile); aspect-ratio: 1; perspective: 840px; display: grid; place-items: center; padding: 0; border-radius: 23%; user-select: none; -webkit-user-select: none; touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent; }
.emblem-control:enabled { cursor: grab; }
.emblem-control.is-dragging { cursor: grabbing; }
.emblem-control:focus-visible { outline-offset: 16px; }
.emblem-body,.emblem-face,.emblem-layer,.emblem-back { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.emblem-body { transform-style: preserve-3d; transform: rotateX(var(--pitch,10deg)) rotateY(var(--yaw,-18deg)); }
.emblem-face { transform: translateZ(1px); backface-visibility: hidden; overflow: hidden; box-shadow: inset 0 0 1px 1px #98c5af; }
.emblem-face img { display: block; width: 100%; height: 100%; }
.emblem-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at var(--shine-x,20%) var(--shine-y,8%),#c6f1db20,transparent 55%), linear-gradient(150deg,#fdf6d811,transparent 40%,#02354512); box-shadow: inset 1px 2px 2px #e8f6dc75,inset -1px -2px 2px #083b4655; }
.emblem-layer { background: #093c49; border: 1px solid #1b6472; }
.emblem-layer:nth-child(3n) { background: #0b4858; }
.emblem-back { transform: translateZ(-20px) rotateY(180deg); backface-visibility: hidden; background: #033b4f url('hero-brand-mark.svg?v=de7f58a340') center/cover; box-shadow: inset 0 0 0 2px #abddc66a; }
.emblem-shadow { position: absolute; width: 49%; height: 8%; top: 77%; background: radial-gradient(ellipse,#164f4340,transparent 69%); transform: translateX(var(--shadow-x,3px)); pointer-events: none; }
.emblem-orbit { position: absolute; width: 86%; aspect-ratio: 1; max-width: 530px; pointer-events: none; transform: rotate(-16deg) scaleY(.66); border-radius: 50%; border: 1px solid #529e8b58; }
.emblem-orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed #449e854a; }
.emblem-orbit :is(i,b) { position: absolute; width: 12px; height: 15px; border-radius: 50%; background: radial-gradient(at 30% 22%,#fff5cf,#94dfbc 42%,#218e79); box-shadow: 0 2px 6px #29846738; }
.emblem-orbit i { top: 11%; left: 16%; }
.emblem-orbit b { right: 5%; bottom: 23%; width: 8px; height: 10px; }
#emblem-hint { position: absolute; bottom: 4%; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); line-height: 1.7; }
#emblem-hint > span:first-child { font: 18px/1 system-ui,sans-serif; margin-right: 2px; }
@media (hover:none) { .emblem-key-hint { display: none; } }
@media (prefers-reduced-motion:reduce) { .emblem-body { transform: none; } .emblem-layer,.emblem-back { display: none; } }
.pattern { position: absolute; height: auto; pointer-events: none; filter: grayscale(1) sepia(.9) saturate(1.8) hue-rotate(98deg); }
.pattern-a { bottom: 3%; left: 2%; width: 13px; }
.pattern-b { top: 9%; left: 61%; width: 15px; }
.pattern-c { top: 65%; right: 5%; width: 18px; }
.pattern-star { top: 23%; left: 46%; width: 22px; }
.nefa-board { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: -46px auto 0; width: min(calc(100% - 72px),1200px); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px -18px #153f3647; padding: 20px 2px; }
.quick-column { min-width: 0; padding-inline: clamp(18px,2.1vw,32px); }
.quick-column + .quick-column { border-left: 1px solid var(--line-soft); }
.quick-title,.quick-title h2,.quick-column li a { display: flex; align-items: center; }
.quick-title,.quick-column li a { justify-content: space-between; gap: 8px; }
.quick-title h2 { gap: 8px; color: var(--ink); font-size: 17px; font-weight: 640; letter-spacing: .01em; }
.quick-title > a { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; padding-inline: 5px; font-size: 13px; color: var(--action); }
.quick-title > a span { font-size: 18px; transition: transform .18s; }
.quick-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.quick-dot.sky { background: var(--mint); }
.quick-dot.blue { background: #44aa8b; }
.quick-dot.navy { background: var(--action); }
.quick-column li + li { border-top: 1px solid var(--line-soft); }
.quick-column li a { min-height: 44px; padding: 0 6px; margin-inline: -6px; color: var(--body-ink); font-size: 14px; border-radius: 5px; transition: background .18s,color .18s; }
.quick-column li small { color: var(--muted); font-size: 12px; }
.quick-column a:focus-visible, .mast-links a:focus-visible { outline-offset: 1px; }
@media (hover: hover) {
  .mast-links a:hover,.mast-login:hover { color: var(--action); }
  .mast-links a:hover::after { transform: scaleX(1); }
  .mast-download:hover { background: #0b504d; }
  .mast-primary:hover { background: var(--action-hover); box-shadow: 0 6px 15px -7px #08756855; }
  .mast-secondary:hover { background: var(--surface-mint); border-color: #7aab9b; }
  .mast-secondary:hover i { translate: 0 2px; }
  .quick-column li a:hover { background: var(--surface-mint); color: var(--action); }
  .quick-title > a:hover span { transform: translateX(2px); }
}
.mast-actions :is(a,button):active,.mast-ctas a:active { transform: translateY(1px); }
@media (max-width: 999px) {
  html { scroll-padding-top: 80px; }
  .mast-nav { min-height: 64px; }
  .navbar-toggler { display: inline-flex; width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
  .navbar-toggler i { width: 19px; height: 1.5px; background: var(--body-ink); border-radius: 4px; transition: transform .2s var(--ease),opacity .2s; }
  .navbar-toggler[aria-expanded="true"] { background: var(--surface-mint); }
  .navbar-toggler[aria-expanded="true"] i:first-child { transform: translateY(5.5px) rotate(45deg); }
  .navbar-toggler[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .navbar-toggler[aria-expanded="true"] i:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  #navbarResponsive { display: none; position: absolute; top: calc(100% + 5px); inset-inline: max(12px,calc((100% - 760px)/2)); padding: 8px 12px; max-height: calc(100dvh - 80px); overflow: auto; background: #fff; border-radius: 13px; border: 1px solid var(--line); box-shadow: 0 16px 30px -12px #153f3647; }
  #navbarResponsive.show { display: block; animation: nav-open .18s var(--ease); }
  @keyframes nav-open { from { opacity: 0; transform: translateY(-5px); } }
  .mast-links { display: block; }
  .mast-links a { width: 100%; padding-inline: 12px; border-radius: 6px; }
  .mast-links a[aria-current="location"] { background: var(--surface-mint); }
  .mast-links a::after { display: none; }
  .mast-copy h1 { font-size: clamp(38px,4.7vw,48px); }
  .mast-figure { height: clamp(300px,42vw,412px); }
  .nefa-board { width: calc(100% - 40px); }
}
@media (max-width: 700px) {
  .nefa-width,.page-width { padding-inline: clamp(18px,6vw,34px); }
  .mast-nav { min-height: 62px; gap: 8px; }
  .mast-brand { gap: 7px; }
  .mast-brand img { width: 30px; height: 30px; }
  .brand-name { font-size: 19px; gap: 5px; }
  .brand-product { font-size: 12px; padding-left: 6px; }
  .mast-actions { gap: 5px; }
  .mast-login { display: none; }
  .mobile-login { display: list-item; border-top: 1px solid var(--line-soft); }
  .mast-download { min-height: 44px; padding-inline: 11px; font-size: 13px; gap: 5px; }
  .mast-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .mast-copy { padding: 35px 0 0; }
  .mast-copy h1 { font-size: clamp(38px,9.6vw,57px); margin: 13px 0 16px; }
  .mast-deck { max-width: 29em; font-size: 15px; line-height: 1.8; }
  .mast-ctas { gap: 9px; margin-top: 19px; }
  .mast-ctas a { padding-inline: 16px; min-height: 46px; font-size: 14px; }
  .mast-platform { margin-top: 9px; }
  .mast-figure { height: clamp(216px,58vw,316px); margin-top: 6px; }
  .mast-figure { --tile: min(42%,166px); }
  .emblem-orbit { width: min(78%,300px); }
  #emblem-hint { bottom: 0; }
  .hero { padding-bottom: 39px; }
  .pattern-a { left: 13%; bottom: 9%; width: 10px; }
  .pattern-b { left: auto; right: 10%; top: 7%; width: 10px; }
  .pattern-c { right: 10%; top: auto; bottom: 23%; width: 14px; }
  .pattern-star { left: 18%; top: auto; bottom: 32%; width: 14px; }
  .nefa-board { grid-template-columns: 1fr; margin-top: -22px; width: calc(100% - 32px); border-radius: 15px; padding: 5px 17px; }
  .quick-column { padding: 7px 0 11px; }
  .quick-column + .quick-column { border-left: 0; border-top: 1px solid var(--line-soft); }
  .quick-title h2 { font-size: 16px; }
  .quick-column ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .quick-column li + li { border: 0; }
  .quick-column li a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 46px; margin: 0; padding-inline: 0; font-size: 13px; }
}
@media (max-width: 370px) {
  .nefa-width,.page-width { padding-inline: 16px; }
  .mast-ctas a { padding-inline: 13px; }
  .mast-download span { display: none; }
}
/* The page remains readable while the NEFA runtime starts or when it is absent. */
body.preparing-motion [data-aos] { transition: none !important; }
body:not([data-aos-duration]) [data-aos], [data-aos]:focus-within {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
main { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-aos][data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.mast-brand img.official-lockup { width: auto; height: 49px; }
@media(max-width:700px) { .mast-brand img.official-lockup { height: 41px; } }
