@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght,MONO@0,300..800,1;1,300..800,1&display=swap");
:root {
  --bg: #f4f2ed;
  --fg: #141414;
  --accent: #d6402f;
  --accentLight: #d74fe9;
}
::selection {
  background-color: var(--accent);
  color: var(--bg);
}
* {
  font-family: "Google Sans Code", monospace;
  margin: 0;
  padding: 0;
}

.text-center {
  text-align: center;
}
html,
body {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  word-spacing: -20%;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  max-width: 100%;
}
a {
  text-decoration: none;
}
h1 {
  color: var(--fg);
}
#overlay {
  z-index: 100;
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.384);
  backdrop-filter: blur(1px);
  display: none;
}
nav {
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
}
#nav-header {
  padding: 10px;
  display: flex;
  align-items: center;
  border: 1px solid black;
  border-left: none;
  border-right: none;
  background-color: var(--bg);
}
#hamburger-menu {
  cursor: pointer;
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  border-radius: 0px;
  border: 1px solid var(--fg);
  padding: 5px;
  background-color: var(--accent);
  color: var(--bg);
  transition: 0.15s ease-in-out;
  i {
    font-size: 1.5rem;
  }
}
#hamburger-menu:active {
  transform: translateX(3.45px) translateY(3.45px);
  box-shadow: 0px 0px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
}
.nav-divider {
  height: 2rem;
  width: 0.1rem;
  background-color: var(--fg);
}
#nav-left {
  margin-left: 10px;
}
#nav-right {
  margin-left: auto;
}
#nav-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
#nav-phone-links {
  background-color: var(--bg);
  padding: 10px;
  display: none;
  gap: 1rem;
  flex-direction: column;
  border-bottom: 1px solid var(--fg);
  a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px;
    font-size: 1.2rem;
    box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
    border: 1px solid var(--fg);
    transition: 0.15s ease-in-out;
    .link-icon {
      margin-left: auto;
    }
  }
  a:active {
    transform: translateX(3.45px) translateY(3.45px);
    box-shadow: 0px 0px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  }
}

.button-link {
  text-align: center;
  border: 1px solid var(--fg);
  padding: 11.5px;
  transition: 0.15s ease-in-out;
  box-shadow: 0px 0px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1;
  i {
    line-height: 1;
  }
}
.button-link:hover {
  cursor: pointer;
  transform: translateX(-3.45px) translateY(-3.45px);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
}
.button-link:active {
  transform: translateX(0px) translateY(0px);
  box-shadow: 0px 0px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
}
.highlighted {
  color: var(--accent);
}
.underline {
  text-decoration: underline;
}
section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1265px;
  padding-top: 150px;
  padding-bottom: 150px;
}
hr {
  width: 80%;
  border: none;
  height: 14px;
  opacity: 0.15;
  background: var(--fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6 Q 10 0 20 6 T 40 6' stroke='black' fill='none' stroke-width='2'/%3E%3C/svg%3E")
    repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6 Q 10 0 20 6 T 40 6' stroke='black' fill='none' stroke-width='2'/%3E%3C/svg%3E")
    repeat-x;
}
#hero {
  padding-top: 345px;
  padding-bottom: 184px;
}
#hero-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
#hero-left,
#hero-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
#hero-left {
  gap: 1.035rem;
}
#hero-phrase {
  word-spacing: -20%;
  font-size: 3.45rem;
}
#hero-links {
  margin-top: 9.2px;
  display: flex;
  gap: 0.92rem;
}
#hero-badges {
  display: flex;
  align-items: end;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  gap: 1.15rem;
}
.hero-badge {
  background-color: var(--bg);
  border: 1px solid var(--fg);
  width: 460px;
  display: flex;
  gap: 0.92rem;
  padding: 11.5px;
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  i {
    color: var(--accent);
  }
  transition: 0.1s ease-in-out;
}
.hero-badge:hover {
  background-color: var(--accent);
  * {
    color: var(--bg);
  }
}
.hero-badge-icon {
  font-size: 1.725rem;
}
#editor-showcase {
  padding-bottom: 172.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.15rem;
  h1 {
    margin-bottom: 23px;
    width: 100%;
    font-size: 3.45rem;
  }
  p {
    width: 100%;
  }
}
#editor-container {
  overflow-anchor: none;
  border: 1px solid var(--fg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  width: 85%;
  height: 517.5px;
  display: flex;
  flex-direction: column;
  animation: themeCycle 12s ease-in-out infinite;
  overflow: hidden;
  contain: layout paint;
}
#editors {
  display: flex;
  border-bottom: 9.2px solid var(--theme-divider);
  height: 50%;
  animation: editorsHeight 5s ease-in-out infinite;
  flex-shrink: 0;
  overflow: hidden;
}
#editors .editor:nth-child(1) {
  border-right: 9.2px solid var(--theme-divider);
  animation: editorW1 10s ease-in-out infinite;
}
#editors .editor:nth-child(2) {
  border-right: 9.2px solid var(--theme-divider);
  animation: editorW2 10s ease-in-out infinite;
}
#editors .editor:nth-child(3) {
  animation: editorW3 10s ease-in-out infinite;
}
.editor {
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.editor header {
  padding: 3.45px;
  background-color: var(--theme-header-bg);
  color: var(--theme-text);
  i {
    color: var(--theme-accent);
  }
}
.editor-code {
  background-color: var(--theme-code-bg);
  color: var(--theme-text);
  padding: 3.45px;
  padding-left: 23px;
  height: 100%;
}
#editor-output {
  background-color: var(--bg);
  padding: 5.75px;
  color: var(--accent);
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}
.code-line-number {
  color: var(--theme-line);
}
.editor-purple {
  color: var(--theme-purple);
}
.editor-green {
  color: var(--theme-green);
}
.editor-dark-green {
  color: var(--theme-dgreen);
}
#editor-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 85%;
}
.editor-badge {
  background-color: var(--bg);
  gap: 0.805rem;
  padding: 11.5px;
  display: flex;
  align-items: center;
  border: 1px solid var(--fg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  i {
    color: var(--accent);
    font-size: 1.495rem;
  }
  transition: 0.1s ease-in-out;
}
.editor-badge:hover {
  background-color: var(--accent);
  color: var(--bg);
  i {
    color: var(--bg);
  }
}

#seb-file-generation {
  display: grid;
  grid-template-columns: 50% 50%;
}
#seb-features {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  align-items: center;
  justify-content: end;
  gap: 1.15rem;
}
.seb-feature {
  background-color: var(--bg);
  font-size: 1.495rem;
  padding: 11.5px;
  display: flex;
  align-items: center;
  border: 1px solid var(--fg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  gap: 0.92rem;
  height: 69px;
  i {
    color: var(--accent);
    font-size: 2.645rem;
  }
  transition: 0.1s ease-in-out;
}
.seb-feature:hover {
  background-color: var(--accent);
  color: var(--bg);
  i {
    color: var(--bg);
  }
}
#seb-explanation {
  h1 {
    font-size: 3.45rem;
    margin-bottom: 11.5px;
  }
  p {
    width: 70%;
  }
}
#how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.92rem;
  h1 {
    width: 100%;
  }
}
#instructions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.45rem;
}
.instruction {
  background-color: var(--bg);
  padding: 34.5px;
  border: 1px solid var(--fg);
  h1 {
    font-family: "Inter", sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px var(--fg);
    font-size: 3.45rem;
    margin-bottom: 0.7475rem;
  }
  transition: 0.15s ease-in-out;
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
}
.instruction:hover {
  background-color: var(--accent);
  * {
    color: var(--bg);
    -webkit-text-stroke: 0px var(--fg);
  }
}
#supported-languages {
  display: flex;
  flex-direction: column;
  h1 {
    margin-bottom: 23px;
    width: 80%;
  }
}
#supported-languages-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.495rem;
  width: 80%;
}
.language {
  background-color: var(--bg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  padding: 11.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--fg);
  i {
    color: var(--accent);
  }
  transition: 0.1s ease-in-out;
}
.language:hover {
  background-color: var(--accent);
  * {
    color: var(--bg);
  }
}
.language-name {
  padding: 11.5px;
}
.language-status {
  display: flex;
  justify-content: center;
  font-size: 2.3rem;
}
.language-icon {
  display: flex;
  justify-content: center;
  font-size: 4.025rem;
}

