/* MongTee LLC — company site styles */

:root {
  --ink: #0e0f13;
  --ink-2: #2a2d34;
  --muted: #5b6068;
  --muted-2: #82878f;
  --line: #e7e8ec;
  --line-2: #f0f1f4;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --accent: #4b4ef5;
  --accent-ink: #3a3dd6;
  --accent-soft: #ededfe;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 650;
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  color: var(--ink);
  font-weight: 620;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

section {
  padding: 72px 0;
}

section.tight {
  padding: 48px 0;
}

section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.section-head {
  max-width: 64ch;
  margin-bottom: 40px;
}

.section-head p {
  margin-bottom: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 660;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent-ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-ink);
  font-weight: 620;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-ink);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cfd1d8;
  color: var(--ink);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

.hero h1 {
  max-width: 24ch;
}

.hero .lede {
  font-size: 1.18rem;
  margin-top: 4px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 56px;
  align-items: center;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px 20px;
  box-shadow: 0 24px 48px -38px rgba(14, 15, 19, 0.5);
}

.hero-panel h2 {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  font-weight: 650;
}

.hero-panel dl {
  margin: 0;
}

.fact {
  padding: 11px 0;
  border-top: 1px solid var(--line-2);
}

.fact:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.fact dt {
  font-size: 0.71rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
  margin-bottom: 2px;
}

.fact dd {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink);
  font-weight: 550;
}

.panel-note {
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.product:hover {
  border-color: #d3d5dd;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -18px rgba(14, 15, 19, 0.35);
  text-decoration: none;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-name {
  font-size: 1.06rem;
  font-weight: 640;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.tag {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.tag-service {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: #dcdcfb;
}

.product p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  flex: 1;
}

.product-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 56px 0 40px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
  font-weight: 650;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: var(--ink-2);
}

.footer-grid a:hover {
  color: var(--accent-ink);
}

.footer-legal {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- prose pages ---------- */

.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

.page-head h1 {
  margin-bottom: 12px;
}

.page-head .lede {
  margin-bottom: 0;
}

.prose h2 {
  margin-top: 2.4em;
  font-size: 1.3rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose ol {
  padding-left: 1.3em;
}

.prose ol li {
  margin-bottom: 0.6em;
}

.meta-line {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-bottom: 2.2em;
}

.callout {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 0 0 1.6em;
  font-size: 0.95rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-block {
  margin-bottom: 26px;
}

.contact-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
  font-weight: 650;
}

.contact-block a {
  font-size: 1.02rem;
  font-weight: 550;
}

.contact-block address {
  font-style: normal;
  color: var(--ink-2);
  line-height: 1.7;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin: 0;
}

/* ---------- 404 ---------- */

.center-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-3,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 52px 0;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .grid-3,
  .grid-2,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.btn) {
    font-size: 0.86rem;
  }

  .site-nav .btn {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 8px 20px;
  }
}
