@font-face {
  font-family: 'Google Sans';
  src: url('src/font/GoogleSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('src/font/GoogleSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #6584D1;
  --text-white: #FFFFFF;
  --layout-gutter: 2rem;
  --layout-max: 1840px;
  --header-side-inset: 2rem;
  --header-scrolled-padding-inline: 8px;
  --nav-inline-inset: 0px;
  --nav-inline-inset-large: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  font-family: 'Google Sans', sans-serif;
  color: var(--text-white);
  overflow-x: clip;
  background-color: #F3F5F6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}



.bg-gradient {
  position: absolute;
  top: -15vh;
  left: -10vw;
  width: 120vw;
  height: calc(100% + 15vh + 10vh);
  background: linear-gradient(-15deg,
      #E6D7C5 0%,
      #B7C3DB 25%,
      #8099CF 50%,
      #5369A8 75%,
      #394687 100%);
  z-index: 0;
}

.bg-planes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-planes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bg {
  position: absolute;
  top: 100%;
  left: 55%;
  transform: translate(-50%, -50%) scale(0.20);
  min-width: 100vw;
  min-height: 100vh;
  object-fit: contain;
}



/* Decorative concentric circles */
.ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
  pointer-events: none;
  filter: blur(0.2px);
}

/* SVG dashed ellipses: border drawn by SVG, not CSS */
svg.ellipse {
  border: none;
  border-radius: 0;
  overflow: visible;
}

/* Large circle pair */
.ellipse-lg.ellipse-solid {
  width: 89vw;
  height: 89vw;
  opacity: 0.18;
}

.ellipse-lg.ellipse-dashed {
  width: 93vw;
  height: 93vw;
  opacity: 0.18;
}

/* Medium circle pair */
.ellipse-md.ellipse-solid {
  width: 62vw;
  height: 62vw;
  opacity: 0.12;
}

.ellipse-md.ellipse-dashed {
  width: 66vw;
  height: 66vw;
  opacity: 0.12;
}

/* Small circle pair */
.ellipse-sm.ellipse-solid {
  width: 37vw;
  height: 37vw;
  opacity: 0.08;
}

.ellipse-sm.ellipse-dashed {
  width: 40vw;
  height: 40vw;
  opacity: 0.08;
}

.header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
  border-radius: 1.5rem;
}

.header.hero-glass {
  padding-block: 0.5rem;
}

.header.hero-glass .nav {
  background: #FFFFFF33;
  border: 1px solid #FFFFFF1A;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.header.scrolled {
  background: #FFFFFF66;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 0.5rem;
  padding-inline: var(--header-scrolled-padding-inline);
  border: 1px solid #FFFFFF33;
}

.header.header-hidden {
  transform: translateY(-200%);
  pointer-events: none;
}

.logo {
  grid-column: 1;
  justify-self: start;
}

.logo img {
  height: 28px;
  /* Based on SVG height */
}

.nav {
  grid-column: 2;
  justify-self: stretch;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin-inline: var(--nav-inline-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  transition: all 0.3s ease;
}

.header-btn {
  grid-column: 3;
  justify-self: end;
}

.header:not(.scrolled):not(.hero-glass) .header-btn:hover {
  opacity: 0.9;
}

.header:not(.scrolled) .header-btn {
  background: #FFFFFF;
  color: #6584D1;
}

.header.scrolled .nav {
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0);
}

.nav a {
  color: var(--text-white);
  text-decoration: none;
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(0.875rem, 0.5vw + 0.425rem, 1rem);
  line-height: 140%;
  text-align: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header.scrolled .nav a {
  color: #6584D1;
}

.logo-blue,
.logo-white-mobile,
.logo-blue-mobile {
  display: none;
}

.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-blue {
  display: block;
}

.nav a:hover {
  opacity: 0.8;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: 1rem;
  line-height: 120%;
  padding: 0.875rem 2rem;
  border-radius: 1.25rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.9;
}

.main-content {
  position: relative;
  height: 100vh;
  width: 100%;
  max-width: var(--layout-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--layout-gutter);
  display: flex;
  align-items: center;
  z-index: 2;
  background: transparent;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
}

.hero-title {
  grid-column: 2 / 4;
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(2.5rem, 4.58vw, 5.5rem);
  line-height: 100%;
  letter-spacing: -0.01em;
  margin-bottom: 5rem;
  width: 87%;
  margin-top: 7rem;
}

.hero-subtitle {
  grid-column: 3 / 4;
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 1rem;
  line-height: 140%;
  max-width: clamp(20rem, 70%, 32rem);

  opacity: 0.9;
}

/* Utility: prevent line breaks */
.nowrap {
  white-space: nowrap;
}

/* Horizontal Scroll Features Section */
.features-scroll {
  position: relative;
  z-index: 10;
  height: 400vh;
}

.features-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #F3F5F6;
}

.features-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.feature-panel {
  min-width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.875rem 2rem;
}

.feature-panel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--layout-max);
  height: 100%;
  border-radius: 2.5rem;
  overflow: hidden;
  padding: 0 2.5rem;
  position: relative;
  margin: 0 auto;
}

