/* Walter comparison table section. Figma: DOMmUOpj9Fbv0qDiQWKFvr, desktop 5029:61945, mobile 5034:79963 */
/* Expects Inter (400, 500). index.html loads it for standalone viewing. */

.wu-section {
  --wu-ring: #E9D5FF;          /* stroke 1, bound variable */
  --wu-light: #9C44FD;         /* stroke 2, gradient start */
  --wu-walter: #7A37F0;
  --wu-heading: #1E293B;       /* slate/800 */
  --wu-divider: #EBEBEB;
  --wu-btn: #7A37F0;           /* button/primary/default/background, node 4541:39973 */
  --wu-btn-border: rgba(26, 26, 26, 0.2);  /* button/primary/default/border */
  --wu-tab-active: #FAF5FF;    /* purple/50, mobile active tab, node 5034:79970 */

  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 48px 10px;
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: auto;
}
.wu-section *, .wu-section *::before, .wu-section *::after { box-sizing: border-box; }

.wu-frame {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Header */
.wu-header {
  width: 768px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
/* Section tag, from node 3985:114229: no fill, 1px 8% black stroke, radius 12, padding 4/12,
   14/21 Inter Medium, -1% tracking, 60% black text, 20px to the title */
.wu-tag {
  margin: 0 0 12px;         /* 12 + header gap 8 = the file's 20px to the title */
  padding: 4px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: rgba(0, 0, 0, 0.6);
}
.wu-title {
  width: 688px;
  margin: 0;
  font-size: 40px;
  line-height: 56px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #000;
}
.wu-subtitle {
  width: 552px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.6);
}

/* Table container: labels column + comparison grid, bottom aligned as in the file */
.wu-table {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

.wu-features {
  width: 218px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 41px;                /* 20 gap + 1 divider + 20 gap, so labels track the rows */
  padding-top: 121px;       /* first label y in the file: 16 + 64 + 20 + 1 + 20 */
}
.wu-feature {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 20px 16px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.wu-compare {
  position: relative;
  flex: none;
  padding: 16px 0 14px;     /* card top to header, last row to card bottom, from the file */
}

.wu-card {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 208px;
  background: #fff;
  border: 1px solid var(--wu-ring);
  border-radius: 27px;
  box-shadow:
    0 51px 14px 0 rgba(40, 5, 103, 0),
    0 33px 13px 0 rgba(40, 5, 103, 0.01),
    0 18px 11px 0 rgba(40, 5, 103, 0.02),
    0 8px 8px 0 rgba(40, 5, 103, 0.03),
    0 2px 4px 0 rgba(40, 5, 103, 0.04);
  pointer-events: none;
}
.wu-card canvas {
  position: absolute;
  top: -1px;
  left: -1px;               /* cover the border box, so the light sits on the ring */
  pointer-events: none;
}

.wu-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wu-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wu-divider {
  height: 1px;
  background: var(--wu-divider);
}

.wu-cell {
  position: relative;
  width: 207px;
  height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  text-wrap: balance;       /* avoids a one-word last line, e.g. "key" */
}
.wu-cell--head {
  font-weight: 500;
  color: var(--wu-heading);
  white-space: nowrap;
}
.wu-cell--walter { color: var(--wu-walter); }

/* CTA slot: one row height (64) under the last row, inside the Web app column only */
.wu-cta-row {
  display: flex;            /* sits on the rows' 20px gap, same rhythm as a data row */
}
.wu-cta-row .wu-cell { padding: 0; }

/* Button [1.2], node 4541:39973: fill #7A37F0, radius 12, padding 8/14, 16/24 Inter Regular,
   -1% tracking, 1px inner shadow rgba(26,26,26,0.2) */
.wu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--wu-btn);
  box-shadow: inset 0 0 0 1px var(--wu-btn-border);
  color: #fff;
  font: 400 16px/24px "Inter", system-ui, sans-serif;
  letter-spacing: -0.16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease;
}
/* INVENTED: hover and focus are not in the file */
.wu-btn:hover { background: color-mix(in srgb, var(--wu-btn) 88%, #000); }
.wu-btn:focus-visible { outline: 2px solid var(--wu-btn); outline-offset: 2px; }

.wu-icon { width: 20px; height: 20px; flex: none; display: block; }

/* ---------- Mobile, Figma node 5034:79963 (402 frame) ---------- */
.wu-m { display: none; }

@media (max-width: 1023px) {
  .wu-section { padding: 24px 12px; }
  .wu-frame { display: none; }
  .wu-m {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 378px;
  }
}

.wu-m-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0 8px;
}
.wu-m-header .wu-tag { margin: 0; }
.wu-m-title {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: #000;
  text-wrap: balance;       /* avoids "Walter" alone on the second line */
}
.wu-m-subtitle {
  margin: 0;
  text-wrap: pretty;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.6);
}

.wu-m-compare {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tab strip runs to the screen edge, so the cut-off tab shows there is more to scroll */
.wu-m-tabs {
  display: flex;
  gap: 8px;                 /* Header Row, node 5034:79969 */
  margin: 0 -12px;
  padding: 0 12px;
  scroll-padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wu-m-tabs::-webkit-scrollbar { display: none; }
.wu-m-tabs.is-dragging { cursor: grabbing; user-select: none; }
.wu-m-tabs.is-dragging .wu-m-tab { cursor: grabbing; }

.wu-m-tab {
  flex: none;               /* hug: width follows the label */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: 500 16px/24px "Inter", system-ui, sans-serif;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wu-m-tab[aria-selected="true"] {
  background: var(--wu-tab-active);
  color: var(--wu-walter);
}
.wu-m-tab:focus-visible { outline: 2px solid var(--wu-walter); outline-offset: -2px; }

.wu-m-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wu-m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wu-m-label {
  flex: 0 1 183px;
  min-width: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.8);
}
.wu-m-status {
  flex: none;
  width: 139px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;           /* the file lets wrapped values run to 134 of 139px */
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  text-wrap: balance;
}
