/* The public landing page (landing.html), in the viewer's colours. */
:root { --navy: #001868; --ink: #1f2733; --muted: #66707d; --line: #e3e7ed; --tint: #f6f7f9;
        --accent: #1a6feb; --orange: #f28e2b; }
* { box-sizing: border-box; }
/* BlinkMacSystemFont: Chrome ignores -apple-system and would fall back to Helvetica. */
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column;
       font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--tint);
       -webkit-font-smoothing: antialiased; }
.sprite { position: absolute; width: 0; height: 0; }
/* The menu is empty here, so on narrow screens it balances the logo to keep the title centred. */
.banner.narrow .logo, .banner.narrow .menu { flex: 1; }
.banner.narrow .brand { flex: none; }
/* Too narrow to centre on the page: the title takes the space right of the logo instead. */
.banner.tight .logo, .banner.tight .menu { flex: none; }
.banner.tight .brand { flex: 1; }
.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }

/* The steel-mill photo from the Steel-IQ report, navy fading in from the left behind its wording. */
.hero { color: #fff;
        background: linear-gradient(90deg, rgba(0, 24, 104, .97) 0%, rgba(0, 24, 104, .9) 36%,
                                    rgba(0, 24, 104, .4) 68%, rgba(0, 24, 104, .05) 100%),
                    url(hero.webp) 70% center / cover; }
.hero .wrap { padding-top: 96px; padding-bottom: 104px; }
.hero .wrap::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: 30px; background: var(--orange); }
.hero h1 { max-width: 760px; margin: 0; font-size: 60px; font-weight: 600; line-height: 1.04; letter-spacing: -.03em;
           text-wrap: balance; }
.hero h1 span { display: block; color: var(--orange); }
.hero p { max-width: 540px; margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .8);
          text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 20px;
          border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px; color: #fff; font-size: 15px; font-weight: 600;
          text-decoration: none; transition: background-color .15s, border-color .15s; }
