/* Systimata Corp. — under-construction page
   Colors, type and spacing follow the Corporate Design Guidelines. */

/* ---------- Brand fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}

/* ---------- Brand tokens ---------- */
:root {
  --blue: #003384;      /* Systimata Blue */
  --blue-80: #335C9D;   /* hover state */
  --white: #FFFFFF;
  --ink: #1D2433;       /* body text */
  --slate: #5F6B7A;     /* secondary text */
  --mist: #E3E7EE;      /* lines */
  --paper: #F4F6F9;     /* backgrounds */
  --amber: #F2A900;     /* accent, used sparingly */

  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-text: "Inter", Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/26px var(--font-text);
  -webkit-font-smoothing: antialiased;
}

p,
h1,
h2 {
  margin: 0;
}

/* ---------- Layout: blue brand panel + content ---------- */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(320px, 5fr) 7fr;
}

.brand-panel {
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}

.brand-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 64px clamp(24px, 8vw, 128px) 32px;
}

.content-inner {
  margin: auto 0;          /* vertically centred, footer stays at the bottom */
  max-width: 520px;
}

/* ---------- Text ---------- */
.status,
.label {
  font: 600 12px/16px var(--font-text);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.status::before {          /* small square accent, echoing the logo box */
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
}

h1 {
  font: 800 40px/48px var(--font-head);
  color: var(--blue);
  margin-bottom: 16px;
}

.intro {
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--mist);
}

.contact .label {
  margin-bottom: 16px;
}

.button {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font: 600 16px/24px var(--font-text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--blue-80);
}

.button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 48px;
  font-size: 13px;
  line-height: 20px;
  color: var(--slate);
}

/* ---------- Phones and narrow tablets ---------- */
@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .brand-panel {
    padding: 48px 24px;
  }

  .brand-logo {
    width: 200px;
  }

  .content {
    padding: 40px 24px 24px;
  }

  .content-inner {
    margin: 0 0 auto;      /* start right under the header; footer stays at the bottom */
  }

  h1 {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