.feature-laptop {
  position: absolute;
  bottom: -0.3125rem;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  z-index: 1;
}

.feature-laptop img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-annotations {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-self: center;
  margin-bottom: 15vh;
  position: relative;
  z-index: 2;
}

.feature-annotations.left {
  align-items: flex-end;
  text-align: right;
}

.feature-annotations.right {
  align-items: flex-start;
  text-align: left;
}

.annotation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-annotations.left .annotation {
  flex-direction: row-reverse;
}

.annotation-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6584D1;
  flex-shrink: 0;
}

.annotation p {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 140%;
  color: #6584D1;
  margin: 0;
}

.advantages-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  color: var(--primary-color);
  padding: 7.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages-section#about {
  padding-top: 15rem;
}

.advantages-container {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}

.advantages-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3.75rem;
}

.advantages-header .section-title {
  grid-column: 1 / 3;
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(2rem, 2vw + 1.7rem, 4rem);
  line-height: 100%;
  letter-spacing: -0.01em;
  color: var(--primary-color);
}

.section-label {
  grid-column: 3 / 4;
  justify-self: start;
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: 1rem;
  line-height: 140%;
  color: var(--primary-color);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.section-label span:first-child {
  color: #B1C0E7;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 21.5625rem;
}

.card-wide {
  grid-column: span 2;
}

.card-narrow {
  grid-column: span 1;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2rem;
  color: var(--text-white);
}

.card-icon {
  width: 4rem;
  height: auto;
  margin-bottom: 6rem;
}

.card-text h3 {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw - 0.55rem, 1.75rem);
  line-height: 110%;
  margin-bottom: 1rem;
  max-width: 380px;
  width: 75%;
}

.card-text p {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: clamp(0.875rem, 0.5vw + 0.425rem, 1rem);
  line-height: 140%;
  opacity: 0.9;
  max-width: 380px;
  width: 75%;
}

.principles-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  padding: 7.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.principle-card {
  background-color: #E7ECF8;
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1;
  color: var(--primary-color);
}

.principle-card h3 {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw - 0.3rem, 1.75rem);
  line-height: 110%;
  width: 60%;
}

.scenarios-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  padding: 7.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scenario-card {
  border-radius: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1;
}

.scenario-card.card-1 {
  background-color: #EDDFDE;
  color: #BB8986;
}

.scenario-card.card-2 {
  background-color: #DFE6F7;
  color: #8495BD;
}

.scenario-card.card-3 {
  background-color: #F4E7D7;
  color: #C99578;
}

.scenario-content {
  display: flex;
  flex-direction: column;
}

.scenario-card h3 {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw - 0.3rem, 1.75rem);
  line-height: 110%;
  margin-bottom: 1.5rem;
}

