/* [[[ABSTRACTS]]] */
/* || Config */
/* || Design Tokens */
/* || Variables */
/* --- Themes */
:root {
  --color-page-bg: #36384D;
  --color-card-bg: #FFFFFF;
  --color-text-main: #242742;
  --color-text-subtle: #949494;
  --color-btn-bg: #242742;
  --color-btn-bg-active-1: #FF6A3A;
  --color-btn-bg-active-2: #FF527B;
  --color-btn-text: #FFFFFF;
  --color-input-border: #949494;
  --color-input-border-active: #242742;
  --color-input-error: #FF6155;
  --color-input-error-bg: #FFE7E6;
  --color-input-placeholder: #949494;
}

html[data-theme=light] {
  --color-page-bg: #36384D;
  --color-card-bg: #FFFFFF;
  --color-text-main: #242742;
  --color-text-subtle: #949494;
  --color-btn-bg: #242742;
  --color-btn-bg-active-1: #FF6A3A;
  --color-btn-bg-active-2: #FF527B;
  --color-btn-text: #FFFFFF;
  --color-input-border: #949494;
  --color-input-border-active: #242742;
  --color-input-error: #FF6155;
  --color-input-error-bg: #FFE7E6;
  --color-input-placeholder: #949494;
}

:root {
  /* --- Vars generated from config object */
  --weight-extra-light: 200;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semi-bold: 600;
  --weight-bold: 700;
  --weight-black: 900;
  /* --- Typography */
  --font-family-base: Roboto, sans-serif;
  /* --- Fluid type scales */
  /* @link https://utopia.fyi/type/calculator?c=320,16,1.2,1440,18,1.333,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
  --step--2: clamp(0.6331rem, 0.712rem + -0.0876vw, 0.6944rem);
  --step--1: clamp(0.8333rem, 0.8303rem + 0.0152vw, 0.844rem);
  --step-0: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1144rem + 0.428vw, 1.4996rem);
  --step-2: clamp(1.44rem, 1.2803rem + 0.7986vw, 1.999rem);
  --step-3: clamp(1.728rem, 1.4604rem + 1.3381vw, 2.6647rem);
  --step-4: clamp(2.0736rem, 1.6512rem + 2.112vw, 3.552rem);
  --step-5: clamp(2.4883rem, 1.8465rem + 3.2093vw, 4.7348rem);
  /* --- Fluid space scales */
  /* @link https://utopia.fyi/space/calculator?c=320,16,1.2,1440,18,1.333,5,2,375-768&s=0.75|0.5|0.25,1.25|1.5|1.75|2|2.5|3|3.5|4|5|6.5|10,l-5xl&g=s,l,xl,12 */
  --space-3xs: clamp(0.25rem, 0.2321rem + 0.0893vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4821rem + 0.0893vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.7143rem + 0.1786vw, 0.875rem);
  --space-s: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);
  --space-m: clamp(1.25rem, 1.1964rem + 0.2679vw, 1.4375rem);
  --space-l: clamp(1.5rem, 1.4464rem + 0.2679vw, 1.6875rem);
  --space-xl: clamp(1.75rem, 1.6786rem + 0.3571vw, 2rem);
  --space-2xl: clamp(2rem, 1.9286rem + 0.3571vw, 2.25rem);
  --space-3xl: clamp(2.5rem, 2.4107rem + 0.4464vw, 2.8125rem);
  --space-4xl: clamp(3rem, 2.8929rem + 0.5357vw, 3.375rem);
  --space-5xl: clamp(3.5rem, 3.375rem + 0.625vw, 3.9375rem);
  --space-6xl: clamp(4rem, 3.8571rem + 0.7143vw, 4.5rem);
  --space-7xl: clamp(5rem, 4.8214rem + 0.8929vw, 5.625rem);
  --space-8xl: clamp(6.5rem, 6.2679rem + 1.1607vw, 7.3125rem);
  --space-9xl: clamp(10rem, 9.6429rem + 1.7857vw, 11.25rem);
  --space-3xs-2xs: clamp(0.25rem, 0.1607rem + 0.4464vw, 0.5625rem);
  --space-2xs-xs: clamp(0.5rem, 0.3929rem + 0.5357vw, 0.875rem);
  --space-xs-s: clamp(0.75rem, 0.6429rem + 0.5357vw, 1.125rem);
  --space-s-m: clamp(1rem, 0.875rem + 0.625vw, 1.4375rem);
  --space-m-l: clamp(1.25rem, 1.125rem + 0.625vw, 1.6875rem);
  --space-l-xl: clamp(1.5rem, 1.3571rem + 0.7143vw, 2rem);
  --space-xl-2xl: clamp(1.75rem, 1.6071rem + 0.7143vw, 2.25rem);
  --space-2xl-3xl: clamp(2rem, 1.7679rem + 1.1607vw, 2.8125rem);
  --space-3xl-4xl: clamp(2.5rem, 2.25rem + 1.25vw, 3.375rem);
  --space-4xl-5xl: clamp(3rem, 2.7321rem + 1.3393vw, 3.9375rem);
  --space-5xl-6xl: clamp(3.5rem, 3.2143rem + 1.4286vw, 4.5rem);
  --space-6xl-7xl: clamp(4rem, 3.5357rem + 2.3214vw, 5.625rem);
  --space-7xl-8xl: clamp(5rem, 4.3393rem + 3.3036vw, 7.3125rem);
  --space-8xl-9xl: clamp(6.5rem, 5.1429rem + 6.7857vw, 11.25rem);
  --space-l-5xl: clamp(1.5rem, 0.8036rem + 3.4821vw, 3.9375rem);
  /* --- Others */
  --flow-space: var(--space-s);
}

