/* ============================================================
   UDYOT · COMMON · BASE

   Scoping and reset, then the typography and layout primitives.
   Everything is namespaced under .udyot_plugin_* and reads only
   --udyot-plugin-* custom properties, so no theme stylesheet can
   reach into a plugin screen.
   ============================================================ */

/* The theme's reset is global (`* { box-sizing }`, and a `font-family: inherit`
   on button/input/textarea/select). The plugin scopes the same guarantees to its
   own subtree so it stands alone. Without the font reset, a bare <input> falls
   back to the browser's default UI font instead of the letter's. */
.udyot_plugin_hero,
.udyot_plugin_hero *,
.udyot_plugin_section,
.udyot_plugin_section *,
.udyot_plugin_letter,
.udyot_plugin_letter * {
  box-sizing: border-box;
}

.udyot_plugin_section button,
.udyot_plugin_section input,
.udyot_plugin_section textarea,
.udyot_plugin_section select,
.udyot_plugin_letter button,
.udyot_plugin_letter input,
.udyot_plugin_letter textarea,
.udyot_plugin_letter select {
  font-family: inherit;
}

.udyot_plugin_section {
  padding: var(--udyot-plugin-section-py) 0;
}

/* Mirrors the theme's .sub-hero: its own, smaller padding — not the section's —
   plus the two descendant rules the theme applies to the hero's children. */
.udyot_plugin_hero {
  padding: var(--udyot-plugin-hero-py) 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%);
  text-align: center;
}

.udyot_plugin_hero .udyot_plugin_display_2 {
  margin: 1rem 0;
}

.udyot_plugin_hero .udyot_plugin_body_lg {
  max-width: 37.5rem;
  margin: 0 auto;
}

.udyot_plugin_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Base classes mirror the theme's .display-2 / .body-lg, which carry type
   only. The margin and max-width the theme applies to them live on the
   .sub-hero descendant selector, not here. */
.udyot_plugin_display_2 {
  font-family: var(--udyot-plugin-font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.udyot_plugin_body_lg {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--udyot-plugin-ink-3);
}

.udyot_plugin_body_sm {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--udyot-plugin-ink-3);
}

.udyot_plugin_text_ink_3 {
  color: var(--udyot-plugin-ink-3);
}

.udyot_plugin_mt_4 {
  margin-top: 4px;
}

.udyot_plugin_h2 {
  font-family: var(--udyot-plugin-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.udyot_plugin_label_tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--udyot-plugin-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--udyot-plugin-blue);
  background: var(--udyot-plugin-blue-pale);
  padding: 5px 12px;
  border-radius: 100px;
}

.udyot_plugin_card {
  background: var(--udyot-plugin-white);
  border: 1px solid var(--udyot-plugin-mist-2);
  border-radius: var(--udyot-plugin-r-lg);
  padding: 2rem;
  box-shadow: var(--udyot-plugin-shadow-sm);
  transition: all 0.25s ease;
}

.udyot_plugin_card:hover {
  box-shadow: var(--udyot-plugin-shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}