.scenario-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scenario-list li {
  display: flex;
  gap: 0.375rem;
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: clamp(0.875rem, 0.5vw + 0.425rem, 1rem);
  line-height: 140%;
  align-items: flex-start;
}

.scenario-list li span:first-child {
  flex-shrink: 0;
}

.scenario-card .card-icon {
  margin-bottom: 0;
}

@media (min-width: 1441px) {
  .scenario-card .card-icon {
    width: 5.75rem;
  }
}

.process-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  padding: 7.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(30rem, 37.5vw, 45rem);
}

.process-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.5rem;
  color: var(--text-white);
}

.process-number {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: 4rem;
  line-height: 100%;
  margin-bottom: 1.5rem;
}

.process-content p {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw - 0.55rem, 1.75rem);
  line-height: 110%;
}

.contact-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  padding: 7.5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-title {
  grid-column: 1 / 3;
}

.contact-title .section-title {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(2rem, 2vw + 1.7rem, 4rem);
  line-height: 110%;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  width: 85%;
}

.contact-form-wrapper {
  grid-column: 3 / 4;
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 0.75rem 1.25rem;
  cursor: text;
}

.input-group:focus-within {
  cursor: default;
}

.input-group label {
  position: absolute;
  top: 1.125rem;
  left: 1.25rem;
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 1rem;
  color: #B1C0E7;
  margin-bottom: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.input-group input,
.input-group textarea {
  font-family: 'Google Sans';
  font-size: 1rem;
  color: var(--primary-color);
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 0;
  margin: 0;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus~.textarea-header label,
.input-group textarea:not(:placeholder-shown)~.textarea-header label {
  top: 0.625rem;
  font-size: 0.75rem;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: transparent;
}

.textarea-header {
  position: absolute;
  top: 1.125rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: auto;
  pointer-events: none;
  transition: all 0.2s ease;
}

.textarea-header label {
  position: relative;
  top: 0;
  left: 0;
  font-size: 1rem;
  margin-bottom: 0;
}

.input-group textarea:focus~.textarea-header,
.input-group textarea:not(:placeholder-shown)~.textarea-header {
  top: 0.5rem;
}

.input-group textarea:focus~.textarea-header label,
.input-group textarea:not(:placeholder-shown)~.textarea-header label {
  font-size: 0.75rem;
}

.char-count {
  font-family: 'Google Sans';
  font-size: 0.75rem;
  color: #B1C0E7;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.input-group textarea:focus~.textarea-header .char-count,
.input-group textarea:not(:placeholder-shown)~.textarea-header .char-count {
  opacity: 1;
}

.input-group textarea {
  resize: vertical;
  min-height: 1.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0.5rem 0rem;
  padding: 0rem 1.25rem;
}

.checkbox-group input {
  display: none;
}

.checkmark {
  width: 1rem;
  height: 1rem;
  border: 1px solid #B1C0E7;
  border-radius: 0.25rem;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  top: 2px;
}

.checkbox-group input:checked+.checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-group input:checked+.checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-family: 'Google Sans';
  font-size: 0.875rem;
  color: #B1C0E7;
  line-height: 140%;
}

.checkbox-text a {
  color: #B1C0E7;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.structure-section {
  position: relative;
  z-index: 10;
  background-color: #F3F5F6;
  padding: 7.5rem 2rem 15rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.structure-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3.75rem;
  align-items: center;
}

.folder-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 2.5rem;
}

.presentation-preview {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2.5rem;
}

.folder-outer-bg {
  width: 100%;
  background: linear-gradient(120deg, #6584D1 0%, #9CB4F2 45%, #E7C6DB 100%);
  border-radius: 2rem;
  padding: 1rem;
}

.folder-shape-wrapper {
  display: flex;
  flex-direction: column;
}

.folder-shape-tab {
  width: clamp(50%, 45vw, 45%);
  background: #FFFFFF33;
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.folder-shape-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M 0 0 L 0 20 L 20 20 A 20 20 0 0 1 0 0 Z' fill='%23FFFFFF' fill-opacity='0.2' /%3E%3Cpath d='M 20 20 A 20 20 0 0 1 0 0' fill='none' stroke='%23FFFFFF' stroke-opacity='0.2' stroke-width='0.98' /%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.folder-shape-tab h3 {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: clamp(2rem, 1vw + 1.1rem, 2.25rem);
  line-height: 120%;
  margin-bottom: 0.5rem;
}

.folder-shape-tab p {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: clamp(0.75rem, 0.56vw + 0.25rem, 0.89rem);
  line-height: 100%;
  opacity: 0.9;
}

.folder-shape-body {
  width: 100%;
  background: #FFFFFF33;
  border-radius: 0 1.25rem 1.25rem 1.25rem;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.structure-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

}

.structure-info h2 {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  line-height: 110%;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  margin-bottom: 2rem;

}

.structure-info p {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 1rem;
  line-height: 150%;
  color: var(--primary-color);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.structure-info .time-to-read {
  color: #B1C0E7;
  margin-bottom: 2.5rem;
}

/* Footer Section */
.footer-section {
  width: 100%;
  height: 100dvh;
  background-image: url('src/photos/footer_l.webp');
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 3.75rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-end;
  width: 100%;
}

.footer-left {
  grid-column: 1 / 3;
}

.footer-logo {
  height: auto;
  max-width: clamp(16rem, 50vw, 60rem);
}

.footer-right {
  grid-column: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFFFFF;
}

.footer-contact {
  margin-bottom: 2.5rem;
}

.contact-text {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw - 0.3rem, 1.75rem);
  line-height: 110%;
  margin-bottom: 0.5rem;
}

.contact-email {
  font-family: 'Google Sans';
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw - 0.3rem, 1.75rem);
  line-height: 110%;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 5rem;
}

.footer-links a {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 0.875rem;
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-cookie-settings {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 0.875rem;
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-cookie-settings:hover {
  opacity: 1;
}

.footer-copy {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 0.875rem;
  color: #FFFFFF;
  opacity: 0.8;
}

/* Mobile Features Section Styles */
.feature-mobile-text {
  display: none;
}

/* Mobile elements hidden on desktop */
.menu-btn,
.mobile-menu,
.hero-mobile-btn,
.contact-title-mobile {
  display: none;
}

/* Mobile-only line break: hidden on desktop, shown on mobile */
.br-mobile {
  display: none;
}

/* Mobile-only nowrap: normal on desktop, nowrap on mobile */
.nowrap-mobile {
  white-space: normal;
}




/* var() in @media is invalid in most browsers — use literal px (same as --layout-max) */
@media (min-width: 1840px) {
  .nav {
    margin-inline: var(--nav-inline-inset-large);
  }
}

@media (min-width: 769px) {
  .header {
    width: min(var(--layout-max), calc(100% - 2 * var(--header-side-inset)));
  }
}
/* Medium screens: less colored space above laptop */
@media (min-width: 769px) and (max-width: 1400px) {
  .feature-panel {
    align-items: center;
    margin: auto;
  }

  .feature-panel-inner {
    height: 75%;
  }

  .feature-laptop {
    width: 100%;
  }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 3fr;
    max-width: 100%;
  }

  .hero-title {
    grid-column: 2 / 3;
    margin-top: 0rem;
  }

  .hero-subtitle {
    grid-column: 2 / 3;
    max-width: 22rem;
  }

  .feature-panel-inner {
    padding: 0 1.5rem;
    border-radius: 1.5rem;
  }

  .feature-laptop {
    width: 95%;
  }

  /* Advantages tablet */

  .advantages-section,
  .principles-section,
  .scenarios-section {
    padding: 4rem 1.5rem !important;
  }



  .advantages-header {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .advantages-header .section-title {
    grid-column: 1 / -1;
  }

  .section-label {
    grid-column: 1 / -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card-wide,
  .card-narrow {
    grid-column: auto;
  }

  /* Principles tablet */
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .principle-card {
    padding: 1.5rem;
  }

  .principle-card h3 {
    font-size: 1.25rem;
  }

  /* Scenarios tablet */
  .scenario-card {
    aspect-ratio: auto;
    padding: 1.5rem;
  }

  .scenario-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  /* Process tablet */
  .process-section {
    padding: 4rem 1.5rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .process-card {
    min-height: 28rem;
  }

  .process-number {
    font-size: 3rem;
  }

  .process-content p {
    font-size: 1rem;
  }

  /* Contact tablet */
  .contact-section {
    padding: 4rem 1.5rem 5rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .contact-title {
    grid-column: 1 / -1;
  }

  .contact-title .section-title {
    font-size: 2.5rem;
  }

  .contact-form-wrapper {
    grid-column: 1 / -1;
  }

  /* Structure tablet */
  .structure-section {
    padding: 4rem 1.5rem;
  }

  .structure-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .structure-info h2 {
    font-size: 2rem;
  }

  /* Footer tablet */
  .footer-section {
    min-height: 40rem;
    padding: 0 1.5rem 3rem 1.5rem;
  }

  .footer-logo {
    max-width: 20rem;
  }

  .contact-text,
  .contact-email {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {

  /* Header Mobile */
  .header {
    top: 1rem;
    left: 50%;
    right: auto;
    width: calc(100% - 2.5rem);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    transform: translateX(-50%);
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    padding: 0;
    background: transparent;
  }

  .header.header-hidden {
    transform: translateX(-50%) translateY(-200%);
  }

  .header.hero-glass {
    padding: 0.75rem 0.25rem;
    border-radius: 0.75rem;
    background: #FFFFFF33;
    border: 1px solid #FFFFFF1A;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    max-height: 2.5rem;
  }

  .header.scrolled {
    padding: 0.75rem 0.25rem;
    border-radius: 0.75rem;
    background: #FFFFFF33;
    border: 1px solid #FFFFFF1A;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    max-height: 2.5rem;
  }

  .nav,
  .header-btn {
    display: none;
  }

  .logo {
    grid-column: auto;
    justify-self: auto;
  }

  .logo img {
    height: auto;
  }

  .logo-white {
    display: none;
  }

  .logo-white-mobile {
    display: block;

  }

  .header.scrolled .logo-white-mobile {
    display: none;
  }

  .logo-blue {
    display: none !important;
  }

  .header.scrolled .logo-blue-mobile {
    display: block;
  }

  .br-mobile {
    display: inline;
  }

  .nowrap-mobile {
    white-space: nowrap;
  }

  .menu-btn {
    display: flex;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
  }

  .header.scrolled .menu-btn {
    color: #6584D1;
  }

  /* Mobile Menu Overlay */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #F3F5F6;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-inner {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.25rem;
    background: #FFFFFF;
    border-radius: 0.75rem;
    max-height: 2.5rem;
  }

  .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    margin-top: auto;
    margin-bottom: auto;
  }

  .mobile-nav-list a {
    font-family: 'Google Sans';
    font-size: 1.5rem;
    font-weight: 500;
    color: #6584D1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-num {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.6;
    min-width: 2rem;
  }

  .mobile-menu-footer {
    padding: 0rem;
    margin-top: 0rem;
  }

  .btn-full {
    width: 100%;
    text-align: center;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    min-height: 3rem;
  }

  /* Background circles mobile */
  .ellipse-lg.ellipse-solid {
    width: 150vw;
    height: 150vw;
  }

  .ellipse-lg.ellipse-dashed {
    width: 158vw;
    height: 158vw;
    opacity: 0.15;
  }

  .ellipse-md.ellipse-solid {
    width: 104vw;
    height: 104vw;
  }

  .ellipse-md.ellipse-dashed {
    width: 110vw;
    height: 110vw;
    opacity: 0.1;
  }

  .ellipse-sm.ellipse-solid {
    width: 60vw;
    height: 60vw;
  }

  .ellipse-sm.ellipse-dashed {
    width: 65vw;
    height: 65vw;
    opacity: 0.05;
  }

  /* Hero Mobile */
  .main-content {
    padding: 0 1rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 110%;
    margin-bottom: 1rem;
    margin-top: 0rem;
    width: 100%;
    margin-top: 4rem;
  }

  .hero-title br:not(.br-mobile),
  .hero-subtitle br:not(.br-mobile) {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    line-height: 140%;
    max-width: 100%;
    margin-bottom: 5rem;
  }

  .hero-mobile-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    min-height: 3rem;

  }

  .features-scroll {
    height: auto !important;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .features-sticky {
    position: relative;
    height: auto;
    width: 100%;
    overflow: visible;
  }

  .features-track {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 1rem;
    transform: none !important;
  }

  .feature-panel {
    min-width: 100% !important;
    height: auto;
    padding: 0;
  }

  .feature-panel-inner {
    flex-direction: column;
    padding: 2rem 1.5rem 0 1.5rem;
    border-radius: 1.5rem;
    gap: 2rem;
  }

  .feature-mobile-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .feature-mobile-text h2 {
    font-family: 'Google Sans';
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 120%;
  }

  .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-list li {
    display: flex;
    gap: 0.5rem;
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 140%;
  }

  .feature-list li span:first-child {
    flex-shrink: 0;
  }

  .feature-laptop {
    position: relative;
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    bottom: auto;
    left: auto;
    transform: none;
    margin-bottom: -0.625rem;
  }

  .feature-laptop picture,
  .feature-laptop img {
    width: 100%;
    display: block;
  }

  /* Advantages Section Mobile */
  .advantages-section {
    padding: 4rem 1rem !important;
  }

  .advantages-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .section-label {
    order: -1;
    font-size: 0.875rem;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
  }

  .contact-title-desktop {
    display: none;
  }

  .contact-title-mobile {
    display: block;
  }

  .advantages-header .section-title {
    font-size: 2rem;
    margin-bottom: 0rem;
    line-height: 110%;
  }

  .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .card {
    min-height: 26.5rem;
    border-radius: 1.5rem;
  }

  .card-wide,
  .card-narrow {
    grid-column: auto;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-icon {
    width: 3.5rem;
  }

  .card-content .card-icon {
    margin-bottom: 0rem;
  }

  .card-text h3 {
    font-size: 1.15rem;
    line-height: 120%;
    margin-bottom: 0.75rem;
    margin-top: 2.5rem;
    max-width: 287px;
    width: 100%;

  }

  .card-text p {
    font-size: 0.875rem;
    line-height: 140%;
    width: 80%;
  }

  .card-text h3 br:not(.br-mobile),
  .card-text p br:not(.br-mobile) {
    display: none;
  }

  /* Principles Section Mobile */
  .principles-section {
    padding: 4rem 1rem;
  }

  .principles-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .principle-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    aspect-ratio: 1;
  }

  .principle-card h3 {
    font-size: 1.25rem;
  }

  .principle-card h3 br:not(.br-mobile) {
    display: none;
  }

  /* Scenarios Section Mobile */
  .scenarios-section {
    padding: 4rem 1rem;
  }

  .scenario-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1.5rem;
    aspect-ratio: auto;
    gap: 2rem;
  }

  .scenario-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .scenario-list li br:not(.br-mobile) {
    display: none;
  }

  .scenario-card .card-icon {
    margin-bottom: 3rem;
  }

  /* Process Section Mobile */
  .process-section {
    padding: 4rem 1rem;
  }

  .process-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .process-card {
    min-height: 28.75rem;
    border-radius: 1.5rem;
  }

  .process-content {
    padding: 1.5rem;
  }

  .process-number {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  .process-content p {
    font-size: 1.125rem;
  }

  .process-content p br:not(.br-mobile) {
    display: none;
  }

  /* Contact Section Mobile */
  .contact-section {
    padding: 4rem 1rem;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .contact-form-wrapper {
    display: contents;
  }

  .contact-form-wrapper .section-label {
    order: 1;
    margin-bottom: 1.5rem !important;
  }

  .contact-title {
    order: 2;
    margin-bottom: 2.5rem;
  }

  .contact-title .section-title {
    font-size: 2rem;
    width: 80%;
  }

  .contact-title .section-title br:not(.br-mobile) {
    display: none;
  }

  /* Hide 'other contact' field on mobile */
  .contact-form .input-group:nth-child(3) {
    display: none;
  }

  .contact-form .textarea-group textarea {
    min-height: 6rem;
  }

  .contact-form {
    order: 3;
    width: 100%;
    gap: 1rem;
  }

  /* Structure Section Mobile */
  .structure-section {
    padding: 4rem 1rem 8rem 1rem;
  }

  .structure-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .folder-wrapper,
  .presentation-preview {
    border-radius: 1.5rem;
  }

  .folder-outer-bg {
    padding: 0.75rem;
    border-radius: 1.5rem;
  }

  .folder-shape-tab {
    padding: 1rem 1rem 0.75rem 1rem;
    width: 70%;
  }

  .folder-shape-tab h3 {
    font-size: 1rem;
  }

  .folder-shape-tab p {
    font-size: 0.75rem;
  }

  .folder-shape-tab p br:not(.br-mobile) {
    display: none;
  }

  .structure-info {
    align-items: flex-start;
  }

  .structure-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 110%;
    width: 80%;
  }

  .structure-info h2 br:not(.br-mobile),
  .structure-info p br:not(.br-mobile) {
    display: none;
  }

  .structure-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .structure-info .time-to-read {
    margin-bottom: 2rem;
  }

  .structure-info .btn-primary {
    width: 100%;
    text-align: center;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    min-height: 3rem;
  }

  .btn-primary.btn-submit {
    border-radius: 1.25rem;
    font-size: 0.875rem;
    min-height: 3rem;
  }

  /* Footer Section Mobile */
  .footer-section {
    min-height: 100vh;
    padding: 4rem 1rem 2.5rem 1rem;
    background-position: 65%;
  }

  .bg-gradient {
    top: -10vh;
    left: -15vw;
    width: 130vw;
    height: calc(100% + 10vh + 25vh);
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .footer-left {
    display: none;
  }

  .footer-right {
    width: 100%;
  }

  .footer-contact {
    margin-bottom: 2.5rem;
  }

  .contact-text {
    font-size: 1.75rem;
    line-height: 110%;
    margin-bottom: 0;
    max-width: 70%;
  }

  .contact-email {
    font-size: 1.75rem;
    line-height: 110%;
    display: inline-block;
  }

  .footer-links {
    margin-bottom: 5rem;
    gap: 0.25rem
  }

  .footer-copy {
    font-size: 0.875rem;
  }

  .cookie-reopen {
    left: 1rem;
    bottom: 1rem;
  }
}

.structure-info .btn-primary {
  border-radius: 1.25rem;
}

body.cookie-open {
  overflow: hidden;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #6584D10D;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.cookie-overlay[hidden] {
  display: none;
}

.cookie-modal {
  width: 600px;
  max-width: 100%;
  height: auto;
  background: #F3F5F6;
  border-radius: 40px;
  padding: 24px;
  box-sizing: border-box;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.cookie-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 16px 0 16px;
  box-sizing: border-box;
}

.cookie-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-copy h2 {
  margin: 0;
  padding: 0;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 110%;
  letter-spacing: 0;
  color: #6584D1;
}

.cookie-lead,
.cookie-purpose p {
  margin: 0;
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  color: #6584D1;
}

.cookie-purpose {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 516px;
}

.cookie-purpose-title {
  font-weight: 500 !important;
}

.cookie-policy-link {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  color: #B1C0E7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-close {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-close img {
  display: block;
  width: 20px;
  height: 20px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px 16px;
  box-sizing: border-box;
}

.cookie-btn {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 20px;
  padding: 8px 32px;
  box-sizing: border-box;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-reject {
  background: #FFFFFF;
  color: #6584D1;
}

.cookie-btn-confirm {
  background: #6584D1;
  color: #FFFFFF;
}

.cookie-reopen {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 250;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid #FFFFFF33;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.5rem rgba(57, 70, 135, 0.2);
}

.cookie-reopen img {
  display: block;
  width: 20px;
  height: 20px;
}

.cookie-reopen[hidden] {
  display: none;
}

.cookie-reopen:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cookie-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: #F3F5F6;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cookie-modal {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    height: 100%;
    border-radius: 0;
    padding: 24px 24px max(32px, env(safe-area-inset-bottom));
    display: flex;
  }

  .cookie-content {
    flex: 1;
    min-height: 0;
    justify-content: center;
    gap: 40px;
    overflow-y: auto;
  }

  .cookie-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .cookie-close {
    position: absolute;
    top: 24px;
    right: 24px;
    align-self: auto;
  }

  .cookie-copy {
    padding-right: 36px;
  }

  .cookie-copy h2 {
    font-size: 28px;
    line-height: 110%;
  }

  .cookie-actions {
    flex-direction: column-reverse;
    gap: 8px;
    padding: 0;
  }

  .cookie-btn {
    width: 100%;
    flex: none;
  }
}

button.btn-primary,
button.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

button.btn-primary:disabled,
a.btn-primary[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

body.trial-open {
  overflow: hidden;
}

.trial-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #6584D10D;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.trial-overlay[hidden] {
  display: none;
}

.trial-modal {
  width: 600px;
  max-width: 100%;
  height: auto;
  background: #F3F5F6;
  border-radius: 40px;
  padding: 24px;
  box-sizing: border-box;
  outline: none;
}

.trial-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.trial-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 16px 0 16px;
  box-sizing: border-box;
}

.trial-copy {
  flex: 1;
  min-width: 0;
}

.trial-copy h2,
.trial-modal h2 {
  margin: 0 0 12px;
  padding: 0;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #6584D1;
}

.trial-lead {
  margin: 0;
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  color: #6584D1;
}

.trial-close {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trial-close img {
  display: block;
  width: 20px;
  height: 20px;
}

.trial-body {
  padding: 0 16px 16px 16px;
  box-sizing: border-box;
}

.trial-step[hidden] {
  display: none;
}

.trial-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.trial-field {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 16px;
  background: #FFFFFF;
  padding: 12px 20px;
  box-sizing: border-box;
  font-family: 'Google Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #6584D1;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.trial-field::placeholder {
  color: #B1C0E7;
}

.trial-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 20px;
  background: #6584D1;
  color: #FFFFFF;
  padding: 8px 32px;
  box-sizing: border-box;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trial-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.trial-error {
  margin: 0;
  color: #C2504A;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  line-height: 140%;
}

.trial-error[hidden] {
  display: none;
}

.trial-resend {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #B1C0E7;
  cursor: pointer;
}

.trial-resend:disabled {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 768px) {
  .trial-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: #F3F5F6;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .trial-modal {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    height: 100%;
    border-radius: 0;
    padding: 24px 24px max(32px, env(safe-area-inset-bottom));
    display: flex;
  }

  .trial-content {
    flex: 1;
    min-height: 0;
    justify-content: center;
    gap: 40px;
    overflow-y: auto;
  }

  .trial-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .trial-close {
    position: absolute;
    top: 24px;
    right: 24px;
    align-self: auto;
  }

  .trial-copy {
    padding-right: 36px;
  }

  .trial-copy h2,
  .trial-modal h2 {
    font-size: 28px;
    line-height: 110%;
    letter-spacing: 0;
  }

  .trial-body {
    padding: 0;
  }
}