.button:hover, .button:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); }
.button.primary { border-color: #fff; background: #fff; color: var(--navy); }
.button.primary:hover, .button.primary:focus-visible { border-color: #e3e9f8; background: #e3e9f8; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8;
              stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.button.primary:hover svg { transform: translateX(3px); }
.button:not(.primary):hover svg { transform: translate(2px, -2px); }
/* The hero's wording rises into place once, on load. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero .wrap::before, .hero h1, .hero p, .actions { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .06s; }
.hero p { animation-delay: .14s; }
.actions { animation-delay: .22s; }

/* Three groups of three, each named beside a bar in its colour. */
main { flex: 1; padding: 64px 0 104px; }
.groups { display: grid; gap: 56px; }
.group { --c: var(--navy); --soft: #e8ecf6; }
.learn { --c: #8034c2; --soft: #f1e6fa; }
.run { --c: #13a89e; --soft: #ddf3f0; }
.group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 12px; font-weight: 600;
            letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.group h2::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--c); }
.group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line);
        border-radius: 14px; background: #fff; color: inherit; text-decoration: none;
        transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover, a.card:focus-visible { transform: translateY(-3px); border-color: #d5dbe5;
                                     box-shadow: 0 16px 36px rgba(0, 24, 104, .12); }
a.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
        background: var(--soft); color: var(--c); }
.icon, .arrow { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 20px; height: 20px; }
.arrow { position: absolute; top: 24px; right: 24px; width: 18px; height: 18px; color: #9aa3b1;
         transition: transform .2s, color .2s; }
a.card:hover .arrow, a.card:focus-visible .arrow { color: var(--accent); transform: translate(2px, -2px); }
.card h3 { margin: 18px 0 0; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
           color: var(--navy); text-wrap: balance; }
.card p { margin: 6px 0 0; font-size: 14px; color: var(--muted); text-wrap: pretty; }

/* The tools: a picture of each, with its app icon on the seam. */
.tool { padding: 0; overflow: hidden; }
.shot { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--tint); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a.tool:hover .shot img, a.tool:focus-visible .shot img { transform: scale(1.04); }
.tool .body { position: relative; flex: 1; padding: 36px 24px 24px; }
.tool .tile { position: absolute; top: -22px; left: 24px; width: 44px; height: 44px; border-radius: 12px;
              background: var(--navy); color: #fff; box-shadow: 0 0 0 3px #fff; }
.tool .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.tool h3 { margin: 0; padding-right: 28px; }
.tool .arrow { top: 22px; }
a.tool:hover .arrow, a.tool:focus-visible .arrow { transform: translateX(3px); }
a.tool[target]:hover .arrow, a.tool[target]:focus-visible .arrow { transform: translate(2px, -2px); }
.tag { display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; white-space: nowrap;
       background: #e8f0fe; color: #0b4fb8; font-size: 10.5px; font-weight: 600; line-height: 1.2;
       letter-spacing: .08em; text-transform: uppercase; }

/* Not yet released: no link, faded, and a badge where the arrow would be. */
.soon { background: rgba(255, 255, 255, .55); }
.soon .tile { background: #e7eaef; color: #7c8697; }
.tool.soon .tile { background: #9aa3b1; color: #fff; }
.soon h3 { color: #4a5464; }
.soon .shot img { filter: grayscale(1); opacity: .4; }
.badge { position: absolute; top: 22px; right: 22px; padding: 4px 9px; border-radius: 999px; background: #e7eaef;
         color: var(--muted); font-size: 10.5px; font-weight: 600; line-height: 1.2; letter-spacing: .08em;
         text-transform: uppercase; }
.shot .badge { top: 14px; right: 14px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 24, 104, .12); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 28px; }
.site-footer h2 { margin: 0 0 10px; font-size: 12px; font-weight: 600; text-transform: uppercase;
                  letter-spacing: .14em; color: #fff; }
.site-footer .contact p { margin: 4px 0; font-size: 15px; }
.site-footer .team { display: inline-block; min-width: 130px; }
.site-footer a { color: #fff; }
.site-footer .legal { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2);
                      font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .hero .wrap::before, .hero h1, .hero p, .actions { animation: none; }
  .card, .arrow, .shot img, .button svg { transition: none; }
  a.card:hover, a.card:focus-visible, a.card:hover .arrow, a.card:focus-visible .arrow,
  a.tool:hover .shot img, a.tool:focus-visible .shot img, .button:hover svg { transform: none; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 52px; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cards > .tool:last-child:nth-child(odd) .shot { aspect-ratio: 4 / 1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  /* The wording spans the full width here, so the navy fades across less of it and a shadow keeps it legible. */
  .hero { background: linear-gradient(90deg, rgba(0, 24, 104, .94) 0%, rgba(0, 24, 104, .8) 45%, rgba(0, 24, 104, .35) 100%),
                      url(hero.webp) 58% center / cover;
          text-shadow: 0 1px 12px rgba(0, 24, 104, .6); }
  .hero .wrap { padding-top: 48px; padding-bottom: 52px; }
  .hero .wrap::before { width: 40px; margin-bottom: 22px; }
  .hero h1 { font-size: 36px; }
  .hero p { margin-top: 16px; font-size: 16px; }
  .actions { margin-top: 28px; }
  .button { flex: 1 1 100%; justify-content: space-between; text-shadow: none; }
  main { padding: 40px 0 64px; }
  .groups { gap: 40px; }
  .group h2 { margin-bottom: 14px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .cards > .tool:last-child:nth-child(odd) .shot { aspect-ratio: 2 / 1; }
  /* The other links become compact rows, the icon beside the wording. */
  .card:not(.tool) { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px 48px 16px 16px; }
  .card:not(.tool) .tile { grid-row: span 2; }
  .card:not(.tool) h3 { margin: 0; font-size: 16px; }
  .card:not(.tool) p { grid-column: 2; margin-top: 2px; }
  .card:not(.tool) .arrow { top: 50%; right: 16px; margin-top: -9px; }
  .card.soon:not(.tool) { padding-right: 16px; }
  .card:not(.tool) .badge { position: static; grid-column: 2; justify-self: start; margin-top: 10px; }
  .tool .body { padding: 34px 18px 18px; }
  .tool .tile { left: 18px; }
  .tool .arrow { right: 18px; }
  .site-footer .wrap { padding-top: 28px; padding-bottom: 24px; }
  .site-footer .team { display: block; min-width: 0; font-size: 13px; opacity: .8; }
}
