/* ============================================
   KI Sign Landing Page - Style Sheet
   Color Palette:
     - Navy:      #0f1b3d
     - Purple:    #6a3de8
     - Turquoise: #00b8b0
     - Light BG:  #f4f5f7
     - White:     #ffffff
     - Text:      #1e1e2f
     - Sub Text:  #555566
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #1e1e2f;
  background-color: #f4f5f7;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 880px;
}

/* --- Typography --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00b8b0;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #1e1e2f;
}

.section-title--white {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #555566;
  line-height: 1.8;
  max-width: 640px;
}

.section-subtitle--white {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn--primary {
  background-color: #6a3de8;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #5a2fd0;
}

.btn--outline {
  background-color: transparent;
  color: #6a3de8;
  border: 2px solid #6a3de8;
}

.btn--outline:hover {
  background-color: #6a3de8;
  color: #ffffff;
}

.btn--white-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--white-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.btn--large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* --- Card --- */
.card {
  background: #ffffff;
  border: 1px solid #e2e4ea;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

/* ============================================
   1. Header (kathenas style)
   ============================================ */
.ly-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  transition: background-color 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.ly-header.--scroll {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ly-header_inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header_logo {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 9999;
  width: 126px;
}

.header_logo img {
  width: 100%;
  height: auto;
  display: block;
}

.header_nav-list {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.nav-cta {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 12px;
}

/* --- gl-btn (kathenas style) --- */
.gl-btn {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1em;
  padding: 1em 3.8em 1em 2em;
  border-radius: 100vw;
  color: #ffffff;
  background-color: #1e1e2f;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-decoration: none;
}

.gl-btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 100vw;
  transition: width 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.gl-btn::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0.5em;
  width: 2.4em;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  translate: 0 -50%;
}

.gl-btn:hover::before {
  width: 100%;
}

.gl-btn_label {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
}

.gl-btn.--demo {
  background-color: #CD2644;
}

.gl-btn.--demo::after {
  background-image: url("/build_assets/common/ico-monitor_white.svg");
}

.gl-btn.--demo::before {
  background-color: #DA3956;
}

.gl-btn.--contact {
  background-color: #1B859B;
}

.gl-btn.--contact::after {
  background-image: url("/build_assets/common/ico-mail_white.svg");
}

.gl-btn.--contact::before {
  background-color: #209DB6;
}

.gl-btn.--small {
  font-size: 13px;
}

/* --- Hamburger menu (hidden on desktop) --- */
.header_menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 9999;
}

.header_menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1e1e2f;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   2. Hero Section
   ============================================ */
.hero {
  background: #ffffff;
  padding: 140px 0 64px;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, #6a3de8 0%, #00b8b0 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.hero-title {
  margin: 0 0 28px;
  color: #071a44;
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: #6c3cff;
  font-weight: 900;
}

.hero-lead {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.8;
  color: #33415c;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper {
  width: 100%;
  max-width: 520px;
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   3. Q&A Concerns Section
   ============================================ */
.concerns {
  padding: 96px 0;
  background: #f4f5f7;
}

.concerns__header {
  text-align: center;
  margin-bottom: 56px;
}

.concerns__header .section-subtitle {
  margin: 0 auto;
}

.concerns__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.concern-card__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.concern-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6a3de8 0%, #8b5cf6 100%);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.concern-card__question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1b3d;
  line-height: 1.5;
  padding-top: 4px;
}

.concern-card__answer {
  font-size: 0.95rem;
  color: #555566;
  line-height: 1.8;
  padding-left: 48px;
}

/* ============================================
   4. Comparison Section
   ============================================ */
.comparison {
  padding: 96px 0;
  background: #ffffff;
}

.comparison__header {
  text-align: center;
  margin-bottom: 56px;
}

.comparison__header .section-subtitle {
  margin: 0 auto;
}

.comparison__table-wrapper {
  overflow-x: auto;
  margin-bottom: 48px;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison__table thead th {
  background: #0f1b3d;
  color: #ffffff;
  padding: 16px 24px;
  text-align: left;
  font-weight: 700;
}

.comparison__table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.comparison__table thead th:last-child {
  border-radius: 0 8px 0 0;
  background: #6a3de8;
}

.comparison__table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e4ea;
  vertical-align: top;
}

.comparison__table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.comparison__table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

.comparison__table tbody td:last-child {
  color: #6a3de8;
  font-weight: 600;
}

.comparison__table tbody tr:nth-child(even) td {
  background: #fafafe;
}

.comparison__lead {
  text-align: center;
  font-size: 1rem;
  color: #555566;
  margin-top: 40px;
  margin-bottom: 24px;
}

.comparison__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   5. Case Studies Section (Navy BG)
   ============================================ */
.cases {
  padding: 96px 0;
  background: #0f1b3d;
  color: #ffffff;
}

.cases__header {
  text-align: center;
  margin-bottom: 56px;
}

.cases__slider {
  position: relative;
  overflow: hidden;
}

.cases__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.case-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0;
  backdrop-filter: blur(4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card__image + .case-card__body {
  padding: 20px 24px 24px;
}

.case-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  display: flex;
  flex-direction: column;
}

.case-card__company {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-card__industry {
  font-size: 0.75rem;
  color: #00b8b0;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.case-card__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.cases__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.cases__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.cases__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   6. Features Section
   ============================================ */
.features {
  padding: 96px 0;
  background: #f4f5f7;
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features__header .section-subtitle {
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 64px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-row__visual {
  flex: 1;
  min-width: 0;
}

.feature-row__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8e0f7 0%, #d0f0ee 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.feature-row__content {
  flex: 1;
  min-width: 0;
}

.feature-row__number {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00b8b0;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.feature-row__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1b3d;
  margin-bottom: 16px;
  line-height: 1.4;
}

.feature-row__text {
  font-size: 0.98rem;
  color: #555566;
  line-height: 1.85;
}

/* ============================================
   7. Why No Failure Section
   ============================================ */
.why-success {
  padding: 96px 0;
  background: #ffffff;
}

.why-success__header {
  text-align: center;
  margin-bottom: 56px;
}

.why-success__header .section-subtitle {
  margin: 0 auto;
}

.why-success__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.success-card {
  text-align: center;
  padding: 40px 24px;
}

.success-card__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  background: #d9ccff;
  color: #5b3df5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.success-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1b3d;
  margin-bottom: 12px;
}

.success-card__text {
  font-size: 0.9rem;
  color: #555566;
  line-height: 1.75;
}

/* ============================================
   8. CTA Section (Navy BG)
   ============================================ */
.cta-section {
  padding: 96px 0;
  background: #0f1b3d;
  color: #ffffff;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.cta-section__visual {
  flex: 0 0 336px;
}

.cta-section__image {
  width: 336px;
  overflow: hidden;
  border-radius: 12px;
}

.cta-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-section__content {
  flex: 1;
}

.cta-section__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cta-section__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 500px;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   9. Footer (kathenas style)
   ============================================ */
.ly-footer {
  padding: 80px 0 40px;
  font-size: 0.875rem;
  color: #1e1e2f;
}

.footer_content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}

.footer_logo {
  width: 158px;
}

.footer_logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer nav */
.footer_nav .nav_list {
  display: flex;
  flex-flow: row nowrap;
  gap: 48px;
}

.footer_nav .nav_item .title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  margin-bottom: 1em;
}

.footer_nav .nav_item .list {
  font-size: 0.875rem;
  line-height: 1.2;
}

.footer_nav .nav_item .list li a {
  position: relative;
  display: inline-block;
  padding: 0.5em 0;
  color: #555566;
  transition: color 0.2s;
}

.footer_nav .nav_item .list li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #555566;
  transition: width 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.footer_nav .nav_item .list li a:hover::before {
  width: 100%;
}

/* Footer info bar */
.footer_info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 40px;
  border-top: 1px solid #e2e4ea;
}

