/* Arev Labs LLC website: the only stylesheet. Light theme only, no scripts. */

/* Fonts: latin subsets of Rubik and Onest, served from this site. */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/rubik-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/rubik-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/onest-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/onest-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: #faf6ec;
  background-image: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(181, 134, 47, 0.14), transparent 70%);
  background-repeat: no-repeat;
  background-size: 100% 640px;
}

/* Base sizes are for narrow screens (below 600px); the media query at the end widens them. */
body {
  box-sizing: content-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
  color: #241d0f;
  font-family: 'Onest', 'Noto Sans Armenian', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

h1,
h2,
.brand-name {
  font-family: 'Rubik', 'Noto Sans Armenian', system-ui, sans-serif;
}

h1 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
}

p {
  margin: 0 0 12px;
}

strong,
dt {
  font-weight: 500;
}

a {
  color: #8a6420;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #241d0f;
}

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #8a6420;
  border-radius: 4px;
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #b5862f;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #241d0f;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Sections */
.hero {
  padding: 40px 0 8px;
}

.lead {
  margin: 0;
  color: #5d5238;
  font-size: 18px;
  line-height: 28px;
}

main > section {
  margin-top: 48px;
}

main > h1 {
  margin-top: 40px;
}

.updated {
  color: #75663e;
}

.email,
address,
dd {
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
}

/* Company details card */
.card {
  margin: 0;
  padding: 4px 16px;
  background: #ffffff;
  border: 1px solid #ddd2b6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36, 29, 15, 0.08);
}

.card dt {
  padding-top: 12px;
  color: #5d5238;
  border-top: 1px solid #efe8d5;
}

.card dd {
  margin: 0;
  padding: 2px 0 12px;
}

.card dt:first-child {
  border-top: 0;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 24px 0 32px;
  color: #75663e;
  border-top: 1px solid #efe8d5;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 600px) {
  body {
    padding: 0 24px;
    font-size: 17px;
    line-height: 28px;
  }

  h1 {
    font-size: 44px;
    line-height: 52px;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 64px;
  }

  .lead {
    font-size: 20px;
    line-height: 32px;
  }

  main > section {
    margin-top: 64px;
  }

  main > h1 {
    margin-top: 64px;
  }

  .site-footer {
    margin-top: 64px;
  }

  .card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 24px;
    padding: 4px 24px;
  }

  .card dt,
  .card dd {
    padding: 12px 0;
    border-top: 1px solid #efe8d5;
  }

  .card dt:first-child,
  .card dt:first-child + dd {
    border-top: 0;
  }
}
