:root {
  color-scheme: light;
  --page: #ffffff;
  --text: #111111;
  --muted: #6e6e73;
  --line: #d8d8de;
  --line-strong: #b9b9c0;
  --surface: #fbfbfd;
  --surface-hover: #f5f5f7;
  --accent: #0066cc;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
}

a {
  color: inherit;
  text-decoration: none;
}

.homepage {
  width: min(100% - 40px, 940px);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 96px 0 56px;
}

.intro {
  display: grid;
  justify-items: center;
  text-align: center;
}

.brand-mark {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

h1 {
  margin: 28px 0 0;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 400;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  margin-top: 72px;
}

.product-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 22px;
  align-items: start;
  min-height: 270px;
  height: 100%;
  padding: 32px;
  border: 1px solid #d8d8de;
  border-radius: 8px;
  background: #fbfbfd;

  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

a.product-card:hover,
a.product-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

a.product-card:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.28);
  outline-offset: 3px;
}

.product-icon {
  display: block;
  width: 56px;
  height: 56px;
  grid-column: 1;
  grid-row: 1;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.product-content {
  display: block;
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.product-name {
  display: block;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 650;
}

.product-description {
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.product-link {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-top: 20px;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
}

.site-footer {
  width: min(100% - 40px, 940px);
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 1.2rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.site-footer a:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.28);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .homepage {
    width: min(100% - 28px, 940px);
    min-height: calc(100vh - 104px);
    padding: 64px 0 42px;
  }

  .brand-mark {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

  h1 {
    margin-top: 24px;
    font-size: 3rem;
  }

  .intro-copy {
    margin-top: 18px;
    font-size: 1.15rem;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 50px;
  }

  .product-card {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 18px;
    min-height: 254px;
    padding: 24px;
  }

  .product-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .site-footer {
    width: min(100% - 28px, 940px);
    padding-bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*-------------------------*/
/*     START OF MY CSS     */

.aboutmt-section {
  padding: 40px clamp(18px, 4vw, 56px) 64px;
}

.titlemt {
  margin-bottom: 20px; /* btm margin */
  font-size: 1.5rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aboutmt-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);

  /* card background, txt color */
  background: #fbfbfb;
  color: rgb(0, 7, 7);

  border: 1px solid #4b5563;
  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.aboutmt-body {
  margin: 0 0 1rem 0;
}

.aboutmt-heading {
  margin: 0 0 1.5rem 0;
}

.aboutmt-quote {
  margin: 2rem 0;
  padding-left: 2rem;
  font-size: 1.15rem;
  font-style: italic;
}

.aboutmtcopyright {
  margin-top: 2.5rem;
  text-align: center;

  /* copyright txt color */
  color: #e7e3e3;
}

/*      END OF MY CSS      */
/*-------------------------*/
