/* ==========================================================================
   Scrii.ai — Maintenance / Coming soon page
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-ink: #1e1b17;
  --color-muted: #b5afa3;
  --color-muted-soft: rgba(181, 175, 163, 0.5);
  --color-border: #f5f5f5;
  --color-icon-bg: #fbf7ef;

  --font-sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif-italic: "Newsreader", Georgia, "Times New Roman", serif;

  --max-content-width: 880px;
  --page-max-width: 1440px;
  --page-gutter: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction:row;
  width: 100%;
  height: 100vh;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding:  24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-link {
  display: flex;
  line-height: 0;
}

.icon {
  width: 20px;
  height: 20px;
}

/* ---------------------------------- Layout ---------------------------------- */

.maintenance-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
  padding: 0 0;
  min-height: fit-content;
  overflow: hidden;
}

.content-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 0 0 auto;
  width: 100%;
  max-width: 480px;
  padding: 96px 24px 64px;
  position: relative;
  z-index: 2;
}

.icon-container {
  background: var(--color-icon-bg);
  border-radius: 4px;
  padding: 15px;
  display: inline-flex;
}

.glyph {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-container h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 64px;
  line-height: normal;
  letter-spacing: -0.016px;
  color: var(--color-ink);
}

.pronunciation {
  margin: 0;
  display: flex;
  gap: 8px;
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.006px;
  color: var(--color-muted);
}

.description-container {
  border-top: 1px solid var(--color-muted);
  padding: 32px 0 16px;
  width: 100%;
}

.description-container p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.004px;
  color: var(--color-ink);
}

.description-container strong {
  font-weight: 700;
}

/* -------------------------- Decorative filler text -------------------------- */

.filler-text {
  min-width: 0;
  max-width: 40vw;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.filler-text p {
  margin: 0;
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 24px;
  line-height: normal;
  letter-spacing: -0.006px;
  color: var(--color-muted-soft);
}

/* ------------------------------ Responsiveness ------------------------------ */

@media (max-width: 900px) {
  body {
    flex-direction: column;
  }
  .filler-text {
    width: 100%;
    max-width: 100%;
  }

  .maintenance-page {
    gap: 0;
    padding: 0px var(--page-gutter);
    height: fit-content;
  }

  .content-card {
    height: 70vh;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 24px;
  }

  .header-inner {
    padding: 16px 0;
  }

  .brand-logo {
    height: 26px;
  }

  .social-icons {
    gap: 16px;
  }

  .content-card {
    padding: 48px 0 40px;
    gap: 20px;
  }

  .filler-text {
    display: none;
  }

  .title-container h1 {
    font-size: 40px;
  }

  .pronunciation {
    font-size: 18px;
  }

  .description-container {
    padding: 24px 0 16px;
  }
}

@media (max-width: 380px) {
  .title-container h1 {
    font-size: 32px;
  }
}
