/* teamCato coming-soon page. Palette from brand/README.md. */

@font-face { font-family: "Newsreader"; font-weight: 400; font-display: swap; src: url("assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-display: swap; src: url("assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  --deep: #0F2138;
  --blue-gray: #2F577A;
  --soft-blue: #6E8FA3;
  --sand: #E9B76D;
  --light-sand: #F4E2C7;
  --bg: #FBF8F1;
  --line: rgba(15, 33, 56, .12);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--deep); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-gray); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-gray); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(47, 87, 122, .2); }

.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }

header { padding-block: 28px; }
header .logo { display: inline-block; }

main { flex: 1; display: flex; align-items: center; padding-block: 24px 56px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { font-size: .76rem; line-height: 1.2; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--soft-blue); margin-bottom: 16px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.06; }
.lead { font-size: 1.12rem; color: var(--blue-gray); margin-top: 22px; max-width: 30em; }
.contact { margin-top: 28px; }
.contact a { font-weight: 500; }

.art { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(15, 33, 56, .34); background: var(--light-sand); }

footer { border-top: 1px solid var(--line); padding-block: 22px; font-size: .88rem; color: var(--soft-blue); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--soft-blue); text-decoration: none; }
footer a:hover { color: var(--deep); text-decoration: underline; }

/* Legal pages */
.legal { max-width: 40em; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 6px; }
.legal p + p { margin-top: 10px; }
.legal .back { display: inline-block; margin-top: 40px; }
main.text { align-items: flex-start; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .art { order: -1; border-radius: 18px; }
}
