:root {
  color-scheme: light;
  --ew-font-head: "Comfortaa", "Atkinson Hyperlegible Next", "Trebuchet MS", Arial, sans-serif;
  --ew-font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  --ew-bg: #f5f7ff;
  --ew-surface: rgba(255, 255, 255, 0.94);
  --ew-surface-strong: #ffffff;
  --ew-ink: #11172d;
  --ew-muted: #5b6382;
  --ew-line: rgba(64, 84, 161, 0.18);
  --ew-brand: #4054a1;
  --ew-brand-dark: #293776;
  --ew-brand-deep: #161d45;
  --ew-blue: #4054a1;
  --ew-blue-soft: #e9edff;
  --ew-violet: #7662c8;
  --ew-violet-soft: #eeeaff;
  --ew-cyan: #0e9fce;
  --ew-mint: #4fc18d;
  --ew-yellow: #f4bf45;
  --ew-wallpaper-gradient:
    linear-gradient(115deg, #111637 0%, #25245a 32%, #574b92 63%, #7898cf 100%);
  --ew-radius: 8px;
  --ew-shadow: 0 1.25rem 3.5rem rgba(21, 29, 70, 0.13);
  --ew-shadow-strong: 0 1.6rem 4.8rem rgba(27, 34, 90, 0.2);
  --bulma-primary-h: 228deg;
  --bulma-primary-s: 43%;
  --bulma-primary-l: 44%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ew-bg);
}

body.ew-public {
  background:
    linear-gradient(180deg, rgba(248, 250, 255, 0.98) 0%, rgba(245, 247, 255, 0.98) 42%, rgba(255, 255, 255, 0.98) 100%);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--ew-ink);
  font-family: var(--ew-font-body);
  margin: 0;
  min-height: 100vh;
}

.ew-public h1,
.ew-public h2,
.ew-public h3,
.ew-public .title {
  color: var(--ew-ink);
  font-family: var(--ew-font-head);
  font-weight: 700;
  letter-spacing: 0;
}

.ew-public strong {
  color: inherit;
  font-weight: 800;
}

.ew-public p {
  color: var(--ew-muted);
  line-height: 1.7;
}

.ew-public code {
  background: rgba(64, 84, 161, 0.09);
  border: 1px solid rgba(64, 84, 161, 0.12);
  border-radius: 6px;
  color: var(--ew-brand-dark);
  font-size: 0.92em;
  padding: 0.1rem 0.35rem;
}

.ew-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(64, 84, 161, 0.14);
  box-shadow: 0 0.7rem 2rem rgba(21, 29, 70, 0.07);
  display: flex;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 0.72rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 30;
}

.ew-brand {
  align-items: center;
  display: inline-flex;
  min-width: 9.5rem;
}

.ew-brand img {
  display: block;
  height: 2.55rem;
  max-width: 11.4rem;
  width: auto;
}

.ew-menu {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 1rem;
}

.ew-links {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0.12rem;
  justify-content: center;
}

.ew-links a,
.ew-footer a {
  border-radius: var(--ew-radius);
  color: #243052;
  font-weight: 800;
  padding: 0.58rem 0.72rem;
  text-decoration: none;
}

.ew-links a:hover,
.ew-links a:focus,
.ew-links a.is-active {
  background: var(--ew-blue-soft);
  color: var(--ew-brand);
}

.ew-actions {
  display: flex;
  gap: 0.55rem;
}

.ew-public .button,
.ew-public input,
.ew-public select,
.ew-public textarea {
  font-family: var(--ew-font-body);
}

.button.is-ew-primary {
  background: linear-gradient(135deg, var(--ew-brand) 0%, var(--ew-violet) 100%);
  border-color: transparent;
  box-shadow: 0 0.75rem 1.7rem rgba(64, 84, 161, 0.26);
  color: #fff;
  font-weight: 800;
}