/* || Functions */
/* || Mixins */
/* [[[VENDORS]]] */
/* [[[BASE]]] */
/* || Reset */
/* 1. Universal Box-Sizing */
/* This is fundamental. It changes how width and height are calculated,
   making layout much more intuitive: width/height includes padding and border. */
html {
  box-sizing: border-box;
}

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

/* 2. Reset Margins & Paddings for Common Block-Level Elements */
/* Removes default browser margins/paddings that often cause inconsistencies.
   Includes common elements like headings, paragraphs, lists, and figures. */
body, h1, h2, h3, h4, h5, h6, p, blockquote, figure,
ol, ul, dd {
  margin: 0;
  padding: 0;
}

/* 3. Remove List Styles */
/* Gets rid of default bullets/numbers and any intrinsic padding/margin for lists.
   You'll re-add specific list styling if needed. */
ol, ul {
  list-style: none;
}

/* 4. Responsive Images */
/* Ensures images and other media elements are block-level and scale within their containers. */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto; /* Important for maintaining aspect ratio */
}

/* 5. Improve Form Element Styling */
/* Makes form elements inherit font styles and sets some consistent baselines. */
input, button, textarea, select {
  font: inherit; /* Inherit font properties from parent */
  /* outline: none; Only remove if you have a :focus-visible style later */
}

/* 6. Base Link Styling */
/* Removes default underline from links. Re-add on hover for accessibility if desired. */
a {
  text-decoration: none;
  color: inherit; /* Inherit color unless explicitly set */
}

/* || Global */
/* [[[ABSTRACTS]]] */
body {
  height: 100vh;
  background-color: var(--color-page-bg);
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  font-weight: var(--weight-regular);
  font-size: var(--step-0);
  line-height: 1.5;
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-family-base);
  font-weight: var(--weight-bold);
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: 0;
}

/* [[[LAYOUT]]] */
/* [[[ABSTRACTS]]] */
/* --- Grid Layout: Signup Screen grid */
/* [[[COMPONENTS]]] */
/* [[[ABSTRACTS]]] */
.c-button {
  padding-block: var(--space-s);
  border-radius: var(--space-2xs);
  border: none;
  background-color: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-family: var(--font-family-base);
  font-weight: var(--weight-bold);
  font-size: var(--step-0);
  line-height: 1.5;
  letter-spacing: 0;
}
.c-button:hover, .c-button:focus-visible {
  background-image: linear-gradient(to right, var(--color-btn-bg-active-1), var(--color-btn-bg-active-2));
}

