* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: auto !important;
  text-decoration: none;
}

html {
  min-height: 100%;
  position: relative;
  color: var(--c-darker);
  scroll-behavior: smooth !important
}

body {
  min-width: 100%;
  min-height: var(--full-height);
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* background-color: var(--c-lighter); */
  color: var(--c-darker);
  transition: 0.4s ease-in-out;
  background: var(--bk-color);
}

body .menu-bg {
  transition: 0.4s ease-in-out;
}

footer {
  align-self: flex-end;
  margin: 4rem var(--main-margin) 1.5rem var(--main-margin);
  padding: 0 var(--main-margin);
}

main {
  /* min-height: 100%; */
  background: inherit;
  padding: 0 var(--main-margin);
}

html {
  /* scroll-behavior: smooth !important; */
  scroll-padding-top: 11px;
}

figcaption {
  display: block !important;
  padding-top: 18px !important;
  text-align: center !important;
  max-width: 90%;
  align-self: center;
}


a,
a:hover,
a:active,
a:focus,
a:focus-within,
a:focus-visible,
a:visited {
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  display: block;
  text-decoration: none;
  cursor: pointer !;
  color: black;
}

a:hover {
    opacity: 50%;
    transition: var(--main-transition-fast);
}

a.btn.download:hover {
    opacity: 1;
    background: var(--red);
    color: var(--bk-color);
    transition: var(--main-transition-fast);
}

/* ============================================= */
/* DOWNLOAD MODAL */
/* ============================================= */

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.download-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.download-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.download-modal-content {
    position: relative;
    background: var(--bk-color);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid white;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.download-modal.active .download-modal-content {
  transform: translateY(0);
}

.download-modal-close {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 16px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.download-modal-close:hover {
  color: #000;
  background: none;
}

.download-modal-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.download-modal-content p {
  margin-bottom: 4rem !important;
  font-size: 0.95rem;
  padding-top: 6px;
}

.download-modal-content form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
}

.download-modal-content input[type="email"] {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-family);
  text-align: center;
  width: 100%;
}

.download-modal-content .btn.download {
  width: 100%;
  text-align: center;
  max-width: 20ch;
}

#btn-bottom {
  grid-column: 4 / 6;
  height: 4rem;
  font-size: 22px;
  text-align: center;
  border-radius: 30px;
  margin-bottom: 17rem;
}

.download-form-message {
    margin-top: 14px;
    font-size: 12px;
    min-height: 1.2em;
    font-family: var(--font-family);
}

.download-form-message.success {
  color: #2e7d32;
}

.download-form-message.error {
  color: #c62828;
}

.download-modal-content form.loading button {
  opacity: 0.6;
  pointer-events: none;
}

button {
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li,
ul dt,
ul dd,
dl li,
dl dt,
dl dd {
  margin: 0;
  display: block;
  height: fit-content;
}

table th,
table tr,
table td {
  text-align: left;
}

small {
  font-size: 60%;
}

strong {
  font-weight: 500;
}

address {
  font-style: normal;
}

figure {
  margin: 0;
  margin-block: 0;
  margin-inline: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

iframe {
  border: none;
  height: 100%;
}

#text a {
  display: inline;
}



/* ============================================= */
/* HEADER */
/* ============================================= */


/* ============================================= */
/* HOME */
/* ============================================= */

.figma-logo {
  position: absolute;
  width: 22px;
  right: 24px;
  top: 16px;
  margin-left: auto;
  z-index: 10;
}

.hero-section {
  position: relative;
  max-height: var(--full-height);
}

.hero-section .image-placeholder img {
  height: var(--full-height);
  object-fit: cover;
}

.hero-section .main-grid {
  position: absolute;
  top: 12px;
  left: 24px;
  right: 24px;
  bottom: 12px;
}

.hero-title {
  text-transform: uppercase;
}

.hero-title,
.punch-line {
  grid-column: span 4;
  max-width: 80%;
}

.hero-footer {
  top: unset !important;
  bottom: 1.5rem !important;
}

.anchor-menu {
  grid-column: 1 / 4;
  display: flex;
  gap: 3px;
  flex-direction: column;
}

.contact-email {
  grid-column: 5 / 7;
}

.feedback-email {
  grid-column: 7 / 9;
}

.contact-email,
.feedback-email {
  align-self: end;
  grid-row: 1;
  font-size: var(--t-medium);
  font-weight: var(--font-normal);
}

.hero-buttons {
  grid-column: 5 / 8;
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.hero-buttons a,
#btn-bottom {
  color: white;
}

.btn {
  padding: 6px 20px 8px 23px;
  border-radius: 14px;
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

button {
    cursor: pointer;
}

.figma-page {
  background: white;
  color: var(--c-darker);
}

.download {
  background: var(--c-darker);
  color: white;
}




/* ============================================= */
/* INTRO SECTION */
/* ============================================= */

.column {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 95%;
  padding-right: 1rem;
}

.beta {
  right: 0;
  bottom: 0;
}

.intro-footer {
  position: absolute;
  /* left: var(--main-margin); */
  bottom: 3rem;
  width: 45%;
  bottom: 1rem;
}

/* ============================================= */
/* Main Block */
/* ============================================= */

.layout__background {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.layout__content {
  position: absolute;
  width: calc(100% - (var(--main-margin) * 2));
  top: 1rem;
  left: var(--main-margin);
  z-index: 2;
  height: calc(100% - 2rem);
}

.module {
  position: absolute;
  width: 50ch;
  background: grey;
  height: fit-content;
  padding: 18px 20px 20px 20px;
  border-radius: 10px;
  font-size: var(--t-medium);
  line-height: 19px;
  font-weight: 500;
  color: var(--bk-color);
  z-index: 4;
  border: 1px solid var(--bk-color);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

.heading {
  position: absolute;
  z-index: 3;
}

#heading {
  display: flex;
}

#design #heading,
#edit #heading,
#create #heading,
#focus #heading,
#explore #heading,
#duplicate #heading,
#export #heading {
    display: flex;
    font-weight: 500;
    color: #8b8b8b;
    font-size: var(--t-xlarge);
    line-height: 57px;
}

#heading span {
  min-width: 2ch;
  white-space: nowrap;
}


.INT-M1 {
  left: 5%;
  top: 15%;
}

.INT-M2 {
  left: 15%;
  top: 50%;
  font-size: var(--t-small);
}

.INT-M3 {
  left: 5%;
  bottom: 10%;
  font-size: var(--t-small);
}

.m2 {
  right: 15%;
  top: 5%;
}
.m3a {
  right: 5%;
  top: 1%;
}
.m3b {
  left: 20%;
  top: 14%;
}
.m3c {
  left: 45%;
  bottom: 4%;
}
.m4a {
  right: 10%;
  top: 1%;
}
.m4b {
  left: 40%;
  bottom: 8%;
}
.m5a {
  right: 5%;
  top: 1%;
}
.m5b {
  left: 20%;
  bottom: 5%;
}
.m6a {
  right: 5%;
  top: 1%;
}
.m6b {
  left: 5%;
  bottom: 5%;
}

.beta {
  right: 7rem;
  bottom: 3rem;
  background: #808080;
  font-size: var(--t-small);
  width: 34ch;
}
.beta strong {
  font-weight: 600;
}

#design figure {
  justify-content: center;
}

