:root {
  --if19-bg: #06111c;
  --if19-white: #fff;
  --if19-zircon: #f3f6ff;
  --if19-link-water: #d9deef;
  --if19-dolphin: #66667e;
  --if19-border: #42a0be;
  --if19-cta: #00af49;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--if19-bg);
  color: var(--if19-white);
}

p,
h1 {
  margin: 0;
}

.if19a-wrap {
  width: 100%;
  max-width: 1124px;
  margin: 0 auto;
  padding: 0 24px;
}

.if19a-topbar {
  background-image: linear-gradient(71.814deg, #007cd6 9.26%, #00cbe7 102.84%), linear-gradient(90deg, #70beb0 0%, #70beb0 100%);
  padding: 16px 0;
}

.if19a-topbar p {
  font-size: 16px;
  line-height: 1.27;
  text-align: center;
  font-weight: 700;
  color: #fff;
}

.if19a-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background-color: var(--if19-bg);
}

.if19a-hero::before {
  content: "";
  position: absolute;
  left: -81.89%;
  top: -4.6%;
  width: 216.36%;
  height: 59.62%;
  background-image: url(../img/figma/bg-mobile-main.webp);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: left top;
  z-index: 0;
}

.if19a-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(6, 17, 28, 0) 6.5329%, #06111c 34.134%), linear-gradient(270deg, rgba(4, 15, 26, 0.39) 0%, rgba(4, 15, 26, 0) 13.373%, rgba(4, 15, 26, 0) 24.394%, rgba(4, 15, 26, 0.48) 39.371%, rgba(4, 15, 26, 0.75) 85.718%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.if19a-main-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.if19a-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.if19a-brand-line {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.if19a-logo {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 102px;
}

.if19a-logo--mob {
  width: 102px;
  height: 45.972px;
  display: block;
}

.if19a-logo--desk {
  width: 113.181px;
  height: 51.011px;
  display: none;
}

.if19a-logo img {
  position: absolute;
  display: block;
  max-width: none;
}

.if19a-logo-stroke {
  left: 50%;
  transform: translateX(-50%);
  top: 6.14%;
  width: 100%;
  bottom: 0;
  height: 93.86%;
  object-fit: contain;
}

.if19a-logo-h1 {
  inset: -0.08% 18.7% 85.44% 18.56%;
  width: 62.74%;
  height: 14.64%;
  object-fit: contain;
}

.if19a-logo-h2 {
  inset: 27.53% 6.31% 52.41% 6.4%;
  width: 87.29%;
  height: 20.06%;
  object-fit: contain;
}

.if19a-logo-h3 {
  inset: 57.63% 6.44% 15.22% 6.63%;
  width: 86.93%;
  height: 27.15%;
  object-fit: contain;
}

.if19a-dates {
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
  min-width: 0;
}

.if19a-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.if19a-date-row img {
  width: 14px;
  height: 14px;
}

.if19a-date-row span {
  white-space: nowrap;
  font-weight: 400;
}

.if19a-date-row span,
.if19a-online {
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: 0;
}

.if19a-online {
  font-weight: 700;
}

.if19a-headline {
  padding-top: 16px;
  color: var(--if19-zircon);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
}

.if19a-headline em {
  font-style: italic;
}

.if19a-headline strong {
  font-weight: 700;
}

.if19a-headline u {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.if19a-form-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.if19a-form-intro {
  color: var(--if19-link-water);
  font-size: 16px;
  line-height: 1.35;
}

.if19a-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.if19a-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.if19a-form input {
  width: 100%;
  border: 1px solid var(--if19-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(45, 56, 63, 0.6);
  min-height: 56px;
  padding: 16px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  outline: none;
}

.if19a-form input::placeholder {
  color: rgba(45, 56, 63, 0.6);
  text-transform: uppercase;
}

.if19a-form .if19a-cta {
  border: 0;
  border-radius: 8px;
  background: var(--if19-cta);
  color: #fff;
  text-align: center;
  font-size: 18px;
  line-height: 1.43;
  font-weight: 700;
  height: 64px;
  cursor: pointer;
  text-transform: uppercase;
}

.if19a-cta-note {
  color: var(--if19-zircon);
  font-size: 14px;
  line-height: 1.36;
}

.if19a-legal {
  color: var(--if19-dolphin);
  font-size: 14px;
  line-height: 1.36;
}

.if19a-legal a {
  color: var(--if19-dolphin);
  font-style: italic;
  text-decoration: underline;
}

.if19a-right {
  border-radius: 16px;
  min-height: 40px;
}

.iti {
  width: 100%;
}

.if19a-footer {
  padding: 32px 0;
  background: var(--if19-bg);
}

.if19a-footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.if19a-footer-logo {
  width: 141px;
  height: auto;
}

.if19a-footer p {
  color: var(--if19-dolphin);
  font-size: 14px;
  line-height: 1.43;
}

/* High-priority fixes to match Figma spacing */
.if19a-brand-line .if19a-dates {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.if19a-brand-line .if19a-date-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.if19a-brand-line .if19a-date-row span {
  font-size: 16px !important;
  line-height: 25.6px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.if19a-brand-line .if19a-online {
  font-size: 16px !important;
  line-height: 2.6px !important;
  font-weight: 700 !important;
  margin: 11px 0 0 !important;
}

@media (min-width: 768px) {
  .if19a-wrap {
    padding: 0;
  }

  .if19a-topbar {
    padding: 20px 0;
    background-image: linear-gradient(34.618deg, #007cd6 9.2609%, #00cbe7 102.84%);
  }

  .if19a-topbar p {
    font-size: 20px;
  }

  .if19a-hero {
    padding: 40px 0 64px;
  }

  .if19a-hero::before {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/figma/bg-desktop-base.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .if19a-hero-overlay {
    background-image: linear-gradient(270deg, rgba(4, 15, 26, 0.25) 0%, rgba(4, 15, 26, 0) 23.819%, rgba(4, 15, 26, 0.48) 47.986%, rgba(4, 15, 26, 0.75) 100%), url(../img/figma/bg-desktop-overlay.webp);
    background-repeat: no-repeat;
    background-size: cover, cover;
    background-position: center, center;
  }

  .if19a-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .if19a-content {
    gap: 40px;
  }

  .if19a-brand-line {
    flex-direction: row;
    gap: 18px;
    align-items: center;
  }

  .if19a-logo--mob {
    display: none;
  }

  .if19a-logo--desk {
    display: block;
  }

  .if19a-dates {
    flex: 1 0 0;
  }

  .if19a-headline {
    font-size: 28px;
  }

  .if19a-form-block {
    gap: 24px;
  }

  .if19a-form {
    gap: 12px;
  }

  .if19a-form input {
    min-height: 59px;
    font-size: 16px;
    line-height: 1.7;
  }

  .if19a-row {
    flex-direction: row;
  }

  .if19a-row input {
    width: calc(50% - 4px);
  }

  .if19a-row > .iti {
    width: calc(50% - 4px);
    flex: 0 0 calc(50% - 4px);
  }

  .if19a-row > .iti input {
    width: 100%;
  }

  .if19a-row input,
  .if19a-row > .iti,
  .if19a-row > .iti input {
    min-height: 59px !important;
    height: 59px !important;
  }

  .if19a-cta-note {
    font-size: 16px;
  }

  .if19a-footer {
    padding: 32px 0;
  }

  .if19a-footer-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .if19a-footer p {
    text-align: center;
    white-space: nowrap;
  }
}
