/* Mortex Products — site styles */
:root {
  --navy: #002240;
  --navy-2: #0a3156;
  --blue: #136bb7;
  --blue-deep: #1057a1;
  --yellow: #fccc0f;
  --yellow-2: #ffe24a;
  --steel: #eef2f7;
  --steel-2: #e1e8f0;
  --ink: #14202e;
  --mute: #4e5d70;
  --line: #d6dee8;
  --white: #ffffff;
  --ok: #1f7a46;
  --err: #b42318;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --slant: 6deg;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  overflow-wrap: anywhere;
}
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--mute); }
.nowrap { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-variation-settings: "wdth" 110; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mute); max-width: 62ch; }
.kicker { font-weight: 600; color: var(--blue); margin: 0 0 0.6em; font-size: 1.02rem; }

/* The slanted bar: taken from the Mortex mark */
.bar-head { position: relative; padding-left: 0.62em; }
/* One-line slanted mark beside the first line, whatever the heading's length */
.bar-head::before {
  content: ""; position: absolute; left: 0.06em; top: 0.1em; height: 0.82em; width: 0.17em; min-width: 6px;
  background: linear-gradient(180deg, #fbb034, var(--yellow-2));
  transform: skewX(-16deg);
}
.on-dark { color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede, .on-dark .muted { color: #c6d3e2; }
.on-dark .kicker { color: var(--yellow); }
.on-dark a:not(.btn) { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  font: 700 1rem/1.2 var(--font); font-variation-settings: "wdth" 108;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 40px; padding: 7px 14px; font-size: 0.92rem; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--navy); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.on-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { width: clamp(150px, 20vw, 210px); height: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px;
  color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.98rem;
  background: none; border: 0; font-family: var(--font); cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  box-shadow: 0 12px 30px rgba(0,34,64,.14); display: none; }
.sub a { display: block; padding: 10px 12px; color: var(--navy); text-decoration: none; font-weight: 600; }
.sub a:hover { background: var(--steel); }
.has-sub.is-open .sub { display: block; }
@media (hover: hover) and (min-width: 1001px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; } }
.nav-phone { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer; }

@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--navy); margin: 0; padding: 16px var(--gutter) 40px;
    overflow-y: auto; display: none; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { color: #fff; width: 100%; padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.12); justify-content: space-between; }
  .nav-link:hover, .nav-link[aria-current="page"] { color: var(--yellow); box-shadow: none; }
  .sub { position: static; display: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .sub a { color: #dbe5f0; }
  .sub a:hover { background: transparent; color: var(--yellow); }
  .nav-phone { margin: 20px 0 0; width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* Hero (home) */
.hero { position: relative; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0,34,64,.97) 0%, rgba(0,34,64,.86) 46%, rgba(16,87,161,.55) 100%); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: center;
  gap: clamp(24px, 4vw, 56px); padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { font-variation-settings: "wdth" 125; letter-spacing: -0.02em; }
.hero-art { justify-self: center; max-width: 520px; width: 100%; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(0,0,0,.35)); }
.hero .btn-row { margin-top: 28px; }

/* Brands strip */
.brands { background: var(--blue-deep); position: relative; }
.brands::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%); }
.brands-list { list-style: none; margin: 0; padding: 40px 0 34px; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); align-items: center; }
.brands-list a { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 10px 14px; border-radius: var(--radius); }
.brands-list a:hover { background: rgba(255,255,255,.08); }
.brands-list img { max-height: 54px; width: auto; max-width: 100%; }