#about {
  display: flex;
  flex-direction: column;
  h1 {
    width: 100%;
  }
  p {
    font-size: 1.38rem;
  }
}

/* ---------------------------------------------------------------
   DOWNLOAD PAGE
   --------------------------------------------------------------- */

#download-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  h1 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
}
#download-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 560px;
}
#older-versions {
  margin-bottom: 20px;
}
.download-option {
  box-sizing: border-box;
  background-color: var(--bg);
  width: 100%;
  height: auto;
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
  padding: 24px 30px;
  border: 1px solid var(--fg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    i {
      font-size: 3rem;
    }
    p {
      font-size: 1.5rem;
    }
  }
  div {
    display: flex;
    .button-link {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-size: 1.5rem;
    }
  }
}

/* The SmartScreen note spans the whole row, under both platform cards */
.download-description {
  box-sizing: border-box;
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px solid var(--fg);
  box-shadow: 3.45px 3.45px 0px 0px color-mix(in srgb, var(--fg) 85%, black);
  background-color: var(--bg);
}
.note-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 14px;
  i {
    color: var(--accent);
    font-size: 1.6rem;
    flex-shrink: 0;
  }
  p {
    font-size: 1rem;
    line-height: 1.3;
  }
}
.smartscreen {
  border: 1px solid var(--fg);
  background: color-mix(in srgb, var(--fg) 6%, var(--bg));
  padding: 14px;
}
.smartscreen-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.smartscreen-text {
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.7;
  margin-bottom: 12px;
}
.smartscreen-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 8px;
  flex-wrap: wrap;
}
.step {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--fg);
}
.smartscreen-link {
  font-size: 0.8rem;
  text-decoration: underline;
  color: var(--accent);
}
.smartscreen-btn {
  font-size: 0.75rem;
  padding: 5px 12px;
  border: 1px solid var(--fg);
  background: var(--accent);
  color: var(--bg);
}
.smartscreen-btn.ghost {
  background: transparent;
  color: var(--fg);
  opacity: 0.45;
}
.note-footer {
  font-size: 0.7rem;
  line-height: 1.6;
  margin-top: 14px;
}

@media (max-width: 620px) {
  #download-options {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }
}

#support {
  flex: 1;
  flex-direction: column;
  > h1 {
    font-size: 4rem;
    margin-bottom: 5px;
  }
}
#support-options {
  margin-top: 20px;
  display: flex;
  gap: 0.8rem;
}
footer {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  border-top: 1px solid var(--fg);
  filter: brightness(0.95);
  height: 100px;
  width: 100%;
  hr {
    width: 75%;
  }
  margin-top: auto;
}
#footer-info {
  display: flex;
  align-items: center;
  width: 60%;
}
#footer-links {
  margin-left: auto;
  display: flex;
  gap: 1.15rem;
  a {
    color: var(--fg);
    filter: brightness(0.1);
    text-decoration: none;
  }
}
.show-phone {
  display: none;
}