.button.is-ew-primary:hover,
.button.is-ew-primary:focus {
  background: linear-gradient(135deg, var(--ew-brand-dark) 0%, #604bb8 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.button.is-ew-soft,
.ew-public .button.is-light {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(64, 84, 161, 0.2);
  color: var(--ew-brand-dark);
  font-weight: 800;
}

.button.is-ew-soft:hover,
.button.is-ew-soft:focus,
.ew-public .button.is-light:hover,
.ew-public .button.is-light:focus {
  border-color: rgba(64, 84, 161, 0.42);
  color: var(--ew-brand);
}

.ew-burger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  height: 2.6rem;
  justify-content: center;
  margin-left: auto;
  width: 2.8rem;
}

.ew-burger span {
  background: var(--ew-ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 1.2rem;
}

.ew-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 17, 47, 0.8) 0%, rgba(35, 37, 91, 0.52) 48%, rgba(108, 125, 189, 0.26) 100%),
    var(--ew-wallpaper-gradient);
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: min(760px, calc(100vh - 4.4rem));
  overflow: hidden;
  padding: 5.8rem clamp(1rem, 4vw, 3rem) 4.8rem;
  position: relative;
}

.ew-section {
  padding: clamp(3.2rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.ew-page-hero {
  background:
    linear-gradient(90deg, rgba(12, 17, 47, 0.8) 0%, rgba(35, 37, 91, 0.52) 48%, rgba(108, 125, 189, 0.26) 100%),
    var(--ew-wallpaper-gradient);
  color: #fff;
  padding-bottom: clamp(1.25rem, 2.7vw, 2.15rem);
  padding-top: clamp(1.45rem, 3vw, 2.25rem);
}

.ew-page-hero .ew-section-head {
  margin-bottom: 0;
  max-width: 920px;
}

.ew-page-hero h1,
.ew-page-hero h2,
.ew-page-hero h3 {
  color: #fff;
  text-shadow: 0 0.5rem 2.6rem rgba(0, 0, 0, 0.18);
}

.ew-page-hero h1 {
  font-size: clamp(1.85rem, 2.75vw, 2.45rem);
  line-height: 1.1;
  margin-bottom: 0.7rem;
  max-width: 36ch;
}

.ew-page-hero p:not(.ew-kicker) {
  color: #edf0ff;
  margin-bottom: 0;
  max-width: 900px;
}

.ew-page-hero .ew-kicker {
  color: #dfe5ff !important;
  margin-bottom: 0.65rem;
}

.ew-page-hero .ew-card,
.ew-page-hero .ew-plan-card,
.ew-page-hero .ew-form-box,
.ew-page-hero .ew-side-panel,
.ew-page-hero .ew-table {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.42);
}

.ew-page-hero .ew-card p,
.ew-page-hero .ew-plan-card p,
.ew-page-hero .ew-form-box p,
.ew-page-hero .ew-side-panel span {
  color: var(--ew-muted);
}

.ew-page-hero + .ew-section {
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.ew-hero-inner,
.ew-section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.ew-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
}

.ew-hero-grid > div:first-child {
  max-width: 690px;
}

.ew-kicker {
  color: var(--ew-brand) !important;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.ew-hero .ew-kicker {
  color: #dfe5ff !important;
}

.ew-hero h1 {
  color: #fff;
  font-size: 4.45rem;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 13ch;
  text-shadow: 0 0.5rem 2.6rem rgba(0, 0, 0, 0.22);
}

.ew-lead {
  color: #edf0ff !important;
  font-size: 1.2rem;
  line-height: 1.75;
  max-width: 44rem;
}

.ew-lead strong {
  color: #fff;
}

.ew-hero-actions,
.ew-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.ew-product-panel,
.ew-side-panel,
.ew-card,
.ew-plan-card,
.ew-form-box,
.ew-table {
  background: var(--ew-surface);
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
  box-shadow: var(--ew-shadow);
}

.ew-product-panel {
  align-self: center;
  color: var(--ew-ink);
  margin-top: 0;
  max-width: none;
  overflow: hidden;
}

.ew-product-top {
  background: linear-gradient(135deg, #101735 0%, var(--ew-brand) 64%, var(--ew-violet) 100%);
  color: #fff;
  display: flex;
  gap: 0.45rem;
  padding: 0.88rem 1rem;
}

.ew-dot {
  background: #f9fbff;
  border-radius: 999px;
  height: 0.72rem;
  opacity: 0.86;
  width: 0.72rem;
}

.ew-dot:nth-child(2) {
  background: #b9c4ff;
}

.ew-dot:nth-child(3) {
  background: var(--ew-cyan);
}

.ew-product-body {
  display: grid;
  gap: 0;
  padding: 0;
}

.ew-check-row {
  align-items: flex-start;
  border-bottom: 1px solid rgba(64, 84, 161, 0.12);
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
}

.ew-check-row:last-child {
  border-bottom: 0;
}

.ew-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--ew-brand), var(--ew-violet));
  border-radius: var(--ew-radius);
  box-shadow: 0 0.65rem 1.25rem rgba(64, 84, 161, 0.22);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.ew-section-head {
  margin-bottom: 2rem;
  max-width: 770px;
}

.ew-section-head h1,
.ew-section-head h2 {
  font-size: 2.9rem;
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.ew-feature-grid,
.ew-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ew-card {
  overflow: hidden;
  padding: 1.3rem;
  position: relative;
}

.ew-card::before,
.ew-plan-card::before,
.ew-side-panel::before {
  background: linear-gradient(90deg, var(--ew-brand), var(--ew-violet), var(--ew-cyan));
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.ew-card h3 {
  font-size: 1.16rem;
  line-height: 1.28;
  margin-bottom: 0.55rem;
}

.ew-answer-box {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(64, 84, 161, 0.2);
  border-left: 4px solid var(--ew-brand);
  border-radius: var(--ew-radius);
  box-shadow: var(--ew-shadow);
  margin: 1.4rem 0;
  padding: 1.2rem 1.35rem;
}

.ew-answer-box strong {
  display: block;
  font-family: var(--ew-font-head);
  margin-bottom: 0.45rem;
}

.ew-list {
  color: #35405f;
  line-height: 1.7;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.ew-list li {
  margin: 0.45rem 0;
}

.ew-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ew-pill {
  background: var(--ew-blue-soft);
  border: 1px solid rgba(64, 84, 161, 0.16);
  border-radius: 999px;
  color: var(--ew-brand-dark);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 0.35rem 0.75rem;
}

.ew-source-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.ew-source-list a {
  color: var(--ew-brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.ew-source-list a:hover,
.ew-source-list a:focus {
  color: var(--ew-brand);
  text-decoration: underline;
}

.ew-term-anchor {
  scroll-margin-top: 6rem;
}

.ew-plan-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ew-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 1.38rem;
  position: relative;
}

.ew-plan-card.is-featured {
  border-color: rgba(64, 84, 161, 0.55);
  box-shadow: var(--ew-shadow-strong);
}

.ew-badge {
  align-self: flex-start;
  background: var(--ew-violet-soft);
  border: 1px solid rgba(118, 98, 200, 0.18);
  border-radius: 999px;
  color: var(--ew-brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.65rem;
}

.ew-price {
  align-items: baseline;
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0;
}

.ew-price span {
  color: var(--ew-brand-deep);
  font-family: var(--ew-font-head);
  font-size: 2rem;
  font-weight: 700;
}

.ew-price small {
  color: var(--ew-muted);
}

.ew-plan-card ul {
  flex: 1;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.ew-plan-card li {
  color: #35405f;
  margin: 0.55rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.ew-plan-card li::before {
  color: var(--ew-brand);
  content: "\2713";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.ew-split {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.ew-side-panel {
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
}

.ew-side-panel strong,
.ew-side-panel span {
  display: block;
}

.ew-side-panel strong {
  font-family: var(--ew-font-head);
  font-weight: 700;
}

.ew-side-panel span {
  color: var(--ew-muted);
  margin: 0.6rem 0 1rem;
}

.ew-audit-band {
  background:
    linear-gradient(120deg, rgba(233, 237, 255, 0.9) 0%, rgba(247, 245, 255, 0.94) 48%, rgba(237, 248, 255, 0.9) 100%);
  border-block: 1px solid rgba(64, 84, 161, 0.14);
}

.ew-table {
  background: #fff;
  overflow-x: auto;
}

.ew-table table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.ew-table th,
.ew-table td {
  border-bottom: 1px solid rgba(64, 84, 161, 0.12);
  padding: 0.9rem 1rem;
  text-align: left;
}

.ew-table th {
  background: #f5f7ff;
  color: var(--ew-ink);
  font-weight: 800;
}

.ew-form-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.42fr);
}

.ew-form-box {
  background: #fff;
  padding: 1.4rem;
}

.ew-form-box .label {
  color: var(--ew-ink);
  font-weight: 800;
}

.ew-form-box .input,
.ew-form-box .textarea,
.ew-form-box .select select {
  border-color: rgba(64, 84, 161, 0.24);
  box-shadow: none;
}

.ew-form-box .input:focus,
.ew-form-box .textarea:focus,
.ew-form-box .select select:focus {
  border-color: var(--ew-brand);
  box-shadow: 0 0 0 0.18rem rgba(64, 84, 161, 0.16);
}

.ew-notice {
  background: #fff8e7;
  border: 1px solid #f4d38b;
  border-radius: var(--ew-radius);
  color: #6d4b04;
  padding: 1rem;
}

.ew-checkbox {
  align-items: flex-start;
  display: flex;
  gap: 0.55rem;
  margin: 1rem 0;
}

.ew-checkbox input {
  flex: 0 0 auto;
  margin-top: 0.22rem;
}

.ew-status {
  background: var(--ew-blue-soft);
  border-radius: 999px;
  color: var(--ew-brand-dark);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
}

.ew-status-active,
.ew-status-paid {
  background: #e8f7ee;
  color: #116431;
}

.ew-status-pending,
.ew-status-pending_payment {
  background: #fff5d6;
  color: #7a4b00;
}

.ew-status-failed,
.ew-status-expired,
.ew-status-cancelled {
  background: #fde8e8;
  color: #9b1c1c;
}

.ew-payment-action {
  margin-top: 1rem;
}

.ew-footer {
  align-items: flex-start;
  background:
    linear-gradient(135deg, #101633 0%, #182157 52%, #25215d 100%);
  color: #dbe7ff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2.2rem clamp(1rem, 4vw, 3rem);
}

.ew-footer img {
  filter: brightness(0) invert(1);
  height: 2.1rem;
  margin-bottom: 0.75rem;
  width: auto;
}

.ew-footer p {
  color: #c8d2f5;
  margin: 0;
}

.ew-trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  max-width: 28rem;
}

.ew-trust-mini span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f3f6ff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
}

.ew-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  max-width: 650px;
}

.ew-footer a {
  color: #edf1ff;
}

.ew-footer a:hover,
.ew-footer a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ew-options-demo {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1fr);
}

.ew-options-panel,
.ew-options-preview-shell {
  background: var(--ew-surface);
  border: 1px solid var(--ew-line);
  border-radius: var(--ew-radius);
  box-shadow: var(--ew-shadow);
  overflow: hidden;
}

.ew-options-panel-head {
  align-items: center;
  border-bottom: 1px solid var(--ew-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem;
}

.ew-options-panel-head h2 {
  font-size: 1.35rem;
  margin: 0;
}

.ew-options-panel-head .ew-kicker {
  margin-bottom: 0.25rem;
}

.ew-options-group {
  border-bottom: 1px solid var(--ew-line);
  padding: 1rem 1.2rem 1.2rem;
}

.ew-options-group:last-child {
  border-bottom: 0;
}

.ew-options-group h3 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.ew-options-list {
  display: grid;
  gap: 0.7rem;
}

.ew-option-item {
  align-items: center;
  background: rgba(245, 247, 255, 0.72);
  border: 1px solid rgba(64, 84, 161, 0.12);
  border-radius: var(--ew-radius);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.85rem;
}

.ew-option-item strong {
  display: block;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.ew-option-item p {
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0 0 0.45rem;
}

.ew-option-item code {
  display: inline-flex;
  font-size: 0.78rem;
}

.ew-option-toggle,
.ew-option-steps button {
  background: #fff;
  border: 1px solid rgba(64, 84, 161, 0.22);
  border-radius: 6px;
  color: var(--ew-brand-dark);
  cursor: pointer;
  font-family: var(--ew-font-body);
  font-weight: 800;
  min-height: 2.4rem;
  padding: 0.45rem 0.68rem;
}

.ew-option-toggle[aria-pressed="true"],
.ew-option-steps button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--ew-brand), var(--ew-violet));
  border-color: transparent;
  color: #fff;
}

.ew-option-steps {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ew-options-preview-shell {
  padding: 1.2rem;
  position: sticky;
  top: 5.5rem;
}

.ew-options-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ew-options-preview {
  background: #f7f9ff;
  border: 1px solid rgba(64, 84, 161, 0.16);
  border-radius: var(--ew-radius);
  color: #202946;
  overflow: hidden;
  padding: clamp(0.9rem, 2vw, 1.25rem);
  position: relative;
  transition: filter 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ew-demo-layout {
  background: #fff;
  border: 1px solid rgba(64, 84, 161, 0.15);
  border-radius: var(--ew-radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 760px;
  overflow: hidden;
  padding: 1rem;
  transition: max-width 0.18s ease;
}

.ew-demo-media {
  align-items: end;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.68), transparent 28%),
    linear-gradient(135deg, #4054a1 0%, #7662c8 55%, #0e9fce 100%);
  border-radius: var(--ew-radius);
  color: #fff;
  display: flex;
  font-weight: 900;
  min-height: 10rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.ew-demo-dot {
  animation: ew-demo-orbit 2.7s linear infinite;
  background: #f4bf45;
  border-radius: 999px;
  box-shadow: 0 0 0 0.55rem rgba(244, 191, 69, 0.22);
  height: 1rem;
  position: absolute;
  right: 1.15rem;
  top: 1.15rem;
  width: 1rem;
}

.ew-demo-content {
  font-size: 1rem;
  min-width: 0;
}

.ew-demo-content h2 {
  font-size: 1.45rem;
  line-height: 1.18;
  margin: 0 0 0.7rem;
}

.ew-demo-content p {
  color: inherit;
  line-height: 1.62;
}

.ew-demo-content a {
  color: var(--ew-brand);
  font-weight: 800;
}

.ew-demo-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.ew-demo-form label {
  font-weight: 800;
}

.ew-demo-form div {
  display: flex;
  gap: 0.45rem;
}

.ew-demo-form input,
.ew-demo-form button {
  border: 1px solid rgba(64, 84, 161, 0.24);
  border-radius: 6px;
  font-family: var(--ew-font-body);
  min-height: 2.45rem;
  padding: 0.5rem 0.65rem;
}

.ew-demo-form input {
  flex: 1;
  min-width: 0;
}

.ew-demo-form button {
  background: var(--ew-brand);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.ew-demo-structure {
  background: rgba(64, 84, 161, 0.08);
  border: 1px dashed rgba(64, 84, 161, 0.28);
  border-radius: var(--ew-radius);
  display: none;
  grid-column: 1 / -1;
  padding: 0.85rem;
}

.ew-demo-structure ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}

.ew-demo-reading-mask {
  background: rgba(244, 191, 69, 0.22);
  border-bottom: 2px solid rgba(64, 84, 161, 0.34);
  border-top: 2px solid rgba(64, 84, 161, 0.34);
  display: none;
  height: 2.65rem;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 47%;
  z-index: 2;
}

.ew-demo-cursor {
  display: none;
  height: 2.6rem;
  pointer-events: none;
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 2.1rem;
  z-index: 3;
}

.ew-demo-cursor::before {
  background: #fff;
  border: 2px solid #11172d;
  clip-path: polygon(0 0, 0 100%, 34% 74%, 52% 100%, 72% 90%, 54% 64%, 100% 64%);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}

.ew-demo-tooltip {
  background: #11172d;
  border-radius: 6px;
  color: #fff;
  display: none;
  font-size: 0.88rem;
  max-width: 16rem;
  padding: 0.55rem 0.7rem;
  position: absolute;
  right: 1.35rem;
  top: 4.8rem;
  z-index: 4;
}

.ew-options-active {
  color: var(--ew-muted);
  font-weight: 800;
  margin-top: 0.9rem;
}

.ew-options-preview.is-font-80 .ew-demo-content { font-size: 0.8rem; }
.ew-options-preview.is-font-90 .ew-demo-content { font-size: 0.9rem; }
.ew-options-preview.is-font-120 .ew-demo-content { font-size: 1.2rem; }
.ew-options-preview.is-font-140 .ew-demo-content { font-size: 1.4rem; }
.ew-options-preview.is-font-160 .ew-demo-content { font-size: 1.6rem; }
.ew-options-preview.is-letter-spacing .ew-demo-content { letter-spacing: 0.1em; word-spacing: 0.12em; }
.ew-options-preview.is-line-height .ew-demo-content p { line-height: 1.95; }
.ew-options-preview.is-dyslexia .ew-demo-content { font-family: "Comic Sans MS", "Atkinson Hyperlegible Next", sans-serif; }
.ew-options-preview.is-contrast { background: #000; color: #fff; }
.ew-options-preview.is-contrast .ew-demo-layout,
.ew-options-preview.is-contrast .ew-demo-form input { background: #000; border-color: #fff; color: #fff; }
.ew-options-preview.is-contrast a { color: #ffff00; }
.ew-options-preview.is-contrast-light { background: #fffbea; color: #111; }
.ew-options-preview.is-contrast-light .ew-demo-layout { background: #fff; border-color: #111; }
.ew-options-preview.is-invert { filter: invert(1) hue-rotate(180deg); }
.ew-options-preview.is-grayscale { filter: grayscale(1); }
.ew-options-preview.is-saturation-low { filter: saturate(0.35); }
.ew-options-preview.is-saturation-high { filter: saturate(1.9); }
.ew-options-preview.is-hide-images .ew-demo-media {
  background: repeating-linear-gradient(45deg, #eef2ff, #eef2ff 10px, #dbe4ff 10px, #dbe4ff 20px);
  color: #4054a1;
}
.ew-options-preview.is-hide-images .ew-demo-dot { display: none; }
.ew-options-preview.is-links a { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ew-options-preview.is-focus .ew-demo-form button { outline: 3px solid #f4bf45; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(244, 191, 69, 0.22); }
.ew-options-preview.is-cursor .ew-demo-cursor,
.ew-options-preview.is-reading-mask .ew-demo-reading-mask,
.ew-options-preview.is-tooltips .ew-demo-tooltip,
.ew-options-preview.is-page-structure .ew-demo-structure { display: block; }
.ew-options-preview.is-motion .ew-demo-dot { animation-play-state: paused; }
.ew-options-preview.is-width-standard .ew-demo-layout { max-width: 560px; }
.ew-options-preview.is-width-wide .ew-demo-layout { max-width: none; }

@keyframes ew-demo-orbit {
  0% { transform: translateX(0) translateY(0); }
  35% { transform: translateX(-1.7rem) translateY(1.15rem); }
  70% { transform: translateX(-0.45rem) translateY(2.4rem); }
  100% { transform: translateX(0) translateY(0); }
}

@media (max-width: 920px) {
  .ew-burger {
    display: inline-flex;
  }

  .ew-menu {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--ew-line);
    border-radius: var(--ew-radius);
    box-shadow: var(--ew-shadow);
    display: none;
    left: 1rem;
    padding: 1rem;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
  }

  .ew-menu.is-active {
    display: block;
  }

  .ew-links,
  .ew-actions {
    align-items: stretch;
    display: grid;
    justify-content: stretch;
  }

  .ew-hero {
    min-height: auto;
    padding-bottom: 3.2rem;
    padding-top: 4.1rem;
  }

  .ew-hero h1 {
    font-size: 3.15rem;
  }

  .ew-section-head h1,
  .ew-section-head h2 {
    font-size: 2.2rem;
  }

  .ew-page-hero {
    padding-bottom: 1.35rem;
    padding-top: 1.45rem;
  }

  .ew-page-hero h1 {
    font-size: 2rem;
    max-width: none;
  }

  .ew-hero-grid,
  .ew-split,
  .ew-form-shell {
    grid-template-columns: 1fr;
  }

  .ew-feature-grid,
  .ew-card-grid,
  .ew-plan-grid {
    grid-template-columns: 1fr;
  }

  .ew-options-demo,
  .ew-demo-layout {
    grid-template-columns: 1fr;
  }

  .ew-options-preview-shell {
    position: static;
  }

  .ew-footer {
    display: block;
  }

  .ew-footer-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 560px) {
  .ew-nav {
    min-height: 4rem;
  }

  .ew-brand img {
    max-width: 9rem;
  }

  .ew-hero {
    padding-top: 3.4rem;
  }

  .ew-hero h1 {
    font-size: 2.45rem;
  }

  .ew-page-hero h1 {
    font-size: 1.82rem;
  }

  .ew-lead {
    font-size: 1.05rem;
  }

  .ew-hero-actions .button,
  .ew-inline-actions .button {
    width: 100%;
  }

  .ew-option-item,
  .ew-demo-form div {
    grid-template-columns: 1fr;
  }

  .ew-option-item {
    display: grid;
  }

  .ew-option-toggle {
    width: 100%;
  }

  .ew-demo-form div {
    display: grid;
  }
}
