@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/DMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/DMSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/DMSans-Bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --background: oklch(13.26% 0.0064 244.3);
  --background-start: oklch(9.5% 0.006 285);
  --background-end: oklch(19.77% 0.0042 308.2229);
  --surface: oklch(18.5% 0.0081 305.6115);
  --primary: oklch(94.7% 0.0083 307.55);
  --secondary: oklch(67.5% 0.014 306);
  --accent: oklch(75.8% 0.112 291.4);
  --on-primary: oklch(13.26% 0.0064 244.3);
  --text: oklch(91.17% 0.0109 76.5944);
  --secondary-text: oklch(68% 0.018 312);
  --tertiary-text: oklch(50% 0.011 308);
  --divider: oklch(91.17% 0.0109 76.5944 / 0.12);
  --heading-group-spacing: 21px;
  --content-max: 1240px;
  --reading-max: 760px;
  --pad-x: clamp(20px, 6.4vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(180deg, var(--background-start) 0%, var(--background) 48%, var(--background-end) 100%),
    var(--background);
  color: var(--text);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.34;
  overflow-x: hidden;
}

a,
button {
  font: inherit;
}

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

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.screen {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.welcome-screen {
  display: grid;
  align-items: center;
  min-height: 0;
  padding-top: clamp(40px, 10vh, 96px);
  padding-bottom: clamp(40px, 10vh, 96px);
}

.welcome-heading {
  align-self: center;
  display: grid;
  gap: var(--heading-group-spacing);
  text-align: center;
}

.product-title {
  position: relative;
  display: inline-block;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--primary);
  font-size: clamp(52px, 10vw, 136px);
  font-weight: 700;
  line-height: 1.06;
}

.title-word {
  display: inline-block;
}

.title-mark {
  position: absolute;
  top: 0.15em;
  left: calc(100% + 0.08em);
  color: var(--secondary-text);
  font-size: 0.32em;
  line-height: 1;
}

.product-promise {
  margin: 0;
  color: var(--secondary-text);
  font-size: 16px;
  line-height: 1.32;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 24px;
  color: var(--tertiary-text);
  font-size: 13px;
  line-height: 1.28;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--secondary-text);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.copyright {
  color: var(--tertiary-text);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
  border-color: var(--accent);
  outline: none;
}

.not-found-screen {
  display: grid;
  place-items: center;
  min-height: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.not-found {
  display: grid;
  justify-self: center;
  gap: var(--heading-group-spacing);
  width: 100%;
  max-width: var(--reading-max);
  text-align: center;
}

.not-found h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(52px, 10vw, 112px);
  line-height: 1.06;
}

.not-found p {
  margin: 0;
  color: var(--secondary-text);
}

@media (max-width: 799px) {
  .page {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-rows: auto auto;
  }

  .welcome-screen {
    align-items: start;
    min-height: auto;
    padding-top: clamp(64px, 16svh, 128px);
    padding-bottom: 28px;
  }

  .welcome-heading {
    align-self: start;
  }

  .product-title {
    width: auto;
    max-width: calc(100vw - 48px);
    font-size: clamp(42px, 15vw, 64px);
  }

  .title-mark {
    position: static;
    display: inline-block;
    margin-left: 0.08em;
    vertical-align: super;
    font-size: 0.28em;
  }

  .site-footer {
    text-align: center;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .footer-links {
    max-width: 340px;
    margin-inline: auto;
  }

  .copyright {
    flex-basis: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer-links {
    gap: 9px 13px;
  }
}

@media (max-width: 360px) {
  .product-title {
    font-size: 39px;
  }
}