@font-face {
  font-family: PlayfairDisplay;
  src: url('/fonts/PlayfairDisplay-Regular.woff2');
}

@font-face {
  font-family: VietnamPro;
  src: url('/fonts/BeVietnamPro-Regular.woff2');
}

@font-face {
  font-family: VietnamPro;
  src: url('/fonts/BeVietnamPro-Bold.woff2');
  font-weight: 700;
}

:root {
  --spacing-unit: 0.5rem;
  --radius: 8px;

  --shadow: 0 16px 32px -4px rgba(12, 12, 13, 0.1),
    0 4px 4px -4px rgba(12, 12, 13, 0.05);

  --heading-font-family: PlayfairDisplay sans-serif;
  --body-font-family: VietnamPro, sans-serif;

  --color-white: #ffffff;
  --color-athens-gray: #f6f6f7;
  --color-mercury: #e5e5e5;
  --color-dusty-gray: #949494;
  --color-emperor: #4f4f4f;
  --color-shark: #2a2a2e;
  --color-black: #000000;

  --color-dodger-blue: #a87dff;
  --color-cerulean: #865ae3;
  --color-allports: #6945ba;
  --color-astronaut-blue: #4c2f90;

  --color-conifer: #9dd249;
  --color-atlantis: #7fb82f;

  --color-alizarin-crimson: #d81c23;

  --color-gold: #efbf04;

  --heading-text-color: var(--color-shark);
  --body-text-color: var(--color-emperor);

  --button-primary: var(--color-conifer);
  --button-primary-hover: var(--color-atlantis);
  --button-secondary-dark: var(--color-shark);
  --button-secondary-light: var(--color-white);
}

.is-astronaut-blue,
.is-dark .hero {
  --heading-text-color: var(--color-white);
  --body-text-color: var(--color-mercury);
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.heading-1 {
  font-family: var(--heading-font-family);
  font-size: clamp(
    56px,
    calc(2rem + (72 - 56) * ((100vw - 375px) / (1512 - 375))),
    72px
  );
  line-height: 1.11;
  font-weight: normal;
  color: var(--heading-text-color);
}

.heading-2 {
  font-family: var(--heading-font-family);
  font-size: clamp(
    40px,
    calc(1.5rem + (56 - 40) * ((100vw - 375px) / (1512 - 375))),
    56px
  );
  line-height: 1.14;
  font-weight: normal;
  color: var(--heading-text-color);
}

.text-block h3,
.heading-3 {
  font-family: var(--heading-font-family);
  font-size: clamp(
    32px,
    calc(1.5rem + (40 - 32) * ((100vw - 375px) / (1512 - 375))),
    40px
  );
  line-height: 1.2;
  font-weight: normal;
  color: var(--heading-text-color);
}

.text-block h4,
.heading-4 {
  font-family: var(--heading-font-family);
  font-size: 32px;
  line-height: 1.25;
  font-weight: normal;
  color: var(--heading-text-color);
}

.text-block h5,
.heading-5 {
  font-family: var(--heading-font-family);
  font-size: 24px;
  line-height: 1.33;
  font-weight: normal;
  color: var(--heading-text-color);
}

.body-text-l {
  font-size: 18px;
  line-height: 1.33;
  max-width: 999px;
}

.body-text {
  font-size: 16px;
  line-height: 1.78;
  max-width: 999px;
}

.body-text-s {
  font-size: 14px;
  line-height: 1.5;
  max-width: 999px;
}

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

html,
body {
  background-color: var(--color-white);
  font-family: var(--body-font-family);
  font-weight: 500;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-size: 16px;
  line-height: 1.78;
}

a {
  color: var(--color-dodger-blue);
}
@media (hover: hover) {
  a:hover {
    text-decoration: none;
  }
}

strong,
b {
  font-weight: 700;
}

i {
  font-style: italic;
}

p {
  color: var(--body-text-color);
  margin-bottom: calc(var(--spacing-unit) * 3);
  max-width: 999px;
}
p:last-child {
  margin-bottom: 0;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 3);
  max-width: 999px;
  margin: 0 auto;

  ul,
  ol {
    padding-left: calc(var(--spacing-unit) * 2.5);

    li {
      list-style: square;
      color: var(--color-dodger-blue);
    }
  }

  ol li {
    list-style: decimal;
    font-family: var(--heading-font-family);

    p {
      font-family: var(--body-font-family);
    }
  }
}

.lead {
  font-size: clamp(
    14px,
    calc(2rem + (16 - 14) * ((100vw - 375px) / (1512 - 375))),
    16px
  );
  line-height: 1.78;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--color-dodger-blue);
}

.read-more {
  display: flex;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
  gap: var(--spacing-unit);
  color: var(--color-allports);
  text-decoration: none;

  .icon {
    height: 24px;
    fill: currentColor;
    transition: transform 0.2s;
  }

  @media (hover: hover) {
    &:hover .icon {
      transform: translateX(var(--spacing-unit));
    }
  }
}