/* Sections */
.section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.section-steel { background: var(--steel); }
.section-navy { background: var(--navy); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.photo-tag { position: relative; }
.photo-tag img { width: 100%; height: auto; border-radius: var(--radius); }
.photo-tag .tag { position: absolute; left: -10px; bottom: 22px; background: var(--yellow); color: var(--navy);
  font-weight: 800; font-variation-settings: "wdth" 120; padding: 8px 18px 8px 14px; font-size: 1.05rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }

.pillars { display: grid; gap: 0; margin-top: 40px; border-top: 3px solid var(--navy);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.pillar { padding: 28px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.pillar h3 { margin-bottom: .4em; }
.pillar p { color: var(--mute); }

.solutions { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.solutions li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; font-weight: 700;
  color: var(--navy); font-variation-settings: "wdth" 110; line-height: 1.3; }
.solutions .ico { flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--yellow); border-radius: var(--radius); }

/* News cards */
.news-grid { display: grid; gap: 28px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.news-card:hover { border-color: var(--blue); color: var(--ink); }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--steel); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px 22px 24px; }
.news-card time { color: var(--mute); font-size: .92rem; }
.news-card h2, .news-card h3 { margin: .35em 0 .5em; font-size: 1.05rem; line-height: 1.3; font-variation-settings: "wdth" 104; letter-spacing: 0; }
.news-card p { color: var(--mute); margin: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { margin: 0; }

/* CTA band */
.cta-band { background: var(--yellow); position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { margin: 0; color: var(--navy); }
.cta-band .btn { background: var(--navy); color: #fff; }
.cta-band .btn:hover { background: var(--navy-2); color: #fff; }

/* Page head */
.page-head { background: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.page-head .wrap { padding-top: clamp(44px, 7vw, 84px); padding-bottom: clamp(52px, 7vw, 88px); }
.page-head::after { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 38%; z-index: -1;
  background: repeating-linear-gradient(110deg, transparent 0 34px, rgba(19,107,183,.28) 34px 70px, transparent 70px 104px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 22ch; }
.page-head .lede { margin-bottom: 0; }
.brand-head .logo { max-width: min(340px, 100%); height: auto; margin-bottom: 20px; }
.brand-head .btn-row { margin-top: 26px; }

/* Products overview */
.line { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px;
  display: grid; gap: 28px 48px; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
.line:last-child { border-bottom: 0; }
@media (max-width: 900px) { .line { grid-template-columns: minmax(0, 1fr); } }
.line-head { position: sticky; top: 100px; }
@media (max-width: 900px) { .line-head { position: static; } }
.line-logo { display: block; margin-bottom: 14px; }
.line-head img { max-height: 64px; width: auto; max-width: 100%; }
.line-head p { margin: 0 0 18px; color: var(--mute); font-size: 1.05rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.tiles a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--navy); background: var(--white); border-radius: var(--radius); padding: 16px 16px 18px; border: 1px solid var(--line); text-align: center; }
.tiles a:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.tiles .img { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.tiles img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.tiles span:last-child { font-weight: 700; font-variation-settings: "wdth" 108; line-height: 1.3; margin-top: auto; }

/* Brand pages */
.brand-layout { display: grid; gap: 40px; grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
.toc { position: sticky; top: 100px; border-left: 3px solid var(--navy); padding: 4px 0 4px 18px; }
.toc h2 { font-size: 1rem; margin: 0 0 10px; font-variation-settings: "wdth" 110; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; color: var(--mute); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--blue); }
@media (max-width: 900px) {
  .brand-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; border-left: 0; padding: 0; margin-bottom: 8px; }
  .toc h2 { display: none; }
  .toc ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--navy); }
}
.product { padding: 0 0 clamp(44px, 6vw, 72px); margin-bottom: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.product:last-child { border-bottom: 0; margin-bottom: 0; }
.product-grid { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.gallery-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gallery-main img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { width: 70px; height: 56px; padding: 4px; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.specs { list-style: none; margin: 0 0 8px; padding: 0; }
.specs li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); line-height: 1.45; }
.specs li i, .specs li svg { flex: 0 0 auto; color: var(--blue); margin-top: 3px; }

/* Documents */
.docs { margin-top: 26px; }
.docs h4 { font-size: 1rem; margin: 0 0 8px; font-variation-settings: "wdth" 110; }
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { background: var(--steel); color: var(--blue-deep); }
.doc-list .t { flex: 1 1 auto; font-weight: 500; line-height: 1.35; }
.doc-list .s { flex: 0 0 auto; color: var(--mute); font-size: .88rem; white-space: nowrap; }
.doc-list i, .doc-list svg { flex: 0 0 auto; color: var(--blue); }
.doc-group { margin-bottom: 40px; }
.doc-group > h2 { font-size: 1.5rem; }
.doc-group h3 { font-size: 1.05rem; margin: 22px 0 8px; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.form-intro { background: var(--steel); border-left: 4px solid var(--yellow); padding: 14px 18px; margin-bottom: 28px; }
fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
legend { font-weight: 800; font-variation-settings: "wdth" 115; color: var(--navy); font-size: 1.25rem; padding: 0; margin-bottom: 14px; }
.grid-fields { display: grid; gap: 16px 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-fields > * { grid-column: span 6; }
.grid-fields > .w-half { grid-column: span 3; }
.grid-fields > .w-third { grid-column: span 2; }
@media (max-width: 640px) { .grid-fields > .w-half, .grid-fields > .w-third { grid-column: span 6; } }
.field { display: block; }
.field-label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: .96rem; }
.req { color: var(--err); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #b7c3d1; border-radius: var(--radius);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(19,107,183,.35); outline-offset: 0; border-color: var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .9rem; margin-top: 4px; }
.sub-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.sub-grid .field-label { font-weight: 500; font-size: .88rem; color: var(--mute); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #b7c3d1; border-radius: var(--radius); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); background: #e8f1fa; }
.choice input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.note { background: var(--steel); padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; color: var(--ink); margin: 0; }
.note.warn { background: #fff6d3; border-left: 4px solid var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); background: #e7f5ec; padding: 14px 16px; border-radius: var(--radius); }
.form-status.is-error { color: var(--err); background: #fdecea; padding: 14px 16px; border-radius: var(--radius); }
[hidden] { display: none !important; }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: start; }
.info-list { list-style: none; margin: 0 0 24px; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .ico { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--yellow); border-radius: var(--radius); }
.info-list strong { display: block; color: var(--navy); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--steel); }

/* Article */
.article { max-width: 760px; }
.article .hero-img { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--steel); }
.article .hero-img img { width: 100%; height: auto; }
.article p { font-size: 1.08rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 600; }

/* Download panel (warranty claim) */
.download-panel { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin: 28px 0 36px; }
.download-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); }
.download-card:hover { border-color: var(--blue); border-top-color: var(--yellow); color: var(--ink); }
.download-card .ico { flex: 0 0 auto; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--yellow); border-radius: var(--radius); }
.download-card strong { display: block; font-size: 1.15rem; color: var(--navy); font-variation-settings: "wdth" 112; }
.download-card span { color: var(--mute); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--yellow); font-weight: 800; border-radius: var(--radius); }

/* Submissions */
.subs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.subs-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 520px; }
.subs-search-box { position: relative; flex: 1 1 260px; display: block; }
.subs-search-box svg, .subs-search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.subs-search-box input { padding-left: 40px; }
.subs-search select { width: auto; flex: 0 1 auto; }
.subs-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.subs-signout { margin: 0; }
.subs-count { color: var(--mute); margin: 0 0 10px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.subs-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 860px; }
.subs-table th { text-align: left; background: var(--navy); color: #fff; font-weight: 700; padding: 11px 12px; white-space: nowrap; position: sticky; top: 0; }
.subs-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.subs-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.subs-table tbody tr:hover td { background: #eaf2fb; }
.subs-table tr.is-unread td { font-weight: 600; }
.badge { display: inline-block; background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 1px 6px; border-radius: 3px; vertical-align: middle; }
.subs-pages { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.subs-empty { padding: 30px; background: var(--steel); border-radius: var(--radius); }
.subs-entry { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.subs-entry-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 3px solid var(--navy); margin-bottom: 8px; padding-bottom: 12px; }
.subs-entry-head h2 { margin: 0 0 4px; }
.subs-entry-head p { margin: 0; color: var(--mute); }
.subs-entry h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.subs-dl { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); margin: 0; }
.subs-dl dt, .subs-dl dd { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.subs-dl dt { color: var(--mute); padding-right: 16px; }
@media (max-width: 600px) { .subs-dl { grid-template-columns: minmax(0, 1fr); } .subs-dl dt { border-bottom: 0; padding-bottom: 0; } }
.subs-signin { max-width: 460px; }
.subs-signin-form { display: grid; gap: 14px; }

/* Footer */
.site-footer { background: var(--navy); color: #c6d3e2; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--yellow) 0 30%, var(--blue) 30% 100%); }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.footer-grid h2 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; font-variation-settings: "wdth" 112; }
.footer-logo { width: 210px; max-width: 100%; height: auto; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; gap: 10px; padding: 5px 0; }
.footer-list svg, .footer-list i { flex: 0 0 auto; color: var(--yellow); margin-top: 4px; }
.footer-list a { color: #fff; text-decoration: none; }
.footer-list a:hover { color: var(--yellow); }
.members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 280px; }
.members span { background: #fff; border-radius: 3px; height: 64px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.members img { max-height: 48px; width: auto; max-width: 100%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px; text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0 0 8px; }
#mrwd {text-align: center;font-size:12px;}
#mrwd img {display:inline;}
#mrwd a {color: #fff;}
#mrwd a:hover {color: orange;}
@media only screen and (max-width: 900px) {#mrwd {text-align: center;}}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* FolderBloom document library placeholder */
.docs-embed { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px 22px; border: 2px dashed #9fb3c8; border-radius: var(--radius); background: repeating-linear-gradient(110deg, #f7f9fc 0 18px, #eef2f7 18px 36px); }
.docs-embed .ico { flex: 0 0 auto; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--yellow); border-radius: var(--radius); }
.docs-embed strong { display: block; color: var(--navy); font-size: 1.08rem; font-variation-settings: "wdth" 112; }
.docs-embed p { margin: 2px 0 0; color: var(--mute); }
.docs-embed .ph { margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--blue-deep); }
@media (min-width: 760px) { .addr-grid { grid-template-columns: 2fr 1.2fr .8fr .9fr; } }
/* Vector partner logos in news cards and articles */
.news-card .thumb.is-logo { background: #fff; }
.news-card .thumb.is-logo img { object-fit: contain; padding: 7% 9%; }
.article .hero-img.is-logo { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 6vw, 56px); }
.article .hero-img.is-logo img { max-height: 320px; width: auto; max-width: 100%; margin: 0 auto; }
/* FolderBloom document libraries */
.fb-docs { margin-top: 24px; min-width: 0; }
.fb-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 10px; font-variation-settings: "wdth" 110; }
.fb-title svg, .fb-title i { color: var(--blue); }
.doc-group { margin-bottom: 56px; }
.doc-group .btn-row { margin: 4px 0 8px; }
.brand-head .btn-row .btn-ghost { color: #fff; }
/* Read-only values set by the site (e.g. registration date) */
input.is-fixed { background: var(--steel); color: var(--navy); border-color: var(--line); cursor: default; font-weight: 600; }
input.is-fixed:focus { outline: none; border-color: var(--line); }
.field-note { display: block; margin-top: 4px; font-size: .85rem; color: var(--mute); }
/* Full-width submit buttons on phones */
@media (max-width: 640px) { .form-actions .btn { width: 100%; } }
