/* alltility.com. Tility Design Standard, Alltility scope (.app-all): navy actions, blue accents, no app color. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/Montserrat-latin.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/OpenSans-latin.woff2) format("woff2"); }

:root {
  --bg: #edeff2; --panel: #ffffff; --ink: #231f20; --text: #4d4d4d; --muted: #6b6b6b; --line: #e1e4e8;
  --navy: #232a52; --navy-300: #8f9ad0; --navy-500: #4a5694; --blue: #3d5199; --blue-soft: #eceff8;
  --ground: #1b2142; --shadow: 0 1px 3px rgba(35, 31, 32, .08), 0 1px 2px rgba(35, 31, 32, .04);
  --head: Montserrat, Inter, system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #2a2c31; --panel: #34373d; --ink: #f1f2f4; --text: #d0d2d6; --muted: #a9acb2; --line: #42454c;
    --blue: #a3b3ee; --blue-soft: #353a52; --shadow: none; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .btn, .links a, .section-title, .badge { font-family: var(--head); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.01em; margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { display: flex; align-items: center; gap: 1rem; height: 64px; padding: 0 clamp(16px, 4vw, 40px);
  background: var(--panel); border-bottom: 1px solid var(--line); }
.lockup { display: flex; align-items: center; }
.lockup img { height: 40px; width: auto; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) { .on-light { display: none; } .on-dark { display: block; } }
.links { margin-left: auto; display: flex; gap: .4rem; }
.links a { padding: .5rem .8rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--text); min-height: 40px; display: flex; align-items: center; }
.links a:hover { color: var(--ink); background: var(--bg); }

/* hero: the suite's navy ground */
.hero { text-align: center; color: #d6d9e6; padding: clamp(56px, 10vw, 104px) 16px clamp(56px, 9vw, 96px);
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1e2549 0%, var(--ground) 55%, #11152c 100%); }
.hero.full { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-mark { width: clamp(84px, 14vw, 112px); height: auto; display: block; margin: 0 auto 1.6rem; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; max-width: 16ch; margin: 0 auto; }
.lede { font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 34rem; margin: 1.1rem auto 2rem; }

/* buttons: navy on light, white on the navy hero */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.2rem; border-radius: 4px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.btn.big { min-height: 54px; padding: 0 1.8rem; font-size: 1rem; }
.hero .btn { background: #fff; color: var(--navy); }
.hero .btn:hover { background: #e6e9f5; }
.hero .btn:focus-visible { outline-color: #fff; }

/* apps */
main > section:not(.hero) { max-width: 1040px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.apps { padding-top: clamp(40px, 7vw, 72px) !important; }
.section-title { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.app { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; background: var(--panel); border-radius: 10px;
  box-shadow: var(--shadow); text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
a.app:hover { border-color: var(--line); transform: translateY(-2px); }
.app h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; }
.app h3 .badge { font-size: .66rem; }
.app.soon p { margin-bottom: 0; }
.app img { flex: none; width: 56px; height: 56px; }
.app h3 { font-size: 1.2rem; font-weight: 700; }
.app p { margin: .3rem 0 .7rem; }
.go { font-family: var(--head); font-weight: 600; font-size: .88rem; }
.crew .go { color: #c23c00; }
.sign .go { color: #1559d1; }
@media (prefers-color-scheme: dark) { .crew .go { color: #ff8a52; } .sign .go { color: #8bb4ff; } }

/* better together */
.together { padding-top: 1.1rem !important; padding-bottom: clamp(48px, 8vw, 88px) !important; }
.together .card { background: var(--panel); border-radius: 10px; box-shadow: var(--shadow); padding: 1.4rem; }
.together h2 { font-size: 1.2rem; margin: .7rem 0 .3rem; }
.together p { margin: 0; max-width: 44rem; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue);
  font-size: .7rem; font-weight: 700; letter-spacing: .01em; }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1.4rem clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: .88rem; }
.foot nav { margin-left: auto; display: flex; gap: 1rem; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
