@font-face {
  font-family: "Madefor Text";
  src: url("madefor-text.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Madefor Text Medium";
  src: url("madefor-text.woff2") format("woff2");
  font-style: normal;
  font-weight: 530;
  font-display: swap;
}

:root {
  --page-color: #fff;
  --header-color: rgb(246 246 246 / 92%);
  --footer-color: #f6f6f6;
  --ink: #1d1d1f;
  --muted: #808080;
  --green: #0fc118;
  --content-width: 980px;
  --font-text: "Madefor Text", Helvetica, Arial, sans-serif;
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--page-color);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid #166dc2;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  color: inherit;
  font: inherit;
  background: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
}

.site-header::before, .site-header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

.site-header::before { transition: background-color .3s ease; }
.site-header::after { background: var(--header-color); transition: opacity .3s ease; }

@media (min-width: 768px) {
  .site-header.header-scrolled::before { background: rgb(255 255 255 / 85%); }
  .site-header.header-scrolled::after { opacity: 0; }
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  margin-inline: auto;
  width: min(100%, max(calc(100% - 160px), var(--content-width)));
  height: 54px;
  padding-inline-start: 82px;
}

.brand { width: 104px; height: auto; }
.menu-button, .mobile-menu { display: none; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 1000px;
  padding: 46px 16px 48px;
  text-align: center;
}

.hero h1, .kickstarter {
  font-family: "Madefor Text Medium", var(--font-text);
  font-weight: 530;
}

.hero h1 {
  font-size: 3.75rem;
  line-height: 1.4;
  letter-spacing: -.04em;
}

.hero-description {
  margin-top: 13px;
  color: var(--muted);
  font-size: 1.625rem;
  line-height: 1.5;
}

.product-image {
  width: 600px;
  max-width: 100%;
  margin-top: 13px;
}

.product-image img { width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .home-motion .product-image:not(.product-shown) { opacity: 0; }

  .home-motion .product-image.product-shown {
    animation: product-enter 1200ms 1ms cubic-bezier(.445, .05, .55, .95) backwards;
  }
}

@keyframes product-enter {
  from { opacity: 0; transform: translateY(var(--product-enter-distance, 60px)); }
  to { opacity: 1; transform: translateY(0); }
}

.kickstarter {
  display: inline-grid;
  place-items: center;
  min-width: 210px;
  min-height: 45px;
  margin-top: 31px;
  padding-inline: 12px;
  border-radius: 60px;
  background: var(--green);
  color: white;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s ease;
}