/* [[[ABSTRACTS]]] */
.form-field {
  display: grid;
  grid-template: auto auto/2fr 3fr;
  grid-template-areas: "label message" "input input";
  gap: var(--space-2xs);
}
.form-field .form-field__label {
  grid-area: label;
  font-family: var(--font-family-base);
  font-weight: var(--weight-bold);
  font-size: var(--step--1);
  line-height: 1.5;
  letter-spacing: 0;
}
.form-field .form-field__messages {
  grid-area: message;
  justify-self: end;
  color: var(--color-input-error);
  font-family: var(--font-family-base);
  font-weight: var(--weight-bold);
  font-size: var(--step--1);
  line-height: 1.5;
  letter-spacing: 0;
}
.form-field .form-field__input {
  grid-area: input;
  padding-inline: var(--space-l);
  padding-block: var(--space-s);
  border-radius: var(--space-2xs);
  border: 1px solid var(--color-input-border);
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  font-weight: var(--weight-regular);
  font-size: var(--step-0);
  line-height: 1.5;
  letter-spacing: 0;
}
.form-field .form-field__input:focus {
  border: 1px solid var(--color-input-border-active);
}
.form-field .form-field__input.error {
  border: 1px solid var(--color-input-error);
  color: var(--color-input-error) !important;
  background-color: var(--color-input-error-bg) !important;
}

/* [[[ABSTRACTS]]] */
/* --- Component: Signup Screen */
.c-signup {
  background-color: var(--color-card-bg);
  display: grid;
  grid-template: auto auto/auto;
  grid-template-areas: "hero" "content";
  gap: var(--space-l);
}
.c-signup__hero {
  grid-area: hero;
}
.c-signup__hero img {
  inline-size: 100%;
  block-size: auto;
  object-fit: cover;
  object-position: center;
}
.c-signup__content {
  grid-area: content;
  display: grid;
  gap: var(--space-l-xl);
  padding-inline: var(--space-l);
  padding-block: var(--space-l) var(--space-3xl);
}
.c-signup__content ul {
  display: grid;
  gap: var(--space-2xs);
  list-style: none;
  padding-inline-start: var(--space-xl);
}
.c-signup__content ul li {
  position: relative;
  padding-inline-start: var(--space-s);
}
.c-signup__content ul li::before {
  content: ""; /* CRITICAL: Essential for pseudo-elements */
  position: absolute;
  left: 0;
  top: 0;
  width: var(--space-m);
  height: var(--space-m);
  margin-left: calc(-1 * var(--space-xl)); /* Adjust to move the marker into the padding-left space of the ul */
  background-image: url("../assets/images/icon-list.svg");
  background-size: contain; /* Ensure the image fits within the defined width/height */
  background-repeat: no-repeat;
  background-position: center; /* Center the image within its pseudo-element box */
}
.c-signup__content__form {
  display: grid;
  gap: var(--space-l);
}

@media (max-width: 47.9375em) {
  .c-signup {
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
  }
  .c-signup__hero img {
    height: 100%;
  }
}
@media (min-width: 48em) {
  .c-signup {
    margin-inline: var(--space-7xl);
    border-radius: var(--space-2xl);
  }
  .c-signup__hero {
    border-radius: var(--space-s);
    overflow: hidden;
    margin: var(--space-l);
  }
  .c-signup__hero img {
    height: auto;
  }
}
@media (min-width: 64em) {
  .c-signup {
    grid-template: auto/3fr 2fr;
    grid-template-areas: "content hero";
  }
  .c-signup__hero img {
    height: 100%;
  }
  .c-signup__content {
    justify-self: center;
    align-self: center;
  }
}
/* [[[ABSTRACTS]]] */
/* --- Component: Signup Complete Screen */
.c-signup-complete {
  background-color: var(--color-card-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-l-5xl);
}
.c-signup-complete__message {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
@media (max-width: 47.9375em) {
  .c-signup-complete {
    align-self: stretch;
  }
}
@media (min-width: 48em) {
  .c-signup-complete {
    gap: var(--space-2xl);
    border-radius: var(--space-2xl);
    max-width: 31.875rem;
  }
}

/* [[[UTILITIES]]] */
/* [[[ABSTRACTS]]] */
/* || Utilities for exceptions (E in CUBE) */
.newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  height: 100vh;
  justify-items: center;
  align-items: center;
}

/* || Utilities related to layout */
.flow > * + * {
  margin-top: var(--flow-space, 1rem);
}

.wrapper {
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.content-center {
  justify-content: center;
  align-items: center;
}

.container {
  container-type: inline-size;
  width: 100%;
}

/* || Utilities related to visibility */
/* Hide element (Visually hidden but accessible to screen readers) */
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Show element */
.visible {
  visibility: visible;
  opacity: 1;
}

/* Utilities generated from config object */
/* [[[PAGES]]] */
/* [[[THEMES]]] */

/*# sourceMappingURL=main.css.map */