.footer_data .company {
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
}

.footer_data .address {
  font-size: 0.75rem;
  line-height: 1;
  margin-top: 0.5em;
  color: #555566;
}

.footer_data .tel {
  position: relative;
  display: inline-block;
  padding-left: 1.8em;
  margin-left: 1.5em;
}

.footer_data .tel::before {
  content: "\260E";
  position: absolute;
  left: 0.3em;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.1em;
}

.footer_copyright {
  font-size: 0.75rem;
  line-height: 1.2;
  color: #555566;
  font-style: normal;
}

/* ============================================
   Responsive (Minimal - PC Priority)
   ============================================ */
@media (max-width: 1024px) {
  .header_menu {
    display: flex;
  }

  .header_nav {
    position: fixed;
    z-index: 10;
    inset: 0;
    margin-top: 68px;
    padding: 24px;
    background-color: #ffffff;
    overflow-y: auto;
    height: calc(100dvh - 68px);
    translate: 100% 0;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.33, 1, 0.68, 1), translate 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .header_nav.--active {
    opacity: 1;
    translate: 0 0;
  }

  .header_nav-list {
    flex-flow: column nowrap;
    align-items: stretch;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta .gl-btn {
    text-align: center;
    width: 100%;
  }

  .header_menu.--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header_menu.--active span:nth-child(2) {
    opacity: 0;
  }

  .header_menu.--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .concerns__grid {
    grid-template-columns: 1fr;
  }

  .why-success__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
  }

  .cta-section__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-section__actions {
    justify-content: center;
  }

  .case-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.5rem;
  }

  .hero-lead {
    font-size: 18px;
  }

  .why-success__grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    flex: 0 0 100%;
  }

  .footer_content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer_nav .nav_list {
    flex-direction: column;
    gap: 24px;
  }

  .footer_info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer_data .tel {
    display: block;
    margin-left: 0;
    padding-left: 1.5em;
    margin-top: 0.5em;
  }
}.container {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

.concerns__grid {
  max-width: 1040px;
  margin: 0 auto;
}

.concern-card {
  box-sizing: border-box;
}
/* ============================================
   Q&A Cards
   ============================================ */

.concerns__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.concern-card {
  padding: 28px 30px;
  border: 1px solid #d7deeb;
  border-radius: 14px;
  background: #ffffff;
  min-height: 260px;
}

.concern-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #d9ccff;
  color: #5b3df5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.concern-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.6;
}