#design .column:last-child {
  position: absolute;
  right: 8%;
  height: 80vh;
  width: 44vw;
  top: 5%;
}

#beta {
  height: 50vh;
  min-height: unset;
  margin-top: 4rem;
}

#beta p {
      font-size: 45px;
    text-align: center;
    font-weight: 400;
    line-height: 50px;
    color: var(--red) ;
}
#beta .column {
      justify-content: center;
    max-width: 70vw;

}
#beta .layout__content {
  display: flex;
  justify-content: center;
}
#win #text_medium p {
  text-align: center;
  font-size: 30px;
  line-height: 34px;
  padding: 0 8rem;
}

#howVideo #image {
  align-items: center;
  justify-content: center;
  width: 10vw;
}
#howVideo #image picture {
  width: 100%;
}

#howVideo .layout__content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#howVideo img {
  object-position: 50% 50%;
  box-shadow: 4px 4px 9px rgba(0, 0, 0, 0.15);
  overflow: clip;
  border-radius: 23px;
}

#howVideo iframe {
  width: 50vw;
}
#howVideo figure {
  align-items: center;
}

#win,
#howVideo,
#beta {
  background: none;
}

#win .layout__content  {
  padding: 4rem;
  display: flex;
  justify-content: center;
}

.page-template-legal h1:not(:first-child) {
  font-size: var(--t-xlarge);
  font-weight: 400;
  margin-top: 6rem;
}

.page-template-legal h2 p {
  font-size: var(--t-large);
  font-weight: 500;
  text-transform: none;
  margin-top: 2rem;
}
.page-template-legal h3 p {
  font-size: var(--t-xmedium);
  font-weight: 500;
  text-transform: none;
  margin-top: 1rem;
}
.page-template-legal ul,
.page-template-legal ol,
.faq {
  margin-top: 0.5rem;
  margin-left: 4rem;
  margin-bottom: 2rem;
}

.page-template-legal ul {
  list-style: none;
  padding-left: 0;
}

.page-template-legal ul li {
  position: relative;
  padding-left: 1.5rem;
}

.page-template-legal ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
}

.page-template-legal li {
    font-size: var(--t-body);
    line-height: var(--lh-body);
    font-weight: 400;
}
.page-template-legal li {
    font-size: var(--t-body);
    line-height: var(--lh-body);
    font-weight: 400;
}


.legal-page {
  max-width: 50% !important;
}

li a,
li a:hover,
.legal-page a,
.legal-page a:hover {
  display: inline !important;
}

.to-home {
  position: fixed;
  right: calc(var(--main-margin) * 2);
  top: var(--main-margin);
  font-weight: 500;
}

.legal-footer {
    margin-top: 17rem;
    margin-bottom: 1.5rem;
}
