:root {
  --hero-pink: #de0455;
  --hero-blue: #3b4bc8;
  --hero-gold: #f4c205;
  --hero-white: #ffffff;

  --text-dark: #1f2d3d;
  --text-dark-hint: #273b42;
  --text-light: #f7f3ef;
}

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

html {
    	scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.paper-bg {
  background-color: #f7f3ef;
  background-image: url("/img/gray_bg_tile.png");
  background-repeat: repeat;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  font-family: "Inter", "Raleway", "Helvetica Neue", Arial, sans-serif;
  /* padding: 3rem 1.5rem; */
}

body:not(.landing) {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--hero-gold) 30%, white 70%),
    color-mix(in srgb, var(--hero-blue) 35%, white 65%)
  );
  color: #1f2d3d;
}

body.landing main {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  padding: 1em 1em;
}

body main {
  width: min(1100px, 100%);
}

body > main {
  margin-top: 6em;
}

.menu-section {
  width: 100%;
  position: fixed;
  display: flex;
  z-index: 1000;
  justify-content: center;
  top: 0;
  padding: 1em 1em;
  background-color: #f7f3ef;
  background-image: url("/img/gray_bg_tile.png");
  background-repeat: repeat;
}

.menu-section .menu-container {
  width: min(1100px, 100%);
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  align-items: center;
}

.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.menu-logo {
  display: flex;
  align-items: center;
}

.menu a {
  color: var(--hero-pink);
  /* text-decoration: none; */
}

.menu a:hover {
  text-decoration: underline;
}

.menu-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.landing-card {
  width: min(720px, 100%);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

img.logo {
  width: min(360px, 90vw);
  height: auto;
}

body.landing main p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
}

body footer p {
  margin: 0;
}

body.landing p.lede {
  font-size: 1.15rem;
  color: #0f172a;
  font-weight: 600;
}

input,
textarea,
select {
    font: inherit;
    font-family: "IBM Plex Mono", monospace;
}

button {
    font: inherit;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.05rem 2rem;
  border-radius: 24px;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease;
  text-decoration: none;
}

.primary-button {
  /* background: linear-gradient(120deg, var(--hero-blue), var(--hero-gold)); */
  background: black;
  border: none;
  border-radius: 2px;
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.primary-button:active {
  transform: translateY(0);
}

.secondary-button {
  background: #eef1f4;
  color: #1f2d3d;
  border: 1px solid color-mix(in srgb, var(--hero-blue) 15%, #d8dce3 85%);
  box-shadow: none;
}

.secondary-button:hover {
  background: #e1e5eb;
}

.secondary-button:active {
  background: #d7dbe2;
}

.button.cta {
  /* margin-top: 1em; */
  color: rgb(247, 243, 239);
  display: flex;
  /* position: relative; */
  /* width: max(10em, 90%); */
  text-decoration: none;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

p.cta {
    display: inline-flex;
    position: relative;
}

p.cta .cta-bg {
  display: block;
  max-width: 250px;
  height: auto;

  position: relative;
  z-index: 0;
}

.button.cta .cta-text {
  position: relative;
  width: 100%;
  z-index: 10;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0 2.5em; */
  text-align: center;
}

.errors p.error {
  background: var(--hero-pink);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: #ffffff;
}

footer,
body.landing footer {

  padding-top: 2rem;
  width: 100%;
  
  margin-top: auto;
}

footer .dark-bg {
    width: 100%;
  padding-bottom: 0.625rem;
/* margin-top: 2rem; */
padding-top: 2rem;
  color: var(--text-light);
      background-color: #000;
  background-image: url(https://cdn.prod.website-files.com/626be00c396339c5a816353b/676292bb4b912aca8c2973d4_tile.png),
    radial-gradient(circle at 0 0, #1f1f1f, #0e0e0e 45%);
  background-position: 0 0, 0 0;
  background-size: auto, auto;
}

footer .container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1em;
}

footer .container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em;
  margin-bottom: 1em;
}

footer .container a {
  color: var(--text-light);
  text-decoration: none;
}

footer .container a:hover {
  text-decoration: wavy underline;
}

footer .container p {
  text-align: right;
  width: 100%;
  color: var(--text-light);
}

footer .price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .price-container p {
  text-align: center;
}
footer .price-container ul {
  font-size: 0.8em;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-bottom: 1.8em;
}

.partner-lockup p.partner-lockup-line {
    color: var(--text-dark)
}

.partner-lockup {
    text-align: center;
    margin: 3rem 0;
}

.partner-lockup-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75em;
    flex-wrap: wrap;
    margin: 0;
}

.partner-lockup-logo {
    max-height: 5em;
    width: auto;
    height: auto;
    display: block;
}

.partner-lockup-logo.instant-hero {
    max-height: 3.5em;
}

.expandable-element {
  width: 100%;
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 45, 61, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.expandable-content {
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--expandable-lines, 5);
}

.expandable-element.is-expanded .expandable-content {
  overflow: visible;
  -webkit-line-clamp: initial;
}

.expandable-element.is-overflowing:not(.is-expanded) .expandable-content::after {
  content: "...";
  position: absolute;
  right: 0.5rem;
  bottom: 0;
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
}

.expandable-toggle {
  justify-self: start;
  border: none;
  background: none;
  color: var(--hero-blue);
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.expandable-toggle:hover {
  color: var(--hero-pink);
}

.myth-container {
  width: 100%;
  display: grid;
  gap: 1.5rem;
}

.myth-container.is-collapsed .myth-details {
  display: none;
}

.myth-container.is-expanded .myth-full-character {
  display: none;
}

.myth-full-character {
  border: none;
  background: none;
  color: var(--hero-blue);
  padding: 0;
  margin-top: 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

.myth-full-character:hover {
  color: var(--hero-pink);
}

.myth-row {
  display: grid;
  gap: 1rem;
}

.myth-row--1 {
  grid-template-columns: minmax(0, 1fr);
}

.myth-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.myth-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .myth-row--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .myth-row--2,
  .myth-row--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