.concern-card__qa {
  margin: 0 0 26px;
  color: #061533;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.concern-card__qa strong {
  font-weight: 800;
}

.concern-card__note {
  margin: 0;
  color: #061533;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.text-marker {
  background: linear-gradient(transparent 55%, #fff2a8 55%);
  font-weight: 700;
  padding: 0 2px;
}
.section-title .text-primary {
  color: #6b4eff;
  text-decoration-line: underline;
  text-decoration-color: #6b4eff;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  }
.why-success__header .section-subtitle {
  margin: 0 auto;
  max-width: 760px;
}

/* ============================================
   HubSpot Modal
   ============================================ */
.ly-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ly-modal.--active {
  opacity: 1;
  visibility: visible;
}

.ly-modal-inner {
  position: relative;
  width: min(90vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ly-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.ly-modal-close:hover {
  color: #061533;
}

.ly-modal-content {
  display: none;
}

.ly-modal-content.--active {
  display: block;
}

.modal_title {
  font-size: 22px;
  font-weight: 700;
  color: #061533;
  text-align: center;
  margin-bottom: 12px;
}

.modal_text {
  font-size: 14px;
  color: #444;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 24px;
}

#hubspot-form {
  margin-top: 16px;
}

#hubspot-form fieldset {
  max-width: 100% !important;
}

#hubspot-form fieldset.form-columns-2 {
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
}

#hubspot-form .hs_error_rollup {
  text-align: center;
}

#hubspot-form .hs-form .field {
  margin-bottom: 12px;
}

#hubspot-form .hs-form label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  display: block;
  margin-bottom: 4px;
}

#hubspot-form .hs-form label span.hs-form-required {
  color: #CD2644;
}

#hubspot-form input.hs-input.error {
  border-color: #CD2644;
}

#hubspot-form .hs-error-msgs label {
  color: #CD2644;
  font-size: 12px;
  font-weight: 400;
}

#hubspot-form .input {
  margin: 4px 0 0;
}

#hubspot-form .input .hs-input,
#hubspot-form .input input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d7deeb;
  background-color: #fafafe;
  font-size: 15px;
  line-height: 1.6;
  color: #1e1e2f;
  box-sizing: border-box;
}

#hubspot-form .input .hs-input:focus-visible,
#hubspot-form .input input:focus-visible {
  outline: none;
  border-color: #6a3de8;
  box-shadow: 0 0 0 2px rgba(106, 61, 232, 0.12);
}

#hubspot-form .legal-consent-container {
  margin: 0 0 16px;
}

#hubspot-form .legal-consent-container .hs-richtext {
  font-size: 13px;
  line-height: 1.6;
}

#hubspot-form .legal-consent-container .hs-richtext a {
  color: #6a3de8;
  text-decoration: underline;
}

#hubspot-form .hs_submit {
  margin: 20px 0 0;
  text-align: center;
}

#hubspot-form .hs_submit .hs-button {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 40px;
  border-radius: 100vw;
  color: #ffffff;
  background-color: #6a3de8;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

#hubspot-form .hs_submit .hs-button:hover {
  background-color: #5a2fd0;
}

@media (max-width: 640px) {
  #hubspot-form fieldset.form-columns-2 {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 640px) {
  .ly-modal-inner {
    padding: 36px 24px;
  }
}