:root {
  --md-sys-color-primary: #0f7a72;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #9cf1e6;
  --md-sys-color-on-primary-container: #00201d;
  --md-sys-color-secondary: #4a635f;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #cce8e3;
  --md-sys-color-on-secondary-container: #051f1c;
  --md-sys-color-surface: #f4fbf9;
  --md-sys-color-on-surface: #161d1c;
  --md-sys-color-on-surface-variant: #3d4947;
  --md-sys-color-outline: #6d7a77;
  --md-sys-color-outline-variant: #bcc9c6;
  --md-sys-color-surface-container: #e7f1ef;
  --md-sys-color-surface-container-low: #eef6f4;
  --md-sys-color-surface-container-high: #e1ece9;
  --md-sys-typescale-body-font: "Roboto Flex", sans-serif;
  --md-ref-typeface-plain: "Roboto Flex", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--md-sys-typescale-body-font);
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
}

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

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9em;
}

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: var(--md-sys-color-surface-container);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.top-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

main {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
  display: grid;
  gap: 48px;
}

.hero {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.hero h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.sub,
md-outlined-card p {
  margin: 0;
  color: var(--md-sys-color-on-surface-variant);
}

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

.mark {
  width: 72px;
  height: 72px;
  color: var(--md-sys-color-primary);
}

.mark circle {
  fill: none;
  stroke: currentColor;
}

.mark .core {
  fill: currentColor;
  stroke: none;
}

.get-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

md-outlined-card {
  padding: 24px;
  display: grid;
  gap: 8px;
}

md-icon {
  --md-icon-font: "Material Symbols Outlined";
  font-family: "Material Symbols Outlined";
}

@media (max-width: 599px) {
  .top-nav {
    display: none;
  }

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

  main {
    width: min(880px, calc(100% - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
