/* Aslan Labs Research — matches the Aslan Labs Group site (aslanlabs.com):
   Cormorant Garamond headings, Outfit body, IBM Plex Mono labels, deep navy.

   Written for old devices as well as new ones: no CSS variables, no flexbox
   `gap`, no logical properties, and a plain fallback before every clamp().
   Browsers that don't understand grid fall back to cards stacked one above
   the other, which reads fine on any screen. */

* { -webkit-box-sizing: border-box; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #0a1224;
  color: #c8cdd8;
  font-family: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
}
img, svg { max-width: 100%; }
a { color: #a3c4ff; }
a:hover, a:focus { color: #f0f2f8; }
a:focus, .btn:focus { outline: 2px solid #4d8eff; outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { left: 16px; top: 16px; background: #0f1a30; color: #f0f2f8; padding: 8px 12px; z-index: 10; }

/* Risk strip, under the header on every page */
.risk-strip { background-color: #0c1528; border-bottom: 1px solid #22304d; font-size: 14px; line-height: 1.5; color: #c8cdd8; }
.risk-strip .wrap { padding-top: 10px; padding-bottom: 10px; }
.risk-strip strong { color: #ffb4a8; font-weight: 500; }

/* Header */
.site-header { border-bottom: 1px solid #22304d; background-color: #0a1224; }
.site-header .wrap { padding-top: 16px; padding-bottom: 12px; }
.site-header .wrap:after { content: ""; display: table; clear: both; }
.brand { float: left; text-decoration: none; color: #f0f2f8; margin: 0 24px 8px 0; }
.brand svg { width: 38px; height: 38px; vertical-align: middle; margin-right: 12px; }
.brand-name {
  display: inline-block; vertical-align: middle;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 21px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.1;
}
.brand-sub { display: block; font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.3em; color: #95a2bb; }
.nav { float: right; padding-top: 10px; }
.nav a {
  display: inline-block; margin: 0 0 8px 24px;
  font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #95a2bb; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav a:first-child { margin-left: 0; }
.nav a:hover { color: #f0f2f8; }
.nav a[aria-current="page"] { color: #f0f2f8; border-bottom-color: #4d8eff; }

.btn {
  display: inline-block; border: 1px solid #3a4a66; color: #f0f2f8;
  font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; padding: 13px 22px; margin: 0 6px 12px;
}
.btn:hover { border-color: #4d8eff; color: #f0f2f8; }
.btn-primary { border-color: #4d8eff; }

/* Type */
.label {
  font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.26em;
  text-transform: uppercase; color: #4d8eff; margin: 0 0 18px;
}
.label:before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; background: #4d8eff; margin: -3px 14px 0 0; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 400; color: #f0f2f8; line-height: 1.15; margin: 0 0 18px; }
h1 { font-size: 44px; font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: 34px; font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
h1 em, h2 em { color: #4d8eff; font-style: italic; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; color: #c8cdd8; max-width: 640px; }

/* Sections */
section { padding-top: 88px; padding-bottom: 88px; border-bottom: 1px solid #22304d; }
.hero { padding-top: 110px; padding-bottom: 96px; text-align: center; }
.hero .mark { width: 64px; height: 64px; margin: 0 auto 28px; display: block; }
.hero .mark svg { width: 64px; height: 64px; }
.hero .label:before { display: none; }
.hero .lede { margin: 0 auto 36px; }

.grid { margin: 36px -10px 0; }
.grid:after { content: ""; display: table; clear: both; }
.grid .card { float: left; width: 25%; margin: 0; border-left: 10px solid #0a1224; border-right: 10px solid #0a1224; background-clip: padding-box; }
@supports (display: grid) {
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-gap: 20px; margin: 36px 0 0; }
  .grid:after { display: none; }
  .grid .card { float: none; width: auto; border-left: 1px solid #22304d; border-right: 1px solid #22304d; }
}
.card { background-color: #0f1a30; border: 1px solid #22304d; padding: 28px; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.step-no { font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.25em; color: #4d8eff; display: block; margin-bottom: 12px; }

.two:after { content: ""; display: table; clear: both; }
.two > div { float: left; width: 50%; padding-right: 24px; }
.two > div + div { padding-right: 0; padding-left: 24px; }
@supports (display: grid) {
  .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-gap: 48px; }
  .two:after { display: none; }
  .two > div, .two > div + div { float: none; width: auto; padding: 0; }
}

/* Lists and tables */
.list { list-style: none; padding: 0; margin: 0; }
.list li { border-top: 1px solid #22304d; padding: 16px 0; }
.list li:last-child { border-bottom: 1px solid #22304d; }
.list strong { color: #f0f2f8; font-weight: 400; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 16px 14px 16px 0; border-top: 1px solid #22304d; vertical-align: top; }
th { font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #95a2bb; font-weight: 400; white-space: nowrap; }
td strong { color: #f0f2f8; font-weight: 400; }

.notice { border: 1px solid #3a4a66; border-left: 3px solid #ffb4a8; background-color: #0c1528; padding: 22px 24px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: #f0f2f8; font-weight: 500; }

/* Legal pages */
.legal { padding-top: 72px; padding-bottom: 96px; border-bottom: 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 40px; font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 28px; margin-top: 44px; }
.legal ul { padding-left: 22px; }
.legal ul.list { padding-left: 0; }
.legal .list { margin-bottom: 32px; }
.legal li { margin-bottom: 8px; }
.legal .updated { font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; color: #95a2bb; margin-top: 44px; }

/* Footer */
.site-footer { padding-top: 56px; padding-bottom: 40px; font-size: 14px; color: #95a2bb; }
.site-footer .cols { margin-bottom: 36px; }
.site-footer .cols:after { content: ""; display: table; clear: both; }
.site-footer .cols > div { float: left; width: 50%; padding-right: 24px; margin-bottom: 24px; }
.foot-h, .site-footer h4 { font-family: 'IBM Plex Mono', Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: #c8cdd8; font-weight: 400; line-height: 1.4; margin: 0 0 12px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #c8cdd8; }
.site-footer .legal-links { margin-bottom: 18px; }
.site-footer .legal-links a { display: inline-block; margin: 0 22px 8px 0; }
.fine { font-size: 13px; line-height: 1.6; color: #95a2bb; border-top: 1px solid #22304d; padding-top: 22px; }

@media (max-width: 760px) {
  .brand, .nav { float: none; }
  .nav { padding-top: 0; }
  .nav a { margin: 0 18px 8px 0; }
  .grid .card, .two > div, .site-footer .cols > div { float: none; width: auto; padding-left: 0; padding-right: 0; }
  .grid .card { border-left-width: 1px; border-right-width: 1px; margin-bottom: 16px; }
  .grid { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 72px; padding-bottom: 60px; }
  .btn { display: block; margin: 0 0 12px; text-align: center; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand-name { font-size: 19px; letter-spacing: 0.16em; }
}
@media (max-width: 400px) {
  th, td { display: block; padding-right: 0; }
  th { white-space: normal; padding-bottom: 4px; }
  td { border-top: 0; padding-top: 0; }
}

/* The risk box keeps its inner spacing inside the two-column layout. */
.two > div.notice { padding: 22px 24px; }
@media (max-width: 640px) { .two > div.notice { padding: 18px; } }
