@font-face {
  font-family: Inter;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src:
    url(/assets/fonts/Inter-roman.var.woff2) format("woff2-variations"),
    url(/assets/fonts/Inter-roman.var.woff2) format("woff2");
}

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

html { -webkit-text-size-adjust: 100%; }

body, h1, p, ul { margin: 0; }

body {
  background: #F93706;
  color: #000;
  font-family: Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen-Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: inherit; }
svg { display: block; }
ul { padding: 0; list-style: none; }
button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

[hidden] { display: none !important; }
/* An empty string (ja footer prefix) must not leave an empty flex item behind. */
[data-i18n]:empty { display: none; }

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #F93706;
  color: #000;
}

/* Language switcher */

.page-header { position: relative; }

.page-header-actions {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 1rem;
}

.lang-switcher { position: relative; }

.lang-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.375rem 0.25rem 0.375rem 0.5rem;
  background: #fff;
  color: #000;
  font: 13px/1.3 "Fira Mono", Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  white-space: nowrap;
}

.lang-button:hover { opacity: 0.8; }

.lang-button:focus-visible,
.lang-menu button:focus-visible,
.card a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 50;
  min-width: 14rem;
  border: 1px solid #E7E7E7;
  background: #fff;
  color: #000;
}

.lang-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 13px;
  text-align: left;
}

.lang-menu button:hover,
.lang-menu button:focus { background: #F6F6F6; }

.lang-menu button[aria-current] {
  background: #F93706;
  color: #fff;
}

.lang-menu button:focus-visible { outline-offset: -2px; }

/* Hero */

.hero-row {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.hero-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 1178px;
  margin: 0 1rem;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
  transform: translateX(calc(-50% - 16px));
  pointer-events: none;
}

.hero-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-logo svg {
  position: relative;
  width: 100%;
  max-width: 1380px;
  height: auto;
  color: #000;
}

.hero-dither::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top center;
  background-image: url('/assets/img/dots-450.png');
  width: 450px;
  height: 438px;
}

@media (min-width: 450px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-900.png');
    width: 900px;
    height: 360px;
  }
}

@media (min-width: 900px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-1600.png');
    width: 1600px;
    height: 500px;
  }
}

@media (min-width: 1600px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-1920.png');
    width: 1920px;
    height: 360px;
  }
}

@media (min-width: 1920px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-2560.png');
    width: 2560px;
    height: 456px;
  }
}

@media (min-width: 2560px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-3000.png');
    width: 3000px;
    height: 520px;
  }
}

@media (min-width: 3000px) {
  .hero-dither::before {
    background-image: url('/assets/img/dots-3840.png');
    width: 3840px;
    height: 620px;
  }
}

.hero-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1178px;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .hero-body { padding: 5rem 3rem; }
}

@media (min-width: 1280px) {
  .hero-body { padding-top: 7rem; padding-bottom: 7rem; }
}

/* Card */

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 42rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-align: center;
}

@media (min-width: 640px) {
  .card { padding: 3.5rem 3rem; }
}

.card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 640px) {
  .card h1 { font-size: 1.875rem; }
}

.card p {
  font-size: 1.125rem;
  line-height: 1.5556;
  text-wrap: balance;
}

.card a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card a:hover { text-decoration: none; }

/* Footer */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #000;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.4286;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.75rem 2rem;
}

@media (min-width: 1280px) {
  .footer-top { padding-right: 2.5rem; padding-left: 2.5rem; }
}

@media (max-width: 520px) {
  .footer-top { padding-right: 1rem; padding-left: 1rem; }
}

@media (max-width: 500px) {
  .footer-top { flex-direction: column; }
}

.footer-exploration {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-ai { text-align: center; }

.footer-learn-more { border-bottom: 1px solid #000; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
}

.footer-bottom p { font-size: 13px; }

.footer-bottom a:focus-visible { outline-color: #fff; }

.footer-legal { text-align: center; }

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
  .footer-legal { text-align: right; }
}

@media (min-width: 1280px) {
  .footer-bottom { padding-right: 2.5rem; padding-left: 2.5rem; }
}
