/* OGMAIO forms — compact, theme-aligned */
.ogm-forms-section {
  position: relative;
  overflow: hidden;
}
.ogm-forms-wrap {
  width: 100% !important;
  max-width: 480px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ogm-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(219, 226, 230, 0.12);
  background: rgba(18, 21, 28, 0.92);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(90, 159, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
  .ogm-form {
    padding: 1.65rem 1.75rem 1.85rem;
  }
}
.ogm-form .ogm-fields {
  display: grid;
  gap: 0.75rem;
}
.ogm-form .ogm-field {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.ogm-form input,
.ogm-form textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 174, 207, 0.22);
  background: rgba(13, 16, 23, 0.7);
  color: #f5f7fa !important;
  padding: 0.72rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  caret-color: #fff;
}
.ogm-form textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 88px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.ogm-form input::placeholder,
.ogm-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48) !important;
  opacity: 1 !important;
}
.ogm-form input:focus,
.ogm-form textarea:focus {
  outline: none;
  border-color: rgba(90, 159, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(90, 159, 255, 0.12);
}
.ogm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 280px;
  margin: 0.65rem auto 0;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.9rem;
  background: linear-gradient(90deg, #dbe2e6 0%, #fff 72%);
  color: #0d1017;
  box-shadow: 0 0 36px rgba(90, 159, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ogm-submit:hover {
  box-shadow: 0 0 48px rgba(90, 159, 255, 0.4);
}
.ogm-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.ogm-status {
  font-size: 0.85rem;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}
.ogm-status.ok {
  background: rgba(9, 246, 71, 0.12);
  color: #9dffb8;
  border: 1px solid rgba(9, 246, 71, 0.25);
}
.ogm-status.err {
  background: rgba(255, 80, 80, 0.12);
  color: #ffb4b4;
  border: 1px solid rgba(255, 80, 80, 0.25);
}
.ogm-form-note {
  text-align: center;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 0.75rem;
}

/* Energy wave / mobile hero beam — original theme defaults (no mobile stretch) */

/* Hero title: smaller / narrower so it clears the blue energy wave */
.ogm-hero-title {
  font-size: calc(var(--text-sora-heading-3) - 6pt);
  line-height: 1.18;
  letter-spacing: -1px;
  max-width: min(16ch, 86vw) !important;
}
@media (min-width: 768px) {
  .ogm-hero-title {
    font-size: calc(var(--text-sora-heading-2) - 6pt);
    letter-spacing: -1.6px;
    max-width: min(20ch, 48vw) !important;
  }
}
@media (min-width: 1280px) {
  .ogm-hero-title {
    font-size: calc(var(--text-sora-heading-1) - 6pt);
    letter-spacing: -2.2px;
    max-width: min(22ch, 44vw) !important;
  }
}

/* Hero brand word — plain, same as slogan text (no gradient/stroke) */
.ogm-hero-brand {
  font-family: inherit !important;
  font-size: 1em !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit;
  display: inline;
  color: inherit !important;
  -webkit-text-fill-color: currentColor;
  background: none !important;
  -webkit-text-stroke: 0;
  filter: none;
}

/* Custom logos: keep colors; screen blend hides black PNG canvas on dark header. */
[data-brand-logo] {
  filter: none !important;
  opacity: 1;
}
html.has-custom-brand-logo [data-brand-logo] {
  mix-blend-mode: screen;
}
[data-brand-logo-wrap="small"] {
  min-height: 5.5rem;
}
html.has-custom-brand-logo [data-brand-logo-wrap] {
  background: transparent;
}
[data-brand-name-visible] {
  color: rgba(255, 255, 255, 0.96) !important;
  letter-spacing: -0.04em;
  font-weight: 500 !important;
}

/* Replaces removed hero.sub height so chat mockup does not jump up */
.ogm-hero-sub-spacer {
  height: 2.75rem;
  max-width: 492px;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .ogm-hero-sub-spacer {
    height: 3.25rem;
  }
}

/* Chat mockup — below beam flare */
.ogm-hero-mockup {
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .ogm-hero-mockup {
    margin-top: 6.5rem;
  }
}