.kickstarter:hover { background: #34da3c; }

.site-footer {
  min-height: 120px;
  padding: 26px 16px 28px;
  background: var(--footer-color);
  color: #707070;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 130px) minmax(0, 130px) minmax(0, 210px) minmax(0, 210px);
  justify-content: space-between;
  gap: 12px;
  max-width: var(--content-width);
  margin-inline: auto;
  font-size: .875rem;
  line-height: 25px;
  text-align: center;
}

.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

.copyright {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.legal {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
  padding: 22px 0 28px;
  color: black;
  overflow-wrap: anywhere;
  line-height: 2;
}

.legal-mark { width: 80px; height: auto; margin-inline: auto; }

.legal h1 {
  font-family: var(--font-text);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.legal h2, .legal h3 { font-weight: 400; }
.legal h2 { font-size: 1.375rem; }
.legal h3 { font-size: 1.25rem; }
.legal ul { margin: 0; padding-inline-start: 1.8em; }
.legal .indented { margin-inline-start: 2.5em; }
.legal .paragraph-gap { block-size: 2em; }

.legal-privacy {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.8;
}

.legal-privacy h2:first-of-type { font-family: var(--font-text); }
.legal-privacy p, .legal-privacy li { line-height: 1.8625; }
.legal-privacy .paragraph-gap { block-size: 1.8625em; }

@media (max-width: 767px) {
  :root { --mobile-unit: clamp(.875px, .3125vw, 1.344px); }

  .site-header { transition: transform .2s ease; }
  .site-header.header-hidden { transform: translateY(-100%); transition-timing-function: ease-in; }
  .site-header.header-hidden:has(.menu-button:focus-visible) { transform: none; }

  .header-inner {
    justify-content: center;
    width: 100%;
    height: calc(54 * var(--mobile-unit));
    padding-inline-start: 0;
  }

  .brand {
    align-self: flex-start;
    width: calc(80 * var(--mobile-unit));
    margin-block-start: calc(16 * var(--mobile-unit));
  }

  .menu-button {
    position: absolute;
    z-index: 2;
    top: calc(26 * var(--mobile-unit));
    right: calc(30 * var(--mobile-unit) - 22px);
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: black;
    cursor: pointer;
  }

  .menu-button[hidden] { display: none; }

  .menu-button::before, .menu-button::after {
    position: absolute;
    top: calc(50% - 1px + var(--bar-offset));
    left: 50%;
    width: calc(22 * var(--mobile-unit));
    height: 2px;
    translate: -50% 0;
    background: currentColor;
    content: "";
    transition: transform .2s cubic-bezier(.25, .46, .45, .94), top .2s cubic-bezier(.3, 1.4, .7, 1) .2s;
  }

  .menu-button::before { --bar-offset: calc(-5 * var(--mobile-unit)); }
  .menu-button::after { --bar-offset: calc(5 * var(--mobile-unit)); }

  .mobile-menu {
    position: fixed;
    z-index: 1;
    display: block;
    inset: 0;
    background: white;
    opacity: 0;
    transform: translateY(calc(-50 * var(--mobile-unit)));
    visibility: hidden;
    transition: opacity .5s cubic-bezier(.645, .045, .355, 1),
      transform .5s cubic-bezier(.455, .03, .515, .955), visibility .5s;
  }

  .menu-open { overflow: hidden; }
  .menu-open .mobile-menu { opacity: 1; transform: translateY(0); visibility: visible; }
  .menu-open .menu-button::before, .menu-open .menu-button::after {
    --bar-offset: 0px;
    transition-delay: .2s, 0s;
  }
  .menu-open .menu-button::before { transform: rotate(45deg); }
  .menu-open .menu-button::after { transform: rotate(-45deg); }

  .hero {
    min-height: calc(500 * var(--mobile-unit));
    padding: calc(26 * var(--mobile-unit)) 0 calc(32 * var(--mobile-unit));
  }

  .hero h1 { font-size: calc(28 * var(--mobile-unit)); }

  .hero-description {
    margin-top: calc(11 * var(--mobile-unit));
    padding-inline: 8px;
    font-size: calc(16 * var(--mobile-unit));
  }

  .product-image {
    --product-enter-distance: calc(60 * var(--mobile-unit));
    width: calc(310 * var(--mobile-unit));
    max-width: calc(100% - 10px);
    margin-top: calc(15 * var(--mobile-unit));
  }

  .kickstarter {
    min-width: calc(160 * var(--mobile-unit));
    min-height: calc(36 * var(--mobile-unit));
    margin-top: calc(26 * var(--mobile-unit));
    font-family: var(--font-text);
    font-size: calc(14 * var(--mobile-unit));
    font-weight: 400;
  }

  .site-footer {
    min-height: calc(150 * var(--mobile-unit));
    padding-top: calc(10 * var(--mobile-unit));
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: calc(13 * var(--mobile-unit));
    line-height: calc(26 * var(--mobile-unit));
  }

  .legal {
    width: min(calc(100% - 40 * var(--mobile-unit)), 620px);
    padding-top: calc(20 * var(--mobile-unit));
    font-size: max(1rem, calc(14 * var(--mobile-unit)));
  }

  .legal-mark {
    width: calc(60 * var(--mobile-unit));
    margin-bottom: calc(10 * var(--mobile-unit));
  }

  .legal h1, .legal h2 { font-size: calc(19 * var(--mobile-unit)); }
  .legal h3 { font-size: calc(17 * var(--mobile-unit)); }
